/* Minimalist Wishlist Modal Styling */

#wishlistModal .modal-content {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

#wishlistModal .modal-header {
    padding: 1.5rem 1.5rem 0.5rem;
    background: white;
    border: none;
}

#wishlistModal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.5px;
}

#wishlistModal .modal-body {
    padding: 0;
    background: white;
}

/* Wishlist Items Container */
.wishlist-items-container {
    padding: 0;
}

/* Individual Wishlist Item */
.wishlist-item {
    transition: background-color 0.2s ease;
}

.wishlist-item:hover {
    background-color: #f8f9fa;
}

.wishlist-item img {
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.wishlist-item:hover img {
    transform: scale(1.05);
}

/* Product Name */
.wishlist-item h6 {
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* Category Text */
.wishlist-item p.text-muted {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price */
.wishlist-item .fw-bold {
    letter-spacing: -0.5px;
}

/* Remove Button */
.wishlist-item .btn-outline-danger {
    transition: all 0.2s ease;
    border-width: 1.5px;
}

.wishlist-item .btn-outline-danger:hover {
    transform: scale(1.05);
    background-color: #fee2e2;
    border-color: #ef4444;
}

/* Modal Footer */
#wishlistModal .modal-footer {
    padding: 1.5rem;
    border: none;
}

/* Total Section */
#wishlistModal .modal-footer .border-bottom {
    border-color: #e2e8f0 !important;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Action Buttons */
#wishlistModal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#wishlistModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

#wishlistModal .btn-outline-secondary {
    border-color: #cbd5e0;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

#wishlistModal .btn-outline-secondary:hover {
    background-color: #f7fafc;
    border-color: #a0aec0;
    color: #2d3748;
}

/* Badge Styling */
#wishlistModal .badge.bg-light {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    background-color: #f1f5f9 !important;
    border-radius: 20px;
}

/* Empty State */
.wishlist-empty {
    text-align: center;
    padding: 3rem 1.5rem;
}

.wishlist-empty svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.3;
    stroke: #cbd5e0;
}

.wishlist-empty h5 {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wishlist-empty p {
    color: #718096;
    font-size: 0.95rem;
}

/* Scrollbar Styling */
#wishlistModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#wishlistModal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

#wishlistModal .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

#wishlistModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    #wishlistModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem) !important;
    }
    
    #wishlistModal .modal-content {
        border-radius: 16px;
    }
    
    #wishlistModal .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    #wishlistModal .modal-title {
        font-size: 1.25rem;
    }
    
    .wishlist-item {
        padding: 0.75rem 0 !important;
    }
    
    .wishlist-item img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .wishlist-item h6 {
        font-size: 0.875rem !important;
    }
    
    .wishlist-item .btn-outline-danger {
        width: 34px !important;
        height: 34px !important;
    }
    
    #wishlistModal .modal-footer {
        padding: 1rem;
    }
    
    #wishlistModal .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* Loading State */
.wishlist-loading {
    text-align: center;
    padding: 2rem;
}

.wishlist-loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


