/* Self-hosted Google Fonts (SIL Open Font License): Archivo, Bodoni Moda, Bungee. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/bodoni-moda-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/bodoni-moda-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/bungee-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/bungee-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* PayPos Tiendas storefront. Ported from the approved mockup
   (docs/mockups/shop_storefront.html). Each shop's colours, lettering and
   corners arrive as token overrides in a <style> after this file.
   Layout: full-bleed painted sign, sticky search/cart bar, painted category
   boards, plate grid; every layout rule answers to @container sf. */
:root {
  --bg: #F1F5F2; --surface: #FFFFFF; --surface-2: #E5EDE8; --ink: #13201A; --ink-2: #46564E; --line: #CFDAD3;
  --sign: #0E6B43; --sign-ink: #FFD84A; --sign-sub: #DDF2E6; --sign-shade: #06291A; --sign-stripe: #FFD84A;
  --sign-shadow: 0.06em 0.06em 0 var(--sign-shade);
  --accent: #0E6B43; --on-accent: #FFFFFF; --accent-soft: #DDEFE4; --accent-ink: #0B5536;
  --talker: #FFE04A; --talker-ink: #1B1A10; --talker-sub: #5A5326; --talker-tilt: -1.5deg; --talker-r: 6px;
  --chip: #FFD84A; --chip-ink: #13201A;
  --photo-bg: #FFFFFF; --logo-tile: #FFFFFF; --plate-edge: transparent; --wa: #1F8F4E; --on-wa: #FFFFFF;
  --danger: #B42318; --danger-soft: #FCE8E6; --ok: #0F7448; --ok-soft: #DDF1E6; --warn: #7A4E00; --warn-soft: #FFF1CC;
  --focus: #1F5FBF; --scrim: rgba(8, 20, 14, .48); --shadow: rgba(8, 30, 20, .22);
  --f-ui: "Archivo", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-sign: "Bungee", "Archivo", sans-serif;
  --sign-case: uppercase; --sign-style: normal; --sign-weight: 400; --sign-track: 0.01em;
  --plate-case: uppercase; --plate-style: normal; --plate-weight: 400; --plate-track: 0.01em;
  --r-card: 14px; --r-field: 12px; --r-board: 12px; --r-logo: 18px;
  --ease-o: cubic-bezier(.34, 1.56, .64, 1); --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1310; --surface: #131C17; --surface-2: #1A251F; --ink: #E8F0EB; --ink-2: #A3B3AA; --line: #27342D;
    --talker: #F5D63F; --talker-ink: #1B1A10; --talker-sub: #5A5326;
    --danger: #FF8A7A; --danger-soft: #3A1915; --ok: #5FD39A; --ok-soft: #12301F; --warn: #F5C451; --warn-soft: #33270D;
    --focus: #8DB8FF; --scrim: rgba(0, 0, 0, .6); --shadow: rgba(0, 0, 0, .5);
    --plate-edge: color-mix(in oklab, var(--ink) 16%, transparent);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1310; --surface: #131C17; --surface-2: #1A251F; --ink: #E8F0EB; --ink-2: #A3B3AA; --line: #27342D;
  --talker: #F5D63F; --talker-ink: #1B1A10; --talker-sub: #5A5326;
  --danger: #FF8A7A; --danger-soft: #3A1915; --ok: #5FD39A; --ok-soft: #12301F; --warn: #F5C451; --warn-soft: #33270D;
  --focus: #8DB8FF; --scrim: rgba(0, 0, 0, .6); --shadow: rgba(0, 0, 0, .5);
  --plate-edge: color-mix(in oklab, var(--ink) 16%, transparent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--f-ui); font-stretch: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 25; background: var(--bg); }
::selection { background: var(--accent); color: var(--on-accent); }
input, textarea, select, button { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sign :focus-visible { outline-color: var(--sign-ink); }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ic.flip { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1180px; margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.sf { container: sf / inline-size; min-height: 100vh; display: flex; flex-direction: column; }
.sf > main { flex: 1; }

/* Sign band */
.sign { background: var(--sign); color: var(--sign-sub); position: relative; }
.sign::after { content: ""; position: absolute; inset: auto 0 0; height: var(--stripe-h, 6px); background: var(--sign-stripe); }
.sign-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 20px 26px; }
.sign-name { display: block; text-decoration: none; font-family: var(--f-sign); color: var(--sign-ink); text-shadow: var(--sign-shadow); font-size: clamp(38px, 13cqi, 112px); line-height: .95; letter-spacing: var(--sign-track); text-transform: var(--sign-case); font-style: var(--sign-style); font-weight: var(--sign-weight); text-wrap: balance; overflow-wrap: anywhere; }
.sign-meta { display: grid; gap: 6px; font-size: 14.5px; }
.tagline { font-weight: 600; font-size: 16px; color: var(--sign-sub); }
.sign-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.sign-row:empty { display: none; }
.sign-row span { display: inline-flex; align-items: center; gap: 6px; }
.sign-row .ic { width: 18px; height: 18px; }
.open { font-weight: 700; color: var(--sign-ink); }
.sign-id { display: flex; align-items: center; gap: clamp(12px, 3cqi, 22px); min-width: 0; }
.sign-id .sign-name { min-width: 0; }
.logo-tile { flex: none; display: block; width: clamp(64px, 16cqi, 116px); aspect-ratio: 1; padding: 8px; border-radius: var(--r-logo); background: var(--logo-tile); box-shadow: 0 8px 18px -12px var(--shadow); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-tile.sm { width: 52px; padding: 5px; }
.sign.has-logo .sign-name { font-size: clamp(28px, 9.5cqi, 92px); }
.sign-name.logo-wide { width: min(100%, 460px); padding: 10px 18px; border-radius: var(--r-logo); background: var(--logo-tile); text-shadow: none; box-shadow: 0 8px 18px -12px var(--shadow); }
.logo-wide img { width: 100%; height: auto; display: block; }
@container sf (min-width: 820px) {
  .sign-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding-block: 34px 38px; }
  .sign-meta { justify-items: end; text-align: right; max-width: 360px; }
  .sign-row { justify-content: flex-end; }
}

/* Sticky bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 8px; padding-block: 10px; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-field); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); margin: 0; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--ink); caret-color: var(--accent); }
.search input::placeholder { color: var(--ink-2); }
.pop { position: relative; }
.icon-btn { height: 44px; min-width: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13px; }
.icon-btn:hover { border-color: var(--ink-2); }
.theme-ic { display: inline-flex; }
.lang-short { display: none; }
@container sf (min-width: 620px) { .lang-short { display: inline; } }
/* Small phones: tighter bar so the search field keeps its placeholder readable. */
@container sf (max-width: 420px) {
  .bar-in { gap: 6px; }
  .search { height: 40px; padding: 0 10px; }
  .icon-btn { height: 40px; min-width: 40px; padding: 0 8px; }
  .cart-btn { height: 40px; padding: 0 6px 0 12px; }
}
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: min(var(--r-card), 12px); padding: 6px; z-index: 30; box-shadow: 0 16px 36px -14px var(--shadow); display: grid; gap: 2px; }
.menu a, .menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; background: none; padding: 10px 12px; border-radius: min(var(--r-field), 8px); text-align: left; color: var(--ink); text-decoration: none; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.menu [aria-checked="true"] { font-weight: 700; color: var(--accent-ink); }
.menu [aria-checked="false"] .tick { visibility: hidden; }
.menu .mi { display: inline-flex; align-items: center; gap: 10px; }
.menu .ic { width: 18px; height: 18px; }
.cart-btn { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; flex: none; }
.cart-btn:hover { filter: brightness(1.06); }
.cart-total { display: none; font-variant-numeric: tabular-nums; }
.cart-total:empty { display: none !important; }
@container sf (min-width: 620px) { .cart-total { display: inline; } }
.cart-count { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); display: grid; place-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .45s var(--ease-o); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }

/* Main */
main { padding-block: 20px 48px; }
.mainw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.sec h2, .vh { font-size: 22px; font-weight: 800; font-stretch: 88%; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
.vh { font-size: clamp(24px, 5cqi, 34px); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.link { padding: 4px 0; color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-card); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.notice .ic { color: var(--accent-ink); margin-top: 1px; }
.paused { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-card); background: var(--warn-soft); color: var(--ink); }
.paused .ic { color: var(--warn); width: 24px; height: 24px; }
.paused b { display: block; margin-bottom: 2px; }
.more { display: flex; justify-content: center; }

/* Painted category boards */
.boards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(136px, 42%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@container sf (min-width: 620px) { .boards { grid-auto-columns: minmax(150px, 24%); } }
@container sf (min-width: 900px) { .boards { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }
.board { container-type: inline-size; scroll-snap-align: start; aspect-ratio: 5 / 4; border-radius: var(--r-board); background: var(--pb); color: var(--pf); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .25s var(--ease); }
.board:hover { transform: translateY(-2px); }
.board:active { transform: translateY(0) scale(.98); }
.board b { font-family: var(--f-sign); font-weight: var(--plate-weight); font-style: var(--plate-style); text-transform: var(--plate-case); letter-spacing: var(--plate-track); font-size: var(--bws); line-height: 1; overflow-wrap: anywhere; }
.board small { font-size: 12.5px; font-weight: 600; }
.board.on { box-shadow: inset 0 0 0 3px var(--ink); }
@container sf (max-width: 899px) {
  .boards { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
}

/* Product grid and plates */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@container sf (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container sf (min-width: 820px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; } }
@container sf (min-width: 1080px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card { container: card / inline-size; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.plate-link { display: block; text-decoration: none; }
.plate { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r-card); background: var(--pb); color: var(--pf); display: flex; align-items: center; justify-content: center; padding: 12%; overflow: hidden; }
.plate.photo { background: var(--photo-bg); padding: 6%; }
.plate.photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.plate.card { transition: transform .3s var(--ease); }
.plate-link:hover .plate { transform: translateY(-2px); }
.plate .pw { font-family: var(--f-sign); font-size: var(--pws); font-weight: var(--plate-weight); font-style: var(--plate-style); text-transform: var(--plate-case); letter-spacing: var(--plate-track); line-height: 1; text-align: center; overflow-wrap: anywhere; }
.plate .ps { position: absolute; left: 8%; bottom: 7%; font-size: max(11px, 6.5cqi); font-weight: 700; letter-spacing: .02em; }
.plate[data-out] { filter: saturate(.15); opacity: .62; }
/* In dark mode a dark palette plate would melt into the page: a hairline keeps its edge. */
.plate, .board, .cat-head { box-shadow: inset 0 0 0 1px var(--plate-edge); }
.plate.mini { width: 56px; flex: none; padding: 8%; border-radius: min(var(--r-card), 10px); }
.plate.mini .ps { display: none; }
.card-b { display: grid; gap: 3px; min-width: 0; }
.pn { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pn-btn { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.pm { font-size: 12.5px; color: var(--ink-2); }
.buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }

/* Price talker (hablador) */
.talker { display: inline-grid; gap: 3px; padding: 5px 9px 6px; border-radius: var(--talker-r); background: var(--talker); color: var(--talker-ink); transform: rotate(var(--talker-tilt)); line-height: 1; }
.talker .usd { font-size: 21px; font-weight: 800; font-stretch: 72%; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.talker .per { font-size: .62em; font-weight: 700; margin-left: 2px; }
.talker .bs { font-size: 11px; font-weight: 600; color: var(--talker-sub); font-variant-numeric: tabular-nums; }
.talker.big { padding: 8px 14px 10px; }
.talker.big .usd { font-size: 44px; }
.talker.big .bs { font-size: 13px; }

/* Capsule: the round chip rides the trailing edge, and crosses to the leading edge once the item is in the cart */
.cap { position: relative; height: 40px; display: inline-flex; align-items: center; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); padding: 0 46px 0 16px; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform .2s var(--ease), filter .2s; }
.cap:hover { filter: brightness(1.07); }
.cap:active { transform: scale(.97); }
.cap .chip { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); display: grid; place-items: center; }
.cap .chip .ic { width: 18px; height: 18px; }
.cap .chip.back { animation: back .45s var(--ease-o); }
.cap.live { padding: 0 4px; gap: 2px; }
.cap.live .chip { position: static; width: auto; min-width: 32px; padding: 0 9px; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cap.live .chip.enter { animation: cross .45s var(--ease-o); }
.cap .st { width: 34px; height: 34px; border: 0; border-radius: 999px; background: none; color: var(--on-accent); display: grid; place-items: center; }
.cap .st:hover { background: color-mix(in oklab, var(--on-accent) 16%, transparent); }
.cap .st:disabled { opacity: .45; }
.cap .st .ic { width: 18px; height: 18px; }
.cap.off { background: var(--surface-2); color: var(--ink-2); padding: 0 14px; font-weight: 600; }
.cap.off:hover { filter: none; }
@keyframes cross { from { transform: translateX(72px); } to { transform: none; } }
@keyframes back { from { transform: translateX(-72px); } to { transform: none; } }
.cap-slot { display: contents; }
/* Mid-width cards stack the talker over a full-width capsule, so every card
   in a row lays out the same way whatever the label length. */
@container card (min-width: 191px) and (max-width: 279px) {
  .buy { flex-direction: column; align-items: stretch; }
  .buy .talker { align-self: flex-start; }
  .buy .cap { width: 100%; }
  .buy .cap.live { justify-content: space-between; }
}
@container card (max-width: 190px) {
  .cap:not(.live):not(.off) { padding: 0; width: 40px; justify-content: center; }
  .cap:not(.live):not(.off) .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cap:not(.live):not(.off) .chip { right: 4px; }
}

/* Crumbs, category header */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink-2); font-size: 14px; }
.crumbs a { padding: 6px 0; color: var(--accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ic { width: 18px; height: 18px; }
.cat-head { container-type: inline-size; border-radius: var(--r-board); background: var(--pb); color: var(--pf); padding: 22px 20px; display: grid; gap: 6px; }
.cat-head h1 { font-family: var(--f-sign); font-weight: var(--plate-weight); font-style: var(--plate-style); text-transform: var(--plate-case); letter-spacing: var(--plate-track); font-size: clamp(30px, 9cqi, 64px); line-height: 1; overflow-wrap: anywhere; }
.cat-head p { font-weight: 600; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.chips a { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; text-decoration: none; }
.chips a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@container sf (min-width: 820px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.pd .plate { max-width: 560px; padding: 14%; }
.pd .plate.photo { padding: 6%; }
.pd-i { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; align-content: start; }
.pd-i h1 { font-size: clamp(26px, 5cqi, 40px); font-weight: 800; font-stretch: 88%; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.pd-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.tax { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.equiv, .help { font-size: 14px; color: var(--ink-2); max-width: 52ch; }
.pd-buy .cap { height: 50px; font-size: 16px; padding: 0 56px 0 22px; }
.pd-buy .cap .chip { width: 42px; height: 42px; }
.pd-buy .cap.live { padding: 0 5px; }
.pd-buy .cap.live .chip { min-width: 42px; width: auto; padding: 0 12px; }
.pd-buy .cap .st { width: 42px; height: 42px; }
.pd-buy .cap.off { padding: 0 22px; }
.desc { max-width: 60ch; white-space: pre-line; }
.facts { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.facts div { display: flex; gap: 8px; }
.facts dd { font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; }

/* Empty states */
.empty { display: grid; justify-items: start; gap: 10px; padding: 28px 0; max-width: 56ch; }
.empty .big { width: 44px; height: 44px; color: var(--ink-2); }
.empty h1, .empty h2 { font-size: 22px; font-weight: 800; font-stretch: 88%; overflow-wrap: anywhere; }
.empty p { color: var(--ink-2); }

/* Buttons */
.btn { height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 16px; white-space: nowrap; text-decoration: none; transition: transform .2s var(--ease), filter .2s; }
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: var(--surface-2); color: var(--ink-2); filter: none; transform: none; }
.btn.wide { width: 100%; }
.btn-2 { height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.btn-2:hover { border-color: var(--ink-2); }
.btn-q { border: 0; background: none; color: var(--ink-2); padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.btn-q:hover { color: var(--danger); }
.btn-q .ic { width: 18px; height: 18px; }
.btn-d { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--danger); background: none; color: var(--danger); font-weight: 700; }
.wa { background: var(--wa); color: var(--on-wa); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* Drawer and cart lines */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 41; background: var(--bg); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .38s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-shadow: -24px 0 48px -32px var(--shadow); }
.drawer.on { transform: none; }
.dr-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.dr-h h2 { font-size: 20px; font-weight: 800; font-stretch: 88%; }
.dr-n { color: var(--ink-2); font-size: 14px; margin-right: auto; }
.dr-list { flex: 1; overflow-y: auto; padding: 6px 16px; }
.ln { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; }
.ln + .ln { border-top: 1px solid var(--line); }
.ln > a { display: block; text-decoration: none; }
.ln .plate.photo { width: 56px; padding: 4px; border-radius: min(var(--r-card), 10px); }
.ln-i { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.ln-n { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.ln-u { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ln-w { font-size: 13px; color: var(--danger); font-weight: 600; }
.ln-i .cap { height: 36px; }
.ln-i .cap .st { width: 30px; height: 30px; }
.ln-i .cap .chip { height: 28px; min-width: 28px; }
.ln-t { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.dr-f { border-top: 1px solid var(--line); padding: 14px 16px 16px; display: grid; gap: 10px; background: var(--surface); }
.tot { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.tot b { font-size: 20px; font-weight: 800; }
.tot.sub { font-size: 14px; color: var(--ink-2); }
.rate { font-size: 12.5px; color: var(--ink-2); }
.dr-danger { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dr-danger p { font-weight: 700; margin-right: auto; }
.cart-page { display: grid; gap: 12px; max-width: 640px; }
.cart-page .dr-list { padding: 0; overflow: visible; }
.cart-page .dr-f { border: 1px solid var(--line); border-radius: var(--r-card); }

/* Checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@container sf (min-width: 900px) { .co { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 40px; } .co-sum { position: sticky; top: 84px; } }
.co-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
legend { padding: 0; margin-bottom: 4px; font-size: 19px; font-weight: 800; font-stretch: 88%; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 14px; }
.opt-t { font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--surface); color: var(--ink); caret-color: var(--accent); }
.field textarea { height: auto; min-height: 88px; padding: 10px 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.bad input, .field.bad textarea { border-color: var(--danger); }
.hint { font-size: 12.5px; color: var(--ink-2); }
.err { font-size: 13px; font-weight: 600; color: var(--danger); display: flex; align-items: flex-start; gap: 6px; }
.err .ic { width: 16px; height: 16px; margin-top: 1px; }
.form-err { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-card); background: var(--danger-soft); color: var(--danger); font-weight: 700; }
.doc { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
.two { display: grid; gap: 10px; }
@container sf (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.opts { display: grid; gap: 8px; }
.ro { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); cursor: pointer; }
.ro input { position: absolute; opacity: 0; pointer-events: none; }
.ro:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in oklab, var(--accent-soft) 55%, var(--surface)); }
.ro:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.ro .ri { width: 36px; height: 36px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.ro:has(input:checked) .ri { background: var(--accent); color: var(--on-accent); }
.ro b { display: block; }
.ro small { display: block; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.pm-panel { display: grid; gap: 14px; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); }
.pm-panel h3 { font-size: 15px; font-weight: 800; }
.pm-dl { display: grid; gap: 2px; }
.pm-dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 0; }
.pm-dl div + div { border-top: 1px solid var(--line); }
.pm-dl dt { color: var(--ink-2); font-size: 13.5px; }
.pm-dl dd { font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy { height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.copy .ic { width: 16px; height: 16px; }
.copy.done, .btn-2.done { border-color: var(--ok); color: var(--ok); }
.store-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.store-note .ic { color: var(--accent-ink); }
.co-sum { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 12px; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.co-sum h2 { font-size: 19px; font-weight: 800; font-stretch: 88%; }
.sum-l { display: grid; gap: 8px; font-size: 14px; }
.sum-l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.sum-l .q { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sum-l .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.sum-sep { border: 0; border-top: 1px solid var(--line); margin: 2px 0; }
.turnstile { display: grid; gap: 6px; }
.tot.grand { align-items: center; }
.tot.grand .talker .usd { font-size: 30px; }

/* Order status */
.ord { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ord-top { display: grid; gap: 6px; }
.ord-no { line-height: 1; }
.ord-no .talker .usd { font-size: clamp(32px, 9cqi, 56px); }
.ord-d { color: var(--ink-2); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; gap: 12px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step.done::before { background: var(--accent); }
.dot { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.step.done .dot { background: var(--accent); color: var(--on-accent); }
.step.now .dot { background: var(--chip); color: var(--chip-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.step.bad .dot { background: var(--danger); color: var(--surface); }
.step b { display: block; font-size: 17px; margin-top: 8px; }
.step p { color: var(--ink-2); font-size: 14px; }
.step .why { color: var(--danger); font-weight: 600; margin-top: 4px; }
.step .inv { color: var(--ok); font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
@container sf (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { left: 48px; right: 0; top: 19px; bottom: auto; width: auto; height: 2px; }
  .step b { margin-top: 2px; }
}
.ord-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container sf (min-width: 820px) { .ord-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.ord-col { display: grid; gap: 14px; min-width: 0; }
.box { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.box h2 { font-size: 17px; font-weight: 800; }
.msg { margin: 0; padding: 12px 14px; border-radius: var(--r-field); background: var(--surface-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.linkrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.linkrow input { min-width: 0; height: 40px; padding: 0 10px; border-radius: var(--r-field); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 13px; }
.kv { display: grid; gap: 6px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv dt { color: var(--ink-2); }
.kv dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Footer */
.foot { background: var(--surface-2); color: var(--ink); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 28px 30px; }
@container sf (min-width: 820px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.foot-id { display: flex; align-items: center; gap: 12px; }
.foot-name { font-family: var(--f-sign); font-size: 26px; line-height: 1; text-transform: var(--sign-case); letter-spacing: var(--sign-track); font-weight: var(--sign-weight); color: var(--accent-ink); overflow-wrap: anywhere; }
.foot-tag { color: var(--ink-2); margin-top: 6px; }
.foot dl { display: grid; gap: 12px; font-size: 14px; }
@container sf (min-width: 620px) { .foot dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot dt { font-weight: 700; margin-bottom: 2px; }
.foot dd { color: var(--ink-2); white-space: pre-line; }
.powered { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.btn.is-off { background: var(--surface-2); color: var(--ink-2); filter: none; cursor: not-allowed; }
/* Inner pages: the sign shrinks to one line. */
.sign.compact .sign-in { padding-block: 12px 16px; gap: 6px; }
.sign.compact .sign-name { font-size: clamp(26px, 7.5cqi, 60px); }
.sign.compact.has-logo .sign-name { font-size: clamp(22px, 6cqi, 52px); }
.sign.compact .logo-tile { width: clamp(40px, 9cqi, 64px); padding: 5px; border-radius: min(var(--r-logo), 12px); }
.sign.compact .sign-name.logo-wide { width: min(100%, 240px); padding: 6px 12px; }
@container sf (max-width: 819px) { .sign.compact .sign-meta { display: none; } }
@container sf (min-width: 820px) { .sign.compact .sign-in { padding-block: 16px 20px; } .sign.compact .tagline { display: none; } }
@container sf (max-width: 559px) { .pd .plate { aspect-ratio: 4 / 3; } }
