/* عربيتنا · the luxury layer of the storefront (round 16). Loaded after store.css on every shop page, /stickers and /activate.
   Dark matte ground with the asphalt texture, cinematic photographs, large Alexandria display type, hairlines, generous
   spacing. Motion is CSS first (store-motion.js only toggles states); every moving part has a calm twin under
   prefers-reduced-motion and html.lx-calm (Save-Data), and nothing moves layout: transform and opacity only.
   The founder's law: no glow or neon, no gradient on UI, no dashed dividers, nothing oversized, no fixed bar at the
   bottom of a phone, 44 px targets, RTL. The one gradient here is the soft highlight that crosses a product's glass
   on hover (a reflection, not a fill). */

:root {
    --maxw: 1240px;
    --sec-pad: 72px;
    --plinth: #0b0b0c;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
    --rule: rgba(233, 228, 216, 0.11);
}
@media (min-width: 640px) { :root { --sec-pad: 92px; } }
@media (min-width: 1024px) { :root { --sec-pad: 120px; } }

/* ── ground ───────────────────────────────────────────────────────────────────────────────── */
body {
    background: var(--ground) url('../img/store/texture-asphalt.webp') repeat;
    background-size: 600px 600px;
    caret-color: var(--red);
}
.bar { background: rgba(14, 14, 15, 0.96); }
.bar-nav a { position: relative; }
.bar-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--paint); }
.bar-activate { display: none !important; }
@media (min-width: 640px) { .bar-activate { display: inline-flex !important; } }

/* ── type and rhythm ──────────────────────────────────────────────────────────────────────── */
.lx-sec { position: relative; padding-block: var(--sec-pad); }
.lx-sec + .lx-sec { border-top: 1px solid var(--line); }
.lx-sec--tight { padding-block: calc(var(--sec-pad) * 0.6); }
.lx-head { display: grid; align-content: start; gap: 16px; margin-bottom: 40px; }
.lx-head h2, .lx-h2 { font: 800 clamp(30px, 2.5vw + 18px, 56px) / 1.34 var(--f-display); letter-spacing: 0; }
.lx-lede { max-width: 34em; color: var(--ink-2); font-size: clamp(16.5px, 0.4vw + 15px, 19px); line-height: 1.95; }
@media (min-width: 1024px) {
    .lx-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 72px; margin-bottom: 64px; }
    .lx-head--solo { grid-template-columns: minmax(0, 760px); }
}
.lx-split { display: grid; gap: 36px; }
@media (min-width: 1024px) {
    .lx-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 88px; align-items: start; }
    .lx-split > .lx-head { position: sticky; top: calc(var(--bar-h) + 32px); margin-bottom: 0; grid-template-columns: 1fr; }
}
.lx-note { color: var(--ink-3); font-size: 13.5px; line-height: 1.8; }
.lx-note--gap { margin-top: 20px; }
.lx-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); text-underline-offset: 6px; transition: text-decoration-color 150ms var(--ease-out); }
.lx-link:hover { text-decoration-color: var(--paint); color: var(--ink); }
.lx-link .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease-out); }
.lx-link:hover .arr { transform: translateX(-3px); }

/* the label every AI picture wears */
.lx-ai { position: absolute; z-index: 4; inset-block-end: 12px; inset-inline-start: 12px; padding: 2px 9px 3px; border-radius: 5px; background: rgba(14, 14, 15, 0.8); box-shadow: inset 0 0 0 1px rgba(233, 228, 216, 0.28); color: var(--ink-2); font: 600 11.5px/1.6 var(--f-text); pointer-events: none; }

/* ── hero: a photograph with the headline on the quiet side ───────────────────────────────── */
.lx-hero { position: relative; isolation: isolate; overflow: clip; border-bottom: 1px solid var(--line); }
.lx-hero-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--plinth); }
.lx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); transform-origin: 30% 60%; }
.lx-hero-img.is-alt { opacity: var(--alt, 0); }
.lx-hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 15, 0.2); }
.lx-hero-in { position: relative; z-index: 2; padding-block: 36px 40px; }
.lx-hero-copy { display: grid; justify-items: start; max-width: 640px; }
.lx-h1 { font: 900 clamp(35px, 2.9vw + 21px, 64px) / 1.32 var(--f-display); text-wrap: balance; }
.lx-h1 .lx-line { display: block; }
.lx-h1--long { font-size: clamp(32px, 2.1vw + 21px, 52px); }
.lx-hero-lede { margin-top: 20px; max-width: 30em; color: var(--ink-2); font-size: clamp(16.5px, 0.4vw + 15px, 20px); line-height: 1.95; }
.lx-hero .actions-row { margin-top: 30px; }
.lx-hero-quiet { margin-top: 14px; color: var(--ink-3); font-size: 14.5px; }
.lx-hero-quiet a { color: var(--ink); font-weight: 600; text-underline-offset: 5px; }
@media (min-width: 900px) {
    .lx-hero { min-height: clamp(560px, 46vw, 780px); display: grid; align-items: center; }
    .lx-hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
    .lx-hero-media::after { background: rgba(14, 14, 15, 0.54); }
    .lx-hero-img { object-position: 8% 50%; }
    .lx-hero-in { width: min(100% - 2 * var(--gutter), 1480px); padding-block: 88px; }
}
@keyframes lx-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes lx-fade { from { opacity: 0; } to { opacity: 1; } }
.lx-hero-copy > * { animation: lx-rise 900ms var(--ease-out) both; }
.lx-hero-copy > :nth-child(1) { animation-delay: 80ms; }
.lx-hero-copy > :nth-child(2) { animation-delay: 220ms; }
.lx-hero-copy > :nth-child(3) { animation-delay: 340ms; }
.lx-hero-copy > :nth-child(4) { animation-delay: 440ms; }
.lx-hero-media { animation: lx-fade 700ms var(--ease-out) both; }

/* the three honest facts under the hero */
.lx-facts { display: grid; border-bottom: 1px solid var(--line); background: rgba(14, 14, 15, 0.72); }
.lx-facts li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 0; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.lx-facts li + li { border-top: 1px solid var(--line); }
.lx-facts .ic { font-size: 22px; color: var(--paint); }
@media (min-width: 720px) {
    .lx-facts { grid-template-columns: repeat(3, 1fr); }
    .lx-facts li { padding-inline: 28px; }
    .lx-facts li + li { border-top: 0; border-inline-start: 1px solid var(--line); }
    .lx-facts li:first-child { padding-inline-start: 0; }
}
.lx-jump { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.lx-jump::-webkit-scrollbar { display: none; }
.lx-jump a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: border-color 150ms var(--ease-out), color 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.lx-jump a:hover { border-color: var(--paint); color: var(--ink); background: rgba(233, 228, 216, 0.05); }

/* ── reveals: CSS holds the hidden state only while a script can lift it, with a failsafe ──── */
@keyframes lx-failsafe { to { opacity: 1; transform: none; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    [data-reveal] { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); animation: lx-failsafe 0s linear 3.4s forwards; }
    [data-reveal].is-in { opacity: 1; transform: none; animation: none; }
    html.lx-calm [data-reveal] { transition: none; }
}

/* ── the product grid: framed like a code in a scanner, lit like glass ────────────────────── */
.grid { gap: 36px 16px; }
.tile-link { gap: 16px; }
.tile-stage { aspect-ratio: 4 / 5; background: var(--plinth); box-shadow: inset 0 0 0 1px var(--line); transition: transform 520ms var(--ease-out), box-shadow 250ms var(--ease-out); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tile-stage.is-tracking { transition: transform 90ms linear, box-shadow 250ms var(--ease-out); }
.tile-img { padding: 8%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5)); transition: transform 600ms var(--ease-out); }
.tile-img.is-photo { padding: 0; object-fit: cover; filter: none; }
.tile-img.is-wide { padding: 6%; }
.tile-gloss { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0) 68%); background-size: 280% 100%; background-position: calc(var(--gx, 0.5) * 100%) 0; transition: opacity 350ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .tile-link:hover .tile-stage { box-shadow: inset 0 0 0 1px rgba(233, 228, 216, 0.3); }
    .tile-link:hover .tile-img { transform: scale(1.03); }
    .tile-link:hover .tile-gloss { opacity: 1; }
}
.tile-link:hover .tile-img.is-photo { transform: scale(1.03); }
.tile-name { font: 700 clamp(16px, 0.4vw + 14.5px, 19px) / 1.5 var(--f-display); }
.tile .price { font-size: 20px; }
.tile-meta { align-items: center; }
.tile-note { margin-top: 28px; color: var(--ink-3); font-size: 13.5px; }
.lx-shopnote { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ── how it works: three steps, the phone changes with the one in view ───────────────────── */
.lx-seq { display: grid; gap: 36px; }
.lx-steps { display: grid; }
.lx-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 18px; padding: 30px 0; border-top: 1px solid var(--line); }
.lx-step:last-child { border-bottom: 1px solid var(--line); }
.lx-step-n { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 50%; color: var(--ink-2); font: 800 15px/1 var(--f-display); transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.lx-step h3 { font: 800 clamp(22px, 1.3vw + 16px, 32px) / 1.4 var(--f-display); }
.lx-step p { margin-top: 6px; max-width: 30em; color: var(--ink-2); font-size: 16.5px; line-height: 1.9; }
.lx-step > div { grid-column: 2; }
.lx-step-fig { grid-column: 2; margin: 18px 0 0; }
.lx-step-fig img, .lx-frame img { display: block; width: min(100%, 330px); height: auto; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lx-scan { position: relative; display: block; grid-column: 2; width: 120px; height: 120px; margin-top: 16px; overflow: hidden; border-radius: 8px; background: var(--plinth); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lx-scan img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the scan line: a box as tall as the sticker whose bottom edge is the line, so the sweep is a percentage of any size */
.lx-scan-line { position: absolute; inset: 0; border-bottom: 2px solid var(--paint); opacity: 0; transform: translateY(-100%); animation: lx-sweep 3600ms var(--ease-io) infinite; animation-play-state: paused; }
.lx-scan.is-live .lx-scan-line { animation-play-state: running; }
.lx-scan--lg { grid-column: auto; width: 100%; max-width: none; height: auto; aspect-ratio: 1; margin: 0; border-radius: 10px; }
@keyframes lx-sweep {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.95; }
    55% { transform: translateY(0); opacity: 0.95; }
    64% { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
.lx-seq-stage { display: none; }
@media (min-width: 1024px) {
    .lx-seq { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 104px; align-items: start; }
    .lx-step { min-height: 34vh; align-content: center; }
    .lx-seq.is-live .lx-step { opacity: 0.4; transition: opacity 500ms var(--ease-out); }
    .lx-seq.is-live .lx-step.is-active { opacity: 1; }
    .lx-seq.is-live .lx-step.is-active .lx-step-n { background: var(--paint); border-color: var(--paint); color: var(--ground); }
    .lx-step-fig { display: none; }
    .lx-seq-stage { display: block; position: sticky; top: calc(var(--bar-h) + 44px); aspect-ratio: 4 / 5; }
    .lx-frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translate3d(0, 16px, 0) scale(0.985); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
    .lx-frame:first-child { opacity: 1; transform: none; }
    .lx-seq.is-live .lx-frame:first-child:not(.is-active) { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.985); }
    .lx-frame.is-active, .lx-seq.is-live .lx-frame.is-active { opacity: 1; transform: none; }
    .lx-frame img { width: 100%; }
}

/* ── the film: a muted loop from the ad, only while it is in view ─────────────────────────── */
.lx-film { display: grid; gap: 36px; align-items: center; }
.lx-video { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lx-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-video-btn { position: absolute; z-index: 5; inset-block-end: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(14, 14, 15, 0.82); box-shadow: inset 0 0 0 1px rgba(233, 228, 216, 0.3); color: var(--ink); cursor: pointer; transition: background-color 150ms var(--ease-out), scale 150ms var(--ease-out); }
.lx-video-btn:hover { background: rgba(14, 14, 15, 0.96); }
.lx-video-btn:active { scale: 0.96; }
.lx-video-btn .ic { font-size: 20px; fill: currentColor; stroke: none; }
.lx-video-btn .i-pause { fill: none; stroke: currentColor; stroke-width: 2.4; }
.lx-video-btn .i-play, .lx-video.is-paused .lx-video-btn .i-pause { display: none; }
.lx-video.is-paused .lx-video-btn .i-play { display: block; }
html:not(.js) .lx-video-btn { display: none; }
.lx-film .lx-copy { display: grid; justify-items: start; gap: 18px; }
.lx-film .lx-copy p { max-width: 30em; color: var(--ink-2); font-size: 17px; line-height: 1.95; }
@media (min-width: 900px) {
    .lx-film { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 96px; }
}

/* ── stories: two photographs, one caption each ───────────────────────────────────────────── */
.lx-story { display: grid; gap: 40px; }
.lx-shot { position: relative; margin: 0; }
.lx-shot-frame { position: relative; overflow: hidden; background: var(--plinth); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lx-shot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.lx-shot figcaption { display: grid; gap: 4px; margin-top: 16px; }
.lx-shot figcaption b { color: var(--ink); font: 700 clamp(19px, 0.8vw + 15px, 25px) / 1.5 var(--f-display); }
.lx-shot figcaption span { color: var(--ink-2); font-size: 16px; line-height: 1.8; }
@media (min-width: 900px) {
    .lx-story { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: end; }
    .lx-shot:nth-child(2) .lx-shot-frame img { aspect-ratio: 4 / 5; }
}

/* ── editorial definition rows: privacy, control, notifications ───────────────────────────── */
.lx-defs { display: grid; border-top: 1px solid var(--line); }
.lx-def { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.lx-def > .ic { width: 28px; height: 28px; margin-top: 4px; color: var(--paint); stroke-width: 1.6; }
.lx-def h3 { font: 700 clamp(18px, 0.6vw + 15px, 22px) / 1.5 var(--f-display); }
.lx-def p { grid-column: 2; max-width: 34em; margin-top: 2px; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.lx-def .stamp { margin-inline-start: 8px; vertical-align: middle; }
@media (min-width: 900px) {
    .lx-defs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
}
.lx-defs--one { grid-template-columns: 1fr; }
.lx-pair { display: grid; gap: 40px; }
@media (min-width: 1024px) { .lx-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }

/* ready messages: what the person who scans can pick */
.lx-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lx-preset { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(21, 21, 22, 0.85); color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.lx-preset .ico, .lx-preset .bay-ico { flex: none; width: 26px; height: 26px; color: var(--paint); fill: currentColor; }
.lx-preset .stamp { margin-inline-start: auto; font-size: 11.5px; padding: 0 7px; rotate: 0deg; border-color: rgba(227, 38, 47, 0.7); color: var(--red-ink); }
.lx-preset.is-urgent { border-color: rgba(227, 38, 47, 0.5); }
@media (min-width: 640px) { .lx-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 399.98px) { .lx-presets { grid-template-columns: 1fr; } }
.lx-sub { margin-top: 36px; margin-bottom: 14px; color: var(--ink); font: 700 clamp(18px, 0.6vw + 15px, 22px) / 1.5 var(--f-display); }
.lx-sub + .lx-note { margin-top: -6px; margin-bottom: 14px; }
.lx-stages { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.lx-stages li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.lx-stages li > b { grid-column: 2; color: var(--ink); font-weight: 600; }
.lx-stages .ic { grid-row: 1 / span 2; font-size: 22px; color: var(--paint); }

/* ── installing and activating: numbered rows ─────────────────────────────────────────────── */
.lx-rows { display: grid; counter-reset: lxr; border-top: 1px solid var(--line); }
.lx-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: lxr; }
.lx-row::before { content: counter(lxr); display: grid; place-items: center; grid-row: 1 / span 2; width: 36px; height: 36px; border: 1.5px solid var(--paint); border-radius: 50%; color: var(--paint); font: 800 14px/1 var(--f-display); }
.lx-row h3 { font: 700 clamp(18px, 0.6vw + 15px, 22px) / 1.5 var(--f-display); }
.lx-row p { grid-column: 2; max-width: 34em; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.lx-row p b { color: var(--ink); font-weight: 600; }

/* the app's doors: the file, the web app, the deep link */
.lx-doors { display: grid; gap: 12px; margin-top: 8px; }
.lx-door { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(21, 21, 22, 0.88); color: var(--ink); text-decoration: none; transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.lx-door:hover { border-color: var(--paint); background: rgba(233, 228, 216, 0.05); color: var(--ink); }
.lx-door > .ic { font-size: 26px; color: var(--paint); }
.lx-door b { font: 700 17px/1.5 var(--f-display); }
.lx-door small { grid-column: 2; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.lx-door .arr { width: 18px; height: 18px; grid-row: 1 / span 2; grid-column: 3; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease-out); }
.lx-door:hover .arr { transform: translateX(-3px); stroke: var(--ink); }
.lx-door.is-off { opacity: 0.55; cursor: default; }
.lx-door.is-off:hover { border-color: var(--line-2); background: rgba(21, 21, 22, 0.88); }

/* the code field */
.lx-code { display: grid; gap: 10px; }
.lx-code-row { display: flex; gap: 10px; }
.lx-code-row .input { flex: 1; min-width: 0; min-height: 58px; font: 800 24px/1.2 var(--f-display); letter-spacing: 0.14em; text-align: center; text-transform: uppercase; direction: ltr; }
.lx-code-row .input::placeholder { color: #55524e; letter-spacing: 0.14em; }
.lx-code-row .btn { flex: none; min-height: 58px; }
.lx-code .field-err { color: var(--red-ink); font-size: 15px; line-height: 1.7; }
.lx-code-hint { color: var(--ink-3); font-size: 14px; line-height: 1.8; }
@media (max-width: 479.98px) {
    .lx-code-row { flex-direction: column; }
    .lx-code-row .btn { width: 100%; }
}

/* ── closing band: one photograph, one line, the action ───────────────────────────────────── */
.lx-finale { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.lx-finale-media { position: absolute; inset: 0; z-index: -1; background: var(--plinth); }
.lx-finale-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.lx-finale-media::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 15, 0.7); }
.lx-finale-in { display: grid; justify-items: start; gap: 18px; padding-block: var(--sec-pad); }
.lx-finale h2 { font: 900 clamp(32px, 3.4vw + 16px, 66px) / 1.3 var(--f-display); max-width: 14em; }
.lx-finale p { max-width: 30em; color: var(--ink-2); font-size: 17.5px; line-height: 1.9; }

/* ── the SMS panel, plans and «soon» ──────────────────────────────────────────────────────── */
.lx-soon { display: grid; justify-items: start; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lx-soon p { max-width: 34em; color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.stamp-soon { border-color: var(--amber); color: var(--amber-ink); rotate: -2deg; }

/* ── payment and shipping chips on the pages that explain them ───────────────────────────── */
.lx-terms { margin-top: 0; }

/* ── a product page ───────────────────────────────────────────────────────────────────────── */
.pdp-page { padding-top: 12px; }
.pdp { gap: 32px; }
.gal-stage { aspect-ratio: 4 / 5; background: var(--plinth); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.gal-stage[data-shape="square"] { aspect-ratio: 1; }
.gal-stage[data-shape="landscape"] { aspect-ratio: 4 / 3; }
.gal-stage[data-shape="wide"] { aspect-ratio: 16 / 9; }
.gal-stage::before { z-index: 5; }
.gal-slide { position: relative; }
.gal.is-zoomed .gal-stage { touch-action: none; }
.gal-slide { display: grid; place-items: center; background: var(--plinth); }
.gal-slide img { width: 100%; height: 100%; padding: 0; object-fit: contain; filter: none; }
.gal-slide img.is-wide { padding: 0; }
.gal-slide img.is-sticker { padding: 7%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)); }
.gal.is-fade .gal-track { display: block; position: relative; overflow: hidden; scroll-snap-type: none; }
.gal.is-fade .gal-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 520ms var(--ease-out), visibility 0s linear 520ms; }
.gal.is-fade .gal-slide.is-current { opacity: 1; visibility: visible; transition: opacity 520ms var(--ease-out), visibility 0s; }
.gal.is-fade .gal-slide img { transition: transform 420ms var(--ease-out); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gal.is-fade.is-zoomed .gal-slide.is-current img { transform: scale(2); }
.gal.is-fade .gal-stage { cursor: zoom-in; }
.gal.is-fade.is-zoomed .gal-stage { cursor: zoom-out; }
.gal-zoom { position: absolute; z-index: 5; inset-block-start: 20px; inset-inline-end: 20px; display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(14, 14, 15, 0.82); box-shadow: inset 0 0 0 1px rgba(233, 228, 216, 0.3); color: var(--ink); cursor: pointer; }
.gal.is-fade .gal-zoom { display: grid; }
.gal-zoom .ic { font-size: 20px; }
.gal-zoom:active { scale: 0.96; }
.gal-thumbs { gap: 10px; margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs li { flex: none; }
.gal-thumb { position: relative; display: grid; gap: 6px; width: 84px; height: auto; background: none; box-shadow: none; color: var(--ink-3); text-decoration: none; }
.gal-thumb-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--plinth); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 150ms var(--ease-out); }
.gal-thumb-img img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.gal-thumb-name { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.4; }
.gal-thumb:hover .gal-thumb-img { box-shadow: inset 0 0 0 1px #5a5a60; }
.gal-thumb[aria-current="true"] { color: var(--ink); box-shadow: none; }
.gal-thumb[aria-current="true"] .gal-thumb-img { box-shadow: inset 0 0 0 2px var(--paint); }
.gal-thumb-img.is-drawn img { object-fit: contain; padding: 6px; }
@media (min-width: 1024px) {
    /* the gallery column is the tall one (pictures, then the facts), so the purchase panel has room to stay with the reader */
    .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "gal buy" "deck buy"; grid-template-rows: auto 1fr; gap: 0 80px; }
    .pdp-gallery { grid-area: gal; }
    .pdp-buy { grid-area: buy; align-self: start; }
    .pdp-deck { grid-area: deck; align-self: start; margin-top: 32px; }
    .gal-thumb { width: 96px; }
    .pdp-buy { top: calc(var(--bar-h) + 28px); }
}
@media (max-width: 1023.98px) { .pdp-buy { position: static; } }

.pdp-name { font: 900 clamp(28px, 1.8vw + 20px, 44px) / 1.36 var(--f-display); }
.pdp-sub { margin-top: 8px; font-size: 17.5px; }
.pdp-price { margin-top: 22px; }
.price--xl { font-size: 40px; }
.pdp-flags { margin-top: 16px; }
.pdp-deck { display: grid; margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--line); }
.pdp-deck li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }
.pdp-deck b { color: var(--ink); font-weight: 600; text-align: end; }

.swatches { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sw-list { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 12px 10px; }
.sw-link { padding: 0; box-shadow: none; gap: 8px; }
.sw-thumb { aspect-ratio: 4 / 5; background: var(--plinth); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 150ms var(--ease-out); }
.sw-thumb img { padding: 0; object-fit: cover; }
.sw-thumb img.is-drawn { padding: 6px; object-fit: contain; }
.sw-link:hover { box-shadow: none; }
.sw-link:hover .sw-thumb { box-shadow: inset 0 0 0 1px #5a5a60; }
.sw.is-current .sw-link { box-shadow: none; }
.sw.is-current .sw-thumb { box-shadow: inset 0 0 0 2px var(--paint); }
.sw-name { font-size: 13px; }

.buy { margin-top: 26px; }
.btn-buy { position: relative; min-height: 56px; font-size: 17px; }
.btn-buy[aria-busy="true"] { pointer-events: none; opacity: 0.86; }
.btn-buy .ic { transition: transform 300ms var(--ease-out); }
.btn-buy:hover .ic { transform: translateY(-2px); }
.in-cart { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.in-cart::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--paint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pdp-more { margin-top: 64px; padding-top: 56px; }
.pdp-more h2, .pdp-faq h2, .lx-more h2 { font: 800 clamp(24px, 1.4vw + 17px, 34px) / 1.4 var(--f-display); }
.lx-more { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.lx-more .grid { margin-top: 32px; }
.lx-mini { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.lx-mini h2 { margin-bottom: 8px; font: 800 clamp(24px, 1.4vw + 17px, 34px) / 1.4 var(--f-display); }
.lx-mini .lx-rows { margin-top: 24px; }
@media (min-width: 900px) {
    .lx-mini .lx-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; border-bottom: 1px solid var(--line); }
    .lx-mini .lx-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0 32px; border-bottom: 0; }
    .lx-mini .lx-row::before { grid-row: auto; }
    .lx-mini .lx-row p { grid-column: 1; }
}

/* add to cart: the answer lands where the eye is */
@keyframes lx-drop { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }
@keyframes lx-pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.just-added .notice { animation: lx-drop 480ms var(--ease-out) both; }
.just-added .notice .ic { stroke-dasharray: 26; stroke-dashoffset: 26; animation: lx-tick 520ms var(--ease-out) 180ms forwards; }
.just-added .bar-count.is-full { animation: lx-pop 520ms var(--ease-out) 120ms both; }
@keyframes lx-tick { to { stroke-dashoffset: 0; } }

/* ── activation page ──────────────────────────────────────────────────────────────────────── */
.act-hero { padding-block: 56px 40px; }
.act-hero h1 { font: 900 clamp(36px, 3.6vw + 16px, 68px) / 1.3 var(--f-display); }
.act-grid { display: grid; gap: 48px; }
.act-qr { display: none; }
@media (min-width: 1024px) {
    .act-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 96px; align-items: start; }
    .act-qr { display: grid; justify-items: start; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
    .act-qr svg { width: 168px; height: 168px; padding: 6px; border-radius: 10px; background: var(--sticker); color: #0b0b0c; fill: currentColor; }
    .act-qr p { max-width: 24em; color: var(--ink-3); font-size: 14.5px; line-height: 1.8; }
}

/* ── the order page's «after it arrives» panel ───────────────────────────────────────────── */
.after { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.after h2 { font: 700 20px/1.45 var(--f-display); }
.after .lx-rows { margin-top: 14px; }
.after .lx-row { padding: 18px 0; }
.after .lx-doors { margin-top: 16px; }

/* ── pages that are tasks (cart, checkout, order) keep the shop's calm, a touch larger ───── */
.page { padding-top: 48px; }
.page-head h1, .order-head h1, .coll-head h1, .result h1 { font-size: clamp(32px, 3vw + 18px, 58px); }
.foot { padding-block: 56px 40px; }
.foot-in { gap: 22px 36px; }
.foot nav { gap: 6px 22px; }

/* ── calm: reduced motion and Save-Data keep every state, lose the movement ───────────────── */
@media (prefers-reduced-motion: reduce) {
    .lx-hero-copy > *, .lx-hero-media, .just-added .notice, .just-added .bar-count.is-full { animation: none !important; }
    .just-added .notice .ic { animation: none; stroke-dashoffset: 0; }
    .lx-hero-img, .lx-shot-frame img, .lx-finale-media img { transform: none !important; }
    .lx-scan-line { display: none; }
    .tile-stage { transform: none !important; }
    .tile-gloss { display: none; }
    .tile-link:hover .tile-img, .tile-link:hover .tile-img.is-photo { transform: none; }
    .gal.is-fade .gal-slide, .gal.is-fade .gal-slide img, .lx-frame, .lx-step { transition: none !important; }
}
html.lx-calm .lx-hero-img, html.lx-calm .lx-shot-frame img, html.lx-calm .lx-finale-media img { transform: none; }
html.lx-calm .tile-stage { transform: none !important; }
html.lx-calm .tile-gloss, html.lx-calm .lx-scan-line { display: none; }
