/* Quick View Modal Styles */
#quickViewModal .modal-dialog {
    max-width: 900px;
}

#quickViewModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#quickViewModal .modal-header {
    padding: 1rem 1.5rem;
}

#quickViewModal .modal-body {
    padding: 1.5rem;
}

/* Product Images */
.quick-view-images .main-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
}

.quick-view-images .main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quick-view-images .main-image:hover img {
    transform: scale(1.05);
}

/* Gallery Thumbnails */
.quick-view-gallery .gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.quick-view-gallery .gallery-thumb:hover {
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Product Details */
.quick-view-details h4 {
    font-weight: 600;
    color: #333;
}

.quick-view-details .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Price Styling */
.quick-view-details .h4 {
    font-weight: 700;
}

/* Quantity Input */
#quickViewQty {
    border-left: none;
    border-right: none;
}

#quickViewQty:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.input-group .btn {
    z-index: 0;
}

/* Button Animations */
#quickViewAddToCart {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#quickViewAddToCart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#quickViewAddToCart:active {
    transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 250px;
}

/* Rating Stars */
.bi-star, .bi-star-fill, .bi-star-half {
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #quickViewModal .modal-dialog {
        margin: 0.5rem;
    }

    #quickViewModal .modal-body {
        padding: 1rem;
    }

    .quick-view-details h4 {
        font-size: 1.25rem;
    }

    .quick-view-gallery {
        margin-top: 1rem;
    }
}

/* Loading State */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
}

.quick-view-btn .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Product Card Overlay */
.product-card {
    position: relative;
}

.product-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 5;
    transition: background 0.3s ease;
}
