/* Cart Notification Styles */
.cart-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cart-notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-notification-modal {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cart-notification-overlay.show .cart-notification-modal {
    transform: scale(1) translateY(0);
}

.cart-notification-content {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.cart-notification-icon {
    margin-bottom: 20px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.cart-notification-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #333;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-notification-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.cart-notification-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-notification-actions .btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-continue {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-continue:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-checkout {
    background: linear-gradient(135deg, #FB7701, #ff8c1a);
    color: white;
    border: 2px solid #FB7701;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #ff8c1a, #FB7701);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 119, 1, 0.4);
}

.cart-notification-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-notification-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cart-notification-modal {
        width: 95%;
        margin: 20px;
    }
    
    .cart-notification-content {
        padding: 30px 20px;
    }
    
    .cart-notification-title {
        font-size: 20px;
    }
    
    .cart-notification-message {
        font-size: 14px;
    }
    
    .cart-notification-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-notification-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Animation for items */
.cart-notification-content > * {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

.cart-notification-content > *:nth-child(1) { animation-delay: 0.1s; }
.cart-notification-content > *:nth-child(2) { animation-delay: 0.2s; }
.cart-notification-content > *:nth-child(3) { animation-delay: 0.3s; }
.cart-notification-content > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
