/* ==========================================================================
   SCRIBBLE — Books, Stationery & Craft  ·  Growth tier
   Bright, geometric, sticker-book energy. Cobalt + tangerine + mint on
   cool grid paper, set in rounded Fredoka over Nunito.

   RECOLOR CONTRACT
   ----------------
   Every colour, font and radius in this file is read through a CSS custom
   property so the WoBooks per-team token layer can retint the whole theme.
   Canonical tokens (--primary/--secondary/--accent/--background/--surface/
   --text/--muted/--border/--font-sans/--font-display/--radius) are the only
   ones the recolor engine writes directly; the theme-local tonal vars below
   are declared in theme.json `palette_map` so a recolor cascades into them
   too. The `--band-ink-*` trio is the ink used on the saturated primary /
   accent bands and on the inverted footer; it derives from --surface (the
   palette's own light plane) so a recolour carries it rather than stranding
   white type on a newly-pale band.
   ========================================================================== */

:root {
    /* — canonical palette ————————————————————————————— */
    --primary: #2b4ee6;
    --secondary: #12b886;
    --accent: #ff6b35;
    --background: #f6f7fb;
    --surface: #ffffff;
    --text: #14161f;
    --muted: #5b6172;
    --border: #e3e6f0;
    --radius: 16px;
    --radius-pill: 999px;

    --font-sans: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Fredoka', ui-rounded, 'Trebuchet MS', system-ui, sans-serif;

    /* — theme-local tonal vars (see theme.json palette_map) ——— */
    --ink-2: #2b3040;
    --paper-2: #eaeefa;
    --secondary-ink: color-mix(in srgb, var(--secondary) 60%, var(--text));
    --accent-ink: color-mix(in srgb, var(--accent) 68%, var(--text));
    --glow: rgba(43, 78, 230, .16);
    --accent-glow: rgba(255, 107, 53, .18);

    /* — ink for saturated bands + the inverted footer ——————— */
    --band-ink: var(--surface);
    --band-ink-soft: color-mix(in srgb, var(--surface) 86%, transparent);
    --band-ink-line: color-mix(in srgb, var(--surface) 24%, transparent);

    /* — motion tokens ————————————————————————————————— */
    --dur-micro: 150ms;
    --dur-ui: 260ms;
    --dur-reveal: 620ms;
    --dur-slow: 900ms;
    --dur-marquee: 26s;
    --dur-none: .01ms;      /* the reduced-motion stand-down */
    --ease-standard: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-pop: cubic-bezier(.19, 1, .22, 1);

    /* — fluid type scale (1.25) ——————————————————————— */
    --step--1: clamp(.82rem, .79rem + .12vw, .9rem);
    --step-0: clamp(1rem, .96rem + .2vw, 1.09rem);
    --step-1: clamp(1.2rem, 1.13rem + .34vw, 1.42rem);
    --step-2: clamp(1.5rem, 1.36rem + .68vw, 2rem);

    /* — 8-point spacing ————————————————————————————— */
    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-6: 48px;
    --sp-8: 64px;

    /* — layered shadows, tinted with the ink hue —————————— */
    --shadow-1: 0 1px 2px rgba(20, 22, 31, .05), 0 2px 6px rgba(20, 22, 31, .05);
    --shadow-2: 0 2px 4px rgba(20, 22, 31, .04), 0 8px 18px rgba(20, 22, 31, .07), 0 18px 40px rgba(20, 22, 31, .05);
    --shadow-3: 0 3px 6px rgba(20, 22, 31, .05), 0 14px 28px rgba(20, 22, 31, .09), 0 28px 60px rgba(20, 22, 31, .07);
}

/* ── base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.sc-body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(1rem, .96rem + .2vw, 1.09rem);
    line-height: 1.65;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--text);
    text-wrap: balance;
}

p, .sc-sec__sub, .sc-hero__lead { text-wrap: pretty; }

p { margin: 0; }

a { color: var(--primary); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

/* Owner has not uploaded a photo yet — hide the slot instead of leaking the
   browser's broken-image icon and the alt text onto the live page. */
img[src=""], img:not([src]) { display: none !important; }

/* Mirrors Livewire's own runtime rule so the "Sending..." span stays hidden
   in static HTML previews and during the brief window before Livewire mounts
   — without this both the idle and loading labels render simultaneously. */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

button, input, select, textarea { font: inherit; color: inherit; }

/* The category filter toggles `hidden`; class rules like `.product-card
   { display:flex }` out-specify the UA sheet, so make it authoritative. */
[hidden] { display: none !important; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Livewire hides these once it boots; the rule covers the gap before that
   (and static previews) so both button labels never render at once. */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

.sc-shell {
    width: min(1180px, 100% - var(--sp-4));
    margin-inline: auto;
}

.sc-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 10px 18px;
    background: var(--primary);
    color: var(--band-ink);
    border-radius: var(--radius);
}
.sc-skip:focus { left: var(--sp-2); top: var(--sp-2); }

.sc-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ── shared type ──────────────────────────────────────────────────────── */

.sc-kicker {
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-1);
}
.sc-kicker--invert { color: var(--band-ink-soft); }

.sc-sec__title {
    font-size: clamp(1.86rem, 1.62rem + 1.16vw, 2.75rem);
    font-weight: 600;
}

.sc-sec__sub {
    margin-top: var(--sp-2);
    max-width: 56ch;
    color: var(--muted);
}

.sc-page__title { font-size: clamp(1.86rem, 1.62rem + 1.16vw, 2.75rem); }
.sc-page__sub { margin-top: var(--sp-1); color: var(--muted); }

/* Highlighter swipe behind the headline's punch word. */
.sc-mark {
    position: relative;
    display: inline;
    color: var(--text);
    background-image: linear-gradient(transparent 58%, var(--accent-glow) 58%);
    background-repeat: no-repeat;
    padding-inline: .08em;
}

/* Rotated die-cut sticker. */
.sc-sticker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    padding: 6px 14px;
    color: var(--text);
    background: var(--secondary);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-1);
    transform: rotate(-2deg);
    color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.sc-empty {
    grid-column: 1 / -1;
    padding: var(--sp-4);
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}
.sc-empty--invert {
    color: var(--band-ink-soft);
    background: transparent;
    border-color: var(--band-ink-line);
}

.sc-note {
    margin-top: var(--sp-3);
    padding: var(--sp-2) var(--sp-3);
    border-inline-start: 4px solid var(--secondary);
    background: var(--paper-2);
    border-radius: var(--radius);
    color: var(--ink-2);
}

/* ── buttons ──────────────────────────────────────────────────────────── */

.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 600;
    line-height: 1;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-align: center;
    background: var(--surface);
    color: var(--text);
    transition:
        transform var(--dur-micro) var(--ease-pop),
        box-shadow var(--dur-ui) var(--ease-out),
        background-color var(--dur-micro) var(--ease-standard),
        border-color var(--dur-micro) var(--ease-standard),
        color var(--dur-micro) var(--ease-standard);
}
.sc-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.sc-btn:active { transform: translateY(0); }
.sc-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.sc-btn svg { flex: none; }

.sc-btn--primary { background: var(--primary); color: var(--band-ink); }
.sc-btn--primary:hover { background: var(--primary-dark, var(--primary)); }

.sc-btn--accent { background: var(--accent); color: var(--text); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.sc-btn--accent:hover { background: var(--accent-dark, var(--accent)); }

.sc-btn--soft {
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    color: var(--primary);
}
.sc-btn--soft:hover { background: color-mix(in srgb, var(--primary) 18%, var(--surface)); }

.sc-btn--outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.sc-btn--outline:hover { border-color: var(--primary); color: var(--primary); }

.sc-btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: color-mix(in srgb, var(--text) 22%, transparent);
}
.sc-btn--ghost:hover { border-color: var(--text); }

.sc-btn--wa {
    background: color-mix(in srgb, var(--secondary) 16%, var(--surface));
    color: var(--text);
    border-color: color-mix(in srgb, var(--secondary) 42%, transparent);
}
.sc-btn--wa:hover { background: color-mix(in srgb, var(--secondary) 26%, var(--surface)); }

.sc-btn--lg { padding: 16px 28px; font-size: var(--step-1); }
.sc-btn--block { display: flex; width: 100%; }

.sc-textlink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--dur-ui) var(--ease-out);
}
.sc-textlink:hover { gap: 12px; }

/* ── header ───────────────────────────────────────────────────────────── */

.sc-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    transition: box-shadow var(--dur-ui) var(--ease-out);
}
.sc-header.is-stuck { box-shadow: var(--shadow-2); }

.sc-header__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    min-height: 72px;
}

.sc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.sc-logo__img { max-height: 40px; width: auto; }
.sc-logo-text {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 700;
    letter-spacing: -.02em;
}

.sc-nav { margin-inline-start: auto; }
.sc-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.sc-nav-item {
    position: relative;
    display: block;
    padding: 9px 14px;
    font-weight: 700;
    font-size: var(--step--1);
    color: var(--ink-2);
    border-radius: var(--radius-pill);
    transition: color var(--dur-micro) var(--ease-standard), background-color var(--dur-micro) var(--ease-standard);
}
.sc-nav-item:hover { color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, transparent); }
.sc-nav-item::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-ui) var(--ease-out);
}
.sc-nav-item:hover::after { transform: scaleX(1); }

.sc-header__actions { display: flex; align-items: center; gap: 10px; }

.sc-cart-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: var(--text);
    background: color-mix(in srgb, var(--primary) 9%, var(--surface));
    border-radius: var(--radius-pill);
    transition: background-color var(--dur-micro) var(--ease-standard), transform var(--dur-micro) var(--ease-pop);
}
.sc-cart-pill:hover { background: color-mix(in srgb, var(--primary) 16%, var(--surface)); transform: translateY(-1px); }
.sc-cart-pill__count {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding-inline: 5px;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 700;
    color: var(--text);
    background: var(--accent);
    border-radius: var(--radius-pill);
    color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.sc-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    align-items: stretch;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
}
.sc-burger span {
    display: block;
    width: 100%;
    height: 2.5px;
    border-radius: 3px;
    background: var(--text);
    transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-micro) var(--ease-standard);
}
.sc-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sc-burger.is-open span:nth-child(2) { opacity: 0; }
.sc-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── sections ─────────────────────────────────────────────────────────── */

/* The header is sticky, so an in-page jump (/#categories, /#contact) would
   land with the section's eyebrow tucked underneath it. */
.sc-sec, .sc-hero { scroll-margin-top: 88px; }

.sc-sec { padding-block: clamp(var(--sp-8), 8vw, 108px); position: relative; }
.sc-sec--plain { background: var(--background); }
.sc-sec--surface { background: var(--surface); }
.sc-sec--tint { background: var(--paper-2); }

/* NOTE: `content-visibility: auto` was tried on the below-fold bands and
   pulled back out — a skipped band renders as an empty intrinsic-size box in
   a full-page capture, which is exactly how the theme catalogue photographs
   a theme. A blank contact band in the gallery thumbnail costs far more than
   the few ms of deferred paint it buys on a page this short. */

.sc-sec__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}
.sc-sec__head--center { justify-content: center; text-align: center; margin-bottom: var(--sp-6); }
.sc-sec__head--center .sc-sec__sub { margin-inline: auto; }
.sc-sec__head--tight { margin-bottom: var(--sp-4); }

/* Bold full-bleed bands. Both paint from a preset-controlled token, so a
   recolor moves them with the rest of the page. */
.sc-band { overflow: hidden; }
.sc-band--brand { background: var(--primary); color: var(--band-ink); }
.sc-band--brand .sc-sec__title { color: var(--band-ink); }
.sc-band--brand .sc-sec__sub { color: var(--band-ink-soft); }

.sc-band--accent { background: var(--accent); color: var(--text); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.sc-band--accent .sc-kicker { color: color-mix(in srgb, var(--text) 82%, transparent); }
.sc-band--accent .sc-sec__sub { color: color-mix(in srgb, var(--text) 82%, transparent); }

.sc-band__shapes { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* ── confetti geometry ────────────────────────────────────────────────── */

.sc-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sc-dot, .sc-ring, .sc-tri, .sc-bar { position: absolute; display: block; }

.sc-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.sc-dot--a { top: 14%; left: 6%; }
.sc-dot--b { bottom: 22%; right: 9%; width: 22px; height: 22px; background: var(--secondary); }
.sc-dot--c { top: 22%; right: 12%; width: 18px; height: 18px; background: var(--band-ink); opacity: .35; }

.sc-ring { width: 62px; height: 62px; border-radius: 50%; border: 7px solid var(--secondary); }
.sc-ring--a { top: 58%; left: 3%; }
.sc-ring--b { bottom: -26px; left: 8%; border-color: var(--band-ink); opacity: .3; width: 120px; height: 120px; }

.sc-tri {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid var(--primary);
    opacity: .28;
}
.sc-tri--a { top: 10%; right: 16%; transform: rotate(18deg); }

.sc-bar { width: 74px; height: 10px; border-radius: 8px; background: var(--primary); opacity: .18; }
.sc-bar--a { bottom: 14%; left: 22%; transform: rotate(-12deg); }
.sc-bar--b { top: 16%; left: 14%; background: var(--band-ink); opacity: .22; width: 110px; }

/* ── hero ─────────────────────────────────────────────────────────────── */

.sc-hero {
    position: relative;
    padding-block: clamp(var(--sp-8), 8vw, 112px) 0;
    background: var(--background);
    overflow: hidden;
}

/* Grid-paper backdrop — two hairline grids, tinted from the ink token. */
.sc-hero__paper {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--primary) 9%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--primary) 9%, transparent) 1px, transparent 1px);
    background-size: 34px 34px;
    /* Alpha stencil, not a colour — only the mask's alpha channel is read,
       so `black` here means "keep" and never participates in recolouring. */
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, black 35%, transparent 78%);
    mask-image: radial-gradient(120% 90% at 50% 0%, black 35%, transparent 78%);
    pointer-events: none;
}

.sc-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(var(--sp-4), 5vw, 72px);
    align-items: center;
    padding-bottom: clamp(var(--sp-8), 7vw, 96px);
}

.sc-hero__copy > * + * { margin-top: var(--sp-3); }
.sc-hero__badge { margin-bottom: var(--sp-2); }

.sc-hero__title {
    font-size: clamp(2.3rem, 1.88rem + 2.05vw, 3.85rem);
    font-weight: 600;
    letter-spacing: -.025em;
}
.sc-hero__title-pre {
    display: block;
    font-weight: 400;
    color: var(--ink-2);
}
.sc-hero__title--compact { font-size: clamp(1.86rem, 1.62rem + 1.16vw, 2.75rem); }

.sc-hero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 50ch; }
.sc-hero__body { color: var(--muted); max-width: 52ch; }

.sc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.sc-quickpicks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: var(--sp-3) 0 0;
    padding: 0;
}
.sc-quickpicks a {
    display: inline-block;
    padding: 8px 16px;
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--ink-2);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    transition: transform var(--dur-micro) var(--ease-pop), border-color var(--dur-micro) var(--ease-standard), color var(--dur-micro) var(--ease-standard);
}
.sc-quickpicks a:hover { transform: translateY(-2px) rotate(-1.5deg); border-color: var(--accent); color: var(--accent); }

/* hero art */
.sc-hero__art { position: relative; }

.sc-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--radius) * 2.4);
    background: var(--surface);
    border: 3px solid var(--text);
    box-shadow: var(--shadow-3);
    overflow: hidden;
}
.sc-frame--tilt { transform: rotate(-2.4deg); }
.sc-frame__img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.sc-frame__fill {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 12%;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}
.sc-frame__fill svg { width: 100%; height: auto; }

.sc-chip--float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--text);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-2);
}
.sc-chip--one { top: 7%; left: -18px; transform: rotate(-5deg); }
.sc-chip--two { bottom: 12%; right: -14px; transform: rotate(4deg); }

.sc-squiggle {
    position: absolute;
    bottom: -26px;
    left: 6%;
    width: 62%;
    color: var(--accent);
    opacity: .9;
}

/* ── ticker ───────────────────────────────────────────────────────────── */

.sc-ticker {
    position: relative;
    overflow: hidden;
    padding-block: 14px;
    background: var(--secondary);
    border-block: 3px solid var(--text);
}
.sc-ticker__track {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    width: max-content;
    padding-inline-start: var(--sp-6);
}
.sc-ticker__item {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--text);
    white-space: nowrap;
}
.sc-ticker__item::after {
    content: "✦";
    margin-inline-start: var(--sp-6);
    opacity: .5;
}

/* ── categories bento ─────────────────────────────────────────────────── */

.sc-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3);
}
.sc-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 210px;
    border-radius: calc(var(--radius) * 1.4);
    background: var(--paper-2);
    border: 2px solid var(--border);
    overflow: hidden;
    transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-standard);
}
.sc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); border-color: var(--text); }
.sc-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 440px; }

.sc-tile__link { position: absolute; inset: 0; z-index: 2; }
.sc-tile__media { position: absolute; inset: 0; display: block; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.sc-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.sc-tile:hover .sc-tile__media img { transform: scale(1.06); }

.sc-tile__label {
    position: relative;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    margin: var(--sp-2);
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-1);
}
.sc-tile__name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
}
.sc-tile__label svg { color: var(--primary); transition: transform var(--dur-ui) var(--ease-out); }
.sc-tile:hover .sc-tile__label svg { transform: translateX(4px); }

.sc-tile--empty { min-height: 210px; }

/* ── product grid + card ──────────────────────────────────────────────── */

.sc-grid { display: grid; gap: var(--sp-3); }
.sc-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-grid--quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-grid--promises { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.3);
    overflow: hidden;
    transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), border-color var(--dur-ui) var(--ease-standard);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: var(--text); }

.product-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: color-mix(in srgb, var(--primary) 7%, var(--surface));
    overflow: hidden;
}
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-card__image-wrap img { transform: scale(1.07); }

.product-card__peek {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--text);
    background: var(--surface);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-2);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.product-card:hover .product-card__peek,
.product-card:focus-within .product-card__peek { opacity: 1; transform: translate(-50%, 0); }

.product-card__sticker {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    background: var(--accent);
    border-radius: var(--radius-pill);
    transform: rotate(-6deg);
    box-shadow: var(--shadow-1);
    color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}

.product-card__body { display: flex; flex-direction: column; gap: 10px; padding: var(--sp-2) var(--sp-2) var(--sp-3); }
.product-card__title { font-size: var(--step-0); font-weight: 600; line-height: 1.35; }
.product-card__title a { color: var(--text); }
.product-card__title a:hover { color: var(--primary); }

.product-card__price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.product-card__price-current {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--primary);
}
.product-card__price-original {
    font-size: var(--step--1);
    color: var(--muted);
    text-decoration: line-through;
}

.sc-noresults { margin-top: var(--sp-4); text-align: center; color: var(--muted); }

/* ── quotes ───────────────────────────────────────────────────────────── */

.sc-quote {
    position: relative;
    margin: 0;
    padding: var(--sp-4) var(--sp-3) var(--sp-3);
    color: var(--band-ink);
    background: color-mix(in srgb, var(--band-ink) 12%, transparent);
    border: 2px solid var(--band-ink-line);
    border-radius: calc(var(--radius) * 1.3);
    transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-standard);
}
.sc-quote:hover { transform: translateY(-5px) rotate(-.6deg); background: color-mix(in srgb, var(--band-ink) 18%, transparent); }

.sc-quote__mark {
    position: absolute;
    top: -6px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--accent);
}
.sc-quote__text { margin: 0 0 var(--sp-3); font-size: var(--step-0); }
.sc-quote__by { display: flex; align-items: center; gap: 12px; }
.sc-quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--band-ink-line); }
.sc-quote__by strong { display: block; font-family: var(--font-display); font-weight: 600; }
.sc-quote__by small { color: var(--band-ink); font-size: var(--step--1); letter-spacing: .02em; }

/* ── faqs ─────────────────────────────────────────────────────────────── */

.sc-faqs {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(var(--sp-4), 5vw, 72px);
    align-items: start;
}
.sc-faqs__intro > * + * { margin-top: var(--sp-2); }
.sc-faqs__intro .sc-btn { margin-top: var(--sp-3); }
.sc-faqs__list { display: flex; flex-direction: column; gap: 12px; }

.sc-faq {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.2);
    transition: border-color var(--dur-ui) var(--ease-standard), box-shadow var(--dur-ui) var(--ease-out);
}
.sc-faq[open] { border-color: var(--primary); box-shadow: var(--shadow-2); }
.sc-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--text);
}
.sc-faq__q::-webkit-details-marker { display: none; }
.sc-faq__plus {
    position: relative;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.sc-faq__plus::before,
.sc-faq__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    transition: transform var(--dur-ui) var(--ease-out);
}
.sc-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.sc-faq[open] .sc-faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.sc-faq__a { padding: 0 var(--sp-3) var(--sp-3); color: var(--muted); }

/* ── promises ─────────────────────────────────────────────────────────── */

.sc-promise {
    padding: var(--sp-3);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border: 2px solid color-mix(in srgb, var(--text) 16%, transparent);
    border-radius: calc(var(--radius) * 1.3);
    transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.sc-promise:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.sc-promise__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--sp-2);
    color: var(--band-ink);
    background: var(--text);
    border-radius: 14px;
}
.sc-promise__title { font-size: var(--step-1); margin-bottom: 8px; }
.sc-promise__body { color: color-mix(in srgb, var(--text) 72%, transparent); }

/* ── contact ──────────────────────────────────────────────────────────── */

.sc-contact {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(var(--sp-4), 5vw, 72px);
    align-items: start;
}
.sc-contact__list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sc-contact__list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.sc-contact__list a { color: var(--ink-2); }
.sc-contact__list a:hover { color: var(--primary); }
.sc-contact__ico {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 11%, transparent);
    border-radius: 13px;
}
.sc-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-3); }

/* ── forms ────────────────────────────────────────────────────────────── */

.sc-form-wrap,
.sc-checkout__form .sc-form,
.sc-reviews__form {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.4);
    padding: clamp(var(--sp-3), 3vw, var(--sp-4));
}
.sc-form-wrap .sc-form { background: transparent; border: 0; padding: 0; }

.sc-field { margin-bottom: var(--sp-2); }
.sc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

.sc-label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--ink-2);
}
.sc-label__hint { font-weight: 400; color: var(--muted); }

.sc-input {
    width: 100%;
    padding: 13px 15px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 14px;
    transition: border-color var(--dur-micro) var(--ease-standard), box-shadow var(--dur-micro) var(--ease-standard);
}
.sc-input::placeholder { color: var(--muted); }
.sc-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--glow); }
.sc-input--area { resize: vertical; min-height: 120px; }
.sc-select { appearance: none; background-image: none; cursor: pointer; }

.sc-form-ok {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    color: var(--text);
    background: color-mix(in srgb, var(--secondary) 16%, var(--surface));
    border: 2px solid color-mix(in srgb, var(--secondary) 40%, transparent);
    border-radius: 14px;
}
.sc-form-ok strong { font-family: var(--font-display); }
.sc-form-ok span { color: var(--muted); font-size: var(--step--1); }

.sc-block { margin: 0 0 var(--sp-3); padding: 0; border: 0; }
.sc-block__title {
    padding: 0;
    margin-bottom: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--text);
}

.sc-picks { display: flex; flex-direction: column; gap: 10px; }
.sc-pick {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color var(--dur-micro) var(--ease-standard), background-color var(--dur-micro) var(--ease-standard);
}
.sc-pick:hover { border-color: var(--primary); }
.sc-pick:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.sc-pick input { accent-color: var(--primary); flex: none; width: 18px; height: 18px; }
.sc-pick__body { flex: 1; display: flex; flex-direction: column; }
.sc-pick__label { font-weight: 700; }
.sc-pick__sub { font-size: var(--step--1); color: var(--muted); }
.sc-pick__price { font-family: var(--font-display); font-weight: 600; color: var(--primary); }

/* ── breadcrumbs / steps ──────────────────────────────────────────────── */

.sc-crumbs { margin-bottom: var(--sp-3); font-size: var(--step--1); }
.sc-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.sc-crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.sc-crumbs a { color: var(--muted); }
.sc-crumbs a:hover { color: var(--primary); }

.sc-steps {
    display: flex;
    max-width: 420px;
    margin: var(--sp-3) 0 var(--sp-4);
    padding: 0;
    list-style: none;
}
.sc-steps__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}
.sc-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--border);
}
.sc-steps__dot {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 50%;
}
.sc-steps__item.is-done .sc-steps__dot { color: var(--text); background: var(--secondary); border-color: var(--secondary); color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.sc-steps__item.is-current .sc-steps__dot { color: var(--band-ink); background: var(--primary); border-color: var(--primary); }
.sc-steps__item.is-current { color: var(--text); }
.sc-steps__label { font-size: var(--step--1); font-weight: 700; white-space: nowrap; }

/* ── cart / checkout layout ───────────────────────────────────────────── */

.sc-cart,
.sc-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
    gap: clamp(var(--sp-3), 3vw, var(--sp-6));
    align-items: start;
    margin-top: var(--sp-4);
}

.sc-cart__items { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--sp-3); }

.cart-item {
    display: grid;
    grid-template-columns: 84px 1fr auto auto auto;
    align-items: center;
    gap: var(--sp-2);
    padding: 12px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.2);
    transition: border-color var(--dur-micro) var(--ease-standard);
}
.cart-item:hover { border-color: var(--text); }
.cart-item__img-wrap {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
    overflow: hidden;
}
.cart-item__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-item__title { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.cart-item__title:hover { color: var(--primary); }
.cart-item__original { font-size: var(--step--1); color: var(--muted); }
.cart-item__price { font-size: var(--step--1); color: var(--muted); }
.cart-item__line-total { font-family: var(--font-display); font-weight: 600; color: var(--primary); white-space: nowrap; }

.cart-item__qty,
.sc-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
}
.qty-btn,
.sc-qty__btn {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--dur-micro) var(--ease-standard);
}
.qty-btn:hover,
.sc-qty__btn:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.qty-val,
.sc-qty__val { min-width: 28px; text-align: center; font-family: var(--font-display); font-weight: 600; }

.cart-item__remove {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color var(--dur-micro) var(--ease-standard), background-color var(--dur-micro) var(--ease-standard);
}
.cart-item__remove:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }

.sc-summary {
    padding: var(--sp-3);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.4);
    box-shadow: var(--shadow-1);
}
.sc-summary--sticky { position: sticky; top: 96px; }
.sc-summary__title { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.sc-summary__row { display: flex; justify-content: space-between; gap: var(--sp-2); padding-block: 8px; color: var(--muted); }
.sc-summary__row--total {
    margin-top: 6px;
    padding-top: var(--sp-2);
    border-top: 2px dashed var(--border);
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    color: var(--text);
}
.sc-summary .sc-btn { margin-top: 12px; }
.sc-summary__items { display: flex; flex-direction: column; gap: 10px; }
.sc-summary__trust { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--step--1); color: var(--muted); }
.sc-summary__trust li { display: flex; align-items: center; gap: 8px; }
.sc-summary__trust svg { color: var(--secondary-ink); flex: none; }

.checkout-summary-item { display: flex; align-items: center; gap: 10px; }
.checkout-summary-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.checkout-summary-item__info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.checkout-summary-item__title { font-weight: 700; font-size: var(--step--1); }
.checkout-summary-item__qty { font-size: var(--step--1); color: var(--muted); }
.checkout-summary-item__price { font-family: var(--font-display); font-weight: 600; color: var(--primary); white-space: nowrap; }

.sc-blank {
    max-width: 480px;
    margin: var(--sp-6) auto;
    padding: var(--sp-6) var(--sp-4);
    text-align: center;
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: calc(var(--radius) * 1.6);
}
.sc-blank__art {
    display: inline-grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-bottom: var(--sp-2);
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border-radius: 50%;
}
.sc-blank__title { font-size: var(--step-2); margin-bottom: 8px; }
.sc-blank__text { color: var(--muted); margin-bottom: var(--sp-3); }

/* ── product detail ───────────────────────────────────────────────────── */

.sc-pd__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(var(--sp-4), 4vw, var(--sp-8));
    align-items: start;
}
.sc-gallery { position: sticky; top: 96px; }
.sc-gallery__stage {
    aspect-ratio: 1 / 1;
    border-radius: calc(var(--radius) * 1.6);
    background: color-mix(in srgb, var(--primary) 7%, var(--surface));
    border: 3px solid var(--text);
    box-shadow: var(--shadow-2);
    overflow: hidden;
}
.sc-gallery__main { width: 100%; height: 100%; object-fit: cover; }
.sc-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sc-gallery__thumb {
    width: 76px;
    height: 76px;
    padding: 0;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--dur-micro) var(--ease-standard), transform var(--dur-micro) var(--ease-pop);
}
.sc-gallery__thumb:hover { transform: translateY(-2px); }
.sc-gallery__thumb.is-active { border-color: var(--primary); }
.sc-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sc-pd__info > * + * { margin-top: var(--sp-2); }
.sc-pd__title { font-size: clamp(1.86rem, 1.62rem + 1.16vw, 2.75rem); }
.sc-pd__ratingrow { display: flex; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--muted); }
.sc-stars { color: var(--accent-ink); letter-spacing: .06em; }
.sc-pd__price-current {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 600;
    color: var(--primary);
}
.sc-pd__desc { color: var(--ink-2); }
.sc-pd__desc p { margin-bottom: var(--sp-1); }

.sc-variants { display: flex; flex-direction: column; gap: var(--sp-2); }
.sc-variant { margin: 0; padding: 0; border: 0; }
.sc-variant__label {
    padding: 0;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--ink-2);
}
.sc-variant__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-swatch {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    font-weight: 700;
    font-size: var(--step--1);
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: border-color var(--dur-micro) var(--ease-standard), transform var(--dur-micro) var(--ease-pop), background-color var(--dur-micro) var(--ease-standard);
}
.sc-swatch:hover { transform: translateY(-2px); border-color: var(--primary); }
.sc-swatch.is-active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); }
.sc-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.sc-stockline { font-size: var(--step--1); }
.sc-stockline--in { color: var(--secondary-ink); font-weight: 700; }
.sc-stockline--out { color: var(--accent-ink); font-weight: 700; }
.sc-stockline--pick { color: var(--muted); }

.sc-pd__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--sp-3); }
.sc-pd__form { flex: 1 1 220px; }

.sc-pd__trust { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--step--1); color: var(--muted); }
.sc-pd__trust li { display: flex; align-items: center; gap: 9px; }
.sc-pd__trust svg { color: var(--secondary-ink); flex: none; }

.sc-stickybuy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    padding: 12px var(--sp-2);
    background: var(--surface);
    border-top: 2px solid var(--border);
    box-shadow: var(--shadow-3);
    transform: translateY(110%);
    transition: transform var(--dur-ui) var(--ease-out);
}
.sc-stickybuy__meta { display: flex; flex-direction: column; min-width: 0; }
.sc-stickybuy__title { font-weight: 700; font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-stickybuy__price { font-family: var(--font-display); font-weight: 600; color: var(--primary); }

/* ── reviews ──────────────────────────────────────────────────────────── */

.sc-reviews { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(var(--sp-4), 4vw, var(--sp-8)); align-items: start; }
.sc-reviews__intro { grid-column: 1 / -1; }
.sc-reviews__list { display: flex; flex-direction: column; gap: 12px; }
.sc-review {
    padding: var(--sp-3);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: calc(var(--radius) * 1.2);
}
.sc-review__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-bottom: 6px; }
.sc-review__who { font-family: var(--font-display); font-weight: 600; }
.sc-review__title { font-weight: 800; margin-bottom: 4px; }
.sc-review__body { color: var(--ink-2); }
.sc-review__when { display: block; margin-top: 8px; font-size: var(--step--1); color: var(--muted); }
.sc-reviews__formtitle { font-size: var(--step-1); margin-bottom: var(--sp-2); }

.sc-rating { display: flex; gap: 4px; }
.sc-rating__star {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--accent-ink);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--dur-micro) var(--ease-pop), background-color var(--dur-micro) var(--ease-standard);
}
.sc-rating__star:hover { transform: scale(1.15); background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* ── filters ──────────────────────────────────────────────────────────── */

.sc-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-2);
    padding: 14px 16px;
    margin-bottom: var(--sp-4);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
}
.sc-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-chip--filter {
    padding: 8px 16px;
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--ink-2);
    background: var(--background);
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color var(--dur-micro) var(--ease-standard), color var(--dur-micro) var(--ease-standard), transform var(--dur-micro) var(--ease-pop);
}
.sc-chip--filter:hover { transform: translateY(-2px); color: var(--primary); }
.sc-chip--filter.is-active { color: var(--band-ink); background: var(--primary); }

.sc-sort { display: inline-flex; align-items: center; gap: 8px; }
.sc-sort__label { font-family: var(--font-display); font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.sc-sort .sc-select { padding: 9px 14px; border-radius: var(--radius-pill); background: var(--background); color: var(--text); }

/* ── footer ───────────────────────────────────────────────────────────── */

/* Inverted page: painted from --text, so a dark-mode recolor flips it back
   to a light footer with dark type instead of stranding one of the two. */
.sc-footer {
    position: relative;
    padding-block: var(--sp-8) var(--sp-4);
    background: var(--text);
    color: var(--band-ink-soft);
}
.sc-footer__squiggle {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 40px;
    color: var(--accent);
    overflow: hidden;
}
.sc-footer__squiggle svg { width: 100%; height: 40px; }

.sc-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--sp-4);
    padding-top: var(--sp-4);
}
.sc-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--band-ink); }
.sc-footer-logo__img { max-height: 40px; width: auto; }
.sc-footer-logo-text { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; }
.sc-footer__tag { margin-top: 10px; max-width: 34ch; }
.sc-footer__social { margin-top: var(--sp-2); color: var(--band-ink); }
.sc-footer__head {
    font-family: var(--font-display);
    font-size: var(--step-0);
    font-weight: 600;
    color: var(--band-ink);
    margin-bottom: 12px;
}
.sc-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sc-footer__list a { color: var(--band-ink-soft); transition: color var(--dur-micro) var(--ease-standard); }
.sc-footer__list a:hover { color: var(--accent); }
.sc-footer__list--contact { word-break: break-word; }

.sc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    justify-content: space-between;
    margin-top: var(--sp-6);
    padding-top: var(--sp-2);
    border-top: 1px solid var(--band-ink-line);
    font-size: var(--step--1);
}
.sc-footer__made { opacity: .7; }

.sc-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 65;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--band-ink);
    background: var(--primary);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.sc-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ── motion ───────────────────────────────────────────────────────────── */

/* Resting state is ALWAYS the visible one — a browser without scroll-driven
   animation support (or a visitor who asked for less motion) simply gets the
   finished layout, never a blank band. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
    .sc-hero__copy > *,
    .sc-hero__art { animation: sc-rise var(--dur-reveal) var(--ease-out) both; }
    .sc-hero__copy > *:nth-child(1) { animation-delay: 40ms; }
    .sc-hero__copy > *:nth-child(2) { animation-delay: 100ms; }
    .sc-hero__copy > *:nth-child(3) { animation-delay: 160ms; }
    .sc-hero__copy > *:nth-child(4) { animation-delay: 220ms; }
    .sc-hero__copy > *:nth-child(5) { animation-delay: 280ms; }
    .sc-hero__copy > *:nth-child(6) { animation-delay: 340ms; }
    .sc-hero__copy > *:nth-child(7) { animation-delay: 400ms; }
    .sc-hero__art { animation-delay: 180ms; animation-duration: var(--dur-slow); }

    .sc-ticker__track { animation: sc-scroll var(--dur-marquee) linear infinite; }
    .sc-ticker:hover .sc-ticker__track { animation-play-state: paused; }

    @supports (animation-timeline: view()) {
        .reveal {
            animation: sc-rise linear both;
            animation-timeline: view();
            animation-range: entry 4% cover 26%;
        }
    }

    /* Browsers without scroll-driven animation get the same reveal from an
       IntersectionObserver. `sc-no-sdt` is only ever set by main.js AFTER it
       has confirmed IntersectionObserver exists, so the hidden start state
       can never be reached by a browser that has no way out of it. */
    .sc-no-sdt .reveal {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
    }
    .sc-no-sdt .reveal.is-in { opacity: 1; transform: none; }
}

@keyframes sc-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes sc-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: var(--dur-none) !important;
        animation-iteration-count: 1 !important;
        transition-duration: var(--dur-none) !important;
        scroll-behavior: auto !important;
    }
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .sc-grid--products,
    .sc-grid--promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-tile:first-child { grid-column: span 2; grid-row: auto; min-height: 260px; }
}

@media (max-width: 900px) {
    .sc-nav {
        position: fixed;
        inset: 72px 0 auto;
        margin: 0;
        padding: var(--sp-2);
        background: var(--surface);
        border-bottom: 2px solid var(--border);
        box-shadow: var(--shadow-2);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        transform: translateY(-130%);
        visibility: hidden;
        transition: transform var(--dur-ui) var(--ease-out), visibility var(--dur-ui) linear;
    }
    .sc-nav.is-open { transform: translateY(0); visibility: visible; }
    .sc-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .sc-nav-item { padding: 13px 16px; font-size: var(--step-0); }
    .sc-nav-item::after { display: none; }
    .sc-burger { display: flex; }

    .sc-hero__grid,
    .sc-hero__compact-grid,
    .sc-faqs,
    .sc-contact,
    .sc-pd__grid,
    .sc-reviews,
    .sc-cart,
    .sc-checkout { grid-template-columns: minmax(0, 1fr); }

    .sc-hero__art { max-width: 460px; margin-inline: auto; }
    .sc-gallery,
    .sc-summary--sticky { position: static; }
    .sc-grid--quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .sc-shell { width: min(1180px, 100% - var(--sp-3)); }
    .sc-grid--products,
    .sc-grid--promises,
    .sc-grid--quotes,
    .sc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-tile:first-child { grid-column: span 2; }
    .sc-field-row { grid-template-columns: minmax(0, 1fr); }
    .sc-hero__cta .sc-btn { flex: 1 1 100%; }
    .sc-chip--one, .sc-chip--two { display: none; }
    .sc-squiggle { display: none; }
    .sc-ring--a, .sc-bar--a, .sc-tri--a, .sc-dot--a { display: none; }

    .cart-item { grid-template-columns: 64px 1fr auto; row-gap: 10px; }
    .cart-item__img-wrap { width: 64px; height: 64px; }
    .cart-item__qty { grid-column: 2; }
    .cart-item__line-total { grid-column: 3; }
    .cart-item__remove { grid-row: 1; grid-column: 3; }

    .sc-stickybuy { display: flex; }
    .sc-stickybuy.is-visible { transform: translateY(0); }
    .sc-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .sc-grid--products,
    .sc-grid--promises,
    .sc-grid--quotes { grid-template-columns: minmax(0, 1fr); }
    .sc-logo-text { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Bigger touch targets on real touch devices. */
@media (hover: none) and (pointer: coarse) {
    .qty-btn, .sc-qty__btn { width: 38px; height: 38px; }
    .sc-nav-item { padding-block: 15px; }
    .product-card__peek { opacity: 1; transform: translate(-50%, 0); }
}

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
.sc-band--accent .sc-kicker { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.sc-band--accent) h1 { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.sc-band--accent) h2 { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.sc-band--accent) h3 { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.sc-band--accent) h4 { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.sc-band--accent .sc-sec__sub { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where(.sc-ticker) .sc-ticker__item { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.sc-btn--soft { color: oklch(from color-mix(in srgb, var(--primary) 10%, var(--surface)) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
