/* Cart Notification Styles */
.cart-notification {
    position: fixed;
    top: -100px; /* Start above viewport */
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    animation: slideDown 0.5s ease-out forwards;
    font-weight: 500;
    min-width: 300px;
    text-align: center;
}

.cart-notification.warning {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.cart-notification.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Update notification buttons styling */
.notification-buttons {
    justify-content: center;
}

/* Cart Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Cart Sidebar Styles */
#cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    z-index: 1000;
}

#cart.active {
    right: 0;
}

#cartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

#cartOverlay.active {
    display: block;
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        top: 20px;
        opacity: 1;
    }
    to {
        top: -100px;
        opacity: 0;
    }
}