/* Loaded only on screens up to 600px; desktop files keep their approved layout. */
html{scrollbar-gutter:auto}
body.scroll-demo{overflow-x:clip}
.sticky-stage{height:100svh}
.product{width:100%;height:100%;aspect-ratio:auto;min-height:0;clip-path:inset(0);overflow:hidden}
.productNav{top:max(12px,env(safe-area-inset-top));left:20px;right:20px;min-height:44px}
.productNav a,.productNav button{font-size:12px;letter-spacing:-.025em;min-height:44px;display:flex;align-items:center}
.product .aloe-window{border-radius:4px}
.product h1{line-height:1.15;color:var(--mobile-title-color,#e0d6c4)}
.product .description{left:8%;width:84%;top:20%;font-size:clamp(14px,3.7vw,18px);line-height:1.35;white-space:normal;letter-spacing:-.02em}
.product .copy-363{top:calc(20% + 12px);left:8%;width:84%;box-sizing:border-box;padding:0;font-size:14px;line-height:1.4;font-weight:400;color:#1c0406;background:none;text-shadow:none;z-index:5}
.product .description br{display:none}
.product .side-copy{display:none}
.product .flowers{left:4%;width:92%;border-radius:4px;height:58.6558%}
.product .flowers>img{width:100%;height:100%;object-fit:cover;object-position:center;}
.product .model-363{width:80%;height:64%;object-fit:cover;object-position:center top;border-radius:4px}
.product .chapter-copy{font-size:clamp(14px,3.8vw,18px);line-height:1.4;width:72%}
.product .chapter-366{z-index:4}
.product .copy-left{left:7%;top:82%;text-shadow:0 1px 10px #0008}
.product .copy-right{left:7%;top:13%;width:86%;color:#e0d6c4;text-shadow:0 1px 10px #000b}
.wide-366{object-position:48% center}
.product .ritual-detail{left:6%;top:12%;width:58%;height:35%;border-radius:4px}
.product .ritual-wide{left:6%;top:51%;width:88%;height:40%;border-radius:4px;object-position:55% center}
.product .chapter-381{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:80px 24px max(28px,env(safe-area-inset-bottom));box-sizing:border-box}
.product .details-photo{position:relative;left:auto;top:auto;width:100%;height:24svh;min-height:145px;object-position:center 45%;border-radius:4px}
.product .details-copy{position:relative;left:auto;top:auto;width:100%;font-size:14px;line-height:1.5;padding-top:22px}
.details-copy h2{font-size:26px;margin:0 0 16px}
.details-copy p{margin:0 0 16px}
.details-copy .retail{font-size:18px;line-height:1.4}
.product .sequence-top{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
#hero-menu{width:min(88vw,380px);padding-bottom:env(safe-area-inset-bottom)}
#hero-menu .menu-top{top:max(24px,env(safe-area-inset-top))}
#hero-menu nav{padding:125px 26px 40px;gap:30px}
#hero-menu nav a{min-height:44px;display:flex;align-items:center}
#hero-close:focus-visible{outline:none}
#hero-menu #hero-close:focus-visible .close-label::after{transform:scaleX(1);opacity:.85}

/* Lightly tinted glass keeps the photograph visible behind slide 4 text. */
.product .chapter-366 .chapter-copy{box-sizing:border-box;width:86%;padding:14px 16px;color:#fff6ed;background:none;border:0;isolation:isolate;text-shadow:0 1px 3px rgba(28,4,6,.3)}
.product .chapter-366 .chapter-copy::before{content:"";position:absolute;inset:-18px;z-index:-1;pointer-events:none;background:rgba(28,4,6,.38);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-mask-image:radial-gradient(ellipse farthest-side at center,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse farthest-side at center,#000 55%,transparent 100%)}
.product .chapter-366 .copy-left{top:auto;bottom:5%}

/* Touch phones in landscape: use the horizontal space without enlarging the bottle. */
@media (orientation:landscape){
 .productNav{top:4px;left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right))}
 .product .description{left:7%;width:26%;top:32%;font-size:13px;line-height:1.35}
 .product .copy-363{left:8%;width:37%;top:40%;font-size:13px;line-height:1.4}
 .product .model-363{width:32%;height:62%}
 .product .chapter-366 .chapter-copy{width:32%;font-size:13px;line-height:1.35;padding:10px}
 .product .chapter-366 .copy-left{left:5%;bottom:8%}
 .product .chapter-366 .copy-right{left:auto;right:5%;top:22%}
 .product .ritual-detail{left:7%;top:21%;width:29%;height:68%}
 .product .ritual-wide{left:41%;top:28%;width:52%;height:61%}
 .product .chapter-381{padding:64px max(32px,env(safe-area-inset-right)) 24px max(32px,env(safe-area-inset-left));display:grid;grid-template-columns:38% 1fr;gap:28px;align-items:start}
 .product .details-photo{height:65svh;min-height:0}
 .product .details-copy{padding-top:0;font-size:13px}
 .details-copy h2{font-size:23px}
 #hero-menu nav{padding:65px 26px 24px;gap:12px}
 #hero-menu .menu-top{top:12px}
}

/* Fit the final portrait panel to its viewport; retain scrolling for enlarged text. */
@media (orientation:portrait){
 .product .chapter-381{display:flex;flex-direction:column;padding:64px 24px max(16px,env(safe-area-inset-bottom));gap:14px;overflow-x:hidden}
 .product .chapter-381 .details-backdrop{display:none}
 .product .chapter-381 .details-photo{flex:1 1 20svh;min-height:0;max-height:22svh;width:100%;object-fit:cover}
 .product .chapter-381 .details-copy{flex:0 0 auto;padding-top:0;font-size:14px;line-height:1.4}
 .product .chapter-381 .details-copy h2{font-size:24px;line-height:1.15;margin-bottom:10px}
 .product .chapter-381 .details-copy p{margin-bottom:10px}
 .product .chapter-381 .details-copy .retail{font-size:18px;line-height:1.3}
}

/* Same footer as Home, exclusively in the mobile stylesheet. */
#mobile-footer[hidden]{display:block;position:relative;z-index:5}

#mobile-back-top{display:none;place-items:center;width:44px;height:44px;margin:0 0 12px auto;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:#612e33;cursor:pointer;transition:transform .2s ease}
#mobile-back-top:active{transform:scale(.96)}
@media(hover:hover){#mobile-back-top:hover{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){#mobile-back-top{transition:none}}

.product .chapter-381 .sequence-top{display:none}
.mobile-top-slot{height:44px;position:relative}
.chapter-381.top-revealed #mobile-back-top{display:grid;position:absolute;right:0;top:0;margin:0;box-shadow:0 3px 12px #1c040615}
