/*
 * RENE / MOBILE PRODUCT STAGE — consolidated rules.
 * One scroll-triggered sticky scene, fixed geometry, no transform jitter.
 * All selectors are mobile-only except the optional WooCommerce reset label.
 */
@media (max-width:980px) {
  html body.single-product .rene-storefront--product,
  html body.single-product .rene-storefront--product article.rene-pdp,
  html body.single-product .rene-storefront--product article.rene-premium-catalog {
    overflow:visible!important;
    contain:none!important;
    transform:none!important;
    scroll-snap-type:none!important;
  }

  /* Keep the desktop product language and mountain imagery, but size the mobile hero. */
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__container {
    width:calc(100% - 36px)!important;
    max-width:1180px!important;
    margin-inline:auto!important;
    min-width:0!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__hero {
    min-height:0!important;
    padding:94px 0 36px!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__grid {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:21px!important;
    min-width:0!important;
    width:100%!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__content {
    min-width:0!important;
    width:100%!important;
    padding:0 0 12px!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__content h1 {
    font-size:clamp(30px,7.6vw,41px)!important;
    line-height:1.16!important;
    letter-spacing:-.042em!important;
    font-weight:700!important;
    margin:8px 0 15px!important;
    overflow-wrap:break-word!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__excerpt {
    font-size:clamp(14px,3.75vw,16px)!important;
    line-height:1.7!important;
    max-width:65ch!important;
    margin:0 0 19px!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp [data-rene-reveal] {
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    animation:none!important;
    transition:none!important;
    will-change:auto!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__visual {
    display:grid!important;
    place-items:center!important;
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    min-width:0!important;
    width:100%!important;
    height:clamp(270px,82vw,392px)!important;
    min-height:270px!important;
    max-height:392px!important;
    padding:12px!important;
    background-color:#14291f!important;
    box-shadow:none!important;
    border:1px solid rgba(240,247,240,.14)!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__visual .rene-pdp-v31__image {
    display:block!important;
    position:relative!important;
    z-index:3!important;
    width:auto!important;
    height:auto!important;
    max-width:min(90%,330px)!important;
    max-height:calc(100% - 20px)!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:auto!important;
    filter:none!important;
    box-shadow:none!important;
    transform:none!important;
    transition:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__ring {
    display:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp .rene-pdp-v31__thumbnails {
    z-index:5!important;
  }
  /* Real mountain/plantation photography behind the actual package. */
  html body.single-product .rene-storefront--product article.rene-pdp:not(.rene-pdp-v31--chocolate) .rene-pdp-v31__visual>img.rene-pdp-visual-photo {
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
    opacity:.81!important;
    visibility:visible!important;
    z-index:0!important;
    filter:brightness(.82) saturate(1.07)!important;
    transform:none!important;
    pointer-events:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp:not(.rene-pdp-v31--chocolate) .rene-pdp-v31__hero>img.rene-pdp-photo-backdrop {
    display:block!important;
    opacity:.50!important;
    filter:brightness(.70) saturate(.94)!important;
    object-fit:cover!important;
    pointer-events:none!important;
  }

  /* Simple price and form sizing. */
  html body.single-product article.rene-pdp :is(.rene-pdp-v31__action,.rene-pdp-v31__native-purchase,.rc-price-panel,.rene-pdp-demo) {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  html body.single-product article.rene-pdp .rc-price-panel {
    padding:16px 18px!important;
    margin:16px 0!important;
    box-shadow:none!important;
  }
  html body.single-product article.rene-pdp :is(.variations select,.rene-pdp-demo select) {
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Scroll runway is in the document; the stage moves only with native sticky. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger {
    display:block!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:265svh!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    contain:none!important;
    transform:none!important;
    scroll-snap-type:none!important;
    touch-action:pan-y!important;
    background:#0d1b15!important;
    background-image:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger::before,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger::after {
    display:none!important;
    content:none!important;
  }
  /* Sticky is pinned at exactly 0, never recalculated with browser chrome.
     Internal padding reserves the site's header once. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger>.rene-storyscroll__track {
    display:block!important;
    position:sticky!important;
    top:0!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    height:100svh!important;
    min-height:0!important;
    max-height:none!important;
    padding:calc(var(--rene-mobile-static-header,75px) + 10px) clamp(16px,4vw,22px) max(14px,env(safe-area-inset-bottom))!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    contain:none!important;
    transform:none!important;
    -webkit-transform:none!important;
    perspective:none!important;
    touch-action:pan-y!important;
    background:#0b1a13!important;
    background-image:none!important;
    box-shadow:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-mobile-story,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__top,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__footer {
    display:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__grid {
    display:grid!important;
    position:relative!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:52px minmax(0,1fr) 152px!important;
    align-items:stretch!important;
    align-content:stretch!important;
    justify-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    max-height:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    overflow:hidden!important;
    contain:none!important;
    transform:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__words {
    display:block!important;
    position:relative!important;
    inset:auto!important;
    grid-row:1!important;
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    height:52px!important;
    min-height:0!important;
    max-height:52px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__words>h2,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__words>p,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__eyebrow {
    display:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__steps {
    display:grid!important;
    position:relative!important;
    inset:auto!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-bottom:1px solid rgba(237,242,237,.25)!important;
    overflow:visible!important;
    z-index:5!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__steps button {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    margin:0!important;
    padding:7px 2px 11px!important;
    font:600 clamp(10px,2.6vw,13px)/1.3 Inter,Arial,sans-serif!important;
    letter-spacing:0!important;
    text-transform:none!important;
    text-align:center!important;
    white-space:normal!important;
    color:#e9eee9!important;
    -webkit-text-fill-color:#e9eee9!important;
    background:transparent!important;
    border:0!important;
    border-bottom:2px solid transparent!important;
    border-radius:0!important;
    opacity:.60!important;
    box-shadow:none!important;
    filter:none!important;
    transform:none!important;
    animation:none!important;
    transition:none!important;
    touch-action:manipulation!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__steps button.is-current {
    opacity:1!important;
    border-bottom-color:#f4f5f2!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__steps button:focus-visible {
    outline:2px solid #fff!important;
    outline-offset:2px!important;
  }
  /* A single, shared image frame for all three slides. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage {
    display:block!important;
    position:relative!important;
    inset:auto!important;
    grid-row:2!important;
    grid-column:1!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    outline:none!important;
    overflow:hidden!important;
    contain:layout!important;
    isolation:isolate!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    transform:none!important;
    perspective:none!important;
    touch-action:pan-y!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage::before,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage::after,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__halo {
    display:none!important;
    content:none!important;
    background:none!important;
  }
  /* No translate(-50%) or translate3d: these can cause subpixel shimmer
     while Safari/Chrome scroll a sticky containing block. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>.rene-storyscroll__object {
    display:flex!important;
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    inset:0!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    filter:none!important;
    -webkit-filter:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    -webkit-transform:none!important;
    translate:none!important;
    animation:none!important;
    transition:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:1!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>.rene-storyscroll__object.is-active {
    opacity:1!important;
    visibility:visible!important;
    z-index:3!important;
    transform:none!important;
    -webkit-transform:none!important;
  }
  /* Direct SVG identity and packaged fruit image need full-frame natural scaling. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>img.rene-storyscroll__object {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>.rene-edition-drawing img,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>.rene-edition-postcard img,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>.rene-edition-identity-art img {
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:transparent!important;
    border:0!important;
    filter:none!important;
    box-shadow:none!important;
    transform:none!important;
  }
  /* Actual product pack: centered within the stage, never enlarged beyond
     its container or cropped. Keep scene/sticky geometry exactly as before. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage>img.rene-edition-product {
    position:absolute!important;
    inset:0!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:90%!important;
    height:94%!important;
    max-width:90%!important;
    max-height:94%!important;
    min-width:0!important;
    min-height:0!important;
    margin:auto!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    translate:none!important;
    overflow:visible!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage .rene-edition-drawing>span,
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage .rene-edition-postcard>span {
    display:none!important;
  }
  /* Text stays at a constant position even when a title changes. */
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__caption {
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    position:relative!important;
    inset:auto!important;
    grid-row:3!important;
    grid-column:1!important;
    align-self:stretch!important;
    width:100%!important;
    height:152px!important;
    min-width:0!important;
    min-height:152px!important;
    max-height:152px!important;
    padding:10px 0 2px!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__bar {
    display:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__phase {
    display:block!important;
    margin:0 0 4px!important;
    color:#bdc7bb!important;
    font:700 10px/1.5 Inter,Arial,sans-serif!important;
    letter-spacing:.08em!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__caption h3 {
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    margin:0 0 7px!important;
    padding:0!important;
    max-height:2.48em!important;
    overflow:hidden!important;
    font:700 clamp(19px,5.1vw,26px)/1.18 Manrope,Inter,Arial,sans-serif!important;
    letter-spacing:-.034em!important;
    color:#f9f9f6!important;
    overflow-wrap:break-word!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__description {
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
    max-height:4.65em!important;
    overflow:hidden!important;
    font:400 clamp(11px,2.95vw,13px)/1.55 Inter,Arial,sans-serif!important;
    color:#e3ebe4!important;
    margin:0!important;
    padding:0!important;
  }

  /* Editorial details are normal document flow with full text, no truncation. */
  html body.single-product article.rene-pdp .rene-taste-atelier,
  html body.single-product article.rene-pdp .rc-catalog-atelier {
    min-height:0!important;
    padding:42px 0 58px!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__intro {
    margin:0!important;
    padding:0 0 23px!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__intro h2 {
    font-size:clamp(27px,7.1vw,39px)!important;
    line-height:1.17!important;
    letter-spacing:-.04em!important;
    margin:0!important;
    overflow-wrap:break-word!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__intro h2 em {
    display:block!important;
    font-size:.70em!important;
    line-height:1.35!important;
    margin-top:8px!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__grid {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    min-width:0!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__feature {
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:clamp(20px,5vw,27px)!important;
    border-radius:7px!important;
    box-shadow:none!important;
    overflow:visible!important;
    background-image:none!important;
  }
  html body.single-product article.rene-pdp .rene-taste-atelier__feature h3 {
    font-size:clamp(22px,6vw,31px)!important;
    line-height:1.21!important;
    letter-spacing:-.034em!important;
    margin:0 0 17px!important;
    overflow-wrap:break-word!important;
  }
  html body.single-product article.rene-pdp .rc-editorial-prose,
  html body.single-product article.rene-pdp .rc-editorial-prose p,
  html body.single-product article.rene-pdp .rc-editorial-lead,
  html body.single-product article.rene-pdp .rene-taste-atelier__feature p {
    font-size:clamp(14px,3.65vw,16px)!important;
    line-height:1.72!important;
    max-height:none!important;
    -webkit-line-clamp:unset!important;
    overflow:visible!important;
  }
  html body.single-product article.rene-pdp .rc-editorial-product-photo {
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    margin:22px auto 0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body.single-product article.rene-pdp .rc-editorial-product-photo img {
    width:auto!important;
    height:auto!important;
    max-width:min(100%,280px)!important;
    max-height:230px!important;
    object-fit:contain!important;
    margin:0 auto!important;
  }
  html body.single-product article.rene-pdp .rc-full-facts {
    width:100%!important;
    margin:12px 0 0!important;
  }
  html body.single-product article.rene-pdp .rc-full-facts>div {
    display:grid!important;
    grid-template-columns:minmax(93px,.38fr) minmax(0,.62fr)!important;
    gap:12px!important;
    padding:12px 0!important;
    align-items:start!important;
  }
  html body.single-product article.rene-pdp .rc-full-facts dt {
    font-size:11px!important;
    line-height:1.55!important;
    letter-spacing:.045em!important;
    font-weight:700!important;
  }
  html body.single-product article.rene-pdp .rc-full-facts dd {
    font-size:clamp(13px,3.5vw,15px)!important;
    line-height:1.55!important;
    min-width:0!important;
    margin:0!important;
    overflow-wrap:break-word!important;
  }
}
@media (max-width:980px) and (max-height:660px) {
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__grid {
    grid-template-rows:44px minmax(0,1fr) 125px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__words {
    height:44px!important;
    max-height:44px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__caption {
    height:125px!important;
    min-height:125px!important;
    max-height:125px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__description {
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
  }
}
@media (prefers-reduced-motion:reduce) and (max-width:980px) {
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__object {
    transition:none!important;
    animation:none!important;
  }
}
/* The WooCommerce reset caption is intentionally hidden; selectors still work. */
html body.single-product .rene-storefront--product .reset_variations,
html body.single-product article.rene-pdp .reset_variations,
html body.single-product article.rene-pdp .rene-pdp-v31__corner,
html body.single-product article.rene-pdp .rene-pdp-v31__visual-bottom,
html body.single-product article.rene-pdp .rene-pdp-v31__topline {
  display:none!important;
}

/* RENE: compact identity and character artwork only; scroll trigger unchanged */
@media(max-width:980px){
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > img.rene-edition-identity-art,
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > img.rene-edition-drawing {
   inset:0!important;
   width:84%!important; height:76%!important;
   max-width:84%!important; max-height:76%!important;
   margin:auto!important; object-fit:contain!important;
   object-position:center center!important; transform:none!important;
 }
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-identity-art:not(img),
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-drawing:not(img),
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-postcard:not(img) {
   inset:0!important; width:88%!important; height:80%!important;
   max-width:88%!important; max-height:80%!important;
   margin:auto!important; padding:0!important;
   display:flex!important; align-items:center!important; justify-content:center!important;
   transform:none!important;
 }
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-identity-art:not(img) img,
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-drawing:not(img) img,
 html body.single-product #reneProductJourney.rene-mobile-scrolltrigger .rene-storyscroll__stage > .rene-edition-postcard:not(img) img {
   width:auto!important;height:auto!important;
   max-width:100%!important;max-height:100%!important;
   margin:auto!important;object-fit:contain!important;
 }
}


/* Mobile RENE: real editorial identities for ESSENZA and bars; clean packshots.
   The safe transparent images are produced by scripts/rene_refresh_family_cutouts.py.
   Do NOT alter the established scroll-trigger state machine. */
@media(max-width:980px){
 html body.single-product .rene-premium-catalog:is(.rene-pdp-v31--chocolate,.rene-pdp-v31--snack,.rene-pdp-v31--fruit)
 .rene-pdp-v31__visual{
   background:transparent!important;background-image:none!important;
   border:0!important;box-shadow:none!important;filter:none!important;
 }
 html body.single-product .rene-premium-catalog:is(.rene-pdp-v31--chocolate,.rene-pdp-v31--snack,.rene-pdp-v31--fruit)
 .rene-pdp-v31__visual::before,
 html body.single-product .rene-premium-catalog:is(.rene-pdp-v31--chocolate,.rene-pdp-v31--snack,.rene-pdp-v31--fruit)
 .rene-pdp-v31__visual::after{content:none!important;display:none!important}
 html body.single-product .rene-premium-catalog:is(.rene-pdp-v31--chocolate,.rene-pdp-v31--snack,.rene-pdp-v31--fruit)
 .rene-pdp-v31__image{
   object-fit:contain!important;object-position:center center!important;
   border:0!important;box-shadow:none!important;filter:none!important;
   background:transparent!important;
 }
 html body.single-product .rene-pdp-v31--fruit #reneProductJourney.rene-mobile-scrolltrigger
 .rene-storyscroll__stage>img.rene-edition-identity-art,
 html body.single-product .rene-pdp-v31--snack #reneProductJourney.rene-mobile-scrolltrigger
 .rene-storyscroll__stage>img.rene-edition-identity-art{
   position:absolute!important;inset:0!important;
   width:82%!important;height:78%!important;
   max-width:82%!important;max-height:78%!important;
   margin:auto!important;object-fit:contain!important;
   object-position:center center!important;
   background:transparent!important;box-shadow:none!important;
 }
 html body.single-product .rene-pdp-v31--snack #reneProductJourney.rene-mobile-scrolltrigger
 .rene-storyscroll__stage>img.rene-edition-product{
   position:absolute!important;inset:0!important;
   width:98%!important;height:76%!important;
   max-width:98%!important;max-height:76%!important;
   margin:auto!important;object-fit:contain!important;
   object-position:center center!important;
 }
 html body.single-product .rene-pdp-v31--chocolate .rene-pdp-v31__visual .rene-pdp-v31__image{
   position:relative!important;z-index:2!important
 }
}


/* RENE 2026-11 / Handmade bars, MOBILE CHAPTER 03 ONLY.
   A photographic editorial surface sits behind the authentic horizontal
   bar label; chapter 01/02 and stable scroll transitions are untouched. */
@media(max-width:980px){
 html body.single-product #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-edition^="snack-"][data-scene="2"] .rene-storyscroll__stage{
   background:transparent!important;
   border:0!important;box-shadow:none!important;isolation:isolate!important;
 }
 html body.single-product #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-edition^="snack-"][data-scene="2"] .rene-storyscroll__stage::before{
   content:""!important;display:block!important;
   position:absolute!important;top:23%!important;bottom:auto!important;
   left:3%!important;right:auto!important;
   width:94%!important;height:54%!important;
   border:1px solid rgba(239,226,201,.42)!important;
   border-radius:16px!important;
   background:linear-gradient(120deg,rgba(20,26,20,.43),rgba(10,20,18,.79)),url("./images/rene-mist.webp") center/cover no-repeat!important;
   box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 28px rgba(0,0,0,.19)!important;
   z-index:1!important;opacity:1!important;pointer-events:none!important;
 }
 html body.single-product #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-edition^="snack-"][data-scene="2"] .rene-storyscroll__stage>img.rene-edition-product{
   inset:0!important;position:absolute!important;
   width:96%!important;height:88%!important;
   max-width:96%!important;max-height:88%!important;
   padding:0!important;margin:auto!important;object-fit:contain!important;
   object-position:center center!important;z-index:4!important;
   filter:none!important;box-shadow:none!important;
 }
 html body.single-product #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-edition^="snack-"][data-scene="2"] .rene-storyscroll__halo{display:none!important}
}


/* 2026-11-12 / FIX — Handmade bars only.
   Loaded after legacy no-background rules on iPhone/Android.
   Keep chocolate, fruit, coffee, tea and all other families unchanged. */
@media(max-width:980px){
  html body.single-product .rene-storefront--product article.rene-premium-catalog.rene-pdp-v31--snack
  .rene-pdp-v31__visual{
    background:#ede2cd!important;
    background-image:radial-gradient(ellipse at 48% 45%,#f5eddf 0%,#e7d7b9 72%,#d0bd98 100%)!important;
    border:1px solid rgba(180,151,109,.65)!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }
  html body.single-product article.rene-premium-catalog.rene-pdp-v31--snack
  #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-scene="2"]
  .rene-storyscroll__stage{
    background:#f3ebdc!important;
    background-image:none!important;
    border:1px solid #d9c7a9!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }
  /* Stop the former scenic overlay masking the beige chapter-03 panel. */
  html body.single-product article.rene-premium-catalog.rene-pdp-v31--snack
  #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-scene="2"]
  .rene-storyscroll__stage::before{
    content:none!important;
    display:none!important;
    background:none!important;
    box-shadow:none!important;
  }
  html body.single-product article.rene-premium-catalog.rene-pdp-v31--snack
  #reneProductJourney.rc-catalog-journey.rene-mobile-scrolltrigger[data-scene="2"]
  .rene-storyscroll__stage>img.rene-edition-product{
    background:transparent!important;
    background-image:none!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
  }
}

/* RENE / 2026-11-12 — UNIFIED MOBILE PRODUCT SIZE
 * Single consistent reduction of the MAIN packshot on all product pages.
 * Do not touch backgrounds, ornaments, motion or scroll-trigger stages.
 */
@media (max-width:790px) {
  html body.single-product .rene-storefront--product
  article.rene-pdp .rene-pdp-v31__visual > img#renePdpMain.rene-pdp-v31__image {
    display:block!important;
    width:82%!important;
    max-width:82%!important;
    height:82%!important;
    max-height:82%!important;
    padding:0!important;
    margin:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    transform-origin:center center!important;
  }
  /* Same neutral scale for espresso blends and horizontal bar packaging. */
  html body.single-product .rene-storefront--product
  article.rene-pdp.product_cat-espresso-blends .rene-pdp-v31__visual > img#renePdpMain.rene-pdp-v31__image,
  html body.single-product .rene-storefront--product
  article.rene-pdp.rene-pdp-v31--snack .rene-pdp-v31__visual > img#renePdpMain.rene-pdp-v31__image {
    transform:none!important;
  }
  /* Native WooCommerce product galleries on mobile only. */
  html body.single-product .rene-storefront--product
  .woocommerce-product-gallery .woocommerce-product-gallery__wrapper
  .woocommerce-product-gallery__image:first-child img {
    max-width:82%!important;
    max-height:82%!important;
    width:auto!important;
    height:auto!important;
    object-fit:contain!important;
    transform:none!important;
    transform-origin:center center!important;
  }
}

/* RENE / 2026-11-12 — MOBILE FACT CARD CLEANUP (all product families).
 * The previous light card had oversized headings, decorative overlays and
 * an inset white panel that visually collided with its title on phones.
 * Desktop editorial layout and product specification data are unchanged.
 */
@media (max-width:790px) {
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light {
    box-sizing:border-box!important;
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:21px 18px 16px!important;
    overflow:hidden!important;
    background:#faf9f5!important;
    background-image:none!important;
    border:1px solid #d9e0d7!important;
    border-radius:12px!important;
    box-shadow:none!important;
    transform:none!important;
    text-align:left!important;
  }
  /* The washed-out rectangular "ghost" is a legacy decoration, not data. */
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light::before,
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light::after {
    content:none!important;
    display:none!important;
    background:none!important;
    box-shadow:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light>span {
    display:block!important;
    position:static!important;
    max-width:100%!important;
    margin:0 0 9px!important;
    padding:0!important;
    font-size:10px!important;
    font-weight:650!important;
    line-height:1.55!important;
    letter-spacing:.075em!important;
    color:#58705e!important;
    text-transform:uppercase!important;
    overflow-wrap:break-word!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light h3 {
    display:block!important;
    position:static!important;
    max-width:100%!important;
    margin:0 0 15px!important;
    padding:0!important;
    font-size:clamp(23px,6.15vw,28px)!important;
    font-weight:650!important;
    line-height:1.16!important;
    letter-spacing:-.035em!important;
    color:#1b3021!important;
    transform:none!important;
    text-wrap:balance;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl {
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    height:auto!important;
    clear:both!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    border-top:1px solid #dbe2d9!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl>div {
    display:grid!important;
    grid-template-columns:minmax(92px,.37fr) minmax(0,.63fr)!important;
    align-items:start!important;
    gap:10px!important;
    position:static!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:12px 0!important;
    border:0!important;
    border-bottom:1px solid #e2e7df!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl>div:last-child {
    border-bottom:0!important;
    padding-bottom:2px!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl>div::before,
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl>div::after {
    content:none!important;
    display:none!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl dt,
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl dd {
    display:block!important;
    position:static!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow-wrap:anywhere!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl dt {
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.55!important;
    letter-spacing:.045em!important;
    text-transform:uppercase!important;
    color:#57705e!important;
  }
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl dd {
    font-size:clamp(13px,3.65vw,15px)!important;
    font-weight:600!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    color:#1b3424!important;
  }
}
@media (max-width:359px) {
  html body.single-product .rene-storefront--product article.rene-pdp
  .rene-taste-atelier__feature--light dl>div {
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
  }
}

/* Costa Rica follows the same consistent mobile packshot scale. */
@media (max-width:790px) {
  html body.single-product.rene-costa-rica-tarrazu .rene-storefront--product
  article.rene-pdp .rene-pdp-v31__visual > img#renePdpMain.rene-pdp-v31__image {
    transform:none!important;
  }
}

/* RENE Gourmet-only legibility and sizing fix, 2026-11-12.
 * Keep the shared pinned scroll-trigger/controller fully unchanged.
 * Scope to one product, one mobile story, not every Espresso Blend. */
@media (max-width:980px) {
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__grid {
    grid-template-rows:52px minmax(0,1fr) 186px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__stage>img.rene-edition-identity-art {
    position:absolute!important;
    inset:0!important;
    width:72%!important;
    height:70%!important;
    max-width:72%!important;
    max-height:70%!important;
    margin:auto!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    -webkit-transform:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__stage>.rene-edition-drawing:not(img) {
    inset:0!important;
    width:75%!important;
    height:72%!important;
    max-width:75%!important;
    max-height:72%!important;
    margin:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    transform:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__stage>.rene-edition-drawing img {
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:auto!important;
    object-fit:contain!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    filter:none!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__caption {
    height:186px!important;
    min-height:186px!important;
    max-height:186px!important;
    padding:8px 0 4px!important;
    box-sizing:border-box!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__caption h3 {
    font:700 clamp(18px,4.8vw,23px)/1.18 Manrope,Inter,Arial,sans-serif!important;
    letter-spacing:-.025em!important;
    max-height:3.6em!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
    margin:0 0 7px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__caption h3 em {
    font-size:.91em!important;
    line-height:1.25!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__description {
    font:400 clamp(11px,2.9vw,13px)/1.48 Inter,Arial,sans-serif!important;
    max-height:4.45em!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
  }
}
@media (max-width:980px) and (max-height:660px) {
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__grid {
    grid-template-rows:44px minmax(0,1fr) 155px!important;
  }
  html body.single-product #reneProductJourney.rene-mobile-scrolltrigger[data-edition="espresso-gourmet-blend"] .rene-storyscroll__caption {
    height:155px!important;
    min-height:155px!important;
    max-height:155px!important;
  }
}
