/* Toast Notification Styles - Floating Bottom Island */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: calc(100% - 2rem);
    max-width: 600px;
    height: 70px;
    background-color: #1a1a1a; /* Sleek Dark Mode background */
    color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    padding: 0 1.5rem;
}

.toast-visible {
    transform: translateX(-50%) translateY(0);
}

.cart-animation-track {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    overflow: visible;
}

.cart-icon {
    position: absolute;
    bottom: 8px; /* Lift above the track */
    left: -40px;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.5));
    animation: driveCart 2.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.cart-icon svg {
    color: #ff6b00; /* Vibrant Orange */
}

@keyframes driveCart {
    0% {
        left: -40px;
    }

    100% {
        left: 100%;
    }
}