/**
 * Retail Experience Theme 1.6.7 — final route and product-information contract.
 *
 * This file is loaded last. It deliberately targets route classes rather than
 * old release-generation classes so legacy broad selectors cannot collapse the
 * product, checkout or homepage layouts.
 */

:root {
    --retail-v163-wide: 1440px;
    --retail-v163-gutter: clamp(16px, 2.4vw, 32px);
    --retail-v163-line: rgba(23, 25, 41, .12);
    --retail-v163-shadow: 0 18px 50px rgba(17, 20, 43, .07);
    --retail-v163-ink: var(--retail-ink, #171929);
    --retail-v163-primary: var(--retail-primary, #2023a9);
    --retail-v163-surface: var(--retail-surface, #f5f3f8);
}

/* Preserve WordPress' hidden state. Historic recovery snippets must never
 * expose alternate price, address or payment fragments. */
body.retail-layout-v163 [hidden],
body.retail-layout-v163 [aria-hidden="true"][hidden] {
    display: none !important;
}

/* ========================================================================
   HOME PAGE WIDTH CONTRACT
   ======================================================================== */
body.retail-route-home .retail-home-shell,
body.retail-route-home .retail-home,
body.retail-route-home .retail-home-section {
    width: 100% !important;
    max-width: none !important;
}

body.retail-route-home .retail-home-section {
    box-sizing: border-box;
    padding-inline: var(--retail-v163-gutter) !important;
}

body.retail-route-home .retail-home-section > .ref-native-category-section,
body.retail-route-home .retail-home-section > .ref-native-product-collection,
body.retail-route-home .retail-home-section > .ref-native-brand-rail,
body.retail-route-home .retail-home-section > .ref-adaptive-discovery,
body.retail-route-home .retail-home-section > .ref-native-review-proof,
body.retail-route-home .retail-home-section > .ref-native-advice-grid {
    box-sizing: border-box !important;
    width: min(var(--retail-v163-wide), 100%) !important;
    max-width: var(--retail-v163-wide) !important;
    margin-inline: auto !important;
}

/* Department section: a compact heading and an even four-column commercial
 * grid. The previous editorial feature spans made the first row oversized. */
body.retail-route-home .retail-v160-departments {
    padding-top: clamp(3.5rem, 5vw, 5.25rem) !important;
    padding-bottom: clamp(3.75rem, 5.5vw, 5.75rem) !important;
}

body.retail-route-home .retail-v160-departments .ref-native-section-heading {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px) !important;
    align-items: end !important;
    gap: 1.25rem 3rem !important;
    margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem) !important;
}

body.retail-route-home .retail-v160-departments .ref-native-section-heading > div {
    min-width: 0 !important;
}

body.retail-route-home .retail-v160-departments .ref-native-section-heading h2 {
    max-width: 850px !important;
    margin: .35rem 0 0 !important;
    font-size: clamp(2.55rem, 3.55vw, 4rem) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance;
}

body.retail-route-home .retail-v160-departments .ref-native-section-heading > p {
    max-width: 430px !important;
    margin: 0 !important;
    color: #62687b !important;
    font-size: .92rem !important;
    line-height: 1.65 !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(250px, 270px) !important;
    gap: clamp(12px, 1.3vw, 18px) !important;
    margin: 0 !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card,
body.retail-route-home .retail-v160-departments .ref-native-category-card.is-featured {
    grid-column: auto !important;
    min-width: 0 !important;
    min-height: 250px !important;
    height: 100% !important;
    padding: clamp(1.2rem, 1.8vw, 1.65rem) !important;
    border-radius: 22px !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card__copy strong {
    max-width: 100% !important;
    font-size: clamp(1.65rem, 2.15vw, 2.55rem) !important;
    line-height: .98 !important;
}

/* Adaptive discovery was inheriting the 820px prose max-width. That left only
 * a narrow strip for its title once the filter tabs were added. */
body.retail-route-home .retail-v160-adaptive-discovery {
    padding-top: clamp(3.75rem, 5.5vw, 5.75rem) !important;
    padding-bottom: clamp(4rem, 6vw, 6.25rem) !important;
}

body.retail-route-home .retail-v160-adaptive-discovery .ref-adaptive-discovery {
    width: min(var(--retail-v163-wide), 100%) !important;
    max-width: var(--retail-v163-wide) !important;
    padding: 0 !important;
}

body.retail-route-home .ref-adaptive-discovery__heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 1.5rem 2.5rem !important;
    margin: 0 0 1.75rem !important;
}

body.retail-route-home .ref-adaptive-discovery__heading > div:first-child {
    min-width: 0 !important;
    max-width: 760px !important;
}

body.retail-route-home .ref-adaptive-discovery__heading h2 {
    max-width: 760px !important;
    margin: .35rem 0 .65rem !important;
    font-size: clamp(2.55rem, 3.7vw, 4.25rem) !important;
    line-height: .96 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance;
}

body.retail-route-home .ref-adaptive-discovery__tabs {
    max-width: 650px !important;
    justify-content: flex-end !important;
}

body.retail-route-home .ref-adaptive-discovery__layout {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 330px) !important;
    gap: clamp(16px, 1.8vw, 24px) !important;
    align-items: stretch !important;
}

body.retail-route-home .ref-adaptive-discovery__products,
body.retail-route-home .ref-adaptive-discovery__guide {
    min-width: 0 !important;
}

body.retail-route-home .ref-adaptive-discovery__products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.2vw, 17px) !important;
}

body.retail-route-home .ref-adaptive-discovery-card__image,
body.retail-route-home .ref-adaptive-discovery-card__image img {
    height: clamp(210px, 16vw, 250px) !important;
    min-height: clamp(210px, 16vw, 250px) !important;
}

/* ========================================================================
   PRODUCT PAGE OWNERSHIP
   ======================================================================== */
body.retail-route-product .retail-main,
body.retail-route-product .retail-v163-single-product,
body.retail-route-product .retail-v162-single-product,
body.retail-route-product .retail-v120-single-product,
body.retail-route-product .retail-v163-single-product__shell,
body.retail-route-product .retail-v162-single-product__shell,
body.retail-route-product .retail-v120-single-product__shell,
body.retail-route-product #primary.content-area,
body.retail-route-product #main.site-main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    margin-inline: auto !important;
}

body.retail-route-product .retail-v163-single-product,
body.retail-route-product .retail-v162-single-product,
body.retail-route-product .retail-v120-single-product {
    padding: clamp(1.25rem, 2.4vw, 2.4rem) var(--retail-v163-gutter) clamp(4.5rem, 7vw, 7rem) !important;
}

body.retail-route-product .retail-v163-single-product__shell,
body.retail-route-product .retail-v162-single-product__shell,
body.retail-route-product .retail-v120-single-product__shell,
body.retail-route-product #primary.content-area,
body.retail-route-product #main.site-main {
    width: min(1400px, 100%) !important;
    max-width: 1400px !important;
}

/* Critical correction: theme.css applied display:grid to every WooCommerce
 * product. That made the breadcrumb occupy column one and the real product
 * layout occupy only column two. The outer product must be a block. */
body.retail-route-product .woocommerce div.product.retail-v163-pdp,
body.retail-route-product .woocommerce div.product.retail-v162-pdp,
body.retail-route-product .woocommerce div.product.retail-v120-pdp,
body.retail-route-product div.product.retail-v163-pdp,
body.retail-route-product div.product.retail-v162-pdp,
body.retail-route-product div.product.retail-v120-pdp {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.retail-route-product .retail-v163-pdp__main,
body.retail-route-product .retail-v162-pdp__main,
body.retail-route-product .retail-v120-pdp__main {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    grid-template-columns: minmax(520px, 1.06fr) minmax(420px, .94fr) !important;
    gap: clamp(2.25rem, 4vw, 4.5rem) !important;
    align-items: start !important;
}

body.retail-route-product .retail-v163-pdp__gallery,
body.retail-route-product .retail-v162-pdp__gallery,
body.retail-route-product .retail-v120-pdp__gallery,
body.retail-route-product .retail-v163-pdp__summary,
body.retail-route-product .retail-v162-pdp__summary,
body.retail-route-product .retail-v120-pdp__summary {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.retail-route-product .retail-v163-pdp__gallery,
body.retail-route-product .retail-v162-pdp__gallery,
body.retail-route-product .retail-v120-pdp__gallery {
    min-height: 560px !important;
    padding: clamp(1rem, 1.8vw, 1.65rem) !important;
    overflow: hidden !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 26px !important;
    background: linear-gradient(145deg, #faf9fb, #f1eff5) !important;
    box-shadow: var(--retail-v163-shadow) !important;
}

body.retail-route-product .retail-v163-pdp__gallery .woocommerce-product-gallery,
body.retail-route-product .retail-v162-pdp__gallery .woocommerce-product-gallery,
body.retail-route-product .retail-v120-pdp__gallery .woocommerce-product-gallery,
body.retail-route-product .woocommerce div.product div.images {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.retail-route-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

body.retail-route-product .woocommerce-product-gallery__wrapper {
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.retail-route-product .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__wrapper,
body.retail-route-product .woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image {
    width: 100% !important;
}

body.retail-route-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.retail-route-product .woocommerce-product-gallery__image a {
    display: grid !important;
    min-height: 500px !important;
    place-items: center !important;
}

body.retail-route-product .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 650px !important;
    margin: 0 auto !important;
    padding: clamp(.5rem, 1vw, 1rem) !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.retail-route-product .retail-v163-pdp__summary,
body.retail-route-product .retail-v162-pdp__summary,
body.retail-route-product .retail-v120-pdp__summary,
body.retail-route-product .woocommerce div.product div.summary {
    position: sticky !important;
    top: 126px !important;
    float: none !important;
    margin: 0 !important;
    padding: .25rem 0 0 !important;
}

body.retail-route-product .retail-v163-pdp__summary .product_title,
body.retail-route-product .retail-v162-pdp__summary .product_title,
body.retail-route-product .retail-v120-pdp__summary .product_title {
    max-width: 650px !important;
    margin: 0 0 1rem !important;
    font-size: clamp(2.35rem, 3.25vw, 3.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    text-wrap: balance;
}

body.retail-route-product .retail-v163-pdp__after-summary,
body.retail-route-product .retail-v161-pdp__after-summary,
body.retail-route-product .retail-v121-product-information,
body.retail-route-product .retail-v130-intelligence {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    clear: both !important;
}

/* ========================================================================
   CHECKOUT AND CART WIDTH CONTRACT
   ======================================================================== */
body.retail-route-checkout .retail-main,
body.retail-route-checkout .retail-v120-commerce-page,
body.retail-route-checkout .retail-v120-commerce-shell,
body.retail-route-checkout .retail-v120-checkout,
body.retail-route-checkout .retail-v120-checkout__content,
body.retail-route-checkout form.checkout,
body.retail-route-cart .retail-main,
body.retail-route-cart .retail-v120-commerce-shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
}

body.retail-route-checkout .retail-v120-commerce-page,
body.retail-route-cart .retail-v120-commerce-page {
    padding: clamp(1.5rem, 3vw, 3rem) var(--retail-v163-gutter) clamp(4rem, 7vw, 7rem) !important;
}

body.retail-route-checkout .retail-v120-commerce-shell,
body.retail-route-cart .retail-v120-commerce-shell {
    width: min(1360px, 100%) !important;
    max-width: 1360px !important;
    margin-inline: auto !important;
}

body.retail-route-checkout form.checkout.woocommerce-checkout,
body.retail-route-checkout .retail-v130-checkout-form {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.retail-route-checkout .retail-v130-checkout__prelude:empty {
    display: none !important;
}

body.retail-route-checkout .retail-v130-checkout-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px) !important;
    gap: clamp(1.25rem, 2.4vw, 2.25rem) !important;
    align-items: start !important;
}

body.retail-route-checkout .retail-v130-checkout__customer,
body.retail-route-checkout .retail-v130-checkout__summary {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: clamp(1.2rem, 2vw, 1.8rem) !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--retail-v163-shadow) !important;
}

body.retail-route-checkout .retail-v130-customer-details,
body.retail-route-checkout #customer_details,
body.retail-route-checkout #customer_details .col-1,
body.retail-route-checkout #customer_details .col-2,
body.retail-route-checkout .woocommerce-billing-fields,
body.retail-route-checkout .woocommerce-shipping-fields,
body.retail-route-checkout .woocommerce-additional-fields {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
}

body.retail-route-checkout #customer_details .col-2 {
    margin-top: 1.25rem !important;
}

body.retail-route-checkout .woocommerce-billing-fields__field-wrapper,
body.retail-route-checkout .woocommerce-shipping-fields__field-wrapper,
body.retail-route-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: .9rem 1rem !important;
}

body.retail-route-checkout .form-row {
    box-sizing: border-box !important;
    grid-column: 1 / -1;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.retail-route-checkout #billing_first_name_field,
body.retail-route-checkout #billing_last_name_field,
body.retail-route-checkout #shipping_first_name_field,
body.retail-route-checkout #shipping_last_name_field,
body.retail-route-checkout #billing_phone_field,
body.retail-route-checkout #billing_email_field {
    grid-column: span 6 !important;
}

body.retail-route-checkout #billing_city_field,
body.retail-route-checkout #shipping_city_field {
    grid-column: span 5 !important;
}

body.retail-route-checkout #billing_state_field,
body.retail-route-checkout #shipping_state_field {
    grid-column: span 4 !important;
}

body.retail-route-checkout #billing_postcode_field,
body.retail-route-checkout #shipping_postcode_field {
    grid-column: span 3 !important;
}

body.retail-route-checkout .woocommerce-input-wrapper,
body.retail-route-checkout .select2-container,
body.retail-route-checkout input.input-text,
body.retail-route-checkout textarea,
body.retail-route-checkout select {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.retail-route-checkout input.input-text,
body.retail-route-checkout textarea,
body.retail-route-checkout select,
body.retail-route-checkout .select2-selection--single {
    min-height: 50px !important;
    margin: 0 !important;
    border: 1px solid #d8d6df !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.retail-route-checkout .retail-v130-checkout__summary {
    position: sticky !important;
    top: 92px !important;
}

body.retail-route-checkout .woocommerce-checkout-review-order,
body.retail-route-checkout #order_review,
body.retail-route-checkout #payment,
body.retail-route-checkout .woocommerce-checkout-review-order-table {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
}

/* WooCommerce block checkout fallback. */
body.retail-route-checkout .wc-block-checkout {
    display: grid !important;
    width: min(1360px, 100%) !important;
    max-width: 1360px !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px) !important;
    gap: clamp(1.25rem, 2.4vw, 2.25rem) !important;
    margin-inline: auto !important;
}

body.retail-route-checkout .wc-block-checkout__main,
body.retail-route-checkout .wc-block-checkout__sidebar {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* ========================================================================
   FOOTER CONVERSION CARDS AND FOOTER COLUMNS
   ======================================================================== */
body.retail-layout-v163 .retail-v160-footer-conversion__grid {
    display: grid !important;
    width: min(var(--retail-v163-wide), 100%) !important;
    max-width: var(--retail-v163-wide) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.4vw, 20px) !important;
    align-items: stretch !important;
    margin: 0 auto !important;
}

body.retail-layout-v163 .retail-v160-footer-conversion__grid > .retail-v160-footer-conversion__card {
    display: grid !important;
    height: 100% !important;
    min-height: 260px !important;
    grid-template-rows: auto minmax(2.05em, auto) 1fr auto !important;
    align-content: stretch !important;
    gap: .75rem !important;
    margin: 0 !important;
    padding: clamp(1.65rem, 2vw, 2.15rem) !important;
}

body.retail-layout-v163 .retail-v160-footer-conversion__card > * {
    width: 100% !important;
    max-width: none !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

body.retail-layout-v163 .retail-v160-footer-conversion__card h2 {
    align-self: start !important;
    font-size: clamp(1.85rem, 2.45vw, 2.85rem) !important;
    line-height: 1 !important;
}

body.retail-layout-v163 .retail-v160-footer-conversion__card > p:nth-of-type(2) {
    align-self: start !important;
    line-height: 1.6 !important;
}

body.retail-layout-v163 .retail-v160-footer-conversion__card > a {
    align-self: end !important;
    margin-top: .25rem !important;
}

body.retail-layout-v163 .retail-footer__grid {
    align-items: start !important;
}

body.retail-layout-v163 .retail-footer__grid > .wp-block-column {
    margin-block-start: 0 !important;
    align-self: start !important;
}

/* ========================================================================
   RESPONSIVE CONTRACT
   ======================================================================== */
@media (max-width: 1220px) {
    body.retail-route-home .ref-adaptive-discovery__layout {
        grid-template-columns: 1fr !important;
    }
    body.retail-route-home .ref-adaptive-discovery__guide {
        min-height: 280px !important;
    }
    body.retail-route-product .retail-v163-pdp__main,
    body.retail-route-product .retail-v162-pdp__main,
    body.retail-route-product .retail-v120-pdp__main {
        grid-template-columns: minmax(440px, 1fr) minmax(360px, .82fr) !important;
        gap: 2.25rem !important;
    }
}

@media (max-width: 1024px) {
    body.retail-route-home .retail-v160-departments .ref-native-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.retail-route-home .ref-adaptive-discovery__heading {
        grid-template-columns: 1fr !important;
    }
    body.retail-route-home .ref-adaptive-discovery__tabs {
        max-width: none !important;
        justify-content: flex-start !important;
    }
    body.retail-route-home .ref-adaptive-discovery__products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    body.retail-route-product .retail-v163-pdp__main,
    body.retail-route-product .retail-v162-pdp__main,
    body.retail-route-product .retail-v120-pdp__main,
    body.retail-route-checkout .retail-v130-checkout-grid,
    body.retail-route-checkout .wc-block-checkout {
        grid-template-columns: 1fr !important;
    }
    body.retail-route-product .retail-v163-pdp__summary,
    body.retail-route-product .retail-v162-pdp__summary,
    body.retail-route-product .retail-v120-pdp__summary,
    body.retail-route-product .woocommerce div.product div.summary,
    body.retail-route-checkout .retail-v130-checkout__summary {
        position: static !important;
    }
    body.retail-layout-v163 .retail-v160-footer-conversion__grid {
        grid-template-columns: 1fr !important;
    }
    body.retail-layout-v163 .retail-v160-footer-conversion__grid > .retail-v160-footer-conversion__card {
        min-height: 220px !important;
    }
}

@media (max-width: 760px) {
    body.retail-route-home .retail-v160-departments .ref-native-section-heading {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    body.retail-route-home .retail-v160-departments .ref-native-section-heading h2,
    body.retail-route-home .ref-adaptive-discovery__heading h2 {
        font-size: clamp(2.25rem, 10vw, 3.2rem) !important;
    }
    body.retail-route-home .retail-v160-departments .ref-native-category-grid,
    body.retail-route-home .ref-adaptive-discovery__products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.retail-route-home .retail-v160-departments .ref-native-category-card,
    body.retail-route-home .retail-v160-departments .ref-native-category-card.is-featured {
        min-height: 220px !important;
    }
    body.retail-route-product .retail-v163-single-product,
    body.retail-route-product .retail-v162-single-product,
    body.retail-route-product .retail-v120-single-product,
    body.retail-route-checkout .retail-v120-commerce-page,
    body.retail-route-cart .retail-v120-commerce-page {
        padding-inline: 12px !important;
    }
    body.retail-route-product .retail-v163-pdp__gallery,
    body.retail-route-product .retail-v162-pdp__gallery,
    body.retail-route-product .retail-v120-pdp__gallery {
        min-height: 340px !important;
        padding: .75rem !important;
        border-radius: 18px !important;
    }
    body.retail-route-product .woocommerce-product-gallery__image a {
        min-height: 300px !important;
    }
    body.retail-route-product .retail-v163-pdp__summary .product_title,
    body.retail-route-product .retail-v162-pdp__summary .product_title,
    body.retail-route-product .retail-v120-pdp__summary .product_title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
    }
    body.retail-route-checkout .woocommerce-billing-fields__field-wrapper,
    body.retail-route-checkout .woocommerce-shipping-fields__field-wrapper,
    body.retail-route-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    body.retail-route-checkout .form-row,
    body.retail-route-checkout #billing_first_name_field,
    body.retail-route-checkout #billing_last_name_field,
    body.retail-route-checkout #shipping_first_name_field,
    body.retail-route-checkout #shipping_last_name_field,
    body.retail-route-checkout #billing_phone_field,
    body.retail-route-checkout #billing_email_field,
    body.retail-route-checkout #billing_city_field,
    body.retail-route-checkout #shipping_city_field,
    body.retail-route-checkout #billing_state_field,
    body.retail-route-checkout #shipping_state_field,
    body.retail-route-checkout #billing_postcode_field,
    body.retail-route-checkout #shipping_postcode_field {
        grid-column: 1 !important;
    }
}

@media (max-width: 520px) {
    body.retail-route-home .retail-v160-departments .ref-native-category-grid,
    body.retail-route-home .ref-adaptive-discovery__products ul.products {
        grid-template-columns: 1fr !important;
    }
}


/* ========================================================================
   v1.6.4 HOMEPAGE CONTENT CONTRACT
   The department copy wrapper inherited the old direct-child uppercase rule,
   while automatic category imagery trusted corrupted supplier assignments.
   These selectors keep every label readable even when legacy body classes are
   absent and make the action a separate, stable line.
   ======================================================================== */
body.retail-route-home .retail-v160-departments .ref-native-category-card__copy {
    position: relative !important;
    z-index: 4 !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: inherit !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card__copy strong {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif !important;
    font-size: clamp(1.48rem, 1.82vw, 2.18rem) !important;
    font-style: normal !important;
    font-weight: 500 !important;
    letter-spacing: -.035em !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-transform: none !important;
    text-wrap: balance;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card__copy em,
body.retail-route-home .retail-v160-departments .ref-native-category-card__action {
    display: inline-flex !important;
    min-height: 1rem !important;
    align-items: center !important;
    gap: .3rem !important;
    margin: .62rem 0 0 !important;
    color: rgba(255,255,255,.92) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: .61rem !important;
    font-style: normal !important;
    font-weight: 820 !important;
    letter-spacing: .08em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card--masturbators .ref-native-category-card__copy strong,
body.retail-route-home .retail-v160-departments .ref-native-category-card--wellness .ref-native-category-card__copy strong {
    font-size: clamp(1.35rem, 1.62vw, 1.95rem) !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card.has-image::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(8,10,26,.02) 18%, rgba(8,10,26,.78) 100%) !important;
}

body.retail-route-home .retail-v160-departments .ref-native-category-card.has-brand-fallback .ref-native-category-card__copy {
    text-shadow: none !important;
}

/* A temporarily incomplete discovery cache must not leave a narrow orphan
 * card. The framework now fills all requested positions; this auto-fill rule
 * is a final visual safeguard during the first uncached request. */
body.retail-route-home .ref-adaptive-discovery__products ul.products {
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)) !important;
}
body.retail-route-home .ref-adaptive-discovery__products ul.products > li.product {
    max-width: none !important;
}
@media (min-width: 1221px) {
    body.retail-route-home .ref-adaptive-discovery__products ul.products:has(> li:nth-child(4)) {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* ========================================================================
   PRODUCT INFORMATION — COMPACT COMMERCE CONTRACT v1.6.6
   ========================================================================
   Product facts must scan like a premium retail page, not occupy a full
   editorial spread. These route-specific rules deliberately override the
   historic v1.4/v1.5 magazine treatment while preserving the same markup.
*/
body.retail-route-product .retail-v121-product-information.retail-v141-product-story {
    box-sizing: border-box !important;
    width: min(1240px, 100%) !important;
    max-width: 1240px !important;
    margin: clamp(2.75rem, 4.5vw, 4.75rem) auto 0 !important;
    padding: 0 !important;
}

body.retail-route-product .retail-v141-story-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 410px) !important;
    align-items: end !important;
    gap: .8rem clamp(1.5rem, 3vw, 3rem) !important;
    margin: 0 0 1.25rem !important;
    padding: 0 !important;
}

body.retail-route-product .retail-v141-story-heading .retail-v120-eyebrow {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
}

body.retail-route-product .retail-v141-story-heading h2 {
    max-width: 680px !important;
    margin: 0 !important;
    font-size: clamp(2.35rem, 3.4vw, 3.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
}

body.retail-route-product .retail-v141-story-heading > p {
    max-width: 410px !important;
    margin: 0 !important;
    color: #5b6274 !important;
    font-size: .88rem !important;
    line-height: 1.65 !important;
}

body.retail-route-product .retail-v141-story-overview {
    display: grid !important;
    grid-template-columns: 145px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 1rem clamp(1.25rem, 2.6vw, 2.4rem) !important;
    margin: 0 0 12px !important;
    padding: clamp(1.25rem, 2.2vw, 1.75rem) !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #fbfafc, #f5f3f8) !important;
    box-shadow: none !important;
}

body.retail-route-product .retail-v141-story-overview p {
    max-width: 800px !important;
    margin: 0 !important;
    color: #30364b !important;
    font-family: var(--wp--preset--font-family--sans) !important;
    font-size: clamp(1rem, 1.15vw, 1.16rem) !important;
    font-weight: 500 !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
}

body.retail-route-product .retail-v141-story-features {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
}

body.retail-route-product .retail-v141-story-features > div {
    min-height: 62px !important;
    padding: .75rem .9rem !important;
    gap: .65rem !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
}

body.retail-route-product .retail-v141-story-features > div > span {
    flex-basis: 26px !important;
    width: 26px !important;
    height: 26px !important;
    background: color-mix(in srgb, var(--retail-v163-primary) 9%, #fff) !important;
    color: var(--retail-v163-primary) !important;
}

body.retail-route-product .retail-v141-story-features strong {
    font-size: .75rem !important;
    line-height: 1.38 !important;
}

body.retail-route-product .retail-v141-story-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
}

body.retail-route-product .retail-v141-story-grid > :only-child {
    grid-column: 1 / -1 !important;
}

body.retail-route-product .retail-v141-story-prose,
body.retail-route-product .retail-v141-story-specs {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(1.25rem, 2vw, 1.65rem) !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.retail-route-product .retail-v141-story-prose h3,
body.retail-route-product .retail-v141-story-specs h3 {
    margin: 0 0 .9rem !important;
    font-size: clamp(1.45rem, 1.9vw, 1.8rem) !important;
    line-height: 1.08 !important;
}

body.retail-route-product .retail-v141-story-prose p {
    margin: .55rem 0 !important;
    color: #555d70 !important;
    font-size: .86rem !important;
    line-height: 1.7 !important;
}

body.retail-route-product .retail-v141-story-specs dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 clamp(1.25rem, 3vw, 3rem) !important;
    margin: 0 !important;
}

body.retail-route-product .retail-v141-story-specs dl > div {
    display: grid !important;
    grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr) !important;
    align-items: baseline !important;
    gap: .75rem !important;
    min-width: 0 !important;
    padding: .72rem 0 !important;
    border-bottom: 1px solid var(--retail-v163-line) !important;
}

body.retail-route-product .retail-v141-story-specs dt,
body.retail-route-product .retail-v141-story-specs dd {
    min-width: 0 !important;
    font-size: .74rem !important;
    line-height: 1.45 !important;
}

body.retail-route-product .retail-v141-story-specs dt {
    color: #697083 !important;
    font-weight: 700 !important;
}

body.retail-route-product .retail-v141-story-specs dd {
    margin: 0 !important;
    color: #242a3d !important;
    font-weight: 760 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
}

body.retail-route-product .retail-v141-story-care {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
}

body.retail-route-product .retail-v141-story-care > div {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 1.25rem 1.4rem !important;
    border: 1px solid var(--retail-v163-line) !important;
    border-radius: 16px !important;
    background: #f8f7fa !important;
}

body.retail-route-product .retail-v141-story-care h3 {
    margin: .25rem 0 .4rem !important;
    font-size: clamp(1.28rem, 1.7vw, 1.55rem) !important;
    line-height: 1.1 !important;
}

body.retail-route-product .retail-v141-story-care p {
    max-width: 560px !important;
    margin: .35rem 0 0 !important;
    color: #5b6274 !important;
    font-size: .82rem !important;
    line-height: 1.65 !important;
}

body.retail-route-product .retail-v141-secondary-panels {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    body.retail-route-product .retail-v141-story-heading,
    body.retail-route-product .retail-v141-story-overview,
    body.retail-route-product .retail-v141-story-grid {
        grid-template-columns: 1fr !important;
    }

    body.retail-route-product .retail-v141-story-overview {
        gap: .65rem !important;
    }

    body.retail-route-product .retail-v141-story-specs dl {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    body.retail-route-product .retail-v141-story-heading h2 {
        font-size: clamp(2.15rem, 10vw, 3rem) !important;
    }

    body.retail-route-product .retail-v141-story-features,
    body.retail-route-product .retail-v141-story-care {
        grid-template-columns: 1fr !important;
    }

    body.retail-route-product .retail-v141-story-specs dl > div {
        grid-template-columns: 1fr !important;
        gap: .2rem !important;
    }

    body.retail-route-product .retail-v141-story-specs dd {
        text-align: left !important;
    }
}

/* ========================================================================
   HOMEPAGE FLOW INTEGRITY — CONTENT-LED CONTRACT v1.6.6
   ========================================================================
   Optional dynamic blocks can legitimately return no markup. Their group
   wrappers must then collapse completely, and the adaptive discovery row must
   never retain a viewport or JavaScript-measured height. With reviews absent,
   the advice heading starts 80–100px after the discovery cards on desktop.
*/
body.retail-route-home .retail-home-section--adaptive-discovery,
body.retail-route-home .retail-home-section--reviews,
body.retail-route-home .retail-home-section--advice,
body.retail-route-home .retail-v160-adaptive-discovery,
body.retail-route-home .ref-adaptive-discovery,
body.retail-route-home .ref-adaptive-discovery__layout,
body.retail-route-home .ref-adaptive-discovery__products,
body.retail-route-home .ref-adaptive-discovery__products ul.products,
body.retail-route-home .ref-adaptive-discovery__guide {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

body.retail-route-home .retail-home-section--adaptive-discovery,
body.retail-route-home .retail-v160-adaptive-discovery {
    padding-top: clamp(3rem, 4.5vw, 4.75rem) !important;
    padding-bottom: clamp(2.35rem, 2.8vw, 2.75rem) !important;
}

body.retail-route-home .retail-home-section--reviews {
    padding-top: clamp(2.5rem, 3.5vw, 3.75rem) !important;
    padding-bottom: clamp(2.5rem, 3.5vw, 3.75rem) !important;
}

body.retail-route-home .retail-home-section--advice,
body.retail-route-home .retail-v160-advice {
    padding-top: clamp(2.35rem, 2.8vw, 2.75rem) !important;
    padding-bottom: clamp(4rem, 6vw, 6.5rem) !important;
}

body.retail-route-home .ref-adaptive-discovery__layout {
    grid-auto-rows: auto !important;
    align-items: stretch !important;
}

body.retail-route-home .ref-adaptive-discovery__products ul.products {
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    align-content: start !important;
}

body.retail-route-home .ref-adaptive-discovery__products ul.products > li.product,
body.retail-route-home .ref-adaptive-discovery__guide {
    align-self: stretch !important;
}

body.retail-route-home .ref-adaptive-discovery [hidden],
body.retail-route-home .retail-home-section[hidden] {
    display: none !important;
}

body.retail-route-home .retail-home-section--brands:empty,
body.retail-route-home .retail-home-section--adaptive-discovery:empty,
body.retail-route-home .retail-home-section--reviews:empty,
body.retail-route-home .retail-home-section--advice:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Saved Site Editor copies can retain whitespace text nodes, so the matched
 * framework also removes empty wrappers server-side. This selector handles the
 * standards-compliant empty case without waiting for JavaScript. */
body.retail-route-home .retail-home-section--adaptive-discovery + .retail-home-section--reviews:empty + .retail-home-section--advice {
    padding-top: clamp(2.35rem, 2.8vw, 2.75rem) !important;
}

@media (max-width: 760px) {
    body.retail-route-home .retail-home-section--adaptive-discovery,
    body.retail-route-home .retail-v160-adaptive-discovery {
        padding-top: 3rem !important;
        padding-bottom: 1.5rem !important;
    }

    body.retail-route-home .retail-home-section--reviews {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    body.retail-route-home .retail-home-section--advice,
    body.retail-route-home .retail-v160-advice {
        padding-top: 1.5rem !important;
        padding-bottom: 4rem !important;
    }
}


/* ========================================================================
   ADVICE CARD READABILITY — IMAGE-LED EDITORIAL CONTRACT v1.6.7
   ========================================================================
   Advice cards use their photography as a backdrop. Keep all copy in the
   lower safe area, remove the historic auto spacer above the CTA and provide
   a consistent dark fade so every title remains legible on mixed imagery.
*/
body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: clamp(350px, 28vw, 410px) !important;
    padding: clamp(1.45rem, 2vw, 2rem) !important;
    color: #fff !important;
    background-position: center !important;
    background-size: cover !important;
    isolation: isolate !important;
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image::before,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(8, 10, 26, .05) 0%,
        rgba(8, 10, 26, .14) 34%,
        rgba(8, 10, 26, .56) 64%,
        rgba(8, 10, 26, .94) 100%
    );
    pointer-events: none;
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image > *,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image > * {
    position: relative;
    z-index: 1;
    flex: 0 0 auto !important;
    color: #fff !important;
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image > span,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image > span {
    margin: 0 0 .55rem !important;
    color: rgba(255, 255, 255, .9) !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image h3,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image h3 {
    max-width: 95% !important;
    margin: 0 0 .65rem !important;
    color: #fff !important;
    font-size: clamp(1.65rem, 2.15vw, 2.35rem) !important;
    line-height: 1.01 !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .48);
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image h3 a,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image h3 a,
body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image p,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image p,
body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image .ref-native-advice-card__link,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image .ref-native-advice-card__link {
    color: #fff !important;
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image p,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image p {
    max-width: 94% !important;
    margin: 0 !important;
    font-size: .8rem !important;
    line-height: 1.55 !important;
    opacity: .94 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image .ref-native-advice-card__link,
body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image .ref-native-advice-card__link {
    align-self: flex-start !important;
    margin: .95rem 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

@media (max-width: 760px) {
    body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image,
    body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image {
        min-height: 340px !important;
        padding: 1.35rem !important;
    }

    body.retail-route-home .retail-v160-advice .ref-native-advice-card.has-image h3,
    body.retail-route-home .retail-home-section--advice .ref-native-advice-card.has-image h3 {
        max-width: 100% !important;
        font-size: clamp(1.55rem, 8vw, 2rem) !important;
    }
}


/* ========================================================================
   v1.7.2 product gallery and full-description recovery
   ======================================================================== */
body.retail-route-product .retail-v141-story-heading {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    max-width: 820px !important;
}

body.retail-route-product .retail-v172-full-description {
    margin-top: 1rem;
    padding: clamp(1.65rem, 3vw, 2.6rem);
    border: 1px solid var(--retail-v163-line, #e2e2e8);
    border-radius: 22px;
    background: #fff;
}

body.retail-route-product .retail-v172-full-description h3 {
    margin: .35rem 0 1.1rem;
    color: var(--retail-v163-ink, #171929);
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    line-height: 1.08;
}

body.retail-route-product .retail-v172-full-description__content {
    max-width: 920px;
    color: var(--retail-v163-muted, #555d70);
    font-size: clamp(.96rem, 1.05vw, 1.05rem);
    line-height: 1.78;
}

body.retail-route-product .retail-v172-full-description__content > :first-child { margin-top: 0; }
body.retail-route-product .retail-v172-full-description__content > :last-child { margin-bottom: 0; }
body.retail-route-product .retail-v172-full-description__content p,
body.retail-route-product .retail-v172-full-description__content ul,
body.retail-route-product .retail-v172-full-description__content ol { margin: 0 0 1rem; }
body.retail-route-product .retail-v172-full-description__content ul,
body.retail-route-product .retail-v172-full-description__content ol { padding-left: 1.35rem; }
body.retail-route-product .retail-v172-full-description__content li + li { margin-top: .4rem; }
body.retail-route-product .retail-v172-full-description__content h2,
body.retail-route-product .retail-v172-full-description__content h3,
body.retail-route-product .retail-v172-full-description__content h4 {
    margin: 1.5rem 0 .7rem;
    color: var(--retail-v163-ink, #171929);
    line-height: 1.15;
}

/* Native fallback shown only when the WooCommerce FlexSlider lifecycle has not
 * initialized. It is removed automatically as soon as FlexSlider takes over. */
body.retail-route-product .woocommerce-product-gallery.retail-v172-gallery-fallback .woocommerce-product-gallery__wrapper {
    display: block !important;
    width: 100% !important;
    transform: none !important;
}
body.retail-route-product .woocommerce-product-gallery.retail-v172-gallery-fallback .woocommerce-product-gallery__image {
    display: none !important;
    width: 100% !important;
    float: none !important;
}
body.retail-route-product .woocommerce-product-gallery.retail-v172-gallery-fallback .woocommerce-product-gallery__image.is-retail-gallery-active {
    display: block !important;
}
body.retail-route-product .retail-v172-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1rem;
}
body.retail-route-product .retail-v172-gallery-thumb {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    place-items: center;
    margin: 0;
    padding: .35rem;
    overflow: hidden;
    border: 1px solid rgba(23, 25, 41, .15);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}
body.retail-route-product .retail-v172-gallery-thumb[aria-current="true"] {
    border-color: var(--retail-v163-accent, #2527b7);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--retail-v163-accent, #2527b7) 18%, transparent);
}
body.retail-route-product .retail-v172-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    object-fit: contain;
}

@media (max-width: 700px) {
    body.retail-route-product .retail-v172-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.retail-route-product .retail-v172-full-description { padding: 1.25rem; border-radius: 18px; }
}
