/* Studio 24 Lab: demo pages. Tokens come from s24.css. */
.lab-hero { padding-top: clamp(120px, 12vw, 180px); padding-bottom: clamp(32px, 4vw, 56px); }
.lab-tag { font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 20px; }
.lab-hero h1 { font-size: clamp(44px, 7vw, 120px); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 20px; }
.lab-hero .lead { max-width: 560px; color: var(--fg-muted); font-size: clamp(17px, 1.3vw, 20px); }

/* Configurator */
.lab-config { --lab-tint: #E8762B; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 56px); align-items: center; }
.lab-stage { position: relative; height: min(78svh, 860px); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(60% 55% at 50% 45%, color-mix(in srgb, var(--lab-tint) 26%, #151515) 0%, #0a0a0a 70%); transition: background 0.6s var(--ease); }
.lab-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.lab-canvas:active { cursor: grabbing; }
.lab-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s var(--ease); }
.is-live .lab-still { opacity: 0; pointer-events: none; }
.lab-hint { position: absolute; left: 24px; bottom: 20px; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-dim); transition: opacity 0.4s var(--ease); }
.is-touched .lab-hint { opacity: 0; }
.lab-zoom { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.lab-zoom button, .lab-hot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.5); color: var(--fg); font-size: 20px; cursor: pointer; backdrop-filter: blur(8px); }
.lab-zoom button:hover, .lab-hot:hover { border-color: var(--accent-brand); }
.lab-hot { position: absolute; left: -22px; top: -22px; font-size: 0; transition: opacity 0.3s var(--ease); }
.lab-hot::before { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 6px rgba(255,255,255,0.18); }
.lab-hot.is-hidden { opacity: 0; pointer-events: none; }
.lab-hot span { position: absolute; left: 52px; top: 50%; transform: translateY(-50%); width: max-content; max-width: var(--tip-w, 200px); white-space: normal; overflow-wrap: anywhere; text-align: left; font-size: 14px; line-height: 1.3; padding: 8px 14px; border-radius: 18px; background: var(--fg); color: #000; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); }
.lab-hot.is-left span { left: auto; right: 52px; text-align: right; }
.lab-hot[aria-expanded="true"] span, .lab-hot:hover span, .lab-hot:focus-visible span { opacity: 1; }
.is-still .lab-zoom, .is-still .lab-hint, .is-still .lab-hot, .is-still .lab-panel { display: none; }
/* Live controls exist only once configurator.js has started the stage; without JS (or on failure) the still image is the whole demo */
/* Hotspots, zoom and hint wait for the live scene. The panel and the two-column grid are there from first
   paint when the browser can run the modules (html.js), so nothing jumps; without that, the still stands alone. */
.lab-config:not(.is-live) :is(.lab-hot, .lab-zoom, .lab-hint) { display: none; }
html:not(.js) .lab-config .lab-panel { display: none; }
html:not(.js) .lab-config, .lab-config.is-still { grid-template-columns: minmax(0, 1fr); }
.lab-panel { display: flex; flex-direction: column; gap: 32px; }
.lab-group h2 { font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 12px; }
.lab-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-opt { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.lab-opt:hover { border-color: var(--fg); }
.lab-opt[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
.lab-swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2); }

/* Offer and next */
.lab-offer { padding: clamp(96px, 10vw, 180px) 0 0; }
/* the section heading only: the CTA banner's h2 keeps its centred s24.css rule */
.lab-offer > .container > h2 { font-size: clamp(36px, 4.4vw, 72px); letter-spacing: -0.03em; margin: 0 0 clamp(40px, 4vw, 72px); max-width: 14ch; }
.lab-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(32px, 5vw, 96px); list-style: none; padding: 0; margin: 0 0 clamp(64px, 6vw, 112px); }
.lab-points h3 { font-size: 20px; margin: 0 0 8px; }
.lab-points p { color: var(--fg-muted); margin: 0; max-width: 46ch; }
.lab-faq { margin: 0 0 clamp(64px, 6vw, 112px); max-width: 880px; }
.lab-faq h2 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; margin: 0 0 clamp(24px, 2.5vw, 40px); }
.lab-q { border-top: 1px solid var(--line-strong); }
.lab-q:last-child { border-bottom: 1px solid var(--line-strong); }
.lab-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px, 2vw, 28px) 0; min-height: 44px; }
.lab-q summary::-webkit-details-marker { display: none; }
.lab-q summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--fg-muted); flex: none; transition: transform 0.25s var(--ease); }
.lab-q[open] summary::after { transform: rotate(45deg); }
.lab-q summary:focus-visible { outline: 2px solid var(--accent-brand); outline-offset: 4px; }
.lab-q h3 { font-size: clamp(17px, 1.5vw, 20px); margin: 0; font-weight: 500; }
.lab-q p { color: var(--fg-muted); margin: 0 0 clamp(20px, 2vw, 28px); max-width: 60ch; }
.lab-next { display: flex; justify-content: flex-end; padding: clamp(48px, 5vw, 88px) 0 clamp(96px, 10vw, 160px); }

@media (max-width: 900px) {
  .lab-config { grid-template-columns: 1fr; }
  .lab-stage { height: 62svh; }
  .lab-points { grid-template-columns: 1fr; }
}

/* Scroll film: the static layout (still, then the five steps) is the default.
   The pinned film applies only under .is-live, which scroll.js adds once the 3D stage starts. */
.lab-film { position: relative; }
.lab-film-stage { position: relative; }
.lab-film .lab-canvas { display: none; cursor: default; touch-action: auto; }
.lab-film .lab-still { position: relative; display: block; max-width: 520px; margin: 0 auto; height: auto; opacity: 1; }
.lab-steps { position: relative; display: grid; gap: 56px; padding: 48px clamp(16px, 6vw, 96px) 0; pointer-events: none; }
.lab-step { position: relative; max-width: 420px; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out); }
.lab-step .lab-n { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--fg-dim); }
.lab-step h2 { font-size: clamp(32px, 4vw, 64px); letter-spacing: -0.03em; margin: 8px 0 12px; }
.lab-step p { color: var(--fg-muted); margin: 0; }

.lab-film.is-live { height: 520svh; }
.lab-film.is-live .lab-film-stage { position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(55% 50% at 50% 50%, #241a10 0%, #0a0a0a 72%); }
.lab-film.is-live .lab-canvas { display: block; }
.lab-film.is-live .lab-still { display: none; }
.lab-film.is-live .lab-steps { position: absolute; inset: 0; display: block; padding: 0; }
.lab-film.is-live .lab-step { position: absolute; left: clamp(16px, 6vw, 96px); bottom: clamp(48px, 10svh, 120px); opacity: 0; transform: translateY(16px); }
.lab-film.is-live .lab-step.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) { .lab-film.is-live .lab-step { right: 16px; left: 16px; bottom: 32px; } }

/* Hub */
.lab-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); padding-bottom: clamp(48px, 5vw, 96px); }
.lab-card a { display: block; color: inherit; }
.lab-card-media { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(60% 55% at 50% 45%, #1f1f1f 0%, #0a0a0a 72%); margin-bottom: 28px; }
.lab-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .lab-card a:hover .lab-card-media img { transform: scale(1.04) rotate(-2deg); } }
.lab-card h2 { font-size: clamp(36px, 4vw, 64px); letter-spacing: -0.03em; margin: 0 0 8px; }
.lab-card p:not(.section-label) { color: var(--fg-muted); margin: 0 0 20px; max-width: 42ch; }
@media (max-width: 900px) { .lab-cards { grid-template-columns: 1fr; } }
/* Feature badges on a Lab card: quiet mono pills, AR picked out in the brand accent */
.lab-badges { position: absolute; left: 18px; top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.lab-badge { font-family: 'Geist Mono', monospace; font-size: 11px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 10px 6px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.16); background: rgba(10,10,10,0.55); color: rgba(255,255,255,0.8); }
.lab-badge--ar { border-color: var(--accent-brand-line); color: var(--accent-brand-soft); }

/* ---------- FÄRD shoppable hero (lab-shop). Static by default; .is-live once shop.js has the 3D stage running. */
.shop { --shop-tint: #3E5872; --shop-accent: #94a3b3; position: relative; height: 100svh; min-height: 720px; max-height: 1400px; overflow: hidden; background: #0b0b0b; }
.shop-bg { position: absolute; inset: -16px; z-index: 0; will-change: transform; }
.shop-bg-layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.02);
  transition: opacity 0s linear 0.9s, transform 0s linear 0.9s; }
.shop-bg-layer.is-on, .shop-bg-layer.is-loaded { background-image: var(--img-d); }
.shop-bg-layer.is-on { z-index: 1; opacity: 1; transform: scale(1.07); transition: opacity 0.9s var(--ease), transform 1.8s var(--ease-out); }
.shop-tint { position: absolute; inset: 0; z-index: 2; background-color: var(--shop-tint); mix-blend-mode: color; opacity: 0.92; transition: background-color 0.9s var(--ease); }
.shop-shade { position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 34%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.5) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 62%, rgba(0,0,0,0.72) 100%),
    color-mix(in srgb, var(--shop-tint) 22%, rgba(0,0,0,0.28)); transition: background-color 0.9s var(--ease); }
.shop-stage { position: absolute; inset: 0; z-index: 1; }
.shop-stage .lab-canvas { position: absolute; inset: 0; display: none; }
.shop.is-live .shop-stage .lab-canvas { display: block; }
.shop-stage .lab-still { width: auto; height: 68%; left: 41%; top: auto; bottom: 7%; transform: translateX(-50%); }
.shop.is-live .shop-stage .lab-still { display: none; }
.shop-hint { position: absolute; left: 41%; bottom: 3.2%; transform: translateX(-50%); margin: 0; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); transition: opacity 0.4s var(--ease); pointer-events: none; }
.shop:not(.is-live) .shop-hint, .is-touched .shop-hint { opacity: 0; }
.shop-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 48px; pointer-events: none; }
.shop-head { align-self: start; padding-top: clamp(120px, 14svh, 180px); max-width: 760px; }
.shop-head .lab-tag { color: rgba(255,255,255,0.7); }
.shop-head h1 { font-size: clamp(48px, 7vw, 132px); line-height: 0.92; letter-spacing: -0.045em; margin: 0 0 18px; }
.shop-head .lead { margin: 0; max-width: 380px; color: rgba(255,255,255,0.78); font-size: clamp(16px, 1.15vw, 19px); }
.shop-panel { pointer-events: auto; align-self: center; margin-top: 56px; padding: 28px; border-radius: var(--radius-card); background: rgba(12,12,12,0.52); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); display: flex; flex-direction: column; gap: 22px; }
html:not(.js) .shop-panel, html:not(.js) .shop-chips { display: none; }
.shop-kicker { margin: 0; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--shop-accent); transition: color 0.9s var(--ease); }
.shop-group h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.shop-group h2 label { cursor: pointer; }
.shop-chosen { font-family: 'Geist', sans-serif; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--fg); }
.shop-swatches { display: flex; gap: 14px; }
.shop-swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--sw) 70%, #fff) 0%, var(--sw) 46%, color-mix(in srgb, var(--sw) 72%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 2px 8px rgba(0,0,0,0.35); transition: transform 0.25s var(--ease-out); }
.shop-swatch::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color 0.25s var(--ease); }
.shop-swatch:hover { transform: scale(1.06); }
.shop-swatch[aria-pressed="true"]::after { border-color: var(--fg); }
.shop-swatch:focus-visible, .shop-size:focus-visible { outline: 2px solid rgba(255,255,255,0.92); outline-offset: 4px; }
.shop-swatch:focus-visible { outline-offset: 8px; }
.shop-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-size { min-height: 48px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.22); background: transparent; color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.shop-size:hover { border-color: var(--fg); }
.shop-size[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
.shop-initials { width: 100%; height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.22); background: rgba(0,0,0,0.3); color: var(--fg);
  font-family: 'Geist Mono', monospace; font-size: 18px; letter-spacing: 0.32em; text-transform: uppercase; transition: border-color 0.25s var(--ease); }
.shop-initials::placeholder { color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: none; font-size: 15px; }
.shop-initials:focus { outline: none; border-color: var(--fg); }
.shop-help { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,0.55); }
.shop-buyrow { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.shop-price { margin: 0; display: flex; align-items: baseline; gap: 10px; color: var(--fg); }
.shop-price [data-price] { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.shop-price small { font-size: 13px; color: rgba(255,255,255,0.55); }
.shop-add, .shop-buy { min-height: 56px; border: 0; border-radius: var(--radius-pill); background: var(--fg); color: #000; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: transform 0.25s var(--ease-out), background 0.25s var(--ease); }
.shop-add:hover:not(:disabled), .shop-buy:hover { background: var(--shop-accent); transform: translateY(-1px); }
.shop-add:disabled { opacity: 0.4; cursor: default; }
/* AR: the link (iPhone, Android) and the QR button (everywhere else) share one quiet outlined pill under Add to bag */
.shop-ar { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.26); background: transparent; color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.shop-ar:hover { border-color: var(--fg); background: rgba(255,255,255,0.06); }
.shop-ar[hidden] { display: none; }
.shop-ar img, .shop-ar-icon { width: 20px; height: 20px; flex: none; }
.shop-add:focus-visible, .shop-ar:focus-visible, .shop-chip:focus-visible, .shop-ar-open:focus-visible { outline: 2px solid rgba(255,255,255,0.92); outline-offset: 3px; }

/* Feature chips under the lead: small, quiet, the accent only on hover */
/* two short rows of two: the row stays clear of the case at every desktop width */
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; max-width: 312px; pointer-events: auto; }
.shop-chip { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(10,10,10,0.28); color: rgba(255,255,255,0.84); font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease); }
.shop-chip::after { content: ''; position: absolute; inset: -4px 0; }   /* a 44px tall hit area */
.shop-chip .shop-ar-icon { width: 16px; height: 16px; margin-left: -3px; }
.shop-chip:hover { border-color: var(--shop-accent); color: var(--shop-accent); background: rgba(10,10,10,0.4); }

/* ?ar=open (a phone that scanned the QR): the AR link itself, big, at the top of the hero */
.shop-ar-open { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 0; min-height: 60px; padding: 0 26px; max-width: 420px;
  border-radius: var(--radius-pill); background: var(--fg); color: #000; font-size: 17px; font-weight: 500; animation: shop-pulse 2.6s var(--ease-out) infinite; }
.shop-ar-open[hidden] { display: none; }
.shop-ar-open img { width: 24px; height: 24px; flex: none; filter: invert(1); }
.shop-ar-open:not([hidden]) + .shop-chips { display: none; }
@keyframes shop-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }

/* QR dialog: the box fills the dialog, so a click on the dialog element is a click outside */
.shop-qr { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; background: transparent; color: var(--fg); max-width: calc(100vw - 32px); max-height: calc(100svh - 32px); overflow: visible; }
.shop-qr::backdrop { background: rgba(0,0,0,0.6); }
.shop-qr-box { position: relative; width: 360px; max-width: 100%; padding: 40px 32px 30px; border-radius: var(--radius-card); background: #121212; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55); text-align: center; }
.shop-qr[open] .shop-qr-box { animation: shop-qr-in 0.4s var(--ease-out); }
.shop-qr[open]::backdrop { animation: shop-fade 0.3s var(--ease); }
@keyframes shop-qr-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes shop-fade { from { opacity: 0; } }
.shop-qr-x { position: absolute; top: 12px; right: 12px; margin: 0; }
.shop-qr-x:focus-visible { outline: 2px solid rgba(255,255,255,0.92); outline-offset: 2px; }
.shop-qr-code { width: 224px; aspect-ratio: 1; margin: 0 auto 26px; border-radius: 16px; overflow: hidden; background: #fff; }
.shop-qr-code svg { display: block; width: 100%; height: 100%; }
.shop-qr h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.01em; }
.shop-qr p { margin: 0 auto; font-size: 15px; color: rgba(255,255,255,0.66); text-wrap: balance; }
.shop-qr .shop-qr-variant { margin-top: 18px; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--shop-accent); }
.lab-faq { scroll-margin-top: 96px; }
.lab-faq h2:focus { outline: none; }

/* Mini-cart */
.shop-cart { position: fixed; z-index: 1001; top: 88px; right: 16px; width: min(400px, calc(100vw - 32px)); padding: 24px; border-radius: var(--radius-card); background: #121212; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55); display: flex; flex-direction: column; gap: 18px;
  transform: translateX(calc(100% + 32px)); visibility: hidden; transition: transform 0.55s var(--ease-out), visibility 0s linear 0.55s; }
.shop-cart.is-open { transform: none; visibility: visible; transition: transform 0.55s var(--ease-out); }
.shop-cart-head { display: flex; justify-content: space-between; align-items: center; }
.shop-cart-head h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.shop-cart-x { width: 44px; height: 44px; margin: -10px -10px -10px 0; border-radius: 50%; border: 0; background: transparent; color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer; }
.shop-cart-x:hover { background: rgba(255,255,255,0.08); }
.shop-cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.shop-cart-thumb { width: 64px; height: 80px; border-radius: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--sw) 80%, #fff) 0%, var(--sw) 45%, color-mix(in srgb, var(--sw) 70%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); position: relative; }
.shop-cart-thumb::before { content: ''; position: absolute; left: 22%; right: 22%; top: 14%; bottom: 14%; background: repeating-linear-gradient(90deg, transparent 0 18%, rgba(0,0,0,0.16) 18% 22%); border-radius: 4px; }
.shop-cart-name { margin: 0 0 8px; color: var(--fg); font-weight: 500; }
.shop-cart-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.shop-cart-dl dt { color: rgba(255,255,255,0.5); }
.shop-cart-dl dd { margin: 0; color: var(--fg); }
.shop-cart-total { display: flex; justify-content: space-between; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--fg); font-size: 18px; font-weight: 500; }
.shop-cart-note { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Scroll story: same sticky technique as the NORR film */
.shop-film.is-live { height: 440svh; }
.shop-film.is-live .lab-film-stage { background: radial-gradient(60% 60% at 64% 52%, color-mix(in srgb, var(--shop-tint, #3E5872) 34%, #151515) 0%, #0a0a0a 74%); }
.shop-film .lab-still { max-width: 440px; }
.shop-film.is-static .lab-steps { padding-bottom: 32px; }
.shop-film.is-live .lab-step { top: 50%; bottom: auto; transform: translateY(calc(-50% + 16px)); max-width: 400px; }
.shop-film.is-live .lab-step.is-on { transform: translateY(-50%); }
.shop-film .lab-step p { max-width: 38ch; }
.shop-buy { margin-top: 28px; padding: 0 28px; pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; }
.shop-buy span { opacity: 0.6; }
.shop-film.is-live .lab-step:not(.is-on) .shop-buy { pointer-events: none; }
.shop-callouts { display: none; }
.shop-film.is-live .shop-callouts { display: block; position: absolute; inset: 0; pointer-events: none; }
.shop-callout { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-size: 14px; color: var(--fg); padding-left: 26px; margin-top: -11px; line-height: 22px; }
.shop-callout::before { content: ''; position: absolute; left: -5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 5px rgba(255,255,255,0.18); }
.shop-callout::after { content: ''; position: absolute; left: 8px; top: 11px; width: 12px; height: 1px; background: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .shop { height: auto; min-height: 0; max-height: none; display: grid; grid-template-areas: "head" "stage" "panel"; grid-template-rows: auto 46svh auto; padding-bottom: 32px; }
  .shop-bg-layer.is-on, .shop-bg-layer.is-loaded { background-image: var(--img-m); }
  .shop-bg { inset: 0; }
  .shop-shade { background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 26%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.88) 100%),
    color-mix(in srgb, var(--shop-tint) 22%, rgba(0,0,0,0.28)); }
  .shop-inner { display: contents; }
  .shop-head { grid-area: head; position: relative; z-index: 2; padding: 104px 16px 0; pointer-events: none; }
  .shop-head h1 { font-size: clamp(44px, 13vw, 72px); margin-bottom: 10px; }
  .shop-head .lead { font-size: 16px; max-width: 34ch; }
  .shop-stage { grid-area: stage; position: relative; inset: auto; }
  .shop-stage .lab-still { left: 50%; height: 92%; bottom: 2%; }
  .shop-hint { left: 50%; bottom: 0; }
  .shop-panel { grid-area: panel; position: relative; z-index: 2; margin: 8px 16px 0; padding: 22px 20px; }
  .shop-cart { top: auto; bottom: 12px; right: 12px; width: calc(100vw - 24px); transform: translateY(calc(100% + 24px)); }
  .shop-film.is-live .lab-step { top: auto; bottom: 32px; transform: translateY(16px); }
  .shop-film.is-live .lab-step.is-on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-bg-layer, .shop-bg-layer.is-on { transform: none; transition: opacity 0.3s linear; }
  .shop-ar-open, .shop-qr[open] .shop-qr-box, .shop-qr[open]::backdrop { animation: none; }
}
.shop-qr-hint { margin: 12px 0 0; color: var(--fg-muted); font-size: 16px; line-height: 1.5; }
