/* =====================================================================
   Junglevriendjes "ervaring": immersive home page (/ervaring).
   Dark hero where the lamp switches on, a sticky scroll story with one
   friend per screen, a swipe gallery and a final choice.
   Everything is class based (the CSP forbids inline styles); scripts only
   set CSS variables and classes.
   ===================================================================== */
:root{--xp-top:120px;--xp-h:100svh}
/* --xp-h: the screen height, fixed by experience.js when the page loads. Safari changes svh while its toolbar slides in and out; every height in the page flow that followed it made everything below jump back while scrolling. */
.xp-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,241,207,.14);color:#ffe3a3;border:1px solid rgba(255,227,163,.3);border-radius:var(--pill);padding:7px 16px;font-weight:800;font-size:13px;margin:0 0 18px}
.xp-kicker .icon{color:var(--sun)}

/* ---------- Hero ---------- */
.xp-hero{position:relative;isolation:isolate;overflow:hidden;min-height:calc(var(--xp-h) - var(--xp-top));display:grid;align-content:start;background:#0a1f17;color:#fff;transition:background-color 1.4s ease;padding:0 var(--gutter) 96px}
.xp-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60% 55% at 70% 30%,rgba(255,189,92,.5) 0,rgba(255,189,92,0) 70%),radial-gradient(80% 60% at 20% 90%,rgba(62,155,107,.28) 0,rgba(62,155,107,0) 70%);opacity:0;transition:opacity 1.6s ease}
.xp-hero.is-lit{background:#10301f}
.xp-hero.is-lit::before{opacity:1}
.xp-hero-lamp{position:relative;justify-self:center;height:min(calc(var(--xp-h) * .48),430px);margin-top:0;order:-1;transform-origin:50% 0;animation:xp-sway 6.5s ease-in-out infinite}
.xp-hero-lamp img{height:100%;width:auto;filter:brightness(.4) saturate(.55) drop-shadow(0 24px 30px rgba(0,0,0,.45));transition:filter 1.4s ease}
.xp-hero.is-lit .xp-hero-lamp img{filter:brightness(1.04) saturate(1.05) drop-shadow(0 24px 34px rgba(0,0,0,.4))}
.xp-glow{position:absolute;left:50%;bottom:-8%;width:130%;aspect-ratio:1;translate:-50% 0;border-radius:50%;background:radial-gradient(circle,rgba(255,206,110,.75) 0,rgba(255,170,60,.28) 32%,rgba(255,170,60,0) 66%);opacity:0;transition:opacity 1.4s ease;pointer-events:none}
.xp-hero.is-lit .xp-hero-lamp .xp-glow{opacity:1}
@keyframes xp-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
.xp-hero-copy{position:relative;z-index:2;padding-top:8px}
.xp-hero h1{font-size:clamp(40px,min(11vw,calc(var(--xp-h) * .095)),92px);line-height:1.04;font-weight:600;color:#fff;margin:0 0 16px;text-wrap:balance}
.xp-hero h1 mark{background:none;color:var(--sun)}
.xp-lead{font-size:18px;line-height:1.6;color:#d6e5d6;max-width:520px;margin-bottom:26px}
.xp-actions{display:flex;flex-wrap:wrap;gap:10px}
.xp-actions-center{justify-content:center}
.button.xp-button-ghost{border:2px solid rgba(255,255,255,.55);color:#fff;background:transparent}
.button.xp-button-ghost:hover{background:#fff;color:var(--ink)}
.xp-light{position:absolute;z-index:3;right:var(--gutter);top:14px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;border-radius:var(--pill);padding:9px 16px;font-weight:800;font-size:14px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.xp-light:hover{background:rgba(255,255,255,.2)}
.xp-light .icon{color:var(--sun)}
.xp-light .t-on{display:none}
.xp-hero.is-lit .xp-light .t-on{display:inline}
.xp-hero.is-lit .xp-light .t-off{display:none}
.xp-cue{position:absolute;z-index:2;left:50%;bottom:20px;translate:-50% 0;display:grid;justify-items:center;gap:8px;color:#bcd3bf;font-size:13px;font-weight:700;text-align:center}
.xp-cue i{width:22px;height:34px;border:2px solid currentColor;border-radius:99px;position:relative}
.xp-cue i::after{content:"";position:absolute;left:50%;top:6px;width:4px;height:7px;margin-left:-2px;border-radius:4px;background:currentColor;animation:xp-wheel 1.8s ease-in-out infinite}
@keyframes xp-wheel{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(12px)}}
.xp-fireflies{position:absolute;inset:0;z-index:-1;pointer-events:none}
.xp-fireflies i{position:absolute;width:6px;height:6px;border-radius:50%;background:#ffe9a8;box-shadow:0 0 12px 4px rgba(255,214,120,.75);opacity:0;animation:xp-fly 9s ease-in-out infinite}
@keyframes xp-fly{0%,100%{opacity:0;transform:translate(0,0)}20%{opacity:.9}50%{opacity:.35;transform:translate(26px,-34px)}80%{opacity:.9}}
.xp-fireflies i:nth-child(1){left:44%;top:27%;animation-delay:-3.6s;animation-duration:7s}
.xp-fireflies i:nth-child(2){left:12%;top:76%;animation-delay:-0.8s;animation-duration:11s}
.xp-fireflies i:nth-child(3){left:10%;top:72%;animation-delay:-1.9s;animation-duration:7s}
.xp-fireflies i:nth-child(4){left:58%;top:61%;animation-delay:-0.6s;animation-duration:7s}
.xp-fireflies i:nth-child(5){left:73%;top:62%;animation-delay:-0.5s;animation-duration:11s}
.xp-fireflies i:nth-child(6){left:18%;top:36%;animation-delay:-5.7s;animation-duration:11s}
.xp-fireflies i:nth-child(7){left:10%;top:81%;animation-delay:-5.3s;animation-duration:7s}
.xp-fireflies i:nth-child(8){left:31%;top:13%;animation-delay:-5.0s;animation-duration:8s}
.xp-fireflies i:nth-child(9){left:40%;top:61%;animation-delay:-1.3s;animation-duration:7s}
.xp-fireflies i:nth-child(10){left:76%;top:47%;animation-delay:-5.0s;animation-duration:12s}
.xp-fireflies i:nth-child(11){left:26%;top:21%;animation-delay:-5.2s;animation-duration:12s}
.xp-fireflies i:nth-child(12){left:27%;top:55%;animation-delay:-0.9s;animation-duration:12s}
.xp-fireflies i:nth-child(13){left:11%;top:80%;animation-delay:-0.5s;animation-duration:8s}
.xp-fireflies i:nth-child(14){left:66%;top:76%;animation-delay:-3.8s;animation-duration:9s}

/* ---------- Scroll story ---------- */
.xp-story{position:relative;background:var(--paper)}
.xp-stage{display:none}
.xp-fallback{padding:48px var(--gutter);max-width:1360px;margin:0 auto}
.xp-js .xp-fallback{display:none}
.xp-js .xp-stage{display:block;position:relative;height:100svh;touch-action:pan-y;overflow:hidden;background-color:var(--xp-bg);color:var(--xp-ink);transition:background-color .9s ease,color .6s ease}
.xp-stage[data-theme="aap"]{--xp-bg:#cfe9d3;--xp-ink:#12382a;--xp-ghost:rgba(18,56,42,.1);--xp-accent:#2c7a55;--xp-leaf:#3e9b6b}
.xp-stage[data-theme="leeuw"]{--xp-bg:#ffe0a1;--xp-ink:#4a2a06;--xp-ghost:rgba(122,74,0,.13);--xp-accent:#94530b;--xp-leaf:#d98a2b}
.xp-stage[data-theme="giraffe"]{--xp-bg:#ffd3ae;--xp-ink:#52250c;--xp-ghost:rgba(196,83,26,.13);--xp-accent:#c4531a;--xp-leaf:#e8793a}
.xp-stage[data-theme="zebra"]{--xp-bg:#e1dbee;--xp-ink:#241c3a;--xp-ghost:rgba(36,28,58,.11);--xp-accent:#6b4fb3;--xp-leaf:#9a85d0}
.xp-stage[data-theme="neushoorn"]{--xp-bg:#e9ded2;--xp-ink:#3a2c24;--xp-ghost:rgba(58,44,36,.11);--xp-accent:#8a6a55;--xp-leaf:#b49580}
.xp-stage[data-theme="olifant"]{--xp-bg:#cfe2ea;--xp-ink:#16323f;--xp-ghost:rgba(22,50,63,.11);--xp-accent:#2f6c83;--xp-leaf:#6ea6bb}
.xp-stage[data-theme="konijn"]{--xp-bg:#f4dfe0;--xp-ink:#3d2228;--xp-ghost:rgba(61,34,40,.11);--xp-accent:#a94f63;--xp-leaf:#d690a0}
.xp-stage[data-theme="vos"]{--xp-bg:#dfe6cf;--xp-ink:#2c3317;--xp-ghost:rgba(44,51,23,.11);--xp-accent:#c4531f;--xp-leaf:#8fa66a}
.xp-ghosts,.xp-lamps,.xp-panels{position:absolute;inset:0}
.xp-ghost{position:absolute;left:50%;top:52%;translate:-50% -50%;font:600 clamp(110px,34vw,460px)/1 var(--serif);text-transform:uppercase;letter-spacing:0;color:var(--xp-ghost);white-space:nowrap;opacity:0;transform:translateX(8vw);transition:opacity .7s ease,transform .9s var(--ease)}
.xp-ghost.is-active{opacity:1;transform:translateX(calc(var(--p,0) * -10vw))}
.xp-lamps{top:var(--xp-top);pointer-events:none}
.xp-lamp{position:absolute;left:50%;top:0;height:min(calc(100svh - var(--xp-top) - min(42svh,340px) - 36px),520px);translate:-50% 0;margin:0;opacity:0;transform:translateY(-48px) scale(.94);transition:opacity .6s ease,transform .9s var(--ease);transform-origin:50% 0}
.xp-lamp.is-active{opacity:1;transform:none}
.xp-lamp img{height:100%;width:auto;transform-origin:50% 0;filter:drop-shadow(0 28px 28px rgba(0,0,0,.22))}
.xp-lamp.is-active img{animation:xp-sway 6s ease-in-out infinite}
.xp-lamp .xp-glow{bottom:-10%;width:150%}
.xp-lamp.is-active .xp-glow{opacity:.9}
.xp-leaf{position:absolute;z-index:0;background:var(--xp-leaf);border-radius:0 100% 0 100%;opacity:.55;transition:background-color .9s ease}
.xp-leaf-1{width:210px;height:340px;left:-70px;bottom:-110px;transform:rotate(-16deg) translateY(calc(var(--p,0) * -90px))}
.xp-leaf-2{width:170px;height:280px;right:-60px;bottom:-90px;transform:rotate(22deg) scaleX(-1) translateY(calc(var(--p,0) * -60px))}
.xp-leaf-3{width:120px;height:190px;left:46%;top:-70px;opacity:.28;transform:rotate(160deg) translateY(calc(var(--p,0) * 50px))}
.xp-panels{top:auto;left:var(--gutter);right:var(--gutter);bottom:18px;height:min(42svh,340px)}
.xp-panel{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:28px;padding:20px 20px 18px;box-shadow:0 18px 50px rgba(20,40,30,.18);opacity:0;visibility:hidden;transform:translateY(32px);transition:opacity .5s ease,transform .7s var(--ease),visibility 0s linear .5s;color:var(--ink)}
.xp-panel.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .5s ease .12s,transform .7s var(--ease) .12s,visibility 0s}
.xp-count{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--xp-accent)}
.xp-panel h2{font-size:clamp(28px,8vw,44px);font-weight:600;line-height:1.05}
.xp-tag{font-family:var(--serif);font-size:19px;color:var(--xp-accent);font-weight:500}
.xp-line{font-size:15.5px;line-height:1.55;color:var(--ink-soft)}
.xp-price{font-family:var(--serif);font-size:24px;font-weight:600;margin-top:2px}
.xp-price small{font-family:var(--sans);font-size:12px;color:var(--muted);font-weight:700}
.xp-panel-actions{margin-top:4px}
.xp-panel-actions .button{width:100%}
.xp-ship{display:none;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--muted);margin-top:6px}
.xp-dots{position:absolute;z-index:3;left:12px;top:50%;translate:0 -50%;display:grid;gap:12px;margin:0;padding:0;list-style:none}
.xp-dots button{display:block;width:12px;height:12px;border-radius:50%;border:2px solid var(--xp-ink);background:transparent;padding:0;opacity:.45;transition:all .3s}
.xp-dots button[aria-current="true"]{background:var(--xp-ink);opacity:1;transform:scale(1.25)}
.xp-dots button:hover{opacity:1}

/* ---------- Gallery ---------- */
.xp-gallery{padding:72px 0 40px;overflow:hidden}
.xp-gallery-head{max-width:1360px;margin:0 auto;padding:0 var(--gutter);display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}
.xp-gallery-head h2{font-size:clamp(30px,6vw,46px);font-weight:600;line-height:1.1}
.xp-gallery-nav{display:flex;gap:8px;flex:none}
.xp-gallery-nav button{width:48px;height:48px;border-radius:50%;border:2px solid var(--ink);background:transparent;color:var(--ink);display:grid;place-items:center;transition:all .2s}
.xp-gallery-nav button:hover:not(:disabled){background:var(--ink);color:#fff}
.xp-gallery-nav button:disabled{opacity:.3;cursor:default}
.xp-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:14px max(var(--gutter),calc((100vw - 1360px)/2 + var(--gutter))) 34px;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.xp-track::-webkit-scrollbar{display:none}
.xp-slide{flex:0 0 min(78vw,440px);margin:0;scroll-snap-align:center;aspect-ratio:4/5;border-radius:34px;overflow:hidden;background:var(--surface-2);box-shadow:var(--shadow-sm);transition:transform .5s var(--ease)}
.xp-slide:nth-child(odd){transform:rotate(-1.4deg)}
.xp-slide:nth-child(even){transform:rotate(1.2deg) translateY(12px)}
.xp-slide:hover{transform:rotate(0) scale(1.02)}
.xp-slide img{width:100%;height:100%;object-fit:cover}

/* ---------- Final choice ---------- */
.xp-final{margin:24px var(--gutter) 56px}
.xp-final-inner{max-width:1100px;margin:0 auto;background:linear-gradient(160deg,#16402d 0,#0f2b1f 100%);color:#fff;border-radius:44px;padding:52px 22px;text-align:center;position:relative;overflow:hidden}
.xp-final-inner::before{content:"";position:absolute;left:50%;top:-30%;width:520px;height:520px;translate:-50% 0;border-radius:50%;background:radial-gradient(circle,rgba(255,200,100,.35) 0,rgba(255,200,100,0) 65%);pointer-events:none}
.xp-final .eyebrow{color:var(--sun);position:relative}
.xp-final h2{font-size:clamp(30px,6vw,52px);font-weight:600;line-height:1.1;margin-bottom:26px;position:relative;color:#fff}
.xp-friends{list-style:none;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:0;margin:0 0 26px;position:relative}
.xp-friends a{display:grid;justify-items:center;gap:8px;width:100px;font-weight:800;font-size:14px;color:#fff}
.xp-friends img{width:88px;height:88px;object-fit:contain;padding:6px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#fff6de 0,#f8e6c3 80%);transition:transform .35s var(--ease)}
.xp-friends a:hover img{transform:translateY(-6px) scale(1.06)}
.xp-final-text{color:#cfe0d2;margin-bottom:22px;position:relative}
.xp-final .xp-actions{position:relative}

.xp-js .xp-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .9s var(--ease)}
.xp-js .xp-reveal.is-in{opacity:1;transform:none}

/* ---------- Larger screens ---------- */
@media(min-width:900px){
  .xp-hero{grid-template-columns:1.05fr .95fr;align-content:center;align-items:center;padding:0 40px 90px;gap:40px}
  .xp-hero-copy{grid-column:1;grid-row:1}
  .xp-hero-lamp{grid-column:2;grid-row:1;align-self:start;order:0;height:min(calc(var(--xp-h) * .68),660px);margin-top:-6px;justify-self:center}
  .xp-light{right:40px;top:20px}
  .xp-lamp{left:30%;height:min(72svh,640px)}
  .xp-ghost{left:32%}
  .xp-panels{top:var(--xp-top);bottom:0;left:auto;right:6vw;width:min(440px,40vw);height:auto;display:flex;align-items:center}
  .xp-panel{inset:auto;left:0;right:0;top:50%;translate:0 -50%;padding:30px 30px 26px;background:rgba(255,255,255,.7)}
  .xp-panel-actions .button{width:auto}
  .xp-ship{display:flex}
  .xp-dots{left:28px}
  .xp-final-inner{padding:76px 40px}
  .xp-slide{flex-basis:min(34vw,460px)}
}

/* ---------- Right to left ---------- */
[dir="rtl"] .xp-hero-lamp{direction:ltr}
[dir="rtl"] .xp-dots{left:auto;right:12px}
@media(min-width:900px){
  [dir="rtl"] .xp-hero-copy{grid-column:2}
  [dir="rtl"] .xp-hero-lamp{grid-column:1}
  [dir="rtl"] .xp-lamp{left:70%}
  [dir="rtl"] .xp-ghost{left:68%}
  [dir="rtl"] .xp-panels{right:auto;left:6vw}
  [dir="rtl"] .xp-dots{right:28px}
}

@media(prefers-reduced-motion:reduce){
  .xp-hero-lamp,.xp-lamp.is-active img,.xp-fireflies i,.xp-cue i::after{animation:none}
  .xp-fireflies i{opacity:.6}
  .xp-js .xp-reveal{opacity:1;transform:none;transition:none}
  .xp-lamp,.xp-panel,.xp-ghost{transition-duration:.01s}
}
/* =====================================================================
   Ervaring 2: loads after experience.css and only adds or overrides.
   Everything is scoped under .xp2 so /ervaring keeps working unchanged.
   New: pull cord, flashlight that reveals jungle leaves, lamps that drop
   in on their rope, stock + add to cart in the story, a day/night room
   and a scroll progress bar.
   ===================================================================== */
@property --pull{syntax:'<length>';inherits:true;initial-value:0px}
@property --r{syntax:'<length>';inherits:true;initial-value:200px}

.xp-defs{position:absolute;width:0;height:0;overflow:hidden}

/* ---------- Progress bar ---------- */
.xp2 .xp-progress{position:fixed;z-index:90;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--sun),var(--clay));transform-origin:0 50%;transform:scaleX(var(--page,0));pointer-events:none}
[dir="rtl"] .xp2 .xp-progress{transform-origin:100% 50%}

/* ---------- Hero: leaves lit by a flashlight, pull cord ---------- */
.xp2 .xp-hero{--mx:62%;--my:34%}
.xp2 .xp-leaves{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.xp2 .xp-leaves svg{position:absolute;inset:0;width:100%;height:100%}
.xp2 .xp-leaves-dark{fill:#143c2b;opacity:.85}
.xp2 .xp-leaves-lit{fill:#359266;--r:210px;-webkit-mask-image:radial-gradient(circle var(--r) at var(--mx) var(--my),#000 0,#000 35%,transparent 100%);mask-image:radial-gradient(circle var(--r) at var(--mx) var(--my),#000 0,#000 35%,transparent 100%);transition:--r 1.8s ease}
.xp2 .xp-hero.is-lit .xp-leaves-lit{--r:2600px}
.xp2 .xp-hero.is-lit .xp-leaves-dark{opacity:.5}
.xp2 .xp-hero::before{background:radial-gradient(60% 55% at 70% 30%,rgba(255,189,92,.5) 0,rgba(255,189,92,0) 70%),radial-gradient(circle 420px at var(--mx) var(--my),rgba(255,214,140,.2) 0,rgba(255,214,140,0) 100%)}
.xp2 .xp-hero-lamp img,.xp2 .xp-lamp img{translate:calc(var(--tx,0) * 12px) 0;rotate:calc(var(--tx,0) * 3deg);transition:translate .35s ease-out,rotate .35s ease-out,filter 1.4s ease}
.xp2 .xp-hero-lamp.is-kicked{animation:xp-kick 1.4s ease-out}
@keyframes xp-kick{0%{transform:rotate(0)}18%{transform:rotate(9deg)}42%{transform:rotate(-6deg)}66%{transform:rotate(3.5deg)}100%{transform:rotate(0)}}

.xp2 .xp-cord{position:absolute;z-index:4;top:0;right:24%;width:54px;padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;touch-action:none;cursor:grab;-webkit-tap-highlight-color:transparent}
.xp2 .xp-cord:active{cursor:grabbing}
.xp2 .xp-cord-line{display:block;width:2px;height:calc(86px + var(--pull));background:rgba(255,236,190,.75);transition:height .5s cubic-bezier(.3,1.6,.5,1)}
.xp2 .xp-cord-bead{display:block;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c4 0,var(--sun) 45%,#c98a14 100%);box-shadow:0 0 18px rgba(246,185,59,.7);margin-top:-1px}
.xp2 .xp-cord.is-dragging .xp-cord-line{transition:none}
.xp2 .xp-cord-hint{margin-top:8px;font-size:12.5px;font-weight:800;color:#ffe9b3;white-space:nowrap;animation:xp-hint 2.4s ease-in-out infinite;transition:opacity .5s}
.xp2 .xp-cord.is-used .xp-cord-hint{opacity:0;animation:none}
@keyframes xp-hint{0%,100%{opacity:.5;transform:translateY(0)}50%{opacity:1;transform:translateY(4px)}}
.xp2 .xp-cord:focus-visible{outline:2px solid var(--sun);outline-offset:6px;border-radius:12px}

/* ---------- Story: lamps drop in on their rope, with stock and cart ---------- */
.xp2 .xp-stage{--xp-panel-h:min(46svh,390px)}
.xp2 .xp-lamp{height:min(calc(100svh - var(--xp-top) - var(--xp-panel-h) - 30px),520px);opacity:0;transform:translateY(-118%);transition:transform 1.05s cubic-bezier(.34,1.32,.5,1),opacity .35s ease}
.xp2 .xp-lamp.is-active{opacity:1;transform:none}
.xp2 .xp-panels{height:var(--xp-panel-h)}
.xp2 .xp-panel{gap:5px}
.xp2 .xp-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.xp2 .xp-stock{display:inline-flex;align-items:center;gap:6px;font-family:var(--sans);font-size:13px;font-weight:800;color:var(--success)}
.xp2 .xp-stock i{width:8px;height:8px;border-radius:50%;background:currentColor}
.xp2 .xp-stock.is-low{color:#b0560f}
.xp2 .xp-panel-actions{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.xp2 .xp-panel-actions form{display:contents}
.xp2 .xp-panel-actions .button{width:100%}
.xp2 .xp-more{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800;font-size:14.5px;color:var(--xp-accent);text-decoration:underline;text-underline-offset:4px;padding:4px}
.xp2 .xp-more:hover{color:var(--ink)}

/* ---------- Day / night room ---------- */
.xp2 .xp-room{max-width:1100px;margin:0 auto;padding:72px var(--gutter) 24px}
.xp2 .xp-room-head{margin-bottom:24px;max-width:640px}
.xp2 .xp-room-head h2{font-size:clamp(30px,6vw,46px);font-weight:600;line-height:1.1;margin-bottom:8px}
.xp2 .xp-room-stage{--night:0;--gx:39%;--gy:24%;position:relative;border-radius:36px;overflow:hidden;aspect-ratio:1/1;max-height:78svh;width:100%;background:#1c1a17;box-shadow:var(--shadow);isolation:isolate}
.xp2 .xp-room-photo{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .6s ease}
.xp2 .xp-room-photo.is-active{opacity:1}
.xp2 .xp-room-photo img{width:100%;height:100%;object-fit:cover}
.xp2 .xp-room-night{position:absolute;inset:0;background:radial-gradient(circle at var(--gx) var(--gy),rgba(8,12,30,.55) 0,rgba(5,8,22,.9) 70%);opacity:var(--night);pointer-events:none}
.xp2 .xp-room-glow{position:absolute;inset:0;background:radial-gradient(circle at var(--gx) var(--gy),rgba(255,214,120,.95) 0,rgba(255,176,70,.45) 9%,rgba(255,150,40,.14) 26%,rgba(255,150,40,0) 48%);mix-blend-mode:screen;opacity:calc(var(--night) * 1.05);pointer-events:none}
.xp2 .xp-room-controls{display:grid;gap:16px;margin-top:20px}
.xp2 .xp-room-slider{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;font-weight:800;color:var(--ink)}
.xp2 .xp-room-slider span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.xp2 .xp-room-slider .icon{color:var(--clay)}
.xp2 .xp-room-slider input{appearance:none;-webkit-appearance:none;width:100%;height:14px;border-radius:99px;background:linear-gradient(90deg,#ffe3a1 0,#e8793a 45%,#16322c 100%);outline-offset:6px}
.xp2 .xp-room-slider input::-webkit-slider-thumb{-webkit-appearance:none;width:32px;height:32px;border-radius:50%;background:#fff;border:4px solid var(--ink);box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:grab}
.xp2 .xp-room-slider input::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:4px solid var(--ink);box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:grab}
.xp2 .xp-room-chips{display:flex;flex-wrap:wrap;gap:8px}
.xp2 .xp-room-chips button{border:2px solid var(--line-strong);background:#fff;color:var(--ink);border-radius:var(--pill);padding:8px 18px;font-weight:800;font-size:14px;transition:all .2s}
.xp2 .xp-room-chips button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.xp2 .xp-room-chips button:hover{border-color:var(--ink)}

@media(min-width:900px){
  .xp2 .xp-stage{--xp-panel-h:auto}
  .xp2 .xp-lamp{height:min(72svh,640px)}
  .xp2 .xp-panels{height:auto}
  .xp2 .xp-panel-actions{flex-direction:row;align-items:center;gap:14px}
  .xp2 .xp-panel-actions .button{width:auto}
  .xp2 .xp-cord{right:30%}
  .xp2 .xp-room{padding-top:96px}
  .xp2 .xp-room-stage{aspect-ratio:16/10;max-height:none}
  .xp2 .xp-room-photo img{object-position:50% 30%}
  .xp2 .xp-room-controls{grid-template-columns:1fr auto;align-items:center;gap:32px}
}
@media(max-width:899px){.xp2 .xp-cord{right:18%}}

[dir="rtl"] .xp2 .xp-cord{right:auto;left:24%}
@media(min-width:900px){[dir="rtl"] .xp2 .xp-cord{left:30%}}
[dir="rtl"] .xp2 .xp-room-slider{direction:ltr}

@media(prefers-reduced-motion:reduce){
  .xp2 .xp-hero-lamp.is-kicked,.xp2 .xp-cord-hint{animation:none}
  .xp2 .xp-lamp{transition-duration:.01s}
}

/* =====================================================================
   Polish pass: calmer header, deeper night, layered jungle, light cone,
   promise band, outlined names, refined panels and indicators.
   ===================================================================== */
.xp2{overflow-x:clip}

/* Hero: depth, grain and a cone of light */
.xp2 .xp-hero{padding-bottom:120px;background-color:#08190f}
.xp2 .xp-hero.is-lit{background-color:#0e2a1d}
.xp2 .xp-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 55% 35%,rgba(0,0,0,0) 45%,rgba(0,0,0,.5) 100%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");opacity:.55;mix-blend-mode:soft-light}
.xp2 .xp-leaves-back{fill:url(#xp-grad-back);filter:blur(2px);opacity:.95}
.xp2 .xp-leaves-dark{fill:url(#xp-grad-dark);stroke:rgba(255,255,255,.05);opacity:1}
.xp2 .xp-hero.is-lit .xp-leaves-dark{opacity:.55}
.xp2 .xp-leaves-lit{fill:url(#xp-grad-lit);stroke:rgba(255,255,255,.2)}
.xp2 .xp-leaves-far{transform:translateX(calc(var(--hx,0) * -10px)) scale(1.03);transition:transform .6s ease-out}
.xp2 .xp-leaves:not(.xp-leaves-far){transform:translateX(calc(var(--hx,0) * 16px)) scale(1.04);transition:transform .6s ease-out}
.xp2 .xp-cone{position:absolute;left:50%;top:84%;width:260%;height:130%;translate:-50% 0;background:linear-gradient(180deg,rgba(255,210,130,.32) 0,rgba(255,210,130,0) 78%);clip-path:polygon(44% 0,56% 0,100% 100%,0 100%);filter:blur(8px);opacity:0;transition:opacity 1.6s ease;pointer-events:none}
.xp2 .xp-hero.is-lit .xp-cone{opacity:1}
.xp2 .xp-hero h1{letter-spacing:-.015em}
.xp2 .xp-hero h1 mark{background:linear-gradient(100deg,#ffe08a 0,#ffb347 55%,#ff8a3d 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 24px rgba(255,170,70,.35))}
.xp2 .xp-hero .button-accent{box-shadow:0 12px 32px rgba(232,121,58,.42)}
.xp2 .xp-kicker{background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
@keyframes xp-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.xp2 .xp-hero-copy>*{animation:xp-up .9s var(--ease) both}
.xp2 .xp-hero-copy>:nth-child(2){animation-delay:.12s}
.xp2 .xp-hero-copy>:nth-child(3){animation-delay:.24s}
.xp2 .xp-hero-copy>:nth-child(4){animation-delay:.36s}
.xp2 .xp-cue{bottom:52px}

/* Promise band */
.xp2 .xp-marquee{position:relative;z-index:5;background:var(--sun);color:var(--ink);overflow:hidden;transform:rotate(-1.4deg);margin:-34px -12px 0;padding:15px 0;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.xp2 .xp-marquee-track{display:flex;width:max-content;animation:xp-marquee 34s linear infinite}
.xp2 .xp-marquee:hover .xp-marquee-track{animation-play-state:paused}
.xp2 .xp-marquee ul{display:flex;gap:44px;padding:0 22px;margin:0;list-style:none}
.xp2 .xp-marquee li{display:flex;align-items:center;gap:12px;font:600 clamp(17px,2.1vw,23px)/1.1 var(--serif);white-space:nowrap}
.xp2 .xp-marquee .icon{color:var(--clay)}
@keyframes xp-marquee{to{transform:translateX(-50%)}}
@keyframes xp-marquee-rtl{to{transform:translateX(50%)}}
[dir="rtl"] .xp2 .xp-marquee-track{animation-name:xp-marquee-rtl}
[dir="rtl"] .xp2 .xp-marquee{transform:rotate(1.4deg)}

/* Story: jungle leaves, outlined names, refined panel and indicator */
.xp2 .xp-leaf{display:none}
.xp2 .xp-stage-leaves{position:absolute;inset:0;width:100%;height:100%;fill:var(--xp-leaf);stroke:rgba(255,255,255,.3);opacity:.3;transform:translateY(calc(var(--p,0) * -46px)) scale(1.06);transition:fill .9s ease;pointer-events:none}
.xp2 .xp-ghost{top:42%;font-size:clamp(80px,21vw,300px);color:color-mix(in srgb,var(--xp-ink) 5%,transparent);-webkit-text-stroke:2px color-mix(in srgb,var(--xp-ink) 24%,transparent)}
.xp2 .xp-panel{border:1px solid rgba(255,255,255,.75);box-shadow:0 34px 70px -24px rgba(20,40,30,.38);overflow:hidden}
.xp2 .xp-index{position:absolute;top:8px;right:18px;font:600 72px/1 var(--serif);color:var(--xp-accent);opacity:.14;pointer-events:none}
[dir="rtl"] .xp2 .xp-index{right:auto;left:18px}
.xp2 .xp-count{align-self:flex-start;background:color-mix(in srgb,var(--xp-accent) 13%,#fff);padding:5px 11px;border-radius:99px;font-size:11px}
.xp2 .xp-dots{gap:20px}
.xp2 .xp-dots::before{content:"";position:absolute;left:50%;top:4px;bottom:4px;width:2px;margin-left:-1px;border-radius:2px;background:var(--xp-ink);opacity:.18}
.xp2 .xp-dots li{position:relative;display:grid;place-items:center}
.xp2 .xp-dots button{width:12px;height:12px;background:var(--xp-bg);transition:height .4s var(--ease),background .3s,opacity .3s}
.xp2 .xp-dots button[aria-current="true"]{height:30px;border-radius:99px;transform:none;background:var(--xp-ink)}

/* Room: framed photo, warmer slider, flickering glow */
.xp2 .xp-room-stage{border:10px solid #fff;box-shadow:0 44px 90px -34px rgba(23,58,43,.5)}
.xp2 .xp-room-glow{animation:xp-flicker 5s ease-in-out infinite}
@keyframes xp-flicker{0%,100%{filter:brightness(1)}44%{filter:brightness(1.14)}50%{filter:brightness(.93)}58%{filter:brightness(1.08)}}
.xp2 .xp-room-slider .icon-sun{color:#e39a12}
.xp2 .xp-room-slider .icon-moon{color:var(--ink)}
.xp2 .xp-room-head h2,.xp2 .xp-gallery-head h2,.xp2 .xp-final h2{letter-spacing:-.01em}

@media(min-width:900px){
  .xp2 .xp-ghost{font-size:clamp(120px,14vw,230px);top:48%}
  .xp2 .xp-marquee{margin-top:-40px;padding:18px 0}
}
@media(prefers-reduced-motion:reduce){
  .xp2 .xp-marquee-track,.xp2 .xp-hero-copy>*,.xp2 .xp-room-glow{animation:none}
}
.xp2 .xp-hero-copy{text-shadow:0 2px 18px rgba(0,0,0,.5)}
.xp2 .xp-hero-copy .button,.xp2 .xp-hero h1 mark{text-shadow:none}
@media(max-width:899px){.xp2 .xp-cue{display:none}.xp2 .xp-hero{padding-bottom:84px}}

/* =====================================================================
   Round 3: swing physics, lightbox, spotlight, mobile buy bar, final.
   ===================================================================== */
/* Lamps swing via --swing (set by the physics loop) instead of a CSS loop */
.xp2 .xp-hero-lamp{animation:none;transform:rotate(var(--swing,0deg))}
.xp2 .xp-hero-lamp img{touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.xp2 .xp-hero-lamp.is-grabbed img{cursor:grabbing}
.xp2 .xp-lamp img,.xp2 .xp-lamp.is-active img{animation:none;transform:rotate(var(--swing,0deg))}

/* Card spotlight */
.xp2 .xp-panel::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(320px circle at var(--sx,50%) var(--sy,0%),rgba(255,255,255,.55) 0,rgba(255,255,255,0) 60%);opacity:0;transition:opacity .4s;pointer-events:none}
.xp2 .xp-panel:hover::after{opacity:1}
.xp2 .xp-panel>*{position:relative;z-index:1}

/* Gallery slides open the lightbox */
.xp2 .xp-slide-open{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.xp2 .xp-slide-open:focus-visible{outline:3px solid var(--clay);outline-offset:-3px}
.xp2 .xp-lightbox{width:100vw;height:100svh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;overflow:hidden}
.xp2 .xp-lightbox::backdrop{background:rgba(6,18,12,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.xp2 .xp-lightbox[open]{display:grid;place-items:center;animation:xp-fade .3s ease}
@keyframes xp-fade{from{opacity:0}to{opacity:1}}
.xp2 .xp-lightbox figure{margin:0;width:min(92vw,86svh);aspect-ratio:1;border-radius:28px;overflow:hidden;box-shadow:0 40px 90px rgba(0,0,0,.5)}
.xp2 .xp-lightbox img{width:100%;height:100%;object-fit:cover;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.xp2 .xp-lb-btn{position:absolute;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .2s}
.xp2 .xp-lb-btn:hover{background:rgba(255,255,255,.28)}
.xp2 .xp-lb-close{top:18px;right:18px}
.xp2 .xp-lb-prev{left:18px;top:50%;translate:0 -50%}
.xp2 .xp-lb-next{right:18px;top:50%;translate:0 -50%}
.xp2 .xp-lb-count{position:absolute;bottom:22px;left:50%;translate:-50% 0;font-weight:800;font-size:14px;background:rgba(255,255,255,.12);padding:6px 14px;border-radius:99px}
[dir="rtl"] .xp2 .xp-lb-prev{left:auto;right:18px}
[dir="rtl"] .xp2 .xp-lb-next{right:auto;left:18px}
[dir="rtl"] .xp2 .xp-lb-close{right:auto;left:18px}
[dir="rtl"] .xp2 .xp-lb-btn .icon{transform:scaleX(-1)}
[dir="rtl"] .xp2 .xp-lb-close .icon{transform:none}

/* Final: fireflies and friends that swing on hover */
.xp2 .xp-final-inner{isolation:isolate}
.xp2 .xp-final-inner .xp-fireflies{z-index:-1}
.xp2 .xp-friends img{transform-origin:50% 0}
.xp2 .xp-friends a:hover img{animation:xp-friend .9s ease-in-out}
@keyframes xp-friend{0%,100%{transform:rotate(0)}25%{transform:rotate(9deg) translateY(-4px)}60%{transform:rotate(-6deg) translateY(-4px)}}

/* Mobile buy bar */
.xp2 .xp-buybar{position:fixed;z-index:45;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;padding:10px 10px 10px 14px;background:rgba(255,253,248,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 40px rgba(23,58,43,.22);transform:translateY(140%);transition:transform .45s var(--ease)}
.xp2 .xp-buybar.is-visible{transform:none}
.xp2 .xp-buybar-faces{display:flex;flex:none}
.xp2 .xp-buybar-faces img{width:34px;height:34px;object-fit:contain;border-radius:50%;background:var(--sun-soft);border:2px solid #fff;margin-inline-start:-10px}
.xp2 .xp-buybar-faces img:first-child{margin-inline-start:0}
.xp2 .xp-buybar-text{flex:1;min-width:0;display:grid;line-height:1.2}
.xp2 .xp-buybar-text strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xp2 .xp-buybar-text span{font-size:13px;color:var(--muted);font-weight:700}
.xp2 .xp-buybar .button{min-height:44px;padding:0 16px;font-size:14px;flex:none}
@media(min-width:900px){.xp2 .xp-buybar{display:none}}

@media(prefers-reduced-motion:reduce){
  .xp2 .xp-friends a:hover img,.xp2 .xp-lightbox[open]{animation:none}
}
.xp2 .xp-buybar-text strong{font-family:var(--serif);font-size:19px;font-weight:600;overflow:visible}
.xp2 .xp-buybar-text span{font-size:12px}

/* Light aligned with the bulbs. Positions measured on the images (bulb centre as % of the picture). */
.xp2 .xp-hero-lamp{--bx:27%;--by:89%}
.xp2 .xp-lamp[data-theme="aap"]{--bx:39%;--by:71%}
.xp2 .xp-lamp[data-theme="leeuw"]{--bx:37%;--by:86%}
.xp2 .xp-lamp[data-theme="giraffe"]{--bx:45%;--by:72%}
.xp2 .xp-lamp[data-theme="olifant"]{--bx:40%;--by:82%}
.xp2 .xp-lamp[data-theme="zebra"]{--bx:49%;--by:89%}
.xp2 .xp-lamp[data-theme="neushoorn"]{--bx:54%;--by:89%}
.xp2 .xp-lamp[data-theme="konijn"]{--bx:32%;--by:86%}
.xp2 .xp-lamp[data-theme="vos"]{--bx:31%;--by:82%}
.xp2 .xp-hero-lamp .xp-glow,.xp2 .xp-lamp .xp-glow{left:var(--bx);top:var(--by);bottom:auto;translate:-50% -50%}
.xp2 .xp-hero-lamp .xp-glow{width:160%}
.xp2 .xp-lamp .xp-glow{width:130%}
.xp2 .xp-cone{left:var(--bx);top:var(--by);width:320%;clip-path:polygon(42% 0,58% 0,100% 100%,0 100%)}
/* Story lamps swing as a whole (figure), not just the photo */
.xp2 .xp-lamp img,.xp2 .xp-lamp.is-active img{transform:none}
.xp2 .xp-lamp{rotate:var(--swing,0deg)}

.xp-slide{position:relative}
.xp-slide figcaption{position:absolute;left:14px;bottom:14px}
.xp-slide figcaption a{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:99px;background:rgba(255,255,255,.9);color:var(--ink);font-weight:800;font-size:13px;text-decoration:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .2s,color .2s}
.xp-slide figcaption a:hover{background:var(--clay,#c4531a);color:#fff}
[dir="rtl"] .xp-slide figcaption{left:auto;right:14px}
[dir="rtl"] .xp-slide figcaption .icon{transform:scaleX(-1)}

/* Direct call to action */
.xp-cta-price{font-weight:600;opacity:.85;font-size:.85em}
.xp-trust{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;margin:20px 0 0;font-size:14px;font-weight:700;color:rgba(255,255,255,.82)}
.xp-trust li{display:inline-flex;align-items:center;gap:6px}
.xp-trust .icon{color:var(--sun)}
.xp-quickbuy{display:flex;align-items:center;gap:12px;margin-top:22px;padding:8px 8px 8px 10px;max-width:440px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.xp-quickbuy img{width:44px;height:56px;object-fit:contain;flex:none;border-radius:12px;background:radial-gradient(circle at 50% 40%,#fff6de 0,#f3e2bd 85%)}
.xp-quickbuy span{display:grid;flex:1;min-width:0;line-height:1.25}
.xp-quickbuy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xp-quickbuy small{font-size:12.5px;color:rgba(255,255,255,.75)}
.xp-quickbuy .button{flex:none;min-height:42px;padding:0 16px;font-size:14px}
.xp-shop{padding:64px var(--gutter) 24px;max-width:1360px;margin:0 auto;scroll-margin-top:calc(var(--xp-top) - 20px)}
.xp-shop-head{text-align:center;max-width:620px;margin:0 auto 30px}
.xp-shop-head h2{font-size:clamp(30px,6vw,46px);font-weight:600;line-height:1.1}
.xp-shop-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.xp-shop-card{--card-bg:#cfe9d3;display:flex;flex-direction:column;border-radius:28px;overflow:hidden;background:var(--surface,#fff);box-shadow:var(--shadow-sm);transition:transform .35s var(--ease),box-shadow .35s}
.xp-shop-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(31,51,41,.16)}
.xp-shop-card[data-theme="leeuw"]{--card-bg:#ffe0a1}.xp-shop-card[data-theme="giraffe"]{--card-bg:#ffd3ae}.xp-shop-card[data-theme="olifant"]{--card-bg:#cfe2ea}.xp-shop-card[data-theme="zebra"]{--card-bg:#e1dbee}.xp-shop-card[data-theme="neushoorn"]{--card-bg:#e9ded2}.xp-shop-card[data-theme="konijn"]{--card-bg:#f4dfe0}.xp-shop-card[data-theme="vos"]{--card-bg:#dfe6cf}
.xp-shop-photo{display:grid;place-items:center;aspect-ratio:1/1.05;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.75) 0,rgba(255,255,255,0) 60%),var(--card-bg)}
.xp-shop-photo img{height:86%;width:auto;object-fit:contain;transform-origin:50% 0;transition:transform .5s var(--ease)}
.xp-shop-card:hover .xp-shop-photo img{transform:rotate(-3deg)}
.xp-shop-body{display:flex;flex-direction:column;gap:6px;padding:16px 16px 18px;flex:1}
.xp-shop-body h3{font-size:19px;margin:0;line-height:1.2}
.xp-shop-body h3 a{color:inherit;text-decoration:none}
.xp-shop-tag{margin:0;color:var(--muted);font-size:14px}
.xp-shop-price{margin:4px 0 10px;font-weight:800;font-size:20px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.xp-shop-price small{font-size:12.5px;font-weight:700}
.xp-shop-price .is-low{color:#b5521b}
.xp-shop-body form{margin-top:auto}
.xp-shop-out{margin-top:auto;color:var(--muted);font-weight:700}
@media(max-width:520px){.xp-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.xp-shop-body{padding:12px 12px 14px}.xp-shop-body h3{font-size:16px}.xp-shop-tag{display:none}.xp-shop-card .button{font-size:13px;padding:0 10px;min-height:42px}.xp-quickbuy .button{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.xp-shop-card,.xp-shop-card:hover,.xp-shop-card:hover .xp-shop-photo img{transform:none;transition:none}}

/* Shop cards: every card exactly the same layout */
.xp-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}
@media(min-width:760px){.xp-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
.xp-shop-card{height:100%}
.xp-shop-photo{position:relative;display:block;aspect-ratio:4/5;width:100%;flex:none}
.xp-shop-photo img{position:absolute;left:50%;top:6%;height:88%;width:auto;max-width:90%;translate:-50% 0;transform-origin:50% 0}
.xp-shop-card:hover .xp-shop-photo img{transform:rotate(-3deg)}
.xp-shop-body{display:grid;grid-template-rows:auto auto auto auto;align-content:start;gap:6px;flex:1}
.xp-shop-body h3{display:flex;align-items:flex-start}
@media(max-width:759px){.xp-shop-body h3{min-height:2.4em}}
.xp-shop-tag{min-height:1.4em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xp-shop-price{margin:2px 0 8px;min-height:2.6em;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px}
.xp-shop-price small{display:block;min-height:1.2em;line-height:1.2}
.xp-shop-price:not(:has(small)):after{content:"\00a0";display:block;font-size:12.5px;line-height:1.2}
.xp-shop-body form,.xp-shop-out{align-self:end}
@media(max-width:520px){.xp-shop-tag{display:block}}

/* Story, phone: a readable number on the card and the progress dots above the lamp instead of over the card edge */
.xp2 .xp-panel>.xp-index{position:absolute;top:14px;right:20px;font-size:44px;font-weight:700;opacity:1;color:var(--xp-accent);z-index:0}
[dir="rtl"] .xp2 .xp-panel>.xp-index{right:auto;left:20px}
.xp2 .xp-panel>.xp-count{padding-right:11px}
@media(max-width:899px){
  .xp2 .xp-dots{left:50%;right:auto;top:14px;translate:-50% 0;display:flex;gap:14px;align-items:center}
  [dir="rtl"] .xp2 .xp-dots{left:50%;right:auto}
  .xp2 .xp-dots::before{left:4px;right:4px;top:50%;bottom:auto;width:auto;height:2px;margin:-1px 0 0}
  .xp2 .xp-dots button[aria-current="true"]{width:30px;height:12px}
}
@media(min-width:900px){.xp2 .xp-panel>.xp-index{font-size:56px}}
/* Arabic letters are joined: an outline (text-stroke) traces every letter part separately and cuts the word into pieces. Solid tint instead. */
[dir="rtl"] .xp2 .xp-ghost{-webkit-text-stroke:0;color:color-mix(in srgb,var(--xp-ink) 10%,transparent);font-weight:700;line-height:1.3}
.xp-stock.is-preorder{color:#a8641f}
.xp-shop-price small.is-preorder{color:#a8641f}

/* =====================================================================
   Phones, every size: the story is laid out top to bottom (lamp, then
   card) so the card always fits and nothing is cut off, and the next
   section slides over the story like a sheet instead of the coloured
   stage jumping away.
   ===================================================================== */
/* One screen, the size of what is visible: the page scrolls past it like any other section. */
.xp-js .xp-stage{height:100vh;height:100svh}

@media(max-width:899px){
  /* The categories are in the menu; on the home page they only took room from the story. */
  body[data-page="home"] .category-nav{display:none}

  .xp2 .xp-stage{display:flex;flex-direction:column;padding:calc(var(--xp-top) + 14px) 0 calc(12px + env(safe-area-inset-bottom))}
  /* Order: lamp, the progress dots, then the card. */
  .xp2 .xp-dots{position:relative;order:1;top:auto;left:auto;translate:none;flex:none;align-self:center;margin:10px 0 0}
  [dir="rtl"] .xp2 .xp-dots{left:auto}
  .xp2 .xp-lamps{position:relative;inset:auto;flex:1 1 0;min-height:0}
  .xp2 .xp-lamp{top:0;height:100%}
  /* All cards share one cell: the tallest decides the height, so the lamp above never jumps. */
  .xp2 .xp-panels{position:relative;order:2;inset:auto;flex:none;height:auto;margin:12px var(--gutter) 0;display:grid}
  .xp2 .xp-panel{position:relative;inset:auto;grid-area:1/1;justify-content:flex-start;padding:16px 18px 14px;gap:4px;border-radius:24px}
  .xp2 .xp-panel>.xp-index{top:12px;right:16px;font-size:36px;line-height:1}
  [dir="rtl"] .xp2 .xp-panel>.xp-index{right:auto;left:16px}
  .xp2 .xp-count{margin-bottom:6px}
  .xp2 .xp-panel h2{font-size:clamp(24px,7.4vw,34px);overflow-wrap:anywhere}
  .xp2 .xp-tag{font-size:17px}
  .xp2 .xp-line{font-size:14.5px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
  .xp2 .xp-price{font-size:22px}
  .xp2 .xp-panel-actions{gap:2px}
  .xp2 .xp-panel-actions .button{min-height:50px}
}
/* Short screens (small phones, or a phone with the browser bars showing): the card keeps the essentials. */
@media(max-width:899px) and (max-height:720px){
  .xp2 .xp-count,.xp2 .xp-line{display:none}
  .xp2 .xp-panel{padding-top:14px}
  .xp2 .xp-panel h2{font-size:clamp(22px,6.6vw,28px);padding-inline-end:48px}
  .xp2 .xp-panel>.xp-index{font-size:30px;top:14px}
  .xp2 .xp-tag{font-size:16px}
  .xp2 .xp-panel-actions .button{min-height:46px}
  .xp2 .xp-more{padding:2px}
}

/* Shop cards on narrow phones: the button text stays on one line. */
@media(max-width:420px){
  .xp-shop-card .button{white-space:nowrap;padding:0 8px;font-size:12.5px;gap:6px}
  .xp-shop-card .button .icon{display:none}
  .xp-shop-tag{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;min-height:2.6em;line-height:1.3;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.xp-js .xp2 .xp-gallery{box-shadow:none}}
/* The friend counter is small text on a light tint: a darker shade of the accent keeps it readable. */
.xp2 .xp-count{color:color-mix(in srgb,var(--xp-accent) 78%,#000)}

/* The friends: arrows and dots in one row; the page scrolls on, sideways browses the friends. */
.xp2 .xp-nav{position:absolute;z-index:3;left:50%;bottom:24px;translate:-50% 0;display:flex;align-items:center;gap:16px}
.xp2 .xp-nav .xp-dots{position:relative;inset:auto;translate:none;display:flex;align-items:center;gap:14px;margin:0;order:0;align-self:auto}
.xp2 .xp-nav .xp-dots::before{left:4px;right:4px;top:50%;bottom:auto;width:auto;height:2px;margin:-1px 0 0}
.xp2 .xp-nav .xp-dots button[aria-current="true"]{width:30px;height:12px}
.xp-nav-btn{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--xp-ink);background:rgba(255,255,255,.6);color:var(--xp-ink);padding:0;cursor:pointer;opacity:.85;transition:opacity .2s,background .3s}
.xp-nav-btn:hover{opacity:1;background:rgba(255,255,255,.9)}
.xp-nav-btn:disabled{opacity:.25;cursor:default}
[dir="rtl"] .xp-nav-btn .icon{transform:scaleX(-1)}
@media(min-width:900px){.xp2 .xp-nav{left:6vw;translate:none}[dir="rtl"] .xp2 .xp-nav{left:auto;right:6vw}}
@media(max-width:899px){
  .xp2 .xp-nav{position:relative;order:1;left:auto;bottom:auto;translate:none;align-self:center;flex:none;margin:4px 0 0;gap:12px}
  .xp-nav-btn{width:28px;height:28px;border-width:1.5px}
  .xp-nav-btn .icon{width:14px;height:14px}
}
