/* ==========================================================================
   Product detail page
   Part 1: base styles moved from the Blade view (gallery slider, zoom modal).
   Part 2 (below): modern redesign layer, scoped to .sg-pdp.
   ========================================================================== */

/* Product Page Styles */
.product-breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    margin-bottom: 30px;
    border-radius: 8px;
}

.product-breadcrumb .breadcrumb {
    margin: 0;
    background: transparent;
}

.product-breadcrumb .breadcrumb-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #D4AF37;
}

/* Image Gallery with Zoom and Slider */
.main-image-wrapper {
    width: 100%;
}

/* Desktop Gallery Layout - Thumbnails Left, Main Image Right */
.desktop-gallery-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Vertical Thumbnail Gallery (Desktop Only) */
.vertical-thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 #f0f0f0;
    padding-right: 5px;
}

.vertical-thumbnail-gallery::-webkit-scrollbar {
    width: 6px;
}

.vertical-thumbnail-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.vertical-thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 3px;
}

.vertical-thumbnail {
    flex: 0 0 90px;
    width: 90px;
    height: 110px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vertical-thumbnail:hover,
.vertical-thumbnail.active {
    border-color: #D4AF37;
    transform: translateX(-3px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.vertical-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.main-image-container {
    position: relative;
    flex: 1;
    width: 100%;
    height: 600px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-image-container:hover img {
    transform: scale(1.05);
}

/* New Main Image Slider Styles */
.main-image-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.main-image-slider::-webkit-scrollbar {
    display: none;
}

.main-image-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.main-image-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    cursor: zoom-in;
}

.zoom-icon {
    display: none !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.zoom-icon:hover {
    background: #D4AF37;
    color: white;
    transform: scale(1.1);
}

.zoom-icon i {
    font-size: 20px;
}

/* Main Image Navigation Arrows */
.main-image-nav {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.main-image-container:hover .main-image-nav {
    opacity: 1;
}

.main-image-nav:hover {
    background: #D4AF37;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.main-image-nav i {
    font-size: 24px;
}

.main-image-nav-prev {
    left: 20px;
}

.main-image-nav-next {
    right: 20px;
}

@media (max-width: 768px) {
    .main-image-nav {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }

    .main-image-nav i {
        font-size: 20px;
    }

    .main-image-nav-prev {
        left: 10px;
    }

    .main-image-nav-next {
        right: 10px;
    }
}

/* Video Container */
.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Video Play Overlay on Thumbnails */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.gallery-slide {
    position: relative;
}


/* Gallery Slider */
.gallery-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.gallery-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100px;
    height: 120px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-slide:hover,
.gallery-slide.active {
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #D4AF37;
    color: white;
    border-color: #D4AF37;
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-nav i {
    font-size: 18px;
}

/* Slider Indicators */
.slider-indicators {
    display: none;
    /* Hidden on desktop, shown on mobile */
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

/* Hide horizontal gallery on desktop */
.gallery-slider-wrapper {
    display: none;
    /* Hidden on desktop, shown on mobile */
}

.indicator {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    \n cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover,
.indicator.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.zoom-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.zoom-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10001;
}

.zoom-controls button {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.zoom-slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.zoom-slider-container.grabbing {
    cursor: grabbing;
}

.zoom-slider-container::-webkit-scrollbar {
    display: none;
}

.zoom-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    overflow: hidden;
}

.zoom-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    pointer-events: none;
}

.zoom-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 50px;
    z-index: 10001;
}

.zoom-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.zoom-counter {
    color: white;
    font-size: 16px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

@media (max-width: 992px) {

    /* Hide breadcrumb on mobile */
    .product-breadcrumb {
        display: none;
    }

    .main-image-container {
        height: 600px;
        margin-bottom: 15px;
    }

    /* Hide slider navigation arrows on mobile */
    .gallery-slider-wrapper {
        padding: 0;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 10px;
    }

    .slider-nav {
        display: none;
    }

    /* Hide slider indicators on mobile */
    .slider-indicators {
        display: none;
    }

    /* Make gallery slider more prominent and scrollable */
    .gallery-slider {
        gap: 8px;
        padding: 10px 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-slide {
        flex: 0 0 70px;
        height: 90px;
        scroll-snap-align: start;
        border-width: 2px;
        background: white;
    }

    .gallery-slide.active {
        border-color: #D4AF37;
        border-width: 3px;
    }

    .zoom-controls {
        top: 10px;
        left: 10px;
    }

    .zoom-controls button {
        width: 40px;
        height: 40px;
    }

    /* Hide vertical thumbnail gallery on mobile */
    .vertical-thumbnail-gallery {
        display: none;
    }

    /* Show horizontal gallery slider on mobile */
    .gallery-slider-wrapper {
        display: block;
    }

    /* Reset desktop gallery layout for mobile */
    .desktop-gallery-layout {
        display: block;
    }

    .main-image-container {
        margin-bottom: 15px;
    }
}
}

/* Product Info Sidebar */
.product-info-sidebar {
    position: sticky;
    top: 100px;
    padding: 20px;
}

.product-brand {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars {
    color: #D4AF37;
    font-size: 16px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.tax-info {
    color: #666;
    font-size: 13px;
    margin-top: 8px;
}

/* Variant/Color Selector */
.variant-selector-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.variant-label {
    font-size: 15px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.color-swatch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.1);
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.color-swatch.active {
    border-color: #D4AF37;
    border-width: 4px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.color-swatch i {
    color: white;
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    display: none;
}

.color-swatch.active i {
    display: block;
}

.color-name {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-swatch-wrapper:hover .color-name {
    color: #D4AF37;
}

.variant-info {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.variant-info small {
    font-size: 13px;
}

#variantSku {
    color: #2c2c2c;
    font-weight: 600;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-label {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    color: #2c2c2c;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f8f9fa;
    color: #D4AF37;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-indicator.out-of-stock {
    color: #dc3545;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #D4AF37, #B8860B);
}

.btn-wishlist {
    width: 56px;
    height: 56px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    transform: scale(1.1);
}

/* Delivery Section */
.delivery-section {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.delivery-title {
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-size: 15px;
}

.pincode-checker {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pincode-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.pincode-check-btn {
    padding: 12px 24px;
    background: #2c2c2c;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pincode-check-btn:hover {
    background: #D4AF37;
}

.delivery-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

.delivery-info-item:last-child {
    border-bottom: none;
}

.delivery-info-item i {
    color: #D4AF37;
    font-size: 18px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.trust-badge {
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.trust-badge i {
    font-size: 24px;
    color: #D4AF37;
    margin-bottom: 8px;
}

.trust-badge-text {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

/* Tabbed Content */
.product-tabs {
    margin-top: 50px;
    border-top: 2px solid #f0f0f0;
    padding-top: 40px;
}

.nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
}

.nav-tabs .nav-link.active {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
    background: transparent;
}

.tab-content {
    padding: 20px 0;
}

.product-video-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.product-video-section iframe {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.specifications-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.specifications-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.specifications-table th,
.specifications-table td {
    padding: 15px 20px;
    text-align: left;
}

.specifications-table th {
    font-weight: 600;
    color: #2c2c2c;
    width: 200px;
    background: #f8f9fa;
}

.specifications-table td {
    color: #666;
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 30px;
}

/* Premium Product Card Styles */
.product-card-premium {
    background: var(--bg-white, #FFFFFF);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #D4AF37;
}

.product-badge-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.badge-related {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #6366f1;
}

.product-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-premium:hover .product-image {
    transform: scale(1.08);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #ccc;
    font-size: 3rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-info {
    padding: 18px;
    background: white;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
}

.price-sale {
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
}

.price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

@media (max-width: 992px) {
    .product-gallery {
        flex-direction: column;
    }

    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        \n overflow-x: auto;
    }

    .product-info-sidebar {
        position: static;
        top: auto;
    }

    .main-image-container {
        height: 350px;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-title {
        font-size: 24px;
    }

    .current-price {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

    /* Container and Layout */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Breadcrumb Mobile */
    .product-breadcrumb {
        padding: 8px 0;
        margin-bottom: 15px;
    }

    .product-breadcrumb .breadcrumb-item {
        font-size: 12px;
    }

    /* Image Gallery Mobile */
    .main-image-container {
        height: 300px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .zoom-icon {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

    .zoom-icon i {
        font-size: 16px;
    }

    .gallery-slider-wrapper {
        padding: 0 35px;
    }

    .gallery-slide {
        flex: 0 0 70px;
        height: 85px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }

    .slider-nav i {
        font-size: 14px;
    }

    .slider-indicators {
        gap: 6px;
        margin-top: 10px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    /* Product Info Mobile */
    .product-info-sidebar {
        padding: 15px 0;
    }

    .product-brand {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .product-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .product-rating {
        margin-bottom: 15px;
    }

    .rating-stars {
        font-size: 14px;
    }

    .rating-count {
        font-size: 12px;
    }

    /* Price Section Mobile */
    .price-section {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .current-price {
        font-size: 24px;
    }

    .original-price {
        font-size: 16px;
    }

    .discount-badge {
        padding: 4px 10px;
        font-size: 12px;
        margin-left: 8px;
    }

    .tax-info {
        font-size: 11px;
        margin-top: 6px;
    }

    /* Quantity Selector Mobile */
    .quantity-selector {
        gap: 12px;
        margin-bottom: 15px;
    }

    .quantity-label {
        font-size: 14px;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .quantity-input {
        width: 50px;
        height: 35px;
        font-size: 14px;
    }

    .stock-indicator {
        font-size: 13px;
        margin-bottom: 15px;
    }

    /* Action Buttons Mobile - Sticky Footer */
    .action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 12px 15px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }

    .btn-add-cart {
        padding: 14px 20px;
        font-size: 15px;
        flex: 1;
        border-radius: 8px;
    }

    .btn-wishlist {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    /* Delivery Section Mobile */
    .delivery-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .delivery-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .pincode-checker {
        gap: 8px;
        margin-bottom: 12px;
    }

    .pincode-input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .pincode-check-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .delivery-info-item {
        padding: 8px 0;
        font-size: 13px;
    }

    .delivery-info-item i {
        font-size: 16px;
    }

    /* Trust Badges Mobile */
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 15px;
    }

    .trust-badge {
        padding: 12px 8px;
        border-radius: 6px;
    }

    .trust-badge i {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .trust-badge-text {
        font-size: 10px;
    }

    /* Tabs Mobile */
    .product-tabs {
        margin-top: 30px;
        padding-top: 25px;
    }

    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 12px 15px;
    }

    .tab-content {
        padding: 15px 0;
    }

    .specifications-table th,
    .specifications-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .specifications-table th {
        width: 140px;
    }

    /* Related Products Mobile */
    .related-products {
        margin-top: 40px;
        padding-top: 25px;
    }

    .related-products .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .related-products [class*="col-"] {
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        width: calc(50% - 6px) !important;
        padding: 0 !important;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .related-product-card {
        height: 100%;
    }

    .related-product-card img {
        height: 160px;
    }

    .related-product-info {
        padding: 12px;
    }

    .related-product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .related-product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .related-product-btn {
        padding: 8px;
        font-size: 12px;
    }

    /* Zoom Modal Mobile */
    .zoom-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .zoom-controls {
        top: 10px;
        left: 10px;
        gap: 8px;
    }

    .zoom-controls button {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .zoom-nav {
        bottom: 20px;
        padding: 12px 20px;
        gap: 15px;
    }

    .zoom-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .zoom-counter {
        font-size: 14px;
        min-width: 50px;
    }
    
    /* Give some space at the bottom when sticky footer is active */
    body {
        padding-bottom: 75px;
    }
}

@media (max-width: 576px) {

    /* Extra Small Mobile */
    .main-image-container {
        height: 500px;
    }

    .gallery-slider {
        padding: 10px;
    }

    .gallery-slide {
        flex: 0 0 65px;
        height: 80px;
    }


    .product-title {
        font-size: 18px;
    }

    .current-price {
        font-size: 22px;
    }

    .original-price {
        font-size: 14px;
    }

    .btn-add-cart {
        padding: 12px 16px;
        font-size: 13px;
    }

    .btn-wishlist {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .trust-badges {
        gap: 8px;
    }

    .trust-badge {
        padding: 10px 6px;
    }

    .trust-badge i {
        font-size: 18px;
    }

    .trust-badge-text {
        font-size: 9px;
    }

    .nav-tabs .nav-link {
        font-size: 13px;
        padding: 10px 12px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ========================================
           MORE TO EXPLORE SECTION (HORIZONTAL SCROLL)
        ======================================== */
.more-to-explore-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.title-divider {
    margin: 15px 0;
}

.divider-ornament {
    color: var(--gold);
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-ornament::before {
    right: 100%;
    margin-right: 15px;
}

.divider-ornament::after {
    left: 100%;
    margin-left: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 400;
    font-style: italic;
}

.featured-products-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg-light-grey);
    padding: 10px 5px 20px;
    scroll-behavior: smooth;
    margin-bottom: 10px;
}



.more-to-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.product-card-vertical {
    width: 100%;
}

@media (max-width: 992px) {
    .more-to-explore-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .more-to-explore-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .more-to-explore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Related Products Extra Small */
.related-products .row {
    gap: 10px !important;
}

.related-products [class*="col-"] {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
}

.related-product-card img {
    height: 140px;
}

.related-product-info {
    padding: 12px;
}

.related-product-name {
    font-size: 13px;
}

.related-product-price {
    font-size: 16px;
}

.related-product-btn {
    padding: 8px;
    font-size: 12px;
}
}

/* ==========================================================================
   Part 2 — modern redesign layer
   ========================================================================== */

.sg-pdp__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.5rem;
    font-size: .8rem;
    color: var(--sg-muted);
}

.sg-pdp__crumb a { color: var(--sg-wine); text-decoration: none; text-transform: capitalize; }
.sg-pdp__crumb span { text-transform: capitalize; }
.sg-pdp__crumb i { font-size: .6rem; }

.sg-pdp__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

/* Gallery ----------------------------------------------------------------- */
.sg-pdp .desktop-gallery-layout { gap: 1rem; }

.sg-pdp .vertical-thumbnail-gallery { gap: .75rem; max-height: 680px; padding-right: 4px; scrollbar-color: var(--sg-gold-300) transparent; }

.sg-pdp .vertical-thumbnail {
    flex: 0 0 104px;
    width: 84px;
    height: 104px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--sg-ivory);
    opacity: .7;
    transition: all .25s var(--sg-ease);
}

.sg-pdp .vertical-thumbnail:hover { opacity: 1; transform: none; box-shadow: none; }
.sg-pdp .vertical-thumbnail.active { opacity: 1; border-color: var(--sg-wine); transform: none; box-shadow: 0 6px 16px rgba(61, 13, 23, .15); }

.sg-pdp .main-image-container {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 720px;
    border: 0;
    border-radius: 28px;
    background: var(--sg-ivory);
}

.sg-pdp .main-image-slide { background: var(--sg-ivory); }
.sg-pdp .main-image-container:hover img { transform: none; }

.sg-pdp .main-image-nav,
.sg-pdp .zoom-icon {
    display: flex !important;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--sg-wine);
    box-shadow: var(--sg-shadow-sm);
    opacity: 0;
    transition: opacity .25s var(--sg-ease), background .25s var(--sg-ease), color .25s var(--sg-ease);
}

.sg-pdp .main-image-nav { width: 46px; height: 46px; }
.sg-pdp .main-image-nav i { font-size: 1.1rem; }
.sg-pdp .main-image-container:hover .main-image-nav,
.sg-pdp .main-image-container:hover .zoom-icon { opacity: 1; }
.sg-pdp .main-image-nav:hover,
.sg-pdp .zoom-icon:hover { background: var(--sg-wine); color: #fff; transform: translateY(-50%); }
.sg-pdp .zoom-icon:hover { transform: none; }
.sg-pdp .zoom-icon { width: 44px; height: 44px; top: 16px; right: 16px; }
.sg-pdp .zoom-icon i { font-size: 1.05rem; }

.sg-pdp .discount-badge.sg-product__badge { top: 18px; left: 18px; padding: .4rem .8rem; font-size: .75rem; z-index: 5; }

/* Info column ------------------------------------------------------------- */
.sg-pdp .product-info-sidebar {
    position: sticky;
    top: calc(var(--sg-header-offset, 117px) + 1.25rem);
    padding: 0;
}

.sg-pdp .product-brand {
    display: inline-block;
    margin-bottom: .6rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--sg-gold);
    text-decoration: none;
}

.sg-pdp .product-title {
    margin: 0 0 .75rem;
    font-family: var(--sg-serif);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--sg-ink);
    text-transform: capitalize;
}

.sg-pdp .product-rating {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.25rem;
    text-decoration: none;
}

.sg-pdp .product-rating .rating-stars { color: var(--sg-gold); font-size: .85rem; letter-spacing: .05em; }
.sg-pdp .product-rating .rating-count { color: var(--sg-muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

.sg-pdp .price-section {
    margin: 0 0 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--sg-line);
    border-bottom: 1px solid var(--sg-line);
    background: none;
}

.sg-pdp__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; }

.sg-pdp .current-price {
    font-family: var(--sg-sans);
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--sg-wine);
    line-height: 1;
}

.sg-pdp .original-price { font-size: 1.1rem; color: var(--sg-muted); text-decoration: line-through; }

.sg-pdp__save {
    padding: .3rem .7rem;
    border-radius: 999px;
    background: #E3F4EA;
    color: var(--sg-success);
    font-size: .78rem;
    font-weight: 600;
}

.sg-pdp .tax-info { margin-top: .4rem; font-size: .8rem; color: var(--sg-muted); }

.sg-pdp__offer {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    padding: .5rem .85rem;
    border-radius: 12px;
    background: var(--sg-gold-100);
    color: var(--sg-wine);
    font-size: .84rem;
    font-weight: 500;
}

/* Colour swatches */
.sg-pdp .variant-selector-section { margin-bottom: 1.25rem; }

.sg-pdp .variant-label {
    margin-bottom: .85rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sg-muted);
}

.sg-pdp .variant-label strong { color: var(--sg-ink); letter-spacing: .06em; text-transform: capitalize; }

.sg-pdp .color-swatches { display: flex; flex-wrap: wrap; gap: .9rem; }
.sg-pdp .color-swatch-wrapper { display: flex; flex-direction: column; align-items: center; gap: .35rem; cursor: pointer; outline: 0; }

.sg-pdp .color-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sg-line);
    transition: box-shadow .2s var(--sg-ease), transform .2s var(--sg-ease);
}

.sg-pdp .color-swatch-wrapper:hover .color-swatch { transform: scale(1.06); }
.sg-pdp .color-swatch-wrapper:focus-visible .color-swatch { outline: 2px solid var(--sg-gold); outline-offset: 5px; }
.sg-pdp .color-swatch.active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sg-wine); transform: none; }
.sg-pdp .color-swatch i { color: #fff; font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.sg-pdp .color-name { font-size: .74rem; color: var(--sg-muted); text-transform: capitalize; }

/* Stock */
.sg-pdp .stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.25rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: #E3F4EA;
    color: var(--sg-success);
    font-size: .82rem;
    font-weight: 500;
}

.sg-pdp .stock-indicator.out-of-stock { background: #FBE3E6; color: var(--sg-sale); }

/* Buy row */
.sg-pdp__buy { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }

.sg-pdp .quantity-selector {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0;
    padding: 0 .35rem 0 1rem;
    border: 1px solid var(--sg-line);
    border-radius: 999px;
    background: #fff;
}

.sg-pdp .quantity-label { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sg-muted); }
.sg-pdp .quantity-controls { display: flex; align-items: center; border: 0; }

.sg-pdp .quantity-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sg-ink);
    font-size: 1.15rem;
}

.sg-pdp .quantity-btn:hover { background: var(--sg-ivory); color: var(--sg-wine); }
.sg-pdp .quantity-input { width: 34px; border: 0; background: transparent; font-weight: 600; text-align: center; }

.sg-pdp .action-buttons { display: flex; flex: 1; gap: .75rem; margin: 0; min-width: 240px; }

.sg-pdp .btn-add-cart {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    height: 56px;
    padding: 0 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--sg-wine);
    color: #fff;
    font-family: var(--sg-sans);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background .25s var(--sg-ease), box-shadow .25s var(--sg-ease), transform .25s var(--sg-ease);
}

.sg-pdp .btn-add-cart:hover { background: var(--sg-wine-900); box-shadow: var(--sg-shadow); transform: translateY(-2px); }
.sg-pdp .btn-add-cart.is-in-cart { background: linear-gradient(135deg, #D8B566, #B98B35); }
.sg-pdp .btn-add-cart:disabled { cursor: not-allowed; transform: none; box-shadow: none; }

.sg-pdp .btn-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 1px solid var(--sg-line);
    border-radius: 50%;
    background: #fff;
    color: var(--sg-wine);
    font-size: 1.25rem;
    transition: all .25s var(--sg-ease);
}

.sg-pdp .btn-wishlist:hover { border-color: var(--sg-wine); background: var(--sg-ivory); }
.sg-pdp .btn-wishlist .bi-heart-fill { color: var(--sg-sale); }

/* WhatsApp ask card */
.sg-pdp__whatsapp {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.5rem;
    padding: .9rem 1.1rem;
    border: 1px solid #CDEBD8;
    border-radius: 16px;
    background: #F3FBF6;
    color: var(--sg-ink);
    text-decoration: none;
    transition: border-color .2s var(--sg-ease), box-shadow .2s var(--sg-ease);
}

.sg-pdp__whatsapp:hover { border-color: #25D366; box-shadow: var(--sg-shadow-sm); color: var(--sg-ink); }
.sg-pdp__whatsapp > i:first-child { font-size: 1.6rem; color: #25D366; }
.sg-pdp__whatsapp span { display: flex; flex: 1; flex-direction: column; }
.sg-pdp__whatsapp strong { font-weight: 600; font-size: .92rem; }
.sg-pdp__whatsapp small { color: var(--sg-muted); font-size: .8rem; }
.sg-pdp__whatsapp > i:last-child { color: var(--sg-muted); }

/* Assurance */
.sg-pdp .trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    border: 0;
}

.sg-pdp .trust-badge {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .9rem;
    border-radius: 14px;
    background: var(--sg-ivory);
    text-align: left;
}

.sg-pdp .trust-badge i { font-size: 1.25rem; color: var(--sg-wine); margin: 0; }
.sg-pdp .trust-badge-text { font-size: .74rem; line-height: 1.35; color: var(--sg-muted); }
.sg-pdp .trust-badge-text strong { display: block; color: var(--sg-ink); font-size: .84rem; font-weight: 600; }

.sg-pdp .variant-info { font-size: .75rem; color: var(--sg-muted); }

/* Details & reviews ------------------------------------------------------- */
.sg-pdp__details { margin-top: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: calc(var(--sg-header-offset, 117px) + 20px); }

.sg-pdp__tabs {
    display: inline-flex;
    gap: .25rem;
    margin-bottom: 2rem;
    padding: .3rem;
    border-radius: 999px;
    background: var(--sg-ivory);
    border: 1px solid var(--sg-line);
}

.sg-pdp__tabs button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--sg-muted);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: all .2s var(--sg-ease);
}

.sg-pdp__tabs button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--sg-line);
    color: var(--sg-ink);
    font-size: .7rem;
    letter-spacing: 0;
}

.sg-pdp__tabs button.is-active { background: var(--sg-wine); color: #fff; box-shadow: var(--sg-shadow-sm); }
.sg-pdp__tabs button.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.sg-pdp__panel { display: none; animation: sg-pdp-fade .35s var(--sg-ease); }
.sg-pdp__panel.is-active { display: block; }
@keyframes sg-pdp-fade { from { opacity: 0; transform: translateY(8px); } }

.sg-pdp__overview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; }

.sg-pdp__description h2,
.sg-pdp__specs h3 { font-family: var(--sg-serif); font-weight: 600; color: var(--sg-ink); }
.sg-pdp__description h2 { font-size: 2rem; margin-bottom: 1rem; }

.sg-pdp__highlights { display: grid; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.sg-pdp__highlights li { display: flex; gap: .6rem; color: var(--sg-text); }
.sg-pdp__highlights i { color: var(--sg-gold); }

.sg-pdp__prose { color: var(--sg-text); font-size: 1rem; line-height: 1.85; }
.sg-pdp__prose p { margin-bottom: 1rem; }
.sg-pdp__prose ul { padding-left: 1.2rem; }
.sg-pdp__prose strong { color: var(--sg-ink); }

.sg-pdp__video { position: relative; margin-top: 2rem; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: var(--sg-shadow); }
.sg-pdp__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sg-pdp__specs {
    position: sticky;
    top: calc(var(--sg-header-offset, 117px) + 1.5rem);
    padding: 1.75rem;
    border-radius: 24px;
    background: var(--sg-ivory);
    border: 1px solid var(--sg-line);
}

.sg-pdp__specs h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.sg-pdp__specs dl { margin: 0; }
.sg-pdp__specs dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--sg-line); }
.sg-pdp__specs dt { font-weight: 500; font-size: .85rem; color: var(--sg-muted); }
.sg-pdp__specs dd { margin: 0; font-size: .9rem; color: var(--sg-ink); text-align: right; text-transform: capitalize; }

.sg-pdp__care { margin-top: 1.25rem; padding: 1rem; border-radius: 16px; background: #fff; }
.sg-pdp__care h4 { font-size: .9rem; font-weight: 600; color: var(--sg-ink); }
.sg-pdp__care h4 i { color: var(--sg-gold); }
.sg-pdp__care p { margin: 0; font-size: .84rem; line-height: 1.65; color: var(--sg-muted); }

/* Reviews */
.sg-rating-summary {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.75rem;
    border-radius: 24px;
    background: var(--sg-ivory);
    border: 1px solid var(--sg-line);
}

.sg-rating-summary__score { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sg-rating-summary__score strong { font-family: var(--sg-serif); font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--sg-wine); }
.sg-rating-summary__score .rating-stars { margin: .4rem 0; color: var(--sg-gold); }
.sg-rating-summary__score small { color: var(--sg-muted); }

.sg-rating-bar { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: .75rem; margin-bottom: .45rem; font-size: .84rem; color: var(--sg-muted); }
.sg-rating-bar i { color: var(--sg-gold); font-size: .7rem; }
.sg-rating-bar__track { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.sg-rating-bar__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sg-gold-300), var(--sg-gold)); }
.sg-rating-bar > span:last-child { text-align: right; }

.sg-review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.sg-review-item { padding: 1.5rem; border: 1px solid var(--sg-line); border-radius: 20px; background: #fff; }
.sg-review-item header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.sg-review-item header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sg-review-item header strong { display: block; color: var(--sg-ink); }
.sg-review-item header small { color: var(--sg-muted); }
.sg-review-item__verified { margin-left: auto; color: var(--sg-success); font-size: .74rem; white-space: nowrap; }
.sg-review-item__stars { margin-bottom: .5rem; color: var(--sg-gold); }
.sg-review-item h4 { font-family: var(--sg-serif); font-size: 1.25rem; font-weight: 600; color: var(--sg-ink); }
.sg-review-item p { margin: 0; line-height: 1.75; color: var(--sg-text); }
.sg-review-item__images { display: flex; gap: .5rem; margin-top: 1rem; }
.sg-review-item__images img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }

.sg-review-pagination { display: flex; justify-content: center; margin-top: 1.5rem; }

.sg-review-empty { padding: 3rem 1rem; border: 1px dashed var(--sg-line); border-radius: 24px; text-align: center; }
.sg-review-empty i { font-size: 2.4rem; color: var(--sg-gold); }
.sg-review-empty h4 { margin: .75rem 0 .25rem; font-family: var(--sg-serif); font-size: 1.6rem; font-weight: 600; color: var(--sg-ink); }
.sg-review-empty p { margin: 0; color: var(--sg-muted); }
.sg-review-empty a { color: var(--sg-wine); }

/* More to explore --------------------------------------------------------- */
.sg-pdp .more-to-explore-section {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: var(--sg-section-y) 0 0;
    border-top: 1px solid var(--sg-line);
    background: none;
}

.sg-pdp .more-to-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
}

.sg-pdp .more-to-explore-grid > .col-12 { grid-column: 1 / -1; }

.sg-pdp .sg-loadmore { padding: 2rem 0 0; text-align: center; color: var(--sg-muted); }

.sg-pdp .sg-loadmore__spinner {
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 2px solid var(--sg-gold-100);
    border-top-color: var(--sg-wine);
    border-radius: 50%;
    animation: sg-pdp-spin .8s linear infinite;
}

@keyframes sg-pdp-spin { to { transform: rotate(360deg); } }

/* Mobile buy bar ---------------------------------------------------------- */
.sg-buybar { display: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .sg-pdp .more-to-explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .sg-pdp__grid { grid-template-columns: minmax(0, 1fr); }
    .sg-pdp .product-info-sidebar { position: static; }
    .sg-pdp .main-image-container { aspect-ratio: 4 / 5; height: auto; max-height: none; margin-bottom: .75rem; border-radius: 22px; }
    .sg-pdp .main-image-nav,
    .sg-pdp .zoom-icon { opacity: 1; }
    .sg-pdp .gallery-slider-wrapper { background: none; }

    .sg-pdp__overview { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .sg-pdp__specs { position: static; }

    .sg-review-list { grid-template-columns: 1fr; }

    .sg-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(60px + env(safe-area-inset-bottom));
        z-index: 1024;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: .7rem 16px;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--sg-line);
        box-shadow: 0 -8px 24px rgba(61, 13, 23, .08);
        transform: translateY(140%);
        transition: transform .3s var(--sg-ease);
    }

    .sg-buybar.is-visible { transform: none; }
    .sg-buybar__price strong { display: block; font-size: 1.2rem; color: var(--sg-wine); line-height: 1.1; }
    .sg-buybar__price small { color: var(--sg-muted); font-size: .7rem; }
    .sg-buybar .sg-btn { flex: 1; max-width: 230px; padding: .85rem 1rem; }

    body:has(.sg-buybar.is-visible) .sg-float { bottom: 150px; }
}

@media (max-width: 575.98px) {
    .sg-pdp__crumb { margin-bottom: 1rem; }
    .sg-pdp .current-price { font-size: 1.75rem; }

    .sg-pdp__buy { flex-direction: column; }
    .sg-pdp .quantity-selector { align-self: flex-start; }
    .sg-pdp .action-buttons { min-width: 0; }
    .sg-pdp .btn-add-cart { height: 52px; font-size: .8rem; }
    .sg-pdp .btn-wishlist { width: 52px; height: 52px; }

    .sg-pdp .trust-badge { padding: .7rem; }

    .sg-pdp__tabs { display: flex; }
    .sg-pdp__tabs button { flex: 1; justify-content: center; padding: .65rem .75rem; }

    .sg-rating-summary { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }

    .sg-pdp .more-to-explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .8rem; }
    .sg-pdp .more-to-explore-grid .sg-product__price small { display: none; }
}
/* Neutralise leftover boxes from the base styles */
.sg-pdp .variant-selector-section,
.sg-pdp .variant-info {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.sg-pdp .price-section {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
}

.sg-pdp__prose p { margin-bottom: .45rem; }
.sg-pdp .variant-label { font-family: var(--sg-sans); }
