/* Retail: preserve the brand palette and native WooCommerce purchase controls. */
.r-retail-header .r-logo,.r-footer-brand .r-logo{background:transparent!important;object-fit:contain;height:auto}
.r8-review .r9-gallery{min-width:0}
.r8-review .r9-gallery-main{aspect-ratio:1;position:relative;touch-action:pan-y pinch-zoom;cursor:zoom-in}
.r8-review .r9-gallery-main img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;will-change:auto;transition:transform 160ms ease-out}
.r8-review .r9-gallery-main.r29-zooming{cursor:zoom-out}
.r8-review .r9-gallery-main.r29-zooming img{will-change:transform}
.r8-review .r9-thumbs{display:flex!important;gap:8px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:3px;padding:4px 2px 8px;scrollbar-width:thin;max-width:100%}
.r8-review .r9-thumbs button{flex:0 0 64px;width:64px!important;height:64px!important;min-width:64px;scroll-snap-align:start;overflow:hidden}
.r8-review .r9-thumbs button img{width:100%;height:100%;object-fit:contain}
.r8-review .r9-thumbs button[aria-pressed=true]{outline:2px solid #31563c;outline-offset:-2px}
.r8-review .r9-gallery-count{font-size:14px!important;line-height:1.5;min-height:21px;color:#4c5b4e}
.r8-review :is(.r9-options button,.r8-mobile-toggle,.r-retail-actions a){min-height:44px}
.r8-review .r-retail-actions a{display:inline-flex;align-items:center;justify-content:center}
.r8-review :is(.r-products,.r-cert-track){scrollbar-width:thin;overscroll-behavior-x:contain}
.r8-review :is(.summary,.r11-page-content){min-width:0;overflow-wrap:break-word}
.r8-review .r9-dialog{max-width:calc(100vw - 20px);max-height:94dvh}
.r8-review .r9-dialog::backdrop{backdrop-filter:blur(3px)}
@media(max-width:1024px){
  .r8-review .r-retail-main{padding:14px 22px!important;gap:12px!important}
  .r8-review .r-range-nav{max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:700px){
  .r8-review .r-retail-main{padding:10px 16px!important;gap:8px 12px!important}
  .r8-review .r-retail-main .r-logo{width:142px!important;max-width:142px!important}
  .r8-review .r-retail-actions{gap:8px!important}
  .r8-review .r-retail-actions a{padding:8px 10px!important;font-size:14px!important}
  .r8-review .r-retail-search{height:44px!important;min-height:44px!important;margin:0!important}
  .r8-review .r-retail-search input{height:44px!important;min-height:44px!important;padding:8px 12px!important;font-size:16px!important}
  .r8-review .r-retail-search button{height:44px!important;min-height:44px!important;padding:8px 12px!important}
  .r8-review .r8-mobile-toggle{padding:10px 16px!important;min-height:44px!important}
  .r8-review :is(form.cart,.woocommerce-checkout,.woocommerce-form-login) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
  .r8-review .r9-options{gap:8px}.r8-review .r9-options button{min-width:56px;padding:10px 12px}
  .r8-review .r13-copy p:not(.r13-kicker){font-size:16px!important;line-height:1.5!important}
  .r8-review .r13-kicker{font-size:12px!important;line-height:1.5!important}
  .r8-review .r13-hero{min-height:650px}
  .r8-review .r9-gallery{padding:8px!important}
  .r8-review .r9-thumbs button{flex-basis:60px;width:60px!important;height:60px!important;min-width:60px}
  .r8-review .woocommerce-tabs table{max-width:100%}
  .r8-review .r-retail-footer{padding-bottom:85px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .r8-review .r9-gallery-main img{transition:none!important}
  ::view-transition-old(root),::view-transition-new(root){animation:none!important}
}

/* Keep the approved composition while making a slide finish settling promptly. */
.r8-review .r13-hero,.r8-review.home .r2l .r-retail-header,.r8-review.home .r2l .r-retail-main,.r8-review.home .r2l .r-range-nav{transition:background .42s ease}
.r8-review .r13-slide{transition:opacity .42s ease,visibility .42s ease}
.r8-review .r13-copy>*{transition-duration:.3s,.4s}
.r8-review .is-active .r13-copy>*{transition-delay:0s}
.r8-review .r13-ingredients{transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .35s ease}
.r8-review .r13-pack{transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .35s ease;transition-delay:0s}
.r8-review .r13-art{transition:transform .18s ease-out}
@media(prefers-reduced-motion:reduce){.r8-review .r13-slide,.r8-review .r13-copy>*,.r8-review .r13-ingredients,.r8-review .r13-pack,.r8-review .r13-art{transition:none!important}}

/* Paired theme contract: each component owns its foreground and surface together. */
html[data-theme=light]{--rqa-surface:#fffefa;--rqa-panel:#f1f2e9;--rqa-ink:#243b2e;--rqa-muted:#52604d;--rqa-line:#7b8775;--rqa-action:#294d36;--rqa-on-action:#ffffff;--rqa-hover:#1c3926;--rqa-focus:#70561c;--rqa-notice:#f2e5c5;--rqa-notice-ink:#3e321b}
html[data-theme=dark]{--rqa-surface:#202622;--rqa-panel:#2c342e;--rqa-ink:#f1f3ec;--rqa-muted:#c2cbbd;--rqa-line:#8a9a82;--rqa-action:#cfdfbd;--rqa-on-action:#1b3021;--rqa-hover:#e0ecd3;--rqa-focus:#e4c974;--rqa-notice:#343c32;--rqa-notice-ink:#f7eed7}
html[data-theme] body.r8-review.r2l-rhythm :is(.r2l-mobile-login,.r2l-password-choice,.r2l-profile-checklist,.r2l-initial-password,.login,.register,.woocommerce-ResetPassword){background:var(--rqa-panel)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r2l-mobile-login,.r2l-password-choice,.r2l-profile-checklist,.r2l-initial-password,.woocommerce-ResetPassword) :is(h1,h2,h3,p,label,span,strong,small,summary){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .r2l-phone-field{background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .r2l-phone-field>span{background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select,.select2-selection,.select2-dropdown,.select2-results__option){background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important;caret-color:var(--rqa-ink)}
html[data-theme] body.r8-review.r2l-rhythm :is(input,textarea)::placeholder{color:var(--rqa-muted)!important;opacity:1!important}
html[data-theme] body.r8-review.r2l-rhythm :is(input[type=checkbox],input[type=radio]){accent-color:var(--rqa-action)}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.btn.btn-accent,.r2l-send-otp,.r2l-verify-otp,.r2l-buy-now,.single_add_to_cart_button){background:var(--rqa-action)!important;color:var(--rqa-on-action)!important;border-color:var(--rqa-action)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.btn.btn-accent,.r2l-send-otp,.r2l-verify-otp,.r2l-buy-now,.single_add_to_cart_button):is(:hover,:focus-visible){background:var(--rqa-hover)!important;color:var(--rqa-on-action)!important;border-color:var(--rqa-hover)!important}
html[data-theme] body.r8-review.r2l-rhythm .r2l-resend-otp{background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border:1px solid var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-error,.woocommerce-info,.woocommerce-message){background:var(--rqa-notice)!important;color:var(--rqa-notice-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) :is(a,p,li,span,strong){color:var(--rqa-notice-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) a{text-decoration:underline;text-underline-offset:3px}
html[data-theme] body.r8-review.r2l-rhythm .onsale{background:#385e2c!important;color:#ffffff!important;border-color:#385e2c!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r9-card-rating,.r9-rating-summary,.r9-gallery-count,.r12-document-status){color:var(--rqa-muted)!important}
html[data-theme] body.r8-review.r2l-rhythm .r9-gallery-count{background:var(--rqa-panel)!important;padding:7px 10px;border-radius:4px}
html[data-theme] body.r8-review.r2l-rhythm .woocommerce-tabs :is(p,li,em,td,th){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-tabs .wd-tabs-title,.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.wd-breadcrumbs,.wd-breadcrumbs a,.wd-delimiter,.wd-products-per-page span,.wd-products-per-page a){color:var(--rqa-muted)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-tabs .tabs li.active a,.woocommerce-tabs .tabs li.active .wd-tabs-title){color:var(--rqa-ink)!important;border-color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r11-contact-item>span,.r11-kicker,.r-product-label,.r2lf-eyebrow){color:var(--rqa-muted)!important}
html[data-theme=light] body.r8-review.r2l-rhythm .r2l :is(.r-kicker,.r13-kicker,.r13-category){color:#4c5b43!important}
html[data-theme=dark] body.r8-review.r2l-rhythm .r13-category{color:#33472d!important}
html[data-theme=light] body.r8-review.r2l-rhythm .r-retail-footer .r-kicker{color:#e0e6d4!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r-cert-review,.r12-document){background:var(--rqa-panel)!important;color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .r-cert-track .r-cert{background:#ffffff!important;color:#2a422f!important}
html[data-theme] body.r8-review.r2l-rhythm .r-cert-track .r-cert span{color:#2a422f!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r12-cert-arrow,.r12-quality-link){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .r12-cert-arrow{background:var(--rqa-surface)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .r12-cert-arrow:is(:hover,:focus-visible){background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.cart-widget-side,.mobile-nav,.mobile-nav .wd-nav-mobile,.mobile-nav .wd-nav-mob-tab){background:var(--rqa-panel)!important;color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.cart-widget-side,.mobile-nav) :is(.title,p,a,span,.create-nav-msg){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .mobile-nav .wd-nav-mob-tab>li{background:var(--rqa-surface)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.wd-skip-content,.scrollToTop){background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border:1px solid var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid var(--rqa-focus)!important;outline-offset:3px!important}
/* A colour cross-fade can create unreadable intermediate text; keep theme colour changes immediate. */
html[data-theme] body.r8-review.r2l-rhythm :is(a,button,input,textarea,select,label,p,h1,h2,h3,span,.r-retail-header,.r-retail-main,.r-range-nav){transition-property:transform,opacity,box-shadow!important}
@media(prefers-reduced-motion:reduce){html[data-theme] body.r8-review.r2l-rhythm *{transition:none!important}}

/* Paired recheck: dark active tab and light title-banner breadcrumbs. */
html[data-theme] body.r8-review.r2l-rhythm .woocommerce-tabs .tabs li.active a,
html[data-theme] body.r8-review.r2l-rhythm .woocommerce-tabs .tabs li.active a .wd-tabs-title{background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}
html[data-theme=light] body.r8-review.r2l-rhythm:not(.woodmart-archive-shop) .page-title :is(.breadcrumbs,.breadcrumbs a,.wd-delimiter){color:#f1f3ec!important}

/* Title bands, certificate panels and photo-backed press cards share explicit surfaces. */
html[data-theme=light] body.r8-review.r2l-rhythm:not(.woodmart-archive-shop) .page-title .wd-breadcrumbs a{color:#f1f3ec!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r12-cert-front,.r12-cert-back){background:var(--rqa-panel)!important;color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.r12-cert-front,.r12-cert-back) :is(h2,p,a){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .r12-cert-front img{background:#fff!important;border-radius:8px;padding:8px}
html[data-theme] body.r8-review.r2l-rhythm .rs-publisher-card>a,html[data-theme] body.r8-review.r2l-rhythm a:has(>.rs-publisher-name){background-color:#163525!important;color:#fff!important}

/* Editorial tables retain distinct readable headers and striped rows in both themes. */
html[data-theme] body.r8-review.r2l-rhythm .r11-table :is(table,tr,td,th){background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .r11-table :is(thead td,thead th,tbody tr:nth-child(even) td){background:var(--rqa-panel)!important}
html[data-theme] body.r8-review.r2l-rhythm .r11-table :is(strong,a){color:var(--rqa-ink)!important}

/* Pagination, including hover and the current page, uses the same paired palette. */
html[data-theme] body.r8-review.r2l-rhythm .page-numbers{background:var(--rqa-surface)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .page-numbers:is(.current,:hover,:focus-visible){background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}

/* Expanded product panels, review forms, quick view and populated checkout. */
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-product-attributes,.woocommerce-product-attributes tr,.woocommerce-product-attributes td,.woocommerce-product-attributes th,.r9-review-notice,.r9-dialog){background:var(--rqa-panel)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .woocommerce-product-attributes :is(span,p,a){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(#review_form input[type=submit],.r9-dialog>button){background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(#review_form input[type=submit],.r9-dialog>button):is(:hover,:focus-visible){background:var(--rqa-hover)!important;color:var(--rqa-on-action)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.cart-widget-side strong,.cart_totals .amount,.cart_totals .amount *,.cart_totals .shipping-calculator-button,.woocommerce-checkout-review-order .amount,.woocommerce-checkout-review-order .amount *){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce .optional,.woocommerce-checkout-payment p,.woocommerce-checkout-payment strong){color:var(--rqa-muted)!important}

/* Account totals, cart line items and empty-result search controls. */
html[data-theme] body.r8-review.r2l-rhythm :is(.woocommerce-cart-form,.woocommerce-MyAccount-content) :is(.amount,.amount *){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .searchsubmit,html[data-theme] body.r8-review.r2l-rhythm .searchsubmit span{background:var(--rqa-surface)!important;color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .searchsubmit:is(:hover,:focus-visible),html[data-theme] body.r8-review.r2l-rhythm .searchsubmit:is(:hover,:focus-visible) span{background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}

/* Delivery tracking and struck-through prices remain readable in both themes. */
html[data-theme] body.r8-review.r2l-rhythm .r14-tracking{background:var(--rqa-panel)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .r14-tracking :is(h2,p,a){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm :is(.price del,.price del *,.woocommerce-cart-form del,.woocommerce-cart-form del *){color:var(--rqa-muted)!important;opacity:1!important}

/* Solid press-card fallback keeps overlaid labels readable before photographs load. */
html[data-theme] body.r8-review.r2l-rhythm .rs-publications>a{background-color:#163525!important;color:#fff!important}

/* Native navigation is readable before progressive enhancement finishes. */
html[data-theme] body.r8-review.r2l-rhythm .r-nav-category>summary{background:var(--rqa-panel)!important;color:var(--rqa-ink)!important;border-color:var(--rqa-line)!important}
html[data-theme] body.r8-review.r2l-rhythm .r-nav-category>summary:is(:hover,:focus-visible){background:var(--rqa-action)!important;color:var(--rqa-on-action)!important}
html[data-theme] body.r8-review.r2l-rhythm .related :is(h2,h2 span){color:var(--rqa-ink)!important}

/* Final paired recheck: WooCommerce carousel and missing-page titles. */
html[data-theme] body.r8-review.r2l-rhythm :is(.related-products .wd-el-title,.related-products .wd-el-title span){color:var(--rqa-ink)!important}
html[data-theme] body.r8-review.r2l-rhythm .page-header h3.title{color:var(--rqa-ink)!important}

/* Native category disclosures change both colors immediately, without a low-contrast cross-fade. */
html[data-theme] body.r8-review.r2l-rhythm summary{transition-property:transform,opacity,box-shadow!important}
