/* Product Page Specific Styles */
strong {
    font-weight: 530;
}

.product-page {
    padding-top: 195px;
    background-color: #fff;
    font-family: 'Author', sans-serif;
}

@media (max-width: 768px) {
    .product-page {
        padding-top: 150px;
    }
}

.product-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 0 0;
    /* padding: 0 40px; */
    gap: 45px;
}

/* Left: Stacked Images */
.product-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

.main-prod-img {
    width: 100%;
    /* padding-right: 5rem; */
    height: auto;
    display: block;
    object-fit: cover;
}

/* Right: Sticky Info */
.product-info-sticky {
    flex: 1;
    position: sticky;
    top: 160px;
    height: fit-content;
    padding-bottom: 40px;
}

.product-title {
    font-family: 'Vonca', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #000;
    text-transform: capitalize;
}

.header-price-sku {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #F4E9D3;
    padding-bottom: 16px;
}

.product-price {
    font-family: 'Author', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #444;
}

.product-sku {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Author', sans-serif;
    font-size: 14px;
    color: #666;
}

.product-sku strong {
    color: #000;
    font-weight: 500;
}

.copy-sku-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    padding: 0;
}

.copy-sku-btn:hover {
    color: #000;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn {
    padding: 16px;
    font-family: 'Author', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-bag,
.btn-inquire {
    background-color: #fff;
    color: #000;
    border: 1px solid #111;
}

.btn-bag:hover,
.btn-inquire:hover {
    background-color: #000;
    color: #fff;
}

.btn-inquire:hover img {
    filter: brightness(0) invert(1);
}

.btn-inquire img {
    height: 18px;
}

.shipping-info-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F4E9D3;
    padding-bottom: 16px;
}

.shipping-item-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Author', sans-serif;
    font-size: 14px;
    color: black;
}

.shipping-item-v2 img {
    width: 20px;
    height: 20px;
}

.shipping-item-v2 strong {
    font-weight: 500;
}

.store-availability {
    background-color: #fff;
    margin-bottom: 16px;
    border-bottom: 1px solid #F4E9D3;
    padding-bottom: 12px;
}

.store-availability h3 {
    font-family: 'author', serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.store-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Author', sans-serif;
    font-size: 14px;
    color: black;
    margin-bottom: 12px;
}

.store-item img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.product-specifications {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-section h3 {
    font-size: 25px;
    font-family: 'Author', serif;
    font-weight: 500;
    margin-bottom: 15px;
    color: #111;
    letter-spacing: 0;
}

.spec-section p {
    font-family: 'Author', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: black;
    margin-bottom: 0;
}

.spec-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-family: 'Author', sans-serif;
    font-size: 16px;
}

.spec-label {
    min-width: 90px;
    color: black;
}

.spec-divider {
    margin: 0 40px;
    color: black;
}

.spec-value {
    color: black;
}

/* Shipping & Returns */
.shipping-returns {
    padding: 40px 8% 50px;
    background-color: #f9f9f9;
    text-align: center;
}

@media (max-width: 767px) {
    .shipping-returns {
        padding: 30px 0 40px !important;
    }
}

.section-title {
    font-family: 'Vonca', serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.shipping-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3rem;
}

.shipping-item img {
    width: 93px;
    height: 51px;
    margin-bottom: 20px;
}

.shipping-item h3 {
    font-family: 'Author', sans-serif;
    font-size: 1.2rem;
    font-weight: 494;
    /* margin-bottom: 10px; */
    /* text-transform: uppercase; */
    letter-spacing: 0;
}

.shipping-item p {
    font-family: 'Author', sans-serif;
    font-size: 13px;
    color: black;
    line-height: 1.5;
}

/* Packaging Section */
.packaging-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.packaging-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.packaging-text {
    position: absolute;
    bottom: 80px;
    left: 80px;
    color: #fff;
}

.small-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.packaging-title {
    font-family: 'Vonca', serif;
    font-size: 32px;
    margin-top: 10px;
    letter-spacing: 3px;
}

/* Customer Reviews Slider */
.customer-reviews {
    padding: 0px 0px 10px 0;
    background-color: #fff;
    overflow: hidden;
    /* Prevent horizontal scrollbar on body */
}

.reviews-container {
    max-width: 1200px;
    margin: 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.review-image {
    flex: 1;
    max-width: 50%;
    position: relative;
    z-index: 2;
    background-color: #fff;
}

.review-image img {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    object-fit: cover;
    display: block;
}

.review-content {
    flex: 1.2;
    min-width: 0;
    /* Allows flex children to shrink/overflow properly */
    position: relative;
    z-index: 1;
}

.review-content {
    flex: 1.2;
    min-width: 0;
    /* Allows flex children to shrink/overflow properly */
    position: relative;
    z-index: 1;
    /* padding-left: 15px; */
    /* Aligns title with cards below */
}

.review-title {
    font-family: 'vonca', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-desc {
    font-size: 14px;
    color: black;
    margin-bottom: 40px;
    margin-right: 94px;
    line-height: 1.6;
}

.review-slider {
    position: relative;
    width: 100%;
}

.review-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 320px;
    background-color: #FAF8F5;
    /* Matches the beige/sand tone from image */
    padding: 35px 30px;
    border: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.review-card-title {
    font-family: 'Author', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: 0;
}

.review-author {
    font-family: 'Author', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: normal;
}

.review-quote {
    font-family: 'Author', sans-serif;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
}

/* .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
} */

.slider-dot {
    width: 10px;
    height: 10px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #000;
    border-color: #000;
}

/* Related Products */
.related-products {
    padding: 20px 10px;
    /* border-top: 1px solid #eee; */
    text-align: center;
}

.related-products .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Image Carousel inside Related Products */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-image-area {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 13;
    overflow: hidden;
    background: #fdfdfd;
}

.image-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-track img {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* changed from cover to match product cards */
}

.inner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.product-card:hover .inner-arrow {
    opacity: 1;
}

.inner-arrow.prev {
    left: 10px;
}

.inner-arrow.next {
    right: 10px;
}

.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.image-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s ease;
}

.image-dots span.active {
    background: #111;
}


/* Responsive */
@media (max-width: 991px) {
    .product-container {
        flex-direction: column;
        padding: 0;
        gap: 20px;
    }

    .product-images {
        display: block;
        padding: 0;
        gap: 0;
    }

    .product-images .main-prod-img:first-child {
        grid-column: unset;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .product-info-sticky {
        position: static;
        padding: 0 20px;
    }

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

    .packaging-bg {
        content: url('../images/product/Packagingm.png');
    }

    .customer-reviews {
        position: relative;
        padding: 50px 0;
        background: url('../images/product/image.png') no-repeat center center / cover;
    }

    .customer-reviews::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .reviews-container {
        flex-direction: column;
        gap: 30px;
        position: relative;
        z-index: 2;
    }

    .review-image {
        display: none;
    }

    .review-content {
        padding: 0;
        width: 100%;
    }

    .review-title {
        color: #fff;
        text-align: center;
        margin-bottom: 15px;
        padding: 0 20px;
    }

    .review-desc {
        color: #fff;
        text-align: center;
        margin: 0 auto 30px;
        padding: 0 20px;
        font-size: 14px;
        line-height: 1.5;
    }

    .review-slider {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        /* Snaps cards to 20px offset from left */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

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

    .review-track {
        display: flex;
        gap: 15px;
        width: max-content;
        padding: 0 20px 20px;
    }

    .review-card {
        min-width: 280px;
        width: 80vw;
        max-width: 320px;
        scroll-snap-align: start;
    }

    .newsletter-section {
        width: 100% !important;
    }
}

@media (max-width: 575px) {
    .shipping-grid {
        grid-template-columns: 1fr;
    }

    .related-products .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .related-products .product-info {
        padding: 15px 5px 0 5px;
        text-align: left;
    }

    .related-products .product-name {
        font-size: 11px;
        text-transform: uppercase;
        margin-bottom: 6px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

    .related-products .product-price {
        font-size: 11px;
        color: #666;
    }




    @media (max-width: 991px) {

        .header.scrolled .nav-icon,
        .header.scrolled .logo,
        .header.scrolled .header-top .nav-icon,
        .header.scrolled .nav-container .nav-icon,
        .nav-links img.mobile-only,
        .header.scrolled .mobile-search-btn .nav-icon,
        .header.scrolled .hamburger-btn .nav-icon,
        .nav-links .nav-icon,
        .nav-container .nav-icon {
            filter: brightness(0) !important;
            color: #000 !important;
        }

        .header.scrolled .logo {
            filter: none !important;
            transform: scale(0.9);
        }

        .nav-links a {
            color: #111 !important;
        }

        .nav-links a::after {
            background-color: #111 !important;
        }

        .header.scrolled .hamburger-btn {
            color: #111 !important;
        }

        .search-toggle .nav-icon {
            filter: none !important;
        }

        /* Force black for Home icon and other nav icons */
        .nav-links img.mobile-only,
        .nav-links .nav-icon {
            filter: brightness(0) !important;
            color: #000 !important;
        }
    }
}

/* Shipping Section Mobile Redesign */
@media (max-width: 991px) {
    .shipping-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .shipping-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        padding-bottom: 0;
    }

    .shipping-item img {
        width: 25px;
        height: auto;
        margin-top: 5px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .shipping-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .shipping-text h3 {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.25rem;
        font-weight: 494;
        margin-bottom: 0;
        letter-spacing: 0;
        text-transform: none;
        color: #000;
    }

    .shipping-text p {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        color: #777;
        margin-bottom: 0;
        line-height: 1.4;
    }
}
/* ══════════════════════════════════════════
   MOBILE PRODUCT GALLERY
   ══════════════════════════════════════════ */

/* Desktop: show stacked, hide mobile */
.desktop-stacked-imgs { display: block; }
.mobile-gallery       { display: none; }

@media (max-width: 767px) {

    /* Hide desktop stacked, show mobile gallery */
    .desktop-stacked-imgs { display: none !important; }
    .mobile-gallery       { display: block !important; }

    /* Main image */
    .mobile-main-img-wrap {
        width: 100%;
        overflow: hidden;
        max-width: 100vw;
    }

    .mobile-main-img {
        width: 100%;
        max-width: 100%;
        height: 420px;
        object-fit: cover;
        display: block;
        transition: opacity 0.25s ease;
    }

    .mobile-gallery {
        overflow: hidden;
        max-width: 100%;
    }

    /* Thumbnail strip */
    .mobile-thumb-strip {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-thumb-strip::-webkit-scrollbar { display: none; }

    .mobile-thumb {
        flex-shrink: 0;
        width: 70px;
        height: 70px;
        object-fit: cover;
        border: 2px solid transparent;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s, border-color 0.2s;
    }

    .mobile-thumb.active {
        border-color: #111;
        opacity: 1;
    }

    /* Related products — 2 in a row on mobile */
    .related-products .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }

    .related-products .product-card .product-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

    .related-products .product-info {
        padding: 8px 5px !important;
    }

    .related-products .product-name {
        font-size: 11px !important;
        text-transform: uppercase !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.5px !important;
        color: #000 !important;
    }

    .related-products .product-price {
        font-size: 11px !important;
        color: #666 !important;
    }
}