/* Customer surface - mobile-first single column, sticky CTAs.
   Portrait is primary; landscape (tablet/desktop) widens to a centered column. */
.cx-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.cx-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: var(--ink);
    color: var(--brand-paper);
}
.cx-topbar .wordmark { font-size: 18px; color: var(--brand-paper); }

.cx-main { flex: 1; padding: 20px 18px 96px; }

.cx-hero h1 { font-size: 38px; }

/* Content-screen sticky footer = ink bar with an amber forward button (handoff). */
.cx-cta {
    position: sticky;
    bottom: 0;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--brand-paper);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cx-cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }
.cx-cta .cx-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.cx-cta .cx-subtotal > span:first-child { font-family: var(--font-mono); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,245,242,.65); }
.cx-cta .cx-subtotal b { font-family: var(--font-display); font-size: 28px; color: var(--brand-paper); }
.cx-cta .cx-lookup-link { display: block; text-align: center; color: rgba(245,245,242,.7); text-decoration: none; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; }

/* Landing CTA is a yellow band (handoff): black button on accent, dark steps + lookup. */
.cx-shell--landing .cx-cta {
    background: var(--accent);
    color: var(--on-accent);
    padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
}
/* Keep the label + arrow on one line: longer locales (HR "Odaberite proizvod →") wrapped the
   arrow to its own row at 375px. nowrap + a slightly smaller face keeps it tidy in both languages. */
.cx-shell--landing .cx-cta .btn { font-size: 18px; white-space: nowrap; }
.cx-shell--landing .cx-cta .cx-ribbon { color: var(--on-accent); justify-content: space-between; opacity: 0.85; }
.cx-shell--landing .cx-cta .cx-lookup-link {
    display: block; text-align: center; color: var(--on-accent); text-decoration: none;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(10, 15, 13, 0.18);
}

.cx-ribbon {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
}

/* ── Top bar ─────────────────────────────────────────────── */
.cx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-paper); }
.cx-top-actions { display: flex; align-items: center; gap: 12px; }
.cx-lang { display: inline-flex; border-radius: var(--r-pill); padding: 2px; background: rgba(255,255,255,.10); gap: 1px; }
.cx-lang-opt {
    padding: 6px 10px; border-radius: var(--r-pill); text-decoration: none;
    font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .1em;
    color: var(--brand-paper); opacity: .65;
}
.cx-lang-opt.on { background: var(--brand-paper); color: var(--brand-black); opacity: 1; }
.cx-cartbtn { text-decoration: none; color: var(--brand-paper); font-family: var(--font-mono); font-size: 14px; }
.cx-cartbtn b { color: var(--accent); }

/* ── Language splash ─────────────────────────────────────── */
.cx-splash {
    max-width: 480px; margin: 0 auto; min-height: 100dvh;
    display: flex; flex-direction: column; gap: 0; padding: 0;
    background: var(--bg); color: var(--ink);
}
.cx-splash-top { flex: 1; display: flex; flex-direction: column; padding: 76px 28px 0; }
.cx-splash-brand { display: flex; align-items: center; gap: 12px; }
.cx-splash-brand .wordmark { font-size: 22px; color: var(--accent); }
.cx-splash-intro { margin-top: auto; }
.cx-splash-eyebrow {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
    font-family: var(--font-mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55);
}
.cx-splash-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cx-splash-h1 {
    margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 44px;
    line-height: .92; letter-spacing: -.04em; text-transform: uppercase; color: var(--ink);
}
.cx-splash-h1 .acc { color: var(--accent); }
.cx-splash-welcome {
    margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 20px;
    line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink-30);
}
.cx-splash-opts { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.cx-splash-opt {
    display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px;
    border: 1px solid var(--ink); border-radius: var(--r-lg); text-decoration: none;
    background: var(--ink); color: var(--brand-paper);
}
.cx-splash-opt .txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cx-splash-opt .big { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; text-transform: uppercase; }
.cx-splash-opt .sub { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; color: rgba(245,245,242,.55); }
.cx-splash-opt .arrow { font-family: var(--font-display); font-size: 24px; color: var(--accent); }

/* ── Landing ─────────────────────────────────────────────── */
.cx-resume {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 18px;
    background: var(--ink); color: var(--brand-paper); border-radius: var(--r-md); text-decoration: none;
}
.cx-resume-num { font-family: var(--font-display); font-size: 18px; }
.cx-resume-status { flex: 1; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; opacity: .85; }
.cx-resume-arrow { font-size: 18px; }
.cx-live-kicker { font-family: var(--font-mono); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); display: flex; align-items: center; gap: 7px; margin: 0 0 6px; }
.cx-hero-sub { color: var(--ink-60); font-size: 14px; margin: 6px 0 0; }
.cx-hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cx-hcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.cx-hcard-k { font-family: var(--font-mono); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-55); }
.cx-hcard-v { font-family: var(--font-display); font-size: 22px; }
.cx-section { font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; color: var(--ink-55); margin: 26px 0 12px; }
.cx-events { display: flex; flex-direction: column; gap: 8px; }
.cx-event {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink);
}
.cx-event.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cx-event.on .cx-event-main small, .cx-event.on .cx-event-meta, .cx-event.on .cx-event-meta small { color: rgba(10, 15, 13, 0.72); }
.cx-event-main { display: flex; flex-direction: column; gap: 2px; }
.cx-event-main small, .cx-event-meta small { color: var(--ink-55); font-size: 14px; }
.cx-event-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-family: var(--font-mono); font-size: 14px; }
.cx-lookup-link { display: block; text-align: center; margin-top: 12px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-60); text-decoration: underline; }

/* ── Models grid ─────────────────────────────────────────── */
.cx-back { display: inline-block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-60); text-decoration: none; }
.cx-h1 { font-size: 30px; }
.cx-models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cx-model {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--ink-06);
    border-radius: var(--r-sm); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .08s, box-shadow .15s;
}
.cx-model:active { transform: translateY(1px); }
.cx-model.oos { opacity: .5; }
.cx-model-shirt { background: var(--card-soft); display: flex; align-items: center; justify-content: center; padding: 8px; }
.cx-model-shirt svg { width: 100%; height: auto; }
.cx-model-meta { padding: 12px 12px; display: flex; flex-direction: column; gap: 0; }
.cx-model-meta b { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 6px; }
.cx-model-sub { font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: .5; margin-bottom: 8px; }
.cx-model-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cx-model-price { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; flex-shrink: 0; }
.cx-model-dots { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.cx-model-dots .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--ink-12); flex-shrink: 0; }
.cx-model-dots .more { font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; color: var(--ink-55); margin-left: 2px; }

/* ── Configurator island ─────────────────────────────────── */
.cfg-main { padding-bottom: 0; display: flex; flex-direction: column; }
.cfg-root { display: flex; flex-direction: column; flex: 1; }
.cfg-stepper { display: flex; gap: 0; align-items: center; margin: 6px 0 14px; }
.cfg-stepchip {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-15); background: var(--card);
    font-family: var(--font-mono); font-size: 14px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.cfg-stepchip.on { background: var(--ink); color: var(--brand-paper); border-color: var(--ink); box-shadow: 0 0 0 4px var(--ink-08); }
.cfg-stepchip.done { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cfg-stepchip.off { opacity: .4; cursor: default; }
.cfg-stepline { flex: 1; height: 2px; min-width: 10px; margin: 0 6px; background: var(--ink-12); border-radius: 2px; }
.cfg-stepline.on { background: var(--ink); }
.cfg-kicker { font-family: var(--font-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.cfg-step { display: flex; flex-direction: column; padding-bottom: 92px; }
.cfg-title { font-size: 19px; line-height: 1.05; margin-bottom: 4px; }
.cfg-optional { font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 6px; }
.cfg-sub { color: var(--ink-55); line-height: 1.35; margin: 0 0 14px; font-size: 14px; }
.cfg-lbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); margin: 16px 0 8px; }
.cfg-lbl-val { color: var(--ink); }
.cfg-warn { color: var(--red); font-size: 14px; margin-top: 8px; font-weight: 600; }

.cfg-preview { position: relative; margin: 4px auto 8px; }
/* Informative-only notice: the dashed zone shows an approximate print area, not the exact spot. */
.cfg-disclaimer { display: flex; gap: 9px; align-items: flex-start; max-width: 320px; margin: 10px auto 0; padding: 10px 12px; background: color-mix(in srgb, var(--accent) 18%, var(--bg)); border: 1px solid var(--accent); border-radius: var(--r-md); }
.cfg-disclaimer .cfg-disclaimer-ico { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-deep); color: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; line-height: 1; }
.cfg-disclaimer p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.cfg-shirt { display: block; width: 100%; height: 100%; }
.cfg-zone {
    position: absolute; border: 1.5px dashed var(--ink-30); border-radius: 8px; background: rgba(0,0,0,.015);
    display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
.cfg-zone.filled { border: 1.5px solid transparent; background: transparent; }
.cfg-zone.large { border-radius: 10px; }
.cfg-zone.active { border-color: var(--accent); border-style: solid; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cfg-zone-add { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; opacity: .85; }
.cfg-zone.large .cfg-zone-add { width: 28px; height: 28px; font-size: 18px; }
.cfg-zone-dot { position: absolute; bottom: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }

.cfg-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-swatches--labelled { gap: 16px 14px; }
.cfg-swatch-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cfg-swatch-lbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); }
.cfg-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.cfg-swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.cfg-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-size { min-width: 46px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--ink-15); background: var(--card); font-family: var(--font-mono); font-weight: 700; cursor: pointer; color: var(--ink); }
.cfg-size.on { background: var(--ink); color: var(--brand-paper); border-color: var(--ink); }
.cfg-size.oos { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.cfg-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cfg-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; text-align: left; }
.cfg-row-thumb { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--card-soft); border-radius: var(--r-sm); font-size: 20px; }
.cfg-row-thumb svg, .cfg-row-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cfg-row-main { flex: 1; display: flex; flex-direction: column; }
.cfg-row-main small { color: var(--ink-55); font-size: 14px; }
.cfg-row-act { font-family: var(--font-mono); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-60); }
.cfg-row.filled { border-color: var(--ink-25); }
.cfg-row-price { font-family: var(--font-display); font-size: 14px; color: var(--ink); white-space: nowrap; }

/* Interactivity hints + review chosen-stickers list */
.cfg-tap-hint { text-align: center; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); margin: 4px 0 0; }
.cfg-tapchange { text-align: center; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-50); margin: 14px 0 6px; }
.cfg-review-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cfg-review-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; text-align: left; }
.cfg-review-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cfg-review-main small { color: var(--ink-55); font-size: 14px; }
.cfg-review-face { font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); }
.cfg-review-row--base { border-color: var(--accent); border-width: 1.5px; cursor: default; }
.cfg-review-row--base .cfg-row-thumb { border: 1px solid var(--line); }
.cfg-attr-grid { padding: 8px 4px 16px; gap: 10px; }

.cfg-facetabs { display: flex; gap: 8px; margin-bottom: 8px; }
.cfg-facetab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); border: 1px solid var(--ink-15); background: var(--card); cursor: pointer; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--ink); }
.cfg-facetab.on { background: var(--ink); color: var(--brand-paper); border-color: var(--ink); }
.cfg-badge { background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); padding: 0 6px; font-size: 14px; font-weight: 800; }
.cfg-ctrls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cfg-ctrl, .cfg-qty { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; text-align: left; }
.cfg-ctrl small, .cfg-qty small { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-55); }
.cfg-ctrl b { font-family: var(--font-display); font-size: 18px; }
.cfg-ctrl-val { display: flex; align-items: center; gap: 8px; }
.cfg-ctrl-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-20); flex-shrink: 0; }
.cfg-qty { grid-column: span 2; cursor: default; padding: 12px 16px; }
.cfg-qty-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.cfg-qty-btn { width: 34px; height: 34px; border-radius: var(--r-md); border: 1px solid var(--ink-15); background: var(--card); font-size: 22px; cursor: pointer; }
.cfg-qty-val { font-family: var(--font-display); font-size: 18px; min-width: 24px; text-align: center; }

/* Sticky footer = ink bar with an amber forward button (handoff). Bleeds past the 18px main padding. */
.cfg-footer { position: sticky; bottom: 0; margin: auto -18px 0; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--brand-paper); display: flex; flex-direction: column; gap: 12px; }
/* Input steps: total block on the left, forward button on the right (handoff). */
.cfg-footer--input { flex-direction: row; align-items: center; gap: 14px; }
.cfg-total { display: flex; align-items: baseline; justify-content: space-between; }
.cfg-footer--input .cfg-total { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 2px; }
.cfg-total small { font-family: var(--font-mono); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,242,.8); }
.cfg-total b { font-family: var(--font-display); font-size: 30px; color: var(--brand-paper); }
.cfg-cta { width: 100%; justify-content: center; padding: 19px 18px; font-size: 17px; }
.cfg-footer--input .cfg-cta { width: auto; flex: 0 0 auto; margin-left: auto; min-width: 160px; }
/* Review footer (mobile): KOLIČINA row then UKUPNO row (label left / value right
   for both - consistent grouping), full-width button below. */
.cfg-foot-grid { display: flex; flex-direction: column; gap: 14px; }
.cfg-foot-qty, .cfg-foot-total { display: flex; align-items: center; justify-content: space-between; }
.cfg-foot-qty small, .cfg-foot-total small { font-family: var(--font-mono); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,242,.8); }
.cfg-foot-total b { font-family: var(--font-display); font-size: 42px; color: var(--brand-paper); }
.cfg-foot-qty .cfg-qty-row { display: flex; align-items: center; gap: 8px; margin: 0; }
/* White stepper on the dark footer: light +/- buttons and a white number field. */
.cfg-foot-qty .cfg-qty-btn { width: 44px; height: 44px; border-radius: 8px; border: none; background: var(--brand-paper); color: var(--ink); font-size: 25px; line-height: 1; }
.cfg-foot-qty .cfg-qty-val { background: var(--brand-paper); color: var(--ink); border-radius: 8px; min-width: 56px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.cfg-footer--review .cfg-cta { width: 100%; }
/* Short CTA label by default (narrow); landscape swaps in the full label below. */
.cfg-cta .cta-full { display: none; }
.cfg-cta .cta-short { display: inline; }

/* Mobile portrait configurator: fill the viewport, scroll the step, pin the ink footer (no overlap). */
@media (max-width: 759px) {
    .cx-stage[data-screen="configure"] { height: 100dvh; overflow: hidden; }
    .cx-stage[data-screen="configure"] .cx-shell { height: 100dvh; display: flex; flex-direction: column; }
    .cx-stage[data-screen="configure"] .cx-topbar { flex-shrink: 0; }
    .cx-stage[data-screen="configure"] .cfg-main { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
    .cx-stage[data-screen="configure"] .cx-back { flex-shrink: 0; }
    .cx-stage[data-screen="configure"] .cfg-root { flex: 1; min-height: 0; }
    .cx-stage[data-screen="configure"] .cfg-stepper { flex-shrink: 0; }
    .cx-stage[data-screen="configure"] .cfg-step { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 24px; }
    /* Scroll cue: a short fade pinned to the bottom of the scrollable step hints there is more
       content below the fold (e.g. the size grid on step 1, which starts below the fold). */
    .cx-stage[data-screen="configure"] .cfg-step::after {
        content: ""; position: sticky; bottom: 0; left: 0; right: 0; height: 22px;
        margin-top: -22px; flex-shrink: 0; pointer-events: none;
        background: linear-gradient(to bottom, transparent, var(--bg));
    }
    .cx-stage[data-screen="configure"] .cfg-footer { position: static; flex-shrink: 0; margin: 0 -18px; }
}

/* Sticker / colour / size picker - a full-screen panel that covers the viewport
   (handoff: ConfigSheet is inset:0, NOT a bottom sheet). Header pinned, body scrolls. */
.cfg-sheet-overlay { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; }
.cfg-sheet { width: 100%; height: 100%; background: var(--bg); padding: calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: hidden; }
.cfg-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cfg-sheet-back { background: var(--ink-06); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.cfg-sheet-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cfg-sheet-titles b { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; }
.cfg-sheet-sub { font-family: var(--font-mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-55); }
.cfg-sheet-x { background: var(--ink-06); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.cfg-search { margin-bottom: 10px; }
.cfg-cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.cfg-cat { white-space: nowrap; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--ink-15); background: var(--card); cursor: pointer; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.cfg-cat.on { background: var(--ink); color: var(--brand-paper); border-color: var(--ink); }
.cfg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow-y: auto; padding-top: 8px; }
.cfg-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.cfg-tile.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.cfg-tile-art { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.cfg-tile-art svg, .cfg-tile-art img { width: 100%; height: 100%; object-fit: contain; }
.cfg-tile small { font-size: 14px; text-align: center; }
.cfg-tile-price { font-family: var(--font-mono); font-size: 14px; color: var(--ink-60); }
.cfg-tile-dims { font-family: var(--font-mono); font-size: 14px; color: var(--ink-45, var(--ink-55)); }
.cfg-tile-none span { font-size: 28px; color: var(--ink-40); }
.cfg-nomatch { grid-column: 1 / -1; color: var(--ink-55); text-align: center; padding: 20px; font-size: 14px; }
.cfg-tile { position: relative; }
.cfg-tile-zoom { position: absolute; bottom: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1; cursor: pointer; opacity: .8; display: flex; align-items: center; justify-content: center; }
.cfg-tile-zoom:hover { opacity: 1; }
.cfg-tile-none.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.cfg-tile-none.on::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.cfg-tile-oos { opacity: .45; cursor: not-allowed; }
.cfg-tile-oos .cfg-tile-zoom { opacity: 1; cursor: pointer; }
.cfg-tile-oos-badge { font-size: 14px; font-weight: 600; color: #a32d2d; }

/* Full-screen sticker zoom viewer (multi-step zoom + drag-to-pan). */
.cfg-zoom { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.cfg-zoom-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.cfg-zoom-back { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--ink-15); background: var(--ink-06); color: var(--ink); font-size: 17px; cursor: pointer; }
.cfg-zoom-title { min-width: 0; }
.cfg-zoom-title b { display: block; font-family: var(--font-display); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfg-zoom-title small { font-family: var(--font-mono); font-size: 14px; color: var(--ink-60); }
.cfg-zoom-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; user-select: none;
    background: var(--card-soft);
    background-image: linear-gradient(45deg, var(--ink-04) 25%, transparent 25%, transparent 75%, var(--ink-04) 75%), linear-gradient(45deg, var(--ink-04) 25%, transparent 25%, transparent 75%, var(--ink-04) 75%);
    background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.cfg-zoom-art { position: absolute; left: 50%; top: 50%; width: min(72vw, 70vh, 380px); height: min(72vw, 70vh, 380px); transform-origin: center; transition: transform .18s ease; pointer-events: none; }
.cfg-zoom-art svg, .cfg-zoom-art img { width: 100%; height: 100%; object-fit: contain; }
.cfg-zoom-level { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 14px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); pointer-events: none; }
.cfg-zoom-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); width: 90%; text-align: center; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); pointer-events: none; }
.cfg-zoom-ctrls { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.cfg-zoom-btn { width: 44px; height: 44px; border-radius: var(--r-md); border: none; background: var(--card); color: var(--ink); font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.cfg-zoom-btn[disabled] { opacity: .4; cursor: default; }
.cfg-zoom-rail { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column-reverse; gap: 5px; }
.cfg-zoom-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--ink-25); }
.cfg-zoom-dot.on { background: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg-zoom-foot { flex-shrink: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.cfg-zoom-foot-btn { padding: 14px 18px; font-size: 14px; }
.cfg-zoom-use { flex: 1; justify-content: center; }

/* ── Steps progress ──────────────────────────────────────── */
.cx-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.cx-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .4; }
.cx-step.on, .cx-step.done { opacity: 1; }
.cx-step-n { width: 24px; height: 24px; border-radius: 50%; background: var(--ink-10); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.cx-step.on .cx-step-n { background: var(--ink); color: var(--brand-paper); }
.cx-step.done .cx-step-n { background: var(--accent); color: var(--on-accent); }
.cx-step-l { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* ── Cart ────────────────────────────────────────────────── */
.cx-empty { color: var(--ink-55); margin: 30px 0 16px; }
.cx-cart { display: flex; flex-direction: column; gap: 11px; }
.cx-cartline { background: var(--card); border-radius: 18px; box-shadow: 0 3px 14px -8px rgba(20,18,10,.22); padding: 14px; }

/* Item header: square product image + name / price / variant / sticker badge. */
.cx-cl-head { display: flex; gap: 13px; align-items: center; }
.cx-cl-thumb { width: 104px; height: 104px; flex-shrink: 0; border-radius: 14px; background: var(--card-soft); border: 1px solid var(--ink-08); display: flex; align-items: center; justify-content: center; padding: 6px; overflow: hidden; }
.cx-cl-thumb svg, .cx-cl-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cx-cl-info { flex: 1; min-width: 0; }
.cx-cl-title { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cx-cl-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: -0.01em; }
.cx-cl-price { font-family: var(--font-display); font-weight: 800; font-size: 16px; white-space: nowrap; flex-shrink: 0; }
.cx-cl-variant { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 14px; color: var(--ink-55); }
.cx-cl-dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--ink-15); flex-shrink: 0; }
.cx-cl-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; background: #fdf3cd; border-radius: 7px; padding: 5px 9px; font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: #8a7400; }
.cx-cl-badge svg { stroke: #a98e00; flex-shrink: 0; }

/* Priced breakdown: product base row + per-sticker rows. */
.cx-cl-breakdown { margin-top: 13px; border-top: 1px solid var(--ink-08); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.cx-cl-brow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cx-cl-brow-label { font-size: 14px; color: var(--ink-55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-cl-brow-price { font-family: var(--font-display); font-size: 14px; color: var(--ink); white-space: nowrap; }
.cx-cl-brow--base .cx-cl-brow-label { color: var(--ink); font-weight: 600; }

/* Actions: current quantity stepper + filled Edit (neutral) / Remove (red). */
.cx-cl-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.cx-cl-btns { display: flex; gap: 8px; }
.cx-cl-edit, .cx-cl-remove { font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: none; border-radius: 8px; padding: 12px 16px; cursor: pointer; }
.cx-cl-edit { background: var(--ink-12); color: var(--ink); }
.cx-cl-edit:hover { background: var(--ink-15); }
.cx-cl-remove { background: var(--red); color: #fff; }
.cx-cl-remove:hover { filter: brightness(1.06); }

.cx-inline-form { display: inline; }
.cx-qtystep { display: inline-flex; align-items: center; gap: 10px; }
.cx-qtystep button { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--ink-15); background: var(--card); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cx-qtystep button:disabled { opacity: .35; cursor: default; }
.cx-qtystep b { font-family: var(--font-display); font-weight: 800; font-size: 16px; min-width: 16px; text-align: center; }

/* Status page reuses this thumbnail tile (its own size override wins). */
.cx-cartline-thumb { width: 96px; height: 112px; flex-shrink: 0; align-self: center; display: flex; align-items: center; justify-content: center; padding: 8px; background: var(--card-soft); border-radius: var(--r-sm); }
.cx-cartline-thumb svg, .cx-cartline-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.cx-addmore { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 11px 0 0; padding: 15px; border: none; border-radius: 10px; background: var(--ink-12); font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.cx-addmore:hover { background: var(--ink-15); }
.cx-subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.cx-subtotal > span:first-child { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.cx-subtotal b { font-family: var(--font-display); font-size: 22px; }

/* ── Checkout ────────────────────────────────────────────── */
.cx-summary { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; }
.cx-summary b { font-family: var(--font-display); font-size: 18px; }
.cx-smshint { color: var(--ink-55); font-size: 14px; margin: 0 0 16px; }
.cx-form { display: flex; flex-direction: column; gap: 0; }
.cx-fieldlbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-55); margin: 16px 0 6px; }
.cx-phone { display: flex; gap: 8px; align-items: stretch; }
.cx-phone .field { flex: 1; min-width: 0; }
/* Country dial-code dropdown (full country list, type to filter). */
.cx-cc { position: relative; flex-shrink: 0; }
.cx-cc-btn { height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 14px; border: 1px solid var(--ink-15); border-radius: var(--r-md); background: var(--card); font-family: var(--font-mono); font-size: 14px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.cx-cc-btn.open { border-color: var(--ink); }
.cx-cc-flag { font-size: 1.15em; line-height: 1; }
.cx-cc-caret { font-size: 14px; opacity: .5; margin-left: 1px; }
.cx-cc-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: 300px; max-width: 78vw; background: var(--card); border: 1px solid var(--ink-15); border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(0,0,0,.22); overflow: hidden; }
.cx-cc-search { width: 100%; border: none; border-bottom: 1px solid var(--ink-08); padding: 12px 14px; font-family: var(--font-body); font-size: 14px; outline: none; background: var(--card); color: var(--ink); }
.cx-cc-list { max-height: 280px; overflow-y: auto; }
.cx-cc-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border: none; border-bottom: 1px solid var(--ink-06); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
.cx-cc-opt:hover { background: var(--ink-04); }
.cx-cc-opt.on { background: var(--ink-06); }
.cx-cc-name { flex: 1; min-width: 0; font-family: var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-cc-dial { opacity: .6; flex-shrink: 0; }
.cx-paymethods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cx-paymethod { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--ink-12); border-radius: var(--r-md); cursor: pointer; background: var(--card); }
.cx-paymethod.on { background: var(--ink); color: var(--brand-paper); border-color: var(--ink); box-shadow: none; }
.cx-pay-main { display: flex; flex-direction: column; }
.cx-pay-main b { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.cx-pay-main small { font-family: var(--font-mono); font-size: 14px; letter-spacing: .03em; color: var(--ink-55); }
.cx-paymethod.on .cx-pay-main small { color: rgba(245, 245, 242, 0.7); }
.cx-gdpr { background: var(--ink-04); padding: 16px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; opacity: .7; margin: 32px 0 0; }
.cx-standinfo { background: var(--accent); color: var(--on-accent); border-radius: var(--r-sm); padding: 16px; margin: 0 0 12px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.cx-standinfo::before { content: var(--hold-badge, "30′"); width: 40px; height: 40px; flex-shrink: 0; background: var(--brand-black); color: var(--accent); font-family: var(--font-display); font-size: 14px; border-radius: 100%; display: flex; align-items: center; justify-content: center; }
.cx-co-aside .cx-smshint { background: var(--card); color: var(--ink); border: 1px solid var(--ink-06); border-radius: var(--r-sm); padding: 16px; margin: 0 0 24px; display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.cx-co-aside .cx-smshint::before { content: "SMS"; width: 40px; height: 40px; flex-shrink: 0; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 14px; border-radius: 100%; display: flex; align-items: center; justify-content: center; }
.cx-submit { width: 100%; justify-content: center; padding: 16px; font-size: 15px; margin-top: 16px; }
.cx-alert { background: #FCE3DF; color: #8A1F14; border: 1px solid #E8A89E; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }

/* ── Payment ─────────────────────────────────────────────── */
.cx-paysim { display: flex; flex-direction: column; gap: 16px; }
.cx-paysim-card { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: var(--brand-paper); border-radius: var(--r-lg); padding: 24px 18px; display: flex; flex-direction: column; gap: 24px; }
.cx-paysim-chip { width: 38px; height: 28px; border-radius: 5px; background: linear-gradient(135deg, #d9b94e, #b9952b); }
.cx-paysim-num { font-family: var(--font-mono); font-size: 17px; letter-spacing: .12em; }

/* ── Lookup ──────────────────────────────────────────────── */
.cx-main--lookup { max-width: 560px; margin: 0 auto; width: 100%; }
.cx-main--lookup .cx-back { margin-bottom: 16px; }

/* ── Confirmation ────────────────────────────────────────── */
.cx-conf { text-align: center; align-items: center; display: flex; flex-direction: column; }
/* Amber confirmation hero: badge + "you're" + #num + QR, on the accent band. */
.cx-conf-qrcol { background: var(--accent); color: var(--on-accent); border-radius: var(--r-lg); padding: 32px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cx-conf-badge { width: 64px; height: 64px; border-radius: 100%; background: var(--brand-black); color: var(--accent); font-family: var(--font-display); font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cx-conf-qrcol .eyebrow { color: rgba(10, 15, 13, 0.55); }
.cx-conf-kicker { font-family: var(--font-mono); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: rgba(10, 15, 13, 0.55); margin: 0; }
.cx-conf-num { font-family: var(--font-display); font-size: 52px; line-height: 0.9; letter-spacing: -0.04em; margin: 8px 0 16px; }
.cx-qr { width: 200px; height: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.cx-qr svg { width: 100%; height: 100%; display: block; }
.cx-copy { margin: 14px 0; background: var(--ink-06); border: 1px solid var(--ink-15); border-radius: var(--r-pill); padding: 8px 16px; font-family: var(--font-mono); font-size: 14px; cursor: pointer; color: var(--ink); transition: background 0.15s ease; }
.cx-copy:hover { background: var(--ink-12); }
.cx-conf-sms { background: var(--card); border: 1px solid var(--ink-06); border-radius: var(--r-sm); padding: 16px; margin: 8px 0; width: 100%; text-align: left; }
.cx-conf-reserved { background: var(--brand-black); color: var(--brand-paper); border: none; border-radius: var(--r-sm); padding: 18px; margin: 8px 0; width: 100%; text-align: left; }
.cx-conf-rk { font-family: var(--font-display); text-transform: uppercase; font-size: 16px; margin: 0 0 10px; }
.cx-conf-reserved p { font-size: 14px; line-height: 1.5; opacity: .85; margin: 4px 0; }
.cx-conf-sms p { font-size: 14px; color: var(--ink-70); margin: 4px 0; }
.cx-conf-sms p:first-child { font-weight: 700; font-size: 14px; }
.cx-conf-pay { font-family: var(--font-mono) !important; font-size: 14px !important; letter-spacing: .05em; color: var(--accent) !important; opacity: 1; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
/* Pickup card: a light, high-contrast "where is the stand" panel. No map - the venue address
   is useless to a customer already inside a huge arena; the in-venue stand name + hours are the
   only useful facts. The amber pin is the single accent. Shared by Confirmation + Status. */
.cx-conf-pickup { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-top: 12px; display: flex; flex-direction: column; text-align: left; width: 100%; }
.cx-conf-pickup .cx-hcard-k { color: var(--ink-55); letter-spacing: .15em; font-size: 14px; margin-bottom: 12px; }
.cx-pickup-where { display: flex; align-items: flex-start; gap: 12px; }
.cx-pickup-pin { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cx-pickup-loc { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-conf-pickup .cx-hcard-v { font-family: var(--font-body); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.15; }
.cx-conf-pickup .cx-pickup-addr { font-size: 14px; color: var(--ink-60); line-height: 1.4; }
.cx-pickup-hours { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cx-pickup-hk { font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.cx-pickup-hv { font-weight: 700; font-size: 16px; }

/* ── Status ──────────────────────────────────────────────── */
.cx-order-hero { text-align: center; margin-bottom: 16px; }
.cx-order-hero .eyebrow { opacity: .5; }
.cx-order-hero-num { font-family: var(--font-display); font-size: 80px; line-height: 0.85; letter-spacing: -0.05em; text-transform: uppercase; margin-top: 4px; }
.cx-status-head { border-radius: var(--r-sm); padding: 24px 20px; margin-bottom: 16px; background: var(--card); border: 1px solid var(--line); }
.cx-stage-reserved { background: #FFF6DC; border: 2px solid #F3CC2E; }
.cx-stage-paid { background: var(--card-soft); }
.cx-stage-production { background: var(--amber); }
.cx-stage-ready { background: var(--green); }
.cx-stage-pickedup { background: var(--ink); color: var(--brand-paper); }
.cx-stage-expired { background: #FBEACF; color: #7A5300; border-color: #E6C27A; }
.cx-stage-cancelled { background: #FCE3DF; color: #8A1F14; border-color: #E8A89E; }
.cx-stage-chip { font-family: var(--font-display); font-size: 36px; letter-spacing: -0.03em; text-transform: uppercase; }
.cx-status-msg { font-family: var(--font-mono); margin: 8px 0 0; font-size: 14px; line-height: 1.5; opacity: .7; }

.cx-countdown { background: var(--card); border: 1px solid var(--accent); border-radius: var(--r-md); padding: 14px; text-align: center; margin-bottom: 16px; }
.cx-countdown-k { font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); display: block; }
.cx-countdown-v { font-family: var(--font-display); font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
.cx-countdown-note { font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; line-height: 1.5; opacity: .75; color: var(--ink-60); margin: 6px 0 0; }

.cx-timeline { display: flex; justify-content: space-between; margin: 8px 0 20px; position: relative; }
.cx-timeline::before { content: ""; position: absolute; top: 7px; left: 8%; right: 8%; height: 2px; background: var(--ink-10); }
.cx-tl-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; z-index: 1; }
.cx-tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink-15); }
.cx-tl-step.done .cx-tl-dot { background: var(--accent); border-color: var(--accent); }
.cx-tl-step.on .cx-tl-dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--ink-10); }
.cx-tl-lbl { font-family: var(--font-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); text-align: center; }
.cx-tl-step.on .cx-tl-lbl { color: var(--ink); font-weight: 700; }

.cx-status-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0 16px; padding: 20px; background: var(--card); border: 2px solid var(--accent); border-radius: var(--r-sm); text-align: center; }
.cx-status-qr .cx-qr { width: 180px; height: 180px; margin: 0 auto; }
.cx-status-show { font-family: var(--font-mono); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-55); }
.cx-status-items { display: flex; flex-direction: column; gap: 10px; }
.cx-status-item { display: flex; gap: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.cx-status-item .cx-cartline-thumb { width: 58px; height: 72px; border-radius: var(--r-sm); border: 1px solid var(--ink-08); }
.cx-status-item-main { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cx-status-item-main > b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.cx-status-item-main small { color: var(--ink-55); font-size: 14px; }
.cx-status-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cx-status-item-head > b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.cx-status-qty { font-family: var(--font-display); font-weight: 800; font-size: 16px; flex-shrink: 0; }
.cx-status-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.cx-pill { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); background: var(--ink-06); color: var(--ink); }
.cx-pill-accent { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.cx-placements { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cx-placements li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.cx-placements li span { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); white-space: nowrap; flex-shrink: 0; }
.cx-placements li b { font-family: var(--font-body); font-weight: 600; font-size: 14px; flex: 1; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-status-totals { margin: 12px 0; border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.cx-status-totals .cx-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cx-status-totals .cx-row > span { font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); }
.cx-status-totals .cx-row > b { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.cx-status-totals .cx-row-total > span { color: var(--ink); font-weight: 700; }
.cx-status-totals .cx-row-total > b { font-size: 20px; font-weight: 800; }

/* ────────────────────────────────────────────────────────────────────────
   Wide / landscape (tablet + desktop). Portrait-first; these are width-based
   enhancements (NOT orientation-locked, so they also apply to tall desktop
   windows and portrait tablets). The prototype gives every screen a 2-column
   landscape variant - these rules reproduce that.
   ──────────────────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════════════════
   RESPONSIVE STAGE - ported faithfully from the handoff (customer-mobile.html).
   • Phone (<760px): full-bleed mobile, untouched.
   • Tablet / tall-wide (≥760px, NOT landscape-shaped): each screen becomes a
     centred "app card" on a branded canvas. Content stays the mobile layout -
     only the framing changes (no stretching, no dead space).
   • Landscape (≥900px AND aspect ≥ 5/4): full-bleed; each screen renders its own
     dedicated landscape layout that fills the viewport.
   ════════════════════════════════════════════════════════════════════════ */

.cx-stage { display: contents; }                 /* inert on mobile */
.cx-land-right { display: contents; }            /* hero + CTA flow in main on mobile/card */

/* Bigger product cards (fit inside the card too). */
@media (min-width: 640px) {
    .cx-models { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .cx-model-meta { padding: 14px 16px; }
    .cx-model-meta b { font-size: 16px; }
}

/* ── Card mode: a centred app-window on a branded canvas (≥760, non-landscape) ── */
@media (min-width: 760px) {
    .cx-stage {
        display: flex; align-items: center; justify-content: center;
        min-height: 100dvh; padding: 28px;
        background:
            radial-gradient(130% 90% at 50% -20%, rgba(243,204,46,0.12), transparent 58%),
            radial-gradient(100% 70% at 50% 120%, rgba(10,15,13,0.05), transparent 60%),
            #E8E8E2;
    }
    .cx-shell, .cx-splash {
        width: clamp(440px, 44vw, 580px); max-width: 580px;
        /* Fill the canvas height so content sits at the TOP of the card (not vertically
           centered when a page is short, e.g. a one-item cart). */
        min-height: calc(100dvh - 56px); max-height: calc(100dvh - 56px);
        margin: 0; border-radius: 24px;
        box-shadow: 0 32px 90px rgba(10,15,13,0.20), 0 8px 24px rgba(10,15,13,0.08);
        border: 1px solid rgba(10,15,13,0.06);
        overflow: hidden auto; overscroll-behavior: contain;
    }
    /* Configurator + language want a taller, slightly wider card. */
    .cx-stage[data-screen="configure"] .cx-shell,
    .cx-stage[data-screen="language"] .cx-splash {
        width: clamp(480px, 46vw, 640px); max-width: 640px;
        height: calc(100dvh - 56px);
    }
}

/* ── Landscape: full-bleed; every screen fills the viewport (≥900 & wide) ── */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
    .cx-stage { display: block; padding: 0; min-height: 0; height: 100dvh; background: var(--bg); }
    .cx-shell, .cx-splash,
    .cx-stage[data-screen="configure"] .cx-shell,
    .cx-stage[data-screen="language"] .cx-splash {
        width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; min-height: 0;
        margin: 0; border: none; border-radius: 0; box-shadow: none; overflow: hidden;
    }

    /* LANDING - left event list, right hero (centred) + CTA pinned at the bottom. */
    .cx-shell--landing { display: flex; flex-direction: column; }
    .cx-shell--landing .cx-topbar { padding: 20px 40px; border-bottom: 1px solid var(--ink-08); }
    .cx-main--landing {
        flex: 1; min-height: 0; padding: 0;
        display: grid; grid-template-columns: minmax(340px, 0.85fr) 1.4fr; grid-template-rows: auto 1fr;
    }
    .cx-main--landing .cx-resume { grid-column: 1 / -1; grid-row: 1; margin: 0; border-radius: 0; }
    .cx-land-events {
        grid-column: 1; grid-row: 2; min-height: 0;
        border-right: 1px solid var(--ink-08); padding: 26px 30px; overflow-y: auto;
    }
    .cx-land-events .cx-section { margin-top: 0; }
    .cx-land-right {
        grid-column: 2; grid-row: 2; min-width: 0; min-height: 0;
        display: flex; flex-direction: column; padding: 36px 52px; overflow-y: auto;
    }
    .cx-land-hero { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
    .cx-land-hero .eyebrow { margin-top: 0; }
    .cx-land-hero .cx-hero h1 { font-size: clamp(48px, 6.5vw, 104px); line-height: 0.9; letter-spacing: -0.04em; }
    .cx-land-hero .cx-hero-sub { font-size: 17px; }
    .cx-land-hero .cx-hcard-v { font-size: 32px; }
    .cx-land-hero .cx-hero-cards { max-width: 560px; }
    .cx-land-right .cx-cta {
        flex-shrink: 0; max-width: 720px; position: static; background: none; padding: 0; margin-top: 24px;
    }
    .cx-land-right .cx-cta .btn { font-size: clamp(18px, 2vw, 24px); padding: 24px 32px; }

    /* Content screens (models, cart, checkout, status, confirmation, lookup): sticky topbar +
       scrollable main; the CTA (cart / confirmation) becomes a pinned footer bar. */
    .cx-shell:not(.cx-shell--landing) > .cx-main { flex: 1; min-height: 0; overflow-y: auto; padding: 28px 40px; }
    .cx-shell > .cx-cta {
        flex-shrink: 0; position: static; margin: 0; max-width: none; width: 100%;
        border-top: 1px solid rgba(245,245,242,.12); background: var(--ink); padding: 16px 40px;
        display: flex; align-items: center; gap: 20px; justify-content: center;
    }
    .cx-shell > .cx-cta .cx-subtotal { flex: 1; margin: 0; }
    .cx-shell > .cx-cta .btn { width: auto; }

    /* MODELS - bigger cards anchored to the left edge under the title, wrapping across
       the full width (owner request: no empty left half, use 100% of the row). */
    .cx-models { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 22px; margin-top: 30px; }
    .cx-models > .cx-model { flex: 0 1 340px; max-width: 380px; }

    /* CHECKOUT - order summary left, customer form right. */
    .cx-co-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: 48px; align-items: start; }
    .cx-co-aside { order: 1; min-width: 0; }
    .cx-co-form { order: 2; min-width: 0; max-width: 520px; }
    .cx-co-aside .cx-summary { flex-direction: column; align-items: stretch; gap: 4px; }
    /* ── Standard content typography (landscape) ─────────────────────────────────
       Shared classes set ONCE here, so cart / checkout / confirmation / status read
       the same sizes - no per-page font scales. (Mobile keeps the smaller base.) */
    .cx-shell:not(.cx-shell--landing) .cx-section { font-size: 16px; margin: 24px 0 14px; }
    .cx-shell:not(.cx-shell--landing) .cx-fieldlbl { font-size: 16px; margin: 22px 0 8px; }
    .cx-shell:not(.cx-shell--landing) .field { font-size: 18px; padding: 16px 18px; }
    .cx-shell:not(.cx-shell--landing) .eyebrow { font-size: 14px; }
    .cx-shell:not(.cx-shell--landing) .cx-hcard-k { font-size: 14px; }

    /* CHECKOUT-specific (total, payment cards, CTA, GDPR, back link, dial button) */
    .cx-main--checkout .cx-summary { padding: 16px 20px; margin-bottom: 22px; }
    .cx-main--checkout .cx-summary > span:first-child { font-family: var(--font-mono); font-size: 16px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-55); }
    .cx-main--checkout .cx-summary b { font-size: clamp(34px, 3vw, 44px); line-height: 1; }
    .cx-main--checkout .cx-paymethod { padding: 18px; }
    .cx-main--checkout .cx-pay-main b { font-size: 20px; }
    .cx-main--checkout .cx-pay-main small { font-size: 14px; }
    .cx-main--checkout .cx-smshint { font-size: 15px; }
    .cx-main--checkout .cx-submit { font-size: 18px; padding: 20px; }
    .cx-main--checkout .cx-cc-btn { font-size: 18px; }
    .cx-main--checkout .cx-gdpr { font-size: 16px; line-height: 1.5; }
    .cx-main--checkout .cx-co-form .cx-back { font-size: 16px; margin: 26px 0 0; }

    /* CONFIRMATION - steps full-width (were centered/cramped); QR fills its box (now
       scales via viewBox); right black boxes get readable, consistent text. */
    .cx-conf .cx-steps { align-self: stretch; width: 100%; }
    .cx-conf .cx-qr { width: 240px; height: 240px; }
    .cx-conf-badge { width: 72px; height: 72px; font-size: 26px; }
    .cx-conf-kicker { font-size: 14px; }
    .cx-conf-num { font-size: 64px; }
    .cx-conf-reserved .cx-conf-rk { font-size: 20px; }
    .cx-conf-reserved p, .cx-conf-sms p { font-size: 16px; line-height: 1.55; }
    .cx-conf-sms p:first-child { font-size: 17px; }
    .cx-conf-pay { font-size: 14px !important; }
    .cx-conf-pickup .cx-hcard-k { font-size: 14px; }
    .cx-conf-pickup .cx-hcard-v { font-size: 20px; }
    .cx-conf-pickup .cx-pickup-addr { font-size: 15px; }
    .cx-pickup-hk { font-size: 14px; }
    .cx-pickup-hv { font-size: 17px; }

    /* STATUS - readable detail text. */
    .cx-status-msg { font-size: 15px; }
    .cx-status-item-main > b, .cx-status-item-head > b { font-size: 19px; }
    .cx-status-item-main small { font-size: 14px; }
    .cx-status-pills .cx-pill { font-size: 14px; padding: 5px 11px; }
    .cx-placements li, .cx-placements li b { font-size: 14px; }
    .cx-placements li span { font-size: 14px; }
    .cx-tl-lbl { font-size: 14px; }
    .cx-status-show { font-size: 14px; }
    .cx-countdown-k { font-size: 14px; }
    .cx-countdown-note { font-size: 14px; }
    .cx-status-qr .cx-qr { width: 240px; height: 240px; }

    /* STATUS - tracking left, order contents right. */
    .cx-st-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; align-items: start; }
    .cx-st-right .cx-section { margin-top: 0; }

    /* CART - same card, scaled up and centred; horizontal footer (subtotal left, checkout right). */
    .cx-cart { gap: 16px; max-width: 760px; margin: 0 auto; width: 100%; }
    .cx-cartline { padding: 20px; }
    .cx-cl-head { gap: 18px; }
    .cx-cl-thumb { width: 150px; height: 150px; }
    .cx-cl-name { font-size: 22px; }
    .cx-cl-price { font-size: 22px; }
    .cx-cl-variant { font-size: 15px; }
    .cx-cl-edit, .cx-cl-remove { padding: 13px 24px; }
    .cx-addmore { max-width: 760px; margin: 16px auto 0; padding: 18px; }
    .cx-shell > .cx-cta { padding: 20px 40px; }
    .cx-shell > .cx-cta .cx-subtotal > span:first-child { font-size: 14px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .15em; color: var(--ink-55); }
    .cx-shell > .cx-cta .cx-subtotal b { font-size: clamp(34px, 3vw, 48px); line-height: 1; }
    .cx-shell > .cx-cta .btn { font-size: 17px; padding: 20px 32px; }
    /* CART footer = light bar (handoff): UKUPNO + € grouped on the left, checkout button
       on the right, one row. (Confirmation keeps the dark centered bar.) */
    .cx-shell--split > .cx-cta { flex-direction: row; align-items: center; justify-content: flex-start;
        background: var(--card); color: var(--ink); border-top: 1px solid var(--ink-12); }
    .cx-shell--split > .cx-cta .cx-subtotal { flex: 0 0 auto; align-items: center; justify-content: flex-start; gap: 18px; }
    .cx-shell--split > .cx-cta .cx-subtotal b { color: var(--ink); }
    .cx-shell--split > .cx-cta .btn { margin-left: auto; }

    /* CONFIRMATION - QR left, reservation/SMS details right. */
    .cx-conf.cx-main { text-align: left; }
    .cx-conf-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; column-gap: 48px; align-items: center; }
    .cx-conf-qrcol { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .cx-conf-detcol { display: flex; flex-direction: column; gap: 8px; justify-content: center; }

    /* PAYMENT (sim) - comfortable centred form, not stretched. */
    .cx-main--narrow { max-width: 560px; margin: 0 auto; width: 100%; }

    /* LOOKUP - hero left (card-soft), form right. */
    .cx-shell > .cx-main--lookup { max-width: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
    .cx-lookup-hero { background: var(--card-soft); border-right: 1px solid var(--ink-08); padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; }
    .cx-lookup-hero .cx-h1 { font-size: clamp(28px, 3vw, 46px); }
    .cx-lookup-form { padding: 48px 56px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
    .cx-lookup-form .cx-form { max-width: 520px; }

    /* Language splash - brand+intro left (dark), choices right (light). */
    .cx-splash { flex-direction: row; align-items: stretch; gap: 0; padding: 0; max-width: none; }
    .cx-splash-top { flex: 1.1; padding: 56px 64px; background: var(--ink); color: var(--brand-paper); justify-content: space-between; }
    .cx-splash-brand .wordmark { font-size: 48px; }
    .cx-splash-intro { margin-top: 0; }
    .cx-splash-top .cx-splash-eyebrow { color: rgba(245,245,242,.6); }
    .cx-splash-top .cx-splash-h1 { color: var(--brand-paper); font-size: clamp(64px, 8vw, 116px); line-height: .9; }
    .cx-splash-top .cx-splash-welcome { color: rgba(245,245,242,.4); font-size: clamp(24px, 2.6vw, 40px); }
    .cx-splash-opts { flex: 1; min-width: 320px; justify-content: center; padding: 56px 64px; background: var(--bg); }
    .cx-splash-opts .cx-splash-opt { background: var(--ink); border-color: var(--ink); padding: 24px 26px; }
    .cx-splash-opts .cx-splash-opt .big { font-size: 26px; }
    .cx-splash-opts .cx-splash-opt .sub { font-size: 14px; }
    .cx-splash-opts .cx-splash-opt .arrow { font-size: 28px; }

    /* CONFIGURATOR - full-bleed: main fills the viewport, the panes own their scroll. */
    .cx-stage[data-screen="configure"] .cx-shell > .cx-main { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    .cx-stage[data-screen="configure"] .cfg-main > .cx-back { padding: 12px 24px 0; flex-shrink: 0; }
    .cx-stage[data-screen="configure"] .cfg-root { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .cx-stage[data-screen="configure"] .cfg-root > .cfg-stepper { flex-shrink: 0; }
    .cx-stage[data-screen="configure"] .cfg-root > .cfg-step--wide { flex: 1; min-height: 0; }
    /* CONFIGURATOR - big preview pane left, controls right (island builds the panes). */
    .cfg-step--wide { display: grid; grid-template-columns: 0.85fr minmax(560px, 1.15fr); column-gap: 0; align-items: stretch; height: 100%; padding-bottom: 0; }
    .cfg-pane-left { background: var(--card-soft); border-right: 1px solid var(--ink-08); padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
    .cfg-pane-left .cfg-preview { width: 100% !important; height: auto !important; max-width: 440px; margin: 0 auto; }
    .cfg-pane-left .cfg-shirt { height: auto !important; width: 100%; }
    .cfg-pane-right { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 14px 28px 0; }
    .cfg-pane-right > .cfg-stepper:first-child { margin-top: 0; }
    /* Footer bleeds to the pane edges; pinned at the bottom of the right column. */
    .cfg-pane-right .cfg-footer { margin: auto -28px 0; padding: 22px 28px calc(22px + env(safe-area-inset-bottom)); }
    /* Scroll cue: a fade just above the sticky footer signals the pane scrolls behind it
       (e.g. the size grid on step 1 starts below the fold in this two-pane layout). */
    .cfg-pane-right .cfg-footer::before {
        content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px;
        background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
    }
    /* Landscape footer = layout D: KOLIČINA (left) + UKUPNO (right) in a row,
       full-width CTA below. Labels doubled; full CTA label; larger stepper. */
    .cfg-pane-right .cfg-footer .cfg-total small { font-size: 30px; }
    .cfg-pane-right .cfg-footer--review .cfg-cta { padding: 24px 18px; font-size: 22px; }
    .cfg-pane-right .cfg-footer--review .cfg-cta .cta-full { display: inline; }
    .cfg-pane-right .cfg-footer--review .cfg-cta .cta-short { display: none; }
    .cfg-pane-right .cfg-foot-grid { flex-direction: row; align-items: flex-start; gap: 28px; }
    .cfg-pane-right .cfg-foot-qty { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
    .cfg-pane-right .cfg-foot-total { flex-direction: column; align-items: flex-end; gap: 6px; margin-left: auto; }
    .cfg-pane-right .cfg-foot-total b { font-size: 46px; }
    .cfg-pane-right .cfg-foot-qty small, .cfg-pane-right .cfg-foot-total small { font-size: 30px; }
    .cfg-pane-right .cfg-foot-qty .cfg-qty-btn { width: 50px; height: 50px; font-size: 26px; }
    .cfg-pane-right .cfg-foot-qty .cfg-qty-val { width: 64px; height: 50px; font-size: 24px; }
    .cfg-pane-left .cfg-facetab { padding: 11px 20px; font-size: 14px; }

    /* Review step content scales up in the wide pane (same idea as step 1). */
    .cfg-step--review .cfg-pane-right .cfg-title { font-size: 30px; }
    .cfg-step--review .cfg-pane-right .cfg-sub { font-size: 15px; }
    .cfg-step--review .cfg-pane-right .cfg-facetab { font-size: 14px; padding: 11px 18px; }
    .cfg-step--review .cfg-pane-right .cfg-tap-hint,
    .cfg-step--review .cfg-pane-right .cfg-tapchange { font-size: 14px; }
    .cfg-step--review .cfg-pane-right .cfg-review-row { padding: 14px 18px; gap: 16px; }
    .cfg-step--review .cfg-pane-right .cfg-review-row .cfg-row-thumb { width: 54px; height: 54px; }
    .cfg-step--review .cfg-pane-right .cfg-review-face { font-size: 14px; }
    .cfg-step--review .cfg-pane-right .cfg-review-main b { font-size: 18px; }
    .cfg-step--review .cfg-pane-right .cfg-review-main small { font-size: 14px; }
    .cfg-step--review .cfg-pane-right .cfg-row-price { font-size: 18px; }
    .cfg-step--review .cfg-pane-right .cfg-ctrl { padding: 16px 18px; }
    .cfg-step--review .cfg-pane-right .cfg-ctrl small { font-size: 14px; }
    .cfg-step--review .cfg-pane-right .cfg-ctrl b { font-size: 22px; }
    .cfg-step--review .cfg-pane-right .cfg-ctrl-swatch { width: 24px; height: 24px; }

    /* Face step (stickers per side): scale the text and placement cards +50% in the wide pane. */
    .cfg-step--face .cfg-pane-right .cfg-kicker { font-size: 15px; }
    .cfg-step--face .cfg-pane-right .cfg-title { font-size: 28px; }
    .cfg-step--face .cfg-pane-right .cfg-optional { font-size: 15px; }
    .cfg-step--face .cfg-pane-right .cfg-sub { font-size: 18px; }
    .cfg-step--face .cfg-pane-right .cfg-tap-hint { font-size: 15px; }
    .cfg-step--face .cfg-pane-right .cfg-rows { gap: 12px; margin-top: 18px; }
    .cfg-step--face .cfg-pane-right .cfg-row { padding: 15px 18px; gap: 18px; }
    .cfg-step--face .cfg-pane-right .cfg-row-thumb { width: 60px; height: 60px; font-size: 30px; }
    .cfg-step--face .cfg-pane-right .cfg-row-main b { font-size: 23px; }
    .cfg-step--face .cfg-pane-right .cfg-row-main small { font-size: 18px; }
    .cfg-step--face .cfg-pane-right .cfg-row-act { font-size: 16px; }
    .cfg-step--face .cfg-pane-right .cfg-row-price { font-size: 21px; }

    /* Sticker picker covers the full (wide) viewport - fit many right-sized cards
       instead of 3 enormous ones. auto-fill keeps card size constant when few exist. */
    .cfg-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
    .cfg-tile small { font-size: 14px; }
    .cfg-tile-price { font-size: 14px; }

    /* Step 1 (colour + size): the right pane holds only the pickers, so on landscape
       scale the swatches, sizes and text up (ratio now comes from the base rule). */
    .cfg-step--attr .cfg-pane-right .cfg-title { font-size: 30px; }
    .cfg-step--attr .cfg-pane-right .cfg-sub { font-size: 16px; margin-bottom: 22px; }
    .cfg-step--attr .cfg-pane-right .cfg-lbl { font-size: 18px; letter-spacing: .1em; margin: 28px 0 16px; }
    .cfg-step--attr .cfg-pane-right .cfg-swatches--labelled { gap: 22px 24px; }
    .cfg-step--attr .cfg-pane-right .cfg-swatch { width: 64px; height: 64px; border-width: 3px; }
    .cfg-step--attr .cfg-pane-right .cfg-swatch.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--ink); }
    .cfg-step--attr .cfg-pane-right .cfg-swatch-lbl { font-size: 15px; }
    .cfg-step--attr .cfg-pane-right .cfg-sizes { gap: 12px; }
    .cfg-step--attr .cfg-pane-right .cfg-size { min-width: 84px; padding: 20px 20px; font-size: 22px; border-radius: 12px; }
}

/* Footer + payment badges (legal pages, checkout, payment) + legal page body */
.cx-footer { margin-top: 28px; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.cx-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.cx-footer-links a { color: var(--ink); opacity: .7; text-decoration: none; font-size: 14px; }
.cx-footer-links a:hover { opacity: 1; text-decoration: underline; }
.cx-footer-co { color: var(--ink); opacity: .5; font-size: 14px; }
.cx-paybadges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.cx-paybadge-lock { font-size: 14px; color: var(--ink); opacity: .6; margin-right: 4px; }
.cx-paybadge { font-size: 14px; font-weight: 500; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 8px; }
.cx-paybadge--wspay { border-color: var(--ink); }
.cx-legal { display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
.cx-legal p { margin: 0; }
