/* Cart Popup Styles */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.cart-popup {
    background: white;
    border-radius: 15px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cart-popup-header {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-popup-header i {
    font-size: 24px;
    color: var(--golden-color);
}

.cart-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cart-popup-content {
    padding: 25px;
}

.popup-product {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.popup-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.popup-product-info h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.popup-product-info p {
    margin: 3px 0;
    color: #666;
    font-size: 14px;
}

.popup-message {
    text-align: center;
    color: var(--golden-color);
    font-weight: 500;
    margin: 0 0 20px 0;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid var(--golden-color);
}

.cart-popup-actions {
    display: flex;
    gap: 15px;
    padding: 0 25px 25px;
}

.cart-popup-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-popup-actions .btn-secondary {
    background: var(--primary-color-light);
    color: var(--text-light);
    border: none;
}

.cart-popup-actions .btn-secondary:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
}

.cart-popup-actions .btn-primary {
    background: var(--golden-gradient);
    color: var(--text-primary);
    border: none;
}

.cart-popup-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Cart Counter Styles */
/* .cart-count, .cart-counter {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.5s ease;
} */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1);
    }
    40%, 43% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1.1);
    }
    90% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-popup {
        width: 95%;
        margin: 20px;
    }
    
    .cart-popup-actions {
        flex-direction: column;
    }
    
    .popup-product {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-product img {
        width: 100px;
        height: 100px;
    }
}
