/* Alexander the Great: flavour carousel + flavour pages (both languages) */
body{background:var(--paper) url(/assets/alexander-bg.jpg) center/cover fixed no-repeat;color:var(--ink);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:300;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;min-height:100dvh}
:where(html[lang=ar]) body{font-family:Tahoma,"Geeza Pro","Noto Kufi Arabic","Helvetica Neue",Helvetica,Arial,sans-serif}
body::before{content:"";position:fixed;inset:0;background:rgba(11,11,11,.72);pointer-events:none;z-index:0}
#app,.fab{position:relative;z-index:1}
.fab{position:fixed}
main#app{position:relative;z-index:1;padding-top:64px}
.hero{height:50dvh;margin:12px;border-radius:14px;overflow:hidden;position:relative;background:#000;border:1px solid #222}
.hero video{width:100%;height:100%;object-fit:contain;display:block;background:#000}
h2.sec{font-size:12px;letter-spacing:.25em;color:var(--y);padding:18px 18px 6px;text-transform:uppercase}
:where(html[lang=ar]) h2.sec{letter-spacing:0;text-transform:none}
.car{overflow:hidden;position:relative;height:420px;touch-action:pan-y}
:where(html[lang=ar]) .car{direction:ltr}
.track{display:flex;height:100%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.slide{flex:0 0 72%;padding:0 4px;transform:scale(.72);opacity:.4;transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .55s;cursor:pointer;display:flex;flex-direction:column}
.slide.on{transform:scale(1.08);opacity:1}
.slide.zoom{transform:scale(1.28)!important;opacity:1;z-index:5;transition:transform .35s cubic-bezier(.2,.9,.2,1),opacity .35s}
.slide .img{flex:1;background:transparent;border-radius:0;overflow:visible}
.img img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 12px 28px rgba(0,0,0,.55))}
.slide p{text-align:center;padding-top:0;margin-top:-10px;font-size:14px;font-weight:600;position:relative;z-index:2}
:where(html[lang=ar]) .slide p{padding-top:8px;margin-top:0;position:static;z-index:auto;direction:ltr}
.slide small{display:block;color:#aaa;font-weight:400;font-size:12px}
.dots{display:flex;justify-content:center;gap:5px;padding:12px}
.dots i{width:6px;height:6px;border-radius:3px;background:#333}
.dots i.on{background:var(--y);width:16px}
.sp{height:100px}
.det .big{background:transparent;height:58dvh;margin:8px 4px;border-radius:0;overflow:visible}
.info{padding:6px 20px}
.info h1{font-size:30px;letter-spacing:.04em;font-weight:300}
:where(html[lang=ar]) .info h1{letter-spacing:0;direction:ltr;text-align:right}
.fl{color:#ccc;margin:4px 0 12px}
:where(html[lang=ar]) .fl{direction:ltr;text-align:right}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
:where(html[lang=ar]) .chips{justify-content:flex-start}
.chip{border:1px solid var(--y);color:var(--y);border-radius:20px;padding:4px 12px;font-size:12px}
:where(html[lang=ar]) .chip{direction:ltr}
.desc{color:#bbb;font-size:14px;line-height:1.6;margin-bottom:8px}
.ar{direction:rtl;text-align:right}
.ltr{direction:ltr;text-align:left}
.avail{border-top:1px solid #222;margin-top:14px;padding-top:12px;font-size:14px}
.avail b{color:var(--y)}
.backp{display:inline-block;margin:12px 18px 0;color:var(--y);font-size:13px;letter-spacing:.08em}
:where(html[lang=ar]) .backp{letter-spacing:0}
.strip{display:flex;gap:10px;overflow-x:auto;padding:6px 18px 110px;scroll-snap-type:x mandatory}
:where(html[lang=ar]) .strip{direction:ltr}
.th{flex:0 0 96px;scroll-snap-align:start;text-align:center;font-size:11px}
:where(html[lang=ar]) .th{direction:ltr}
.th .img{height:130px;border-radius:0;background:transparent;margin-bottom:5px}
.fab{position:fixed;right:16px;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #0008;z-index:9}
:where(html[lang=ar]) .fab{left:16px;right:auto}
.fb{bottom:84px;background:#1877F2}
.fab.wa{bottom:20px;background:#25D366}
.fab svg{width:28px;height:28px;fill:#fff}
/* laptop / desktop: same mobile layout, tuned for ~1366×768 / 1440×900 */
@media(min-width:901px){
.hero{height:32dvh;margin:10px 5vw 0;border-radius:16px}
.car{height:420px;margin-top:2px;overflow:visible}
.track{align-items:flex-end}
.slide{flex:0 0 280px;padding:0 6px;transform:scale(.7);opacity:.35;justify-content:flex-end}
.slide.on{transform:scale(1);opacity:1}
.slide.zoom{transform:scale(1.08)!important}
.slide .img{flex:0 0 auto;height:360px;display:flex;align-items:flex-end;justify-content:center;overflow:visible}
.slide .img img{width:auto!important;height:360px!important;max-width:none!important;max-height:none!important;object-fit:contain;transform:none!important}
.slide p{padding-top:0;margin:6px 0 0;line-height:1.15;font-size:26px;font-weight:700;letter-spacing:.02em}
.slide small{font-size:17px;color:#ccc}
.dots{padding:8px}
.det .big{height:62dvh}
.info h1{font-size:36px}
.th .img{height:160px}
.th{flex:0 0 120px;font-size:12px}
}
/* taller laptops / external monitors: a bit more room */
@media(min-width:901px) and (min-height:860px){
.hero{height:36dvh}
.car{height:460px}
.slide .img{height:400px}
.slide .img img{height:400px!important}
.slide p{font-size:28px}
.slide small{font-size:18px}
}

/* mobile-only: bottle exactly 2x live — LOCKED BASE, do not change */

@media(max-width:900px){
.hero{margin:8px 12px 0}
.car{height:340px;margin-top:0;overflow:visible}
.track{align-items:flex-end}
.slide{flex:0 0 70%;transform:scale(.7);opacity:.35;justify-content:flex-end}
.slide.on{transform:scale(1);opacity:1}
.slide.zoom{transform:scale(1.08)!important}
.slide .img{flex:0 0 auto;height:280px;display:flex;align-items:flex-end;justify-content:center;overflow:visible}
.slide .img img{width:auto!important;height:280px!important;max-width:none!important;object-fit:contain;transform:none!important}
.slide p{padding-top:0;margin:4px 0 0;line-height:1.15}

/* flavor name ~1.5x */
.slide p{font-size:21px;font-weight:700;letter-spacing:.02em}
.slide small{font-size:16px;color:#ccc}
}


/* the looping track is far wider than the screen: let bottles overflow the carousel
   vertically (as designed) but never sideways, so the page cannot scroll or zoom out horizontally */
.car{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}

/* flavour page: bottle beside its text, sized so the "more flavours" strip
   below is always on screen, down to ~600px-tall laptop viewports
   (1366x768, 1280x720 and 1920x1080 at 150% scaling are the common ones).
   The bottle comes first in the HTML: left in English, right in Arabic (dir=rtl). */
.pd{display:flex;justify-content:center;align-items:center;gap:clamp(32px,5vw,80px);padding:0 6vw}
.pd-img{flex:0 0 auto;display:flex;justify-content:center;align-items:center;height:clamp(300px,calc(100dvh - 330px),62dvh)}
.pd-img img{height:100%;width:auto;object-fit:contain;filter:drop-shadow(0 30px 60px rgba(0,0,0,.65))}
.pd-info{flex:0 1 600px}
.pd-info h1{font-weight:300;font-size:clamp(46px,5vw,80px);letter-spacing:.06em;line-height:1.05;text-transform:uppercase}
:where(html[lang=ar]) .pd-info h1{letter-spacing:0;text-transform:none;font-weight:400}
.pd-fl{color:var(--y);font-size:clamp(20px,1.7vw,26px);letter-spacing:.12em;text-transform:uppercase;margin:12px 0 18px}
:where(html[lang=ar]) .pd-fl{letter-spacing:0;text-transform:none}
.pd-info .chips{margin-bottom:22px}
.pd-info .chip{font-size:14px;padding:5px 14px}
.pd-info .desc{color:#e2e2e2;font-size:clamp(18px,1.45vw,22px);line-height:1.75;margin:0}
.pg-flavour .backp{margin-top:8px}
.pg-flavour h2.sec{padding-top:4px}
.pg-flavour .strip{padding-bottom:16px}
.pg-flavour .th{cursor:pointer}
@media(max-width:900px){
.pd{flex-direction:column;gap:18px;padding:4px 20px 8px}
.pd-img{height:56dvh}
.pd-info{flex:none;max-width:none;text-align:center;padding-inline:58px}
.pd-info .chips{justify-content:center}
.pd-info h1{font-size:40px}
.pd-fl{font-size:17px;margin:8px 0 14px}
.pd-info .desc{font-size:16px;line-height:1.8}
.pg-flavour .strip{padding-bottom:110px}
}

/* flavour page: one start line for the back link, the bottle and the strip.
   The bottle sits on that line (left in English, right in Arabic) and the
   text follows right beside it. */
.pg-flavour{--ix:clamp(18px,4vw,72px)}
.pg-flavour .backp{margin-inline:var(--ix)}
.pg-flavour h2.sec{padding-inline:var(--ix)}
.pg-flavour .strip{padding-inline:var(--ix)}
.pg-flavour .pd{justify-content:flex-start;padding-inline:var(--ix);gap:clamp(36px,4.5vw,84px)}
@media(max-width:900px){.pg-flavour .pd{justify-content:center;padding-inline:20px;gap:18px}}
html[lang=ar] .pg-flavour .strip{direction:rtl}
.pg-flavour .strip{scroll-padding-inline:var(--ix)}
/* each strip card is 120px wide with a ~37px bottle centred in it: pull the strip
   back by the empty half so the first small bottle starts on the same line */
@media(min-width:901px){.pg-flavour .strip{padding-inline-start:max(0px,calc(var(--ix) - 41px));scroll-padding-inline:max(0px,calc(var(--ix) - 41px))}}
@media(max-width:900px){.pd-info h1{font-size:clamp(26px,7.4vw,40px)}}

/* flavour background (one picture per flavour, set as --fbg on <body>).
   The picture fills the screen height and is anchored to the bottle's side so its
   subject sits behind the bottle and fades out behind the text; a dark layer
   dims it so the text stays easy to read. Arabic mirrors the layer, so the
   subject follows the bottle to the right. --fbg-edge matches the picture's own
   dark edge so no seam shows where it ends. */
body.has-fbg{background:var(--fbg-edge,#010309)}
body.has-fbg::before{
  background:
    linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--fbg-edge,#010309) 35%,transparent) 38%,color-mix(in srgb,var(--fbg-edge,#010309) 70%,transparent) 60%),
    linear-gradient(rgba(11,11,11,.30),rgba(11,11,11,.30)),
    var(--fbg) no-repeat;
  background-size:auto,auto,cover;
  background-position:0 0,0 0,8% center}
html[lang=ar] body.has-fbg::before{transform:scaleX(-1)}
body.has-fbg .pd-info{text-shadow:0 2px 14px rgba(0,0,0,.85)}
/* phones: the picture sits behind the bottle at the top and fades to dark
   behind the text below it */
@media(max-width:900px){
  body.has-fbg::before{
    background:
      linear-gradient(180deg,rgba(1,3,9,.2) 0%,rgba(1,3,9,.35) 45%,rgba(1,3,9,.85) 62%,rgba(1,3,9,.92) 100%),
      var(--fbg) no-repeat;
    background-size:auto,cover;background-position:0 0,22% 30%}
}

/* flavour text: bolder and a step larger */
.pd-info h1{font-weight:600;font-size:clamp(50px,5.4vw,86px)}
:where(html[lang=ar]) .pd-info h1{font-weight:700}
.pd-fl{font-weight:600;font-size:clamp(22px,1.9vw,29px)}
.pd-info .chip{font-weight:600;font-size:15px}
.pd-info .desc{font-weight:600;color:#f2f2f2;font-size:clamp(20px,1.6vw,25px);line-height:1.7}
@media(max-width:900px){
  .pd-info h1{font-size:clamp(28px,7.4vw,42px)}
  .pd-fl{font-size:18px}
  .pd-info .desc{font-size:17px}
}

/* hover (laptop/desktop only): a soft aura in the flavour's label colour behind
   the bottle, and an info card (name, flavour, ice) with a border in that colour.
   In the carousel the card takes the place of the name under the bottle; in the
   flavour-page strip it floats above the bottle (see flavour.js). */
.hcard{display:none}
.hcard-float{display:none}
@media(hover:hover) and (min-width:901px){
  .slide .img,.th .img{position:relative}
  .slide .img::before,.th .img::before{content:"";position:absolute;left:50%;top:55%;width:var(--aw,300px);height:var(--aw,300px);
    transform:translate(-50%,-50%) scale(.4);border-radius:50%;background:radial-gradient(var(--c) 0%,transparent 68%);
    opacity:0;filter:blur(12px);transition:opacity .45s,transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:0}
  .th .img::before{--aw:150px}
  .slide .img img,.th .img img{position:relative;z-index:1;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
  .car.follow .slide.on .img::before,.th:hover .img::before{opacity:.9;transform:translate(-50%,-50%) scale(1.1)}
  .car.follow .slide.on .img img{transform:translateY(-10px) scale(1.05)!important}
  .th:hover .img img{transform:translateY(-6px) scale(1.06)}
  .slide p{position:relative}
  .slide .lbl{display:block;transition:opacity .25s}
  .car.follow .slide.on .lbl{opacity:0}
  .slide .hcard{display:block;position:absolute;left:50%;top:-6px;transform:translate(-50%,8px);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s}
  .car.follow .slide.on .hcard{opacity:1;transform:translate(-50%,0)}
  .slide .hcard,.hcard-float{min-width:190px;max-width:260px;padding:9px 16px 10px;border:1px solid var(--c);border-radius:10px;
    background:rgba(11,11,11,.92);box-shadow:0 10px 30px rgba(0,0,0,.5),0 0 18px color-mix(in srgb,var(--c) 35%,transparent);
    text-align:center;white-space:nowrap;line-height:1.3;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}
  :where(html[lang=ar]) .slide .hcard,:where(html[lang=ar]) .hcard-float{font-family:Tahoma,"Geeza Pro","Noto Kufi Arabic",sans-serif}
  .slide .hcard b,.hcard-float b{display:block;font-size:17px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff}
  :where(html[lang=ar]) .slide .hcard b,:where(html[lang=ar]) .hcard-float b{letter-spacing:0;text-transform:none}
  .slide .hcard span,.hcard-float span{display:block;font-size:13px;font-weight:600;color:var(--c);margin-top:2px}
  .slide .hcard i,.hcard-float i{display:inline-block;font-style:normal;font-size:11px;color:#ddd;border:1px solid #555;border-radius:20px;padding:2px 10px;margin-top:6px}
  .hcard-float{display:block;position:fixed;z-index:60;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .25s,transform .25s}
  .hcard-float.on{opacity:1;transform:translateY(0)}
}
@media(hover:hover) and (min-width:901px){
  /* carousel card: compact and lifted a little over the bottle's base so it stays on screen */
  .slide .hcard{top:-34px;padding:7px 14px 8px;min-width:170px}
  .slide .hcard b{font-size:15px}
  .slide .hcard span{font-size:12px;margin-top:1px}
  .slide .hcard i{font-size:10.5px;margin-top:4px;padding:1px 9px}
}

/* brand page (carousel), laptop/desktop: size the hero and the bottles from the
   screen height so the whole page — hero, carousel, names and dots — fits on
   common laptop screens (down to ~600px tall) without scrolling */
@media(min-width:901px){
  body:not(.pg-flavour) .hero{height:clamp(130px,24dvh,300px)!important}
  body:not(.pg-flavour) .car{--ch:clamp(280px,calc(100dvh - 64px - clamp(130px,24dvh,300px) - 92px),580px);height:var(--ch)!important}
  body:not(.pg-flavour) .slide .img{height:calc(var(--ch) - 64px)!important}
  body:not(.pg-flavour) .slide .img img{height:calc(var(--ch) - 64px)!important}
  body:not(.pg-flavour) .slide p{font-size:clamp(20px,2.6dvh,28px)}
  body:not(.pg-flavour) .slide small{font-size:clamp(13px,1.7dvh,18px)}
  body:not(.pg-flavour) .sp{height:0}
  .slide .hcard{top:-40px}
}

/* flavour page: sizes and nicotine strengths */
.pd-info .avail{border-top:1px solid rgba(255,255,255,.14);margin-top:18px;padding-top:14px;font-size:14px}
.av-title{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--y);margin-bottom:8px}
:where(html[lang=ar]) .av-title{letter-spacing:0;text-transform:none;font-size:15px}
.av-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:7px}
.av-size{min-width:58px;font-weight:700;color:#fff;font-size:15px}
.av-mg{border:1px solid rgba(255,255,255,.35);border-radius:20px;padding:3px 11px;font-size:13px;font-weight:600;color:#eee;background:rgba(0,0,0,.35);direction:ltr}
@media(max-width:900px){.av-row{justify-content:center}.av-size{min-width:0}}

/* carousel labels in Arabic read right to left */
:where(html[lang=ar]) .slide .lbl{direction:rtl}

/* carousel card: sits in the label's place under the bottle (no longer over it),
   larger and easier to read, with the flavour line lightened for contrast */
@media(hover:hover) and (min-width:901px){
  .slide .hcard{top:-4px;padding:8px 16px 9px;min-width:190px}
  .slide .hcard b{font-size:16px}
  .slide .hcard span,.hcard-float span{color:color-mix(in srgb,var(--c) 65%,#fff)}
  :where(html[lang=ar]) .slide .hcard b,:where(html[lang=ar]) .hcard-float b{font-size:18px}
  :where(html[lang=ar]) .slide .hcard span,:where(html[lang=ar]) .hcard-float span{font-size:14px}
  :where(html[lang=ar]) .slide .hcard i,:where(html[lang=ar]) .hcard-float i{font-size:12px}
  /* make room for the card under the bottle: smaller bottles, dots below the card */
  body:not(.pg-flavour) .car{--ch:clamp(260px,calc(100dvh - 64px - clamp(130px,24dvh,300px) - 150px),560px)}
  body:not(.pg-flavour) .dots{margin-top:58px}
}

/* sizes block: both sizes on one line, and a tighter text column on shorter
   laptop screens so the more-flavours strip still fits (1280x720, 1366x768) */
.pd-info .avail{display:flex;flex-wrap:wrap;align-items:center;column-gap:18px;row-gap:6px;margin-top:14px;padding-top:12px}
.av-title{width:100%;margin-bottom:2px}
.av-row{margin-bottom:0}
@media(min-width:901px) and (max-height:800px){
  .pd-info h1{font-size:clamp(40px,4.4vw,64px)}
  .pd-fl{margin:6px 0 10px;font-size:clamp(18px,1.6vw,24px)}
  .pd-info .chips{margin-bottom:12px}
  .pd-info .desc{font-size:clamp(17px,1.35vw,21px);line-height:1.55}
  .pd-info .avail{margin-top:10px;padding-top:9px}
  .av-mg{padding:2px 9px;font-size:12px}
  .av-size{font-size:14px}
}
@media(max-width:900px){.pd-info .avail{justify-content:center}.av-title{text-align:center}}
:where(html[lang=ar]) .av-mg,:where(html[lang=ar]) .av-size{direction:rtl;unicode-bidi:isolate}

/* ---------- brand page, laptop/desktop: all flavours in a grid with type filters
   (replaces the carousel; phones keep the swipe carousel). Sized from the screen
   height so the hero, filters and both rows fit without scrolling. */
.fgrid{display:none}
@media(min-width:901px){
  body:not(.pg-flavour) .car,body:not(.pg-flavour) .dots{display:none}
  body:not(.pg-flavour) .hero{height:clamp(110px,20dvh,260px)!important}
  .fgrid{display:flex;flex-direction:column;align-items:center;padding:14px 3vw 0;
    --gh:clamp(120px,calc((100dvh - 64px - clamp(110px,20dvh,260px) - 34px - 64px) / 2 - 34px),230px)}
  .fchips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:12px}
  .fchips button{font:inherit;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:600;color:#ddd;background:rgba(11,11,11,.6);
    border:1px solid #444;border-radius:20px;padding:6px 16px;cursor:pointer;transition:.2s}
  :where(html[lang=ar]) .fchips button{font-family:Tahoma,"Geeza Pro","Noto Kufi Arabic",sans-serif;font-size:14px}
  .fchips button small{color:var(--muted);font-weight:400;margin-inline-start:2px}
  .fchips button:hover{border-color:#777}
  .fchips button.on{border-color:var(--y);color:var(--y)}
  .fchips button.on small{color:var(--y)}
  .gwrap{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 4px;max-width:1320px}
  :where(html[lang=ar]) .gwrap{direction:rtl}
  .gi{width:calc(var(--gh) * .44);min-width:62px;text-align:center;display:block}
  .gi.off{display:none}
  .gi .img{height:var(--gh);position:relative;display:flex;justify-content:center;align-items:flex-end}
  .gi .img img{height:100%;width:auto;position:relative;z-index:1;filter:drop-shadow(0 10px 16px rgba(0,0,0,.6));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .gi .img::before{content:"";position:absolute;left:50%;top:55%;width:calc(var(--gh) * .8);height:calc(var(--gh) * .8);border-radius:50%;
    transform:translate(-50%,-50%) scale(.4);background:radial-gradient(var(--c) 0%,transparent 68%);opacity:0;filter:blur(10px);transition:.4s;pointer-events:none}
  .gi:hover .img::before{opacity:.9;transform:translate(-50%,-50%) scale(1.1)}
  .gi:hover .img img{transform:translateY(-6px) scale(1.06)}
  .gn{display:block;margin-top:4px;font-size:11.5px;font-weight:600;color:#ddd;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :where(html[lang=ar]) .gn{font-size:12.5px}
  .gi:hover .gn{color:color-mix(in srgb,var(--c) 70%,#fff)}
}
/* always two even rows (13 + 12) whatever the screen width */
@media(min-width:901px){.gwrap{max-width:calc(13 * (max(62px,var(--gh) * .44) + 4px) + 2px)}}
@media(min-width:901px){.fgrid{--gh:min(clamp(120px,calc((100dvh - 64px - clamp(110px,20dvh,260px) - 34px - 64px) / 2 - 34px),230px),calc((94vw - 56px) / 13 / .44))}}

/* ---- phones: brand-page background follows the carousel ---- */
.mbg,.swipe-hint{display:none}
@media(max-width:900px){
  .mbg{display:block;position:fixed;inset:0;z-index:0;background:22% 40%/cover no-repeat;opacity:0;transition:opacity .8s ease;pointer-events:none}
  .mbg.on{opacity:1}
  html[lang=ar] .mbg{transform:scaleX(-1)}
  body.has-mbg::before{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.2) 35%,rgba(0,0,0,.25) 70%,rgba(0,0,0,.7) 100%);z-index:0}
  body.has-mbg .mbg{z-index:-1}
  body.has-mbg{isolation:isolate}
  body.has-mbg .slide p{text-shadow:0 2px 10px rgba(0,0,0,.9)}
  body.has-mbg .slide small{color:#e8e8e8}
  .swipe-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px 16px -26px;position:relative;z-index:3;font-size:14px;font-weight:700;color:#fff;text-shadow:0 2px 10px #000;transition:opacity .6s}
  .swipe-hint.used{opacity:.7}
  .swipe-hint .hand{display:inline-block;font-size:18px;animation:swipehand 1.8s ease-in-out infinite}
  @keyframes swipehand{0%,100%{transform:translateX(-8px) rotate(-8deg)}50%{transform:translateX(8px) rotate(8deg)}}
}

/* ---- phones: flavour page details in a bottom sheet ---- */
.sheet{display:contents}
@media(max-width:900px){
  body.has-sheet{overflow:hidden;height:100dvh}
  body.has-sheet .pd{padding:0;height:calc(100dvh - 64px - 40px - var(--peek,130px));align-items:center;justify-content:center}
  body.has-sheet .pd-img{height:100%;padding:6px 0 10px}
  body.has-sheet .pd-img img{filter:drop-shadow(0 0 26px color-mix(in srgb,var(--fbg-edge,#000) 10%,transparent)) drop-shadow(0 24px 40px rgba(0,0,0,.65))}
  body.has-sheet::before{background:linear-gradient(180deg,rgba(1,3,9,.35) 0%,rgba(1,3,9,.1) 30%,rgba(1,3,9,.2) 65%,rgba(1,3,9,.6) 100%),var(--fbg) no-repeat;background-size:auto,cover;background-position:0 0,22% 40%}
  .sheet{display:flex;flex-direction:column;position:fixed;inset-inline:0;bottom:0;height:86dvh;z-index:8;
    background:rgba(10,10,12,.86);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
    border-radius:22px 22px 0 0;border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -10px 30px rgba(0,0,0,.45);
    transition:transform .38s cubic-bezier(.2,.8,.2,1);touch-action:none}
  .sh-hd{flex:none;padding:9px 0 2px;text-align:center;cursor:grab}
  .sh-hd i{display:block;width:46px;height:5px;border-radius:3px;background:#777;margin:0 auto 6px}
  .sh-hint{font-size:12.5px;color:#bbb;font-weight:600}
  .sh-body{flex:1;overflow:hidden;overscroll-behavior:contain;padding-bottom:20px}
  .sheet.open .sh-body{overflow-y:auto;touch-action:pan-y}
  .sheet .pd-info{padding:6px 22px 0;text-shadow:none}
  .sheet .pd-info h1{font-size:clamp(26px,7vw,36px);line-height:1.15}
  .sheet .pd-fl{margin:4px 0 14px}
  .sheet h2.sec{padding:22px 22px 6px}
  .sheet .strip{padding:6px 22px 24px}
  body.has-sheet .fab.wa{bottom:calc(var(--peek,130px) + 14px)}
  body.has-sheet .fab.fb{bottom:calc(var(--peek,130px) + 76px)}
  body.sheet-open .fab{opacity:0;pointer-events:none}
  .fab{transition:opacity .25s}
}
