/* ══════════════════════════════════════════════════════════════════════════
   Satistype — storefront
   A keycap you can press: heavy black outlines, hard offset shadows, one
   loud orange, one acid lime. No external fonts, no framework.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --ink:        #14131a;
    --ink-soft:   #2a2733;
    --paper:      #fbf8f1;
    --paper-2:    #f3f0e8;
    --white:      #ffffff;
    --accent:     #ff4d1c;
    --accent-ink: #ffffff;
    --pop:        #d8ff3e;
    --muted:      #5b5766;
    --bad:        #c81e3c;
    --good:       #0f9d58;

    --line:       3px;
    --radius:     14px;
    --radius-sm:  9px;
    --shadow:     6px 6px 0 var(--ink);
    --shadow-sm:  4px 4px 0 var(--ink);
    --shadow-xs:  3px 3px 0 var(--ink);

    --shell:      1180px;
    --gap:        clamp(1rem, 2.5vw, 2rem);

    --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

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

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 clamp(1rem, .96rem + .18vw, 1.075rem)/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 800;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

code, .mono { font-family: var(--mono); font-size: .92em; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: var(--white);
    padding: .8rem 1.2rem; font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section          { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--narrow  { max-width: 46rem; }
.center           { text-align: center; }
.hidden           { display: none; }
.block            { display: block; }
.muted            { color: var(--muted); }
.text-bad         { color: var(--bad); }
.strong           { font-weight: 700; }
.break            { overflow-wrap: anywhere; }

/* ── Buttons ─────────────────────────────────────────────────────────────
   The press effect is the whole brand: the shadow collapses as it goes down. */

.btn {
    --btn-bg: var(--accent);
    --btn-fg: var(--accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .78rem 1.35rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font: 700 1rem/1 var(--sans);
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .1s var(--ease), box-shadow .1s var(--ease), background .15s;
    text-align: center;
}

.btn:hover  { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }

.btn--lg    { padding: 1rem 1.7rem; font-size: 1.075rem; box-shadow: var(--shadow); }
.btn--lg:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn--sm    { padding: .5rem .9rem; font-size: .875rem; box-shadow: var(--shadow-xs); }
.btn--xs    { padding: .35rem .65rem; font-size: .8rem; box-shadow: 2px 2px 0 var(--ink); }
.btn--block { display: flex; width: 100%; }

.btn--ghost { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: var(--white); border-color: var(--white); box-shadow: 6px 6px 0 var(--pop); }
.btn--danger { --btn-bg: var(--bad); --btn-fg: var(--white); }

.btn.is-disabled,
.btn[aria-disabled="true"] {
    --btn-bg: var(--paper-2);
    --btn-fg: var(--muted);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.link-quiet {
    background: none; border: 0; padding: 0;
    color: var(--muted); font: inherit; font-size: .925rem;
    text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer;
}
.link-quiet:hover { color: var(--ink); }

/* ── Masthead ──────────────────────────────────────────────────────────── */

.masthead {
    position: sticky; top: 0; z-index: 40;
    background: var(--ink);
    border-bottom: var(--line) solid var(--ink);
}

.masthead__inner {
    display: flex; align-items: center; gap: 1rem;
    min-height: 68px;
}

.brand {
    display: inline-flex; align-items: center; gap: .6rem;
    text-decoration: none; color: var(--white);
    font-weight: 800; letter-spacing: -.03em;
    margin-right: auto;
}

.brand__cap {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    background: var(--pop); color: var(--ink);
    border-radius: 8px;
    box-shadow: 0 3px 0 #a9c92c;
    font: 800 1.05rem/1 var(--sans);
    transition: transform .08s var(--ease), box-shadow .08s var(--ease);
}
.brand:hover .brand__cap { transform: translateY(1px); box-shadow: 0 2px 0 #a9c92c; }
.brand__cap--sm { width: 28px; height: 28px; font-size: .9rem; }
.brand__name { font-size: 1.15rem; }
.brand--stack { flex-direction: column; gap: .55rem; color: var(--ink); }

.nav { display: flex; align-items: center; gap: .35rem; }

.nav__link {
    padding: .5rem .8rem;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-weight: 600; font-size: .95rem;
    border-radius: 7px;
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav__link.is-current { color: var(--pop); }
.nav__link--quiet { display: none; }

@media (min-width: 720px) { .nav__link--quiet { display: inline-block; } }

.cart-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem .55rem .5rem .9rem;
    background: var(--white); color: var(--ink);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 3px 3px 0 var(--pop);
    font-weight: 700; font-size: .925rem;
    text-decoration: none;
    transition: transform .1s var(--ease), box-shadow .1s var(--ease);
}
.cart-btn:hover  { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--pop); }
.cart-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--pop); }
.cart-btn.has-items { background: var(--pop); box-shadow: 3px 3px 0 var(--accent); }

.cart-btn__count {
    display: grid; place-items: center;
    min-width: 24px; height: 24px; padding-inline: .3rem;
    background: var(--ink); color: var(--white);
    border-radius: 6px;
    font: 700 .8rem/1 var(--mono);
}

@media (max-width: 519px) { .cart-btn__label { display: none; } }

/* ── Flash ─────────────────────────────────────────────────────────────── */

.flash-wrap { padding-top: 1rem; display: grid; gap: .6rem; }

.flash {
    display: flex; align-items: flex-start; gap: .7rem;
    padding: .8rem 1rem;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    font-size: .95rem;
    animation: flash-in .28s var(--ease);
}

@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } }

.flash__mark {
    display: grid; place-items: center;
    flex: 0 0 auto; width: 22px; height: 22px;
    background: var(--good); color: var(--white);
    border-radius: 50%; font: 700 .8rem/1 var(--sans);
}
.flash--error .flash__mark { background: var(--bad); }
.flash--error { border-color: var(--bad); }
.flash__text  { flex: 1; }

.flash__close {
    flex: 0 0 auto; background: none; border: 0; cursor: pointer;
    font-size: 1.35rem; line-height: 1; color: var(--muted); padding: 0 .15rem;
}
.flash__close:hover { color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    background: var(--ink);
    color: var(--white);
    border-bottom: var(--line) solid var(--ink);
    overflow: hidden;
    position: relative;
}

.hero::after {
    /* faint grid, like a keyboard plate */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(120% 90% at 70% 20%, #000 30%, transparent 75%);
}

.hero__inner {
    position: relative; z-index: 1;
    display: grid; gap: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(3rem, 8vw, 6rem);
    align-items: center;
}

@media (min-width: 900px) {
    .hero__inner { grid-template-columns: 1.15fr .85fr; }
}

.eyebrow {
    display: inline-block;
    margin: 0 0 1.1rem;
    padding: .35rem .75rem;
    background: rgba(216, 255, 62, .14);
    border: 1px solid rgba(216, 255, 62, .4);
    border-radius: 100px;
    color: var(--pop);
    font: 700 .74rem/1.4 var(--mono);
    letter-spacing: .06em; text-transform: uppercase;
}

.hero__title {
    font-size: clamp(2.9rem, 10vw, 5.75rem);
    line-height: .92;
    letter-spacing: -.045em;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.hero__word {
    display: inline-block;
    margin-right: .22em;
    animation: word-in .55s var(--ease) backwards;
    animation-delay: calc(var(--i) * 90ms);
}
.hero__word:nth-child(2) { color: var(--pop); }
.hero__word:nth-child(3) { color: var(--accent); }

@keyframes word-in {
    from { opacity: 0; transform: translateY(.35em) rotate(-2deg); }
}

.hero__sub {
    max-width: 34rem;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1.05rem, .98rem + .4vw, 1.2rem);
    margin-bottom: 1.9rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 2rem; margin: 0; }
.hero__stats dt { color: rgba(255,255,255,.55); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.hero__stats dd { margin: .2rem 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }

/* Decorative keycaps */
.hero__keys {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 118px));
    gap: 14px;
    justify-content: center;
}

.keycap {
    aspect-ratio: 1;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #34313f 0%, #232029 100%);
    color: var(--white);
    border: 0;
    border-radius: 12px;
    box-shadow:
        0 7px 0 #131118,
        0 8px 16px rgba(0, 0, 0, .45),
        inset 0 2px 0 rgba(255, 255, 255, .12);
    font: 800 clamp(1.5rem, 4vw, 2.1rem)/1 var(--sans);
    animation: key-bob 2.6s var(--ease) infinite;
    animation-delay: var(--d);
}
.hero__keys .keycap:nth-child(1) { background: linear-gradient(180deg, #ff6a3d, #ff4d1c); box-shadow: 0 7px 0 #a52d0c, 0 8px 16px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.25); }
.hero__keys .keycap:nth-child(4) { background: linear-gradient(180deg, #e4ff6b, #d8ff3e); color: var(--ink); box-shadow: 0 7px 0 #92ad20, 0 8px 16px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.55); }

@keyframes key-bob {
    0%, 84%, 100% { transform: translateY(0); }
    88%           { transform: translateY(5px); }
    92%           { transform: translateY(0); }
}

/* ── Marquee strip ─────────────────────────────────────────────────────── */

.strip {
    background: var(--pop);
    border-bottom: var(--line) solid var(--ink);
    overflow: hidden;
    padding-block: .55rem;
}

/* Two identical halves side by side. Each is forced to at least the full
   viewport width, so translating the track by exactly one half always lands on
   an identical frame — the loop is seamless at any screen size. */
.strip__track {
    display: flex;
    width: max-content;
    font: 800 .95rem/1 var(--mono);
    text-transform: uppercase; letter-spacing: .18em;
    animation: strip 26s linear infinite;
}

.strip__half {
    display: flex;
    flex: 0 0 auto;
    gap: 1.1rem;
    min-width: 100vw;
    padding-right: 1.1rem;
    justify-content: space-around;
}

.strip__dot { opacity: .45; }

.strip:hover .strip__track { animation-play-state: paused; }

@keyframes strip { to { transform: translateX(-50%); } }

/* ── Page heads ────────────────────────────────────────────────────────── */

.page-head {
    background: var(--paper-2);
    border-bottom: var(--line) solid var(--ink);
    padding-block: clamp(2rem, 5vw, 3.25rem);
}
.page-head__title { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: .3rem; }
.page-head__sub   { color: var(--muted); max-width: 44rem; margin: 0; }

.section__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.section__title { font-size: clamp(1.6rem, 3.6vw, 2.35rem); margin: 0; }
.section__more  { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }
.section__more:hover { color: var(--accent); }

.crumbs {
    display: flex; gap: .5rem; align-items: center;
    padding-top: 1.25rem;
    font-size: .875rem; color: var(--muted);
}
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* ── Product grid ──────────────────────────────────────────────────────── */

.grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.card:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.card.is-sold { opacity: .82; }
.card.is-sold:hover { transform: none; box-shadow: var(--shadow-sm); }

.card__media {
    position: relative; display: block;
    aspect-ratio: 1; background: var(--paper-2);
    border-bottom: var(--line) solid var(--ink);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card.is-sold .card__media img { filter: grayscale(.75) contrast(.95); }

.chip {
    position: absolute; top: .6rem; left: .6rem;
    padding: .25rem .55rem;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 100px;
    font: 700 .72rem/1.3 var(--mono);
    letter-spacing: .02em;
}
.chip--key  { left: auto; right: .6rem; background: var(--pop); }
.chip--last { top: auto; bottom: .6rem; left: .6rem; background: var(--accent); color: var(--white); }
.chip--static { position: static; display: inline-block; }

.stamp {
    position: absolute; inset: auto .6rem .6rem auto;
    padding: .35rem .8rem;
    background: var(--ink); color: var(--white);
    border-radius: var(--radius-sm);
    font: 800 .95rem/1 var(--sans);
    text-transform: uppercase; letter-spacing: .1em;
    transform: rotate(-6deg);
}
.stamp--lg { font-size: 1.5rem; padding: .6rem 1.3rem; inset: auto 1.2rem 1.2rem auto; }

.card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.05rem 1.1rem; flex: 1; }
.card__name { font-size: 1.2rem; margin: 0; }
.card__name a { text-decoration: none; }
.card__name a:hover { color: var(--accent); }
.card__meta { color: var(--muted); font-size: .85rem; margin: 0; }

.card__foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; margin-top: auto; padding-top: .85rem;
}
.price { font: 800 1.25rem/1 var(--sans); letter-spacing: -.02em; }

/* ── Filters ───────────────────────────────────────────────────────────── */

.filters {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1rem;
    margin-bottom: 1.9rem;
}
.filters__group { display: flex; flex-wrap: wrap; gap: .5rem; }

.pill {
    padding: .45rem .9rem;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 100px;
    font-weight: 700; font-size: .88rem;
    text-decoration: none;
    transition: background .14s, color .14s;
}
.pill:hover  { background: var(--paper-2); }
.pill.is-on  { background: var(--ink); color: var(--white); }

.select {
    padding: .5rem 2.2rem .5rem .8rem;
    background: var(--white)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314131a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right .75rem center / 11px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    font: 600 .9rem/1.4 var(--sans);
    color: var(--ink);
    appearance: none;
    cursor: pointer;
}

/* ── Product detail ────────────────────────────────────────────────────── */

.product {
    display: grid; gap: clamp(1.75rem, 4vw, 3.25rem);
    padding-block: clamp(1.75rem, 4vw, 3rem);
}
@media (min-width: 860px) { .product { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.product__stage {
    position: relative;
    aspect-ratio: 1;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.product__stage img { width: 100%; height: 100%; object-fit: cover; }

.product__thumbs {
    display: grid; gap: .65rem; margin-top: .9rem;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
}

.thumb {
    padding: 0; aspect-ratio: 1; overflow: hidden; cursor: pointer;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-on { box-shadow: 0 0 0 3px var(--accent); }

@media (min-width: 860px) {
    .product__info { position: sticky; top: 92px; }
}

.product__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.product__name { font-size: clamp(2.1rem, 5.5vw, 3.1rem); margin-bottom: .25rem; }
.product__price { font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.15rem; }

.stock-line {
    display: inline-block;
    padding: .4rem .8rem; margin-bottom: 1.2rem;
    background: var(--pop);
    border: 2px solid var(--ink);
    border-radius: 100px;
    font-weight: 700; font-size: .9rem;
}
.stock-line.is-last { background: var(--accent); color: var(--white); }

.product__buy { display: grid; gap: .85rem; margin-bottom: 1.75rem; }
@media (min-width: 480px) { .product__buy { grid-template-columns: auto 1fr; align-items: center; } }

.qty {
    display: inline-flex; align-items: stretch;
    border: var(--line) solid var(--ink);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}
.qty__btn {
    width: 44px; border: 0; background: var(--paper-2); cursor: pointer;
    font: 700 1.2rem/1 var(--sans); color: var(--ink);
}
.qty__btn:hover { background: var(--pop); }
.qty__input {
    width: 62px; border: 0; text-align: center;
    font: 700 1.05rem/1 var(--mono); color: var(--ink);
    background: var(--white);
    -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.notice {
    padding: .9rem 1.1rem; margin-bottom: 1.5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: .95rem;
}
.notice--muted { background: var(--paper-2); color: var(--muted); }
.notice--bad   { border-color: var(--bad); color: var(--bad); }

.prose { margin-bottom: 1.75rem; }
.prose p { margin-bottom: .9em; }
.prose--lg { font-size: 1.1rem; }

.spec { margin: 0 0 1.5rem; border-top: 2px solid var(--ink); }
.spec > div {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .65rem 0; border-bottom: 1px solid rgba(20, 19, 26, .14);
}
.spec dt { color: var(--muted); font-size: .9rem; }
.spec dd { margin: 0; font-weight: 600; font-size: .93rem; text-align: right; }
.spec--tight > div { padding: .45rem 0; }

.product__fine { color: var(--muted); font-size: .9rem; }

/* ── Pitch band ────────────────────────────────────────────────────────── */

.pitch { background: var(--ink); color: var(--white); border-block: var(--line) solid var(--ink); }
.pitch__inner {
    display: grid; gap: clamp(1.5rem, 4vw, 3rem);
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
@media (min-width: 760px) { .pitch__inner { grid-template-columns: repeat(3, 1fr); } }

.pitch__num {
    display: block; margin-bottom: .6rem;
    font: 800 .85rem/1 var(--mono); letter-spacing: .18em;
    color: var(--pop);
}
.pitch__item h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.pitch__item p  { color: rgba(255, 255, 255, .72); margin: 0; }

/* ── Empty states ──────────────────────────────────────────────────────── */

.empty {
    padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
    text-align: center;
    background: var(--white);
    border: var(--line) dashed var(--ink);
    border-radius: var(--radius);
}
.empty__title { font-size: 1.4rem; font-weight: 800; margin-bottom: .4rem; }
.empty p { color: var(--muted); }
.empty p:last-child { margin-top: 1.25rem; }

/* ── Cart ──────────────────────────────────────────────────────────────── */

.cart { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 880px) { .cart { grid-template-columns: 1fr 22rem; } }

.cart__lines { display: grid; gap: 1rem; }

.line {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    grid-template-areas:
        "media info  total"
        "media qty   remove";
    gap: .5rem 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

@media (min-width: 620px) {
    .line {
        grid-template-columns: 96px 1fr auto auto auto;
        grid-template-areas: "media info qty total remove";
    }
}

.line__media  { grid-area: media; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.line__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.line__info   { grid-area: info; }
.line__qty    { grid-area: qty; }
.line__total  { grid-area: total; font-weight: 800; font-size: 1.1rem; text-align: right; }
.line__remove {
    grid-area: remove; justify-self: end;
    background: none; border: 0; padding: .2rem;
    color: var(--muted); font: inherit; font-size: .85rem;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.line__remove:hover { color: var(--bad); }

.line__name { font-size: 1.05rem; margin: 0 0 .15rem; }
.line__name a { text-decoration: none; }
.line__name a:hover { color: var(--accent); }
.line__meta { color: var(--muted); font-size: .85rem; margin: 0; }
.line__notice { color: var(--accent); font-size: .85rem; font-weight: 600; margin: .3rem 0 0; }

.line__qty .qty__input {
    width: 66px; padding: .45rem 0;
    border: 2px solid var(--ink); border-radius: var(--radius-sm);
}

.cart__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .35rem; }

/* ── Summary ───────────────────────────────────────────────────────────── */

.summary {
    padding: 1.4rem;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
@media (min-width: 880px) { .summary--sticky { position: sticky; top: 92px; } }

.summary__title { font-size: 1.25rem; margin-bottom: 1rem; }

.summary__items { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.summary__items li { display: grid; grid-template-columns: 44px 1fr auto; gap: .7rem; align-items: center; font-size: .92rem; }
.summary__items img { border: 2px solid var(--ink); border-radius: 7px; aspect-ratio: 1; object-fit: cover; }
.summary__item-name small { display: block; color: var(--muted); font-size: .8rem; }
.summary__item-price { font-weight: 700; }

.summary__rows { margin: 0 0 .9rem; padding-top: .9rem; border-top: 2px solid var(--ink); }
.summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; font-size: .93rem; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-weight: 600; }

.summary__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .85rem 0 1.15rem;
    border-top: 2px solid var(--ink);
    font-weight: 700;
}
.summary__total strong { font-size: 1.6rem; letter-spacing: -.03em; }

.summary__fine { color: var(--muted); font-size: .82rem; margin: .8rem 0 0; }
.summary__clear { margin-top: .9rem; text-align: center; }
.summary__back  { display: block; margin-top: .9rem; text-align: center; }

/* ── Panels & forms ────────────────────────────────────────────────────── */

.panel {
    padding: clamp(1.25rem, 3vw, 1.9rem);
    margin-bottom: var(--gap);
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.panel:last-child { margin-bottom: 0; }
.panel--center { text-align: center; }
.panel--center .field { text-align: left; }

.panel__title {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1.2rem; margin-bottom: 1.1rem; padding: 0;
}
.panel__title--big { font-size: 1.75rem; justify-content: center; }
.panel__lede { color: var(--muted); margin-bottom: 1.4rem; }

.panel__num {
    display: grid; place-items: center;
    width: 26px; height: 26px;
    background: var(--accent); color: var(--white);
    border-radius: 7px;
    font: 800 .85rem/1 var(--mono);
}

.stack { display: grid; gap: 1rem; }

.field { margin-bottom: 1.1rem; }
.field:last-child { margin-bottom: 0; }

.field label,
.field > label {
    display: block; margin-bottom: .35rem;
    font-weight: 700; font-size: .92rem;
}
.field__opt  { color: var(--muted); font-weight: 400; font-size: .85em; }
.field__hint { color: var(--muted); font-size: .82rem; margin: .35rem 0 0; }

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="search"],
input[type="url"], textarea {
    width: 100%;
    padding: .7rem .85rem;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    font: 400 1rem/1.4 var(--sans);
    color: var(--ink);
}
textarea { resize: vertical; min-height: 5rem; }

input::placeholder, textarea::placeholder { color: #a5a1ae; }

input[type="file"] {
    width: 100%;
    padding: .6rem;
    background: var(--paper-2);
    border: 2px dashed var(--ink);
    border-radius: var(--radius-sm);
    font-size: .9rem;
}

.field-row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

.check { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; cursor: pointer; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }

.input-prefix { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.input-prefix span { display: grid; place-items: center; padding-inline: .8rem; background: var(--paper-2); font-weight: 700; border-right: 2px solid var(--ink); }
.input-prefix input { border: 0; border-radius: 0; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Checkout ──────────────────────────────────────────────────────────── */

.checkout { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 23rem; } }

fieldset.panel { border-width: var(--line); }
fieldset.panel legend { padding-inline: .4rem; margin-left: -.4rem; }

.pay { display: grid; gap: .85rem; }

.pay__option {
    display: flex; gap: .85rem; align-items: flex-start;
    padding: 1.05rem;
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .14s, box-shadow .14s;
}
.pay__option:hover { background: var(--paper-2); }
.pay__option input { margin-top: .25rem; width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; }
.pay__option:has(input:checked) { background: var(--pop); box-shadow: var(--shadow-xs); }

.pay__body { display: block; }
.pay__head { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: .25rem; }
.pay__name { font-weight: 800; font-size: 1.05rem; }
.pay__badge {
    padding: .12rem .5rem;
    background: var(--ink); color: var(--white);
    border-radius: 100px;
    font: 700 .68rem/1.6 var(--mono);
    text-transform: uppercase; letter-spacing: .06em;
}
.pay__badge--alt { background: var(--accent); }
.pay__desc { display: block; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ── Receipt / order status ────────────────────────────────────────────── */

.receipt {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.receipt__mark {
    display: grid; place-items: center;
    width: 62px; height: 62px; margin: 0 auto 1.1rem;
    background: var(--pop); color: var(--ink);
    border: var(--line) solid var(--ink);
    border-radius: 50%;
    font-size: 1.9rem; font-weight: 800;
    animation: pop-in .4s var(--ease);
}
@keyframes pop-in { from { transform: scale(.5); opacity: 0; } }

.receipt__title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: .5rem; }
.receipt__lede  { color: var(--muted); max-width: 34rem; margin: 0 auto 1.6rem; }

.order-number {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .55rem 1.1rem; margin-bottom: 1.6rem;
    background: var(--paper-2);
    border: 2px solid var(--ink);
    border-radius: 100px;
}
.order-number span   { color: var(--muted); font-size: .85rem; }
.order-number strong { font-family: var(--mono); font-size: 1.05rem; letter-spacing: .04em; }

.receipt__items { list-style: none; margin: 0 0 1rem; padding: 0; text-align: left; display: grid; gap: .8rem; }
.receipt__items li { display: grid; grid-template-columns: 48px 1fr auto; gap: .8rem; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid rgba(20,19,26,.12); }
.receipt__items li:last-child { border-bottom: 0; padding-bottom: 0; }
.receipt__items img { border: 2px solid var(--ink); border-radius: 7px; aspect-ratio: 1; object-fit: cover; }
.receipt__items small { display: block; color: var(--muted); font-size: .82rem; }
.receipt__price { font-weight: 700; }

.receipt__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .9rem 0; margin-bottom: 1.6rem;
    border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    font-weight: 700; text-align: left;
}
.receipt__total strong { font-size: 1.5rem; letter-spacing: -.03em; }

.receipt__next { text-align: left; padding: 1.1rem; background: var(--paper-2); border-radius: var(--radius-sm); margin-bottom: 1.6rem; }
.receipt__next h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.receipt__next p  { color: var(--muted); font-size: .93rem; }

.receipt__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.receipt__fine { color: var(--muted); font-size: .85rem; margin-top: 1.4rem; }

.status-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: var(--gap);
    background: var(--white);
    border: var(--line) solid var(--ink);
    border-left-width: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.status-card--paid      { border-left-color: var(--good); }
.status-card--fulfilled { border-left-color: var(--good); }
.status-card--pending   { border-left-color: var(--accent); }
.status-card--cancelled,
.status-card--expired,
.status-card--refunded  { border-left-color: var(--bad); }

.status-card__eyebrow { font: 700 .8rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.status-card__title   { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .6rem; }
.status-card__lede    { color: var(--muted); margin-bottom: 0; }

.track { display: flex; list-style: none; margin: 1.6rem 0 0; padding: 0; gap: .35rem; }
.track__step { flex: 1; display: grid; gap: .5rem; justify-items: center; text-align: center; position: relative; }
.track__step::before {
    content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px;
    background: rgba(20,19,26,.15);
}
.track__step:first-child::before { display: none; }
.track__step.is-done::before { background: var(--ink); }

.track__dot {
    width: 21px; height: 21px; border-radius: 50%;
    background: var(--white); border: 3px solid rgba(20,19,26,.2);
    position: relative; z-index: 1;
}
.track__step.is-done .track__dot { background: var(--pop); border-color: var(--ink); }
.track__label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.track__step.is-done .track__label { color: var(--ink); }

/* ── About Q&A ─────────────────────────────────────────────────────────── */

.qa { display: grid; gap: 1.5rem; margin: 2.5rem 0; }
.qa__item { padding-left: 1.1rem; border-left: 4px solid var(--accent); }
.qa__item h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.qa__item p  { color: var(--muted); margin: 0; }

/* ── Error page ────────────────────────────────────────────────────────── */

.error-page__code {
    font: 800 clamp(3.5rem, 12vw, 6rem)/1 var(--mono);
    color: var(--accent);
    letter-spacing: -.05em;
    margin: 0 0 .3rem;
}

/* ── Blank shell (login) ───────────────────────────────────────────────── */

.blank { background: var(--paper-2); min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.blank__inner { width: 100%; max-width: 27rem; display: grid; gap: 1.5rem; justify-items: center; }
.blank__inner .flash-wrap { width: 100%; padding: 0; }
.blank__inner .panel { width: 100%; }
.login { width: 100%; }
.login__back { text-align: center; margin-top: 1.1rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    border-top: var(--line) solid var(--ink);
    margin-top: clamp(3rem, 8vw, 5rem);
}
.footer__inner { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 3rem); }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1fr auto; align-items: start; } }

.footer__brand { display: flex; gap: .85rem; align-items: flex-start; max-width: 30rem; }
.footer__note  { margin: 0; font-size: .92rem; }

.footer__links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer__links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer__links a:hover { color: var(--pop); }

.footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: rgba(255,255,255,.5); }
