/* Layout: poster menu-board moments (Anton on coal and red bands, starburst price stickers) for appetite;
   quiet white app surfaces for ordering; phone-first with bottom tabs and a sticky cart bar. */
:root {
  --red: #D62718;
  --red-ink: #B21C10;
  --flame: #FFB31F;
  --coal: #140D0D;
  --coal-2: #2A1C1B;
  --on-coal: #FFF7F2;
  --on-coal-muted: #CDBDB8;
  --on-red: #FFFFFF;
  --live: #3DDC84;
  --bg: #FFFFFF;
  --surface: #F8F3F2;
  --surface-2: #F0E7E5;
  --card: #FFFFFF;
  --line: #E7DCD9;
  --ink: #1B1312;
  --muted: #6F605D;
  --ok: #18804A;
  --ok-bg: #E4F4EA;
  --warn: #8F5400;
  --warn-bg: #FFF1D6;
  --bad: #B3261E;
  --bad-bg: #FCE5E2;
  --info: #1D5FA8;
  --info-bg: #E3EEFA;
  --scrim: rgb(20 8 6 / .55);
  --shadow: 0 1px 2px rgb(40 10 8 / .06), 0 10px 28px rgb(40 10 8 / .10);
  --font-display: 'Anton', Impact, 'Arial Narrow Bold', 'Helvetica Neue', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 16px;
  --r-sm: 12px;
  --maxw: 1180px;
  --hdr: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #EA3426; --red-ink: #FF8173; --flame: #FFC247; --coal: #1C1111; --coal-2: #301F1E;
    --bg: #110C0C; --surface: #1A1313; --surface-2: #261C1B; --card: #181111; --line: #342826;
    --ink: #F6EEEC; --muted: #B6A5A2;
    --ok: #5FD394; --ok-bg: #11301F; --warn: #FFC56B; --warn-bg: #35260B; --bad: #FF8E84; --bad-bg: #3B1512;
    --info: #8FC1FF; --info-bg: #13263D; --scrim: rgb(0 0 0 / .65);
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #EA3426; --red-ink: #FF8173; --flame: #FFC247; --coal: #1C1111; --coal-2: #301F1E;
  --bg: #110C0C; --surface: #1A1313; --surface-2: #261C1B; --card: #181111; --line: #342826;
  --ink: #F6EEEC; --muted: #B6A5A2;
  --ok: #5FD394; --ok-bg: #11301F; --warn: #FFC56B; --warn-bg: #35260B; --bad: #FF8E84; --bad-bg: #3B1512;
  --info: #8FC1FF; --info-bg: #13263D; --scrim: rgb(0 0 0 / .65);
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 28px rgb(0 0 0 / .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 8px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .98; }
.h1 { font-size: clamp(36px, 5.2vw, 60px); }
.h2 { font-size: clamp(28px, 3.6vw, 40px); }
.h3 { font-size: 22px; font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.stack { display: grid; gap: 16px; align-content: start; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ic { flex: none; }
.ml-auto { margin-left: auto; }

/* ---------- Demo strip ---------- */
.demo { background: var(--coal); color: var(--on-coal); font-size: 12.5px; }
.demo .wrap { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-block: 7px; scrollbar-width: none; }
.demo .wrap::-webkit-scrollbar { display: none; }
.demo-tag { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--flame); white-space: nowrap; margin-right: 4px; }
.demo button { background: transparent; border: 1px solid var(--coal-2); color: var(--on-coal); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.demo button:hover { border-color: var(--flame); }
.demo-note { white-space: nowrap; color: var(--on-coal-muted); margin-right: 6px; }
.proto-warn { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--bad); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 14px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 39px; object-fit: cover; border-radius: 9px; background: var(--coal); }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; color: var(--red); line-height: 1; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.dot { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: var(--on-red); font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.pts-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--flame) 26%, var(--bg)); color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }
.pts-chip .ic { color: var(--red); }
.cart-btn { display: inline-flex; gap: 8px; align-items: center; background: var(--red); color: var(--on-red); border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.cart-btn .cnt { background: var(--on-red); color: var(--red); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; padding: 0 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; text-decoration: none; line-height: 1.2; transition: transform .12s ease, filter .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { filter: brightness(.93); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { filter: brightness(1.15); }
.btn-flame { background: var(--flame); color: var(--coal); }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 10px; }
.btn-ghost:hover { background: var(--surface); }
.btn-coal-line { background: transparent; border-color: var(--coal-2); color: var(--on-coal); }
.btn-coal-line:hover { border-color: var(--flame); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--red-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { background: var(--coal); color: var(--on-coal); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 55%, transparent), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding-block: 52px 64px; }
.hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(54px, 7.6vw, 104px); line-height: .9; text-transform: uppercase; letter-spacing: .005em; }
.hero h1 em { font-style: normal; color: var(--flame); display: block; }
.lead { font-size: 17px; max-width: 46ch; color: var(--on-coal-muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.status-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 13px; border-radius: 999px; background: var(--coal-2); font-size: 13px; font-weight: 500; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 25%, transparent); }
.status-pill.closed i { background: var(--flame); box-shadow: none; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 30px 70px rgb(0 0 0 / .5); }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; width: 128px; height: 128px; background: var(--red); color: var(--on-red); clip-path: polygon(100% 50%,91.5% 61.1%,93.3% 75%,80.4% 80.4%,75% 93.3%,61.1% 91.5%,50% 100%,38.9% 91.5%,25% 93.3%,19.6% 80.4%,6.7% 75%,8.5% 61.1%,0% 50%,8.5% 38.9%,6.7% 25%,19.6% 19.6%,25% 6.7%,38.9% 8.5%,50% 0%,61.1% 8.5%,75% 6.7%,80.4% 19.6%,93.3% 25%,91.5% 38.9%); font-family: var(--font-display); font-size: 17px; line-height: 1.05; text-transform: uppercase; }
.sticker b { font-weight: 400; font-size: 27px; display: block; }
.sticker.s1 { left: -26px; bottom: -22px; transform: rotate(-9deg); }
.sticker.s2 { right: 10px; top: -22px; width: 104px; height: 104px; background: var(--flame); color: var(--coal); font-size: 20px; transform: rotate(8deg); }
.edge { height: 30px; margin-top: -30px; position: relative; background: var(--red); clip-path: polygon(0 62%, 6% 30%, 12% 58%, 19% 18%, 27% 55%, 34% 26%, 41% 60%, 49% 14%, 56% 52%, 63% 24%, 71% 58%, 78% 20%, 86% 54%, 93% 22%, 100% 48%, 100% 100%, 0 100%); }
.trust { background: var(--red); color: var(--on-red); }
.trust .wrap { display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: space-between; padding-block: 2px 16px; font-weight: 600; font-size: 14px; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section.tight { padding-block: 32px; }
.alt { background: var(--surface); }
.coal { background: var(--coal); color: var(--on-coal); }
.coal .muted { color: var(--on-coal-muted); }
.coal .eyebrow { color: var(--flame); }
.section-hd { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-hd > div { display: grid; gap: 6px; min-width: 0; }
.page-hd { padding-block: 40px 24px; }
.page-hd .wrap { display: grid; gap: 10px; }
.page-hd.coal { padding-block: 44px; }
.page-hd p.muted { max-width: 62ch; }

/* ---------- Notices ---------- */
.notices { display: grid; gap: 10px; padding-top: 20px; }
.notice { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.notice .ic { color: var(--red); }
.notice .grow { display: grid; gap: 2px; min-width: 220px; }
.notice.hot { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.notice.hot .ic { color: var(--warn); }
.notice.urgent { background: var(--bad-bg); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.notice.urgent .ic { color: var(--bad); }
.notice.info { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.notice.info .ic { color: var(--info); }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; min-width: 0; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pimg { position: relative; aspect-ratio: 4 / 3; background: var(--coal); border: 0; padding: 0; width: 100%; display: block; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.pimg.cover img { object-fit: cover; }
.pcard:hover .pimg img { transform: scale(1.04); }
.pcard.out .pimg img { filter: grayscale(1) brightness(.6); }
.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--flame); color: var(--coal); letter-spacing: .02em; white-space: nowrap; }
.badge.red { background: var(--red); color: var(--on-red); }
.pbody { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pname { font-weight: 600; font-size: 16px; line-height: 1.3; }
.pdesc { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.price s { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.earn { font-size: 12px; color: var(--warn); font-weight: 600; }
.add { width: 42px; height: 42px; border-radius: 999px; background: var(--red); color: var(--on-red); border: 0; display: grid; place-items: center; flex: none; transition: transform .12s ease; }
.add:hover { transform: scale(1.06); }
.add[disabled] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; transform: none; }
.stock { font-size: 12.5px; font-weight: 600; color: var(--bad); display: inline-flex; gap: 5px; align-items: center; }
.rows { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.row-item { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.row-item .grow { display: grid; gap: 1px; }

/* ---------- Menu ---------- */
.cats { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.menu-body { display: grid; gap: 44px; padding-block: 28px 56px; }
.menu-sec { display: grid; gap: 16px; scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + 70px); }
.chip { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Promo band ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42%; border-radius: 20px; overflow: hidden; min-height: 220px; background: var(--red); color: var(--on-red); }
.promo.yellow { background: var(--flame); color: var(--coal); }
.promo-copy { padding: 24px; display: grid; gap: 10px; align-content: center; justify-items: start; }
.promo h3 { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: .95; text-transform: uppercase; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.when-chip { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--coal); color: var(--on-coal); }

/* ---------- Steps, duo, tiers ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.step .n { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--red); }
.step h3 { font-size: 17px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature { display: grid; grid-template-rows: 220px auto; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature-bd { padding: 22px; display: grid; gap: 12px; align-content: start; }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ticks .ic { color: var(--ok); margin-top: 2px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tier { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; align-content: start; }
.tier .rate { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--red); }
.tier.me { border: 2px solid var(--red); }
.tier .lvl { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.coal .tier { background: var(--coal-2); border-color: var(--coal-2); }
.coal .tier .rate { color: var(--flame); }
.coal .tier.me { border-color: var(--flame); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split img.ph { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Drawer, modal, toasts ---------- */
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 90; transform: translateX(105%); transition: transform .26s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; 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: var(--shadow); }
.drawer.on { transform: none; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-bd { flex: 1; overflow: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer-ft { padding: 14px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-scrim { position: absolute; inset: 0; background: var(--scrim); }
.modal-box { position: relative; background: var(--bg); border-radius: 22px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: var(--shadow); animation: rise .26s cubic-bezier(.2,.8,.2,1); }
.modal-box.wide { width: min(760px, 100%); }
.modal-pad { padding: 24px; display: grid; gap: 16px; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
.sheet-img { position: relative; aspect-ratio: 16 / 10; background: var(--coal); }
.sheet-img img { width: 100%; height: 100%; object-fit: contain; }
.sheet-img.cover img { object-fit: cover; }
.sheet-bd { padding: 20px 22px 8px; display: grid; gap: 16px; }
.sheet-ft { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 22px; background: var(--bg); border-top: 1px solid var(--line); }
.ups { display: flex; gap: 8px; flex-wrap: wrap; }
.up { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px dashed var(--line); background: var(--surface); font-size: 13.5px; }
.up:hover { border-color: var(--red); }
.toasts { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 120; display: grid; gap: 10px; width: min(390px, calc(100% - 24px)); pointer-events: none; }
.push { pointer-events: auto; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--card) 95%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); animation: pushIn .38s cubic-bezier(.2,.8,.2,1); }
.push.leaving { opacity: 0; transform: translateY(-10px); transition: all .25s ease; }
.push > img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--coal); }
.push-meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.push strong { display: block; font-size: 14px; line-height: 1.3; margin-top: 2px; }
.push p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.push .row { margin-top: 8px; gap: 6px; }
.who { padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.who.loja { background: var(--info-bg); color: var(--info); }
@keyframes pushIn { from { transform: translateY(-18px) scale(.98); opacity: 0; } }
.snack { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 110; display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--bg); padding: 10px 10px 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: rise .2s ease; width: max-content; max-width: calc(100% - 32px); }
.snack button { background: var(--bg); color: var(--ink); border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }

/* ---------- Cart ---------- */
.lines { display: grid; gap: 12px; }
.line { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.line .grow { display: grid; gap: 1px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); flex: none; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 999px; color: var(--ink); }
.stepper button:hover { background: var(--surface); }
.stepper span { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.freebar { display: grid; gap: 6px; font-size: 13px; }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--flame), var(--red)); border-radius: inherit; transition: width .4s ease; }
.earnbox { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--flame) 18%, var(--bg)); font-size: 13.5px; }
.earnbox .ic { color: var(--red); margin-top: 1px; }
.sumline { display: flex; justify-content: space-between; font-size: 15px; }
.empty { display: grid; gap: 14px; place-items: center; text-align: center; padding: 40px 16px; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .lbl { font-size: 13px; font-weight: 600; }
.input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 15px; min-width: 0; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--flame) 45%, transparent); }
.input.bad { border-color: var(--bad); }
textarea.input { min-height: 84px; resize: vertical; }
.err { color: var(--bad); font-size: 12.5px; font-weight: 500; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); width: 100%; color: var(--ink); }
.choice:hover { border-color: var(--muted); }
.choice[aria-pressed="true"] { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--card)); }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; margin-top: 2px; display: grid; place-items: center; }
.choice[aria-pressed="true"] .radio { border-color: var(--red); }
.choice[aria-pressed="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.choice .grow { display: grid; gap: 2px; }
.choice .tag { font-weight: 700; white-space: nowrap; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--surface-2); gap: 4px; max-width: 100%; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.switch { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--surface-2); position: relative; flex: none; transition: background .2s ease; border: 1px solid var(--line); margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .2s ease; }
.switch input:checked { background: var(--ok); border-color: var(--ok); }
.switch input:checked::after { transform: translateX(18px); }
.switch .grow { display: grid; gap: 2px; }

/* ---------- Checkout ---------- */
.co-hd { display: grid; gap: 8px; padding-block: 28px 20px; justify-items: start; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 56px; }
.co-main { display: grid; gap: 16px; min-width: 0; }
.co-step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 16px; min-width: 0; }
.co-step > h3 { display: flex; gap: 10px; align-items: center; font-size: 17px; }
.co-step > h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 13px; display: grid; place-items: center; flex: none; }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + 16px); }
.sum-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; }
.sum-lines { display: grid; gap: 8px; font-size: 14px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines small { display: block; color: var(--muted); font-size: 12px; }
.sum-rows { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows .ok { color: var(--ok); font-weight: 600; }
.sum-rows .total { font-size: 18px; padding-top: 8px; border-top: 1px dashed var(--line); }
.paybox { border-radius: 14px; background: var(--surface); padding: 16px; display: grid; gap: 10px; }
.payline { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.big { font-size: 26px; font-weight: 700; }
.copy { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.copy:hover { border-color: var(--ink); }
.drop { border: 2px dashed var(--line); border-radius: 16px; padding: 22px 16px; text-align: center; display: grid; gap: 4px; place-items: center; position: relative; background: var(--card); }
.drop:hover { border-color: var(--red); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop.has { border-style: solid; border-color: var(--ok); background: var(--ok-bg); }
.drop.bad { border-color: var(--bad); }
.drop .ic { color: var(--red); }
.proof-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.pickup, .me-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); }

/* ---------- Order ---------- */
.order-hd { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; padding-bottom: 20px; }
.order-hd > div { display: grid; gap: 8px; min-width: 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; min-width: 0; }
.card > h3 { font-size: 17px; display: flex; gap: 8px; align-items: center; }
.timeline li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; color: var(--on-red); }
.timeline li.done .tl-dot { background: var(--ok); border-color: var(--ok); }
.timeline li.done::before { background: var(--ok); }
.timeline li.now .tl-dot { border-color: var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 18%, transparent); }
.timeline li.now .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.timeline li.bad .tl-dot { border-color: var(--bad); background: var(--bad); }
.timeline li > div { display: grid; gap: 1px; padding-top: 4px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; }

/* ---------- Pills, tables, lists ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--ink); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.done { background: var(--surface-2); color: var(--muted); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
.list { display: grid; }
.list > li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list > li:last-child { border-bottom: 0; }
.list .grow { display: grid; gap: 2px; }

/* ---------- Account / club ---------- */
.acct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; padding-block: 28px 56px; }
.acct .span { grid-column: 1 / -1; }
.auth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; padding-block: 32px 56px; }
.perk { background: var(--coal); color: var(--on-coal); border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.perk .ticks .ic { color: var(--flame); }
.ptsbig { font-family: var(--font-display); font-size: clamp(64px, 9vw, 104px); line-height: .9; color: var(--flame); }
.club-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.club-hero .stack { gap: 12px; }
.mini-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-stat { padding: 10px 14px; border-radius: 14px; background: var(--coal-2); display: grid; gap: 1px; font-size: 13px; }
.mini-stat b { font-size: 18px; }

/* ---------- Plans & events ---------- */
.plan { display: grid; gap: 14px; }
.plan-next { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface); }
.plan-next.wait { background: var(--bad-bg); }
.items-ed { display: grid; gap: 8px; }
.items-ed li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.items-ed li .grow { display: grid; gap: 1px; }
.items-ed li .stepper { justify-self: start; }
.items-ed li > b { justify-self: end; }
.wdays { display: flex; gap: 6px; flex-wrap: wrap; }
.wdays .chip { min-width: 52px; text-align: center; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding-block: 28px 56px; }

/* ---------- Team ---------- */
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--coal); }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: color-mix(in srgb, var(--coal) 82%, transparent); color: var(--on-coal); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; width: fit-content; max-width: calc(100% - 24px); }
.train { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.train .card { gap: 10px; }
.train .card .ic { color: var(--red); }
.quote { font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; text-transform: uppercase; }
.quote em { font-style: normal; color: var(--flame); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.values > div { display: grid; gap: 8px; padding: 18px; border-radius: var(--r); background: var(--coal-2); }
.values .ic { color: var(--flame); }

/* ---------- Panel ---------- */
.panel-hd { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; padding-block: 28px 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.kpi b { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi.attn { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--card)); }
.kpi.attn b { color: var(--red); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-block: 22px 18px; scrollbar-width: none; }
.tabs button { padding: 11px 14px; border: 0; background: none; border-bottom: 2.5px solid transparent; font-weight: 600; color: var(--muted); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.ocards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); padding-bottom: 56px; }
.ocard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.ocard.attn { border-color: var(--red); }
.ocard-hd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ocard-ft { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); }
.ocard-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.proof-big { width: 100%; border-radius: 12px; background: var(--surface); }
.proof-ph { display: grid; place-items: center; gap: 8px; text-align: center; padding: 48px 16px; border-radius: 14px; background: var(--surface); color: var(--muted); }

/* ---------- Email preview ---------- */
.email { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.email-meta { padding: 12px 16px; background: var(--surface); font-size: 13px; display: grid; gap: 2px; }
.email-hd { background: var(--coal); color: var(--on-coal); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.email-hd img { width: 44px; height: 38px; object-fit: cover; border-radius: 8px; }
.email-hd b { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--flame); text-transform: uppercase; }
.email-in { padding: 22px; display: grid; gap: 12px; justify-items: start; }
.email-in hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ---------- Footer, tab bar, cart bar ---------- */
.ftr { background: var(--coal); color: var(--on-coal-muted); font-size: 14px; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-block: 44px 28px; }
.ftr h4 { color: var(--on-coal); font-size: 14px; margin-bottom: 10px; }
.ftr .stack { gap: 6px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--flame); }
.ftr .brand b { color: var(--flame); }
.ftr-bottom { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--coal-2); font-size: 12.5px; }
.tabbar { display: none; }
.cartbar { display: none; }

@media (max-width: 1180px) {
  .pts-chip .lbl, .cart-btn .lbl { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 36px 56px; }
  .hero-photo { margin-inline: 12px; }
  .co, .ev-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hide-sm { display: none !important; }
  .cart-btn .lbl { display: none; }
  .cart-btn { padding: 10px 13px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 7px; font-size: 11px; font-weight: 500; text-decoration: none; color: var(--muted); }
  .tabbar a[aria-current="page"] { color: var(--red); }
  main { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body.has-cart main { padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
  .cartbar { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(68px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--red); color: var(--on-red); font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
  .cartbar[hidden] { display: none !important; }
  .snack { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
  .ftr { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .duo, .split, .promo-grid, .order-grid, .acct, .auth, .club-hero, .train, .tiers { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; }
  .mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .modal { place-items: end center; padding: 0; }
  .modal-box, .modal-box.wide { border-radius: 22px 22px 0 0; width: 100%; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .toasts { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: auto; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pbody { padding: 11px 11px 12px; }
  .pname { font-size: 14.5px; }
  .pdesc { font-size: 12.5px; }
  .price { font-size: 15px; }
  .price s { display: block; margin-left: 0; }
  .add { width: 38px; height: 38px; }
  .badge { font-size: 10.5px; padding: 3px 7px; }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo img { height: 170px; }
  .promo h3 { font-size: 32px; }
  .row2, .row3 { grid-template-columns: minmax(0, 1fr); }
  .steps.four { grid-template-columns: minmax(0, 1fr); }
  .values, .ftr-grid { grid-template-columns: minmax(0, 1fr); }
  .kpi b { font-size: 30px; }
  .sticker { width: 104px; height: 104px; font-size: 14px; }
  .sticker b { font-size: 22px; }
  .sticker.s1 { left: -14px; }
  .sticker.s2 { width: 86px; height: 86px; font-size: 16px; right: -8px; }
  .pts-chip .lbl { display: none; }
  .brand b { font-size: 22px; }
  .hdr .wrap { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ======================================================================
   Team console: a kitchen screen, deliberately dark in both themes.
   Order tickets are printed paper slips on a coal rail; mono type for codes and items.
   ====================================================================== */
:root {
  --k-bg: #0D0909; --k-panel: #161010; --k-panel-2: #201716; --k-line: #322524;
  --k-ink: #F5EDEA; --k-muted: #A39390;
  --k-paper: #FFF9EF; --k-paper-ink: #1E1716; --k-paper-line: #E5D6C2; --k-paper-muted: #76665D;
  --k-green: #46D08A; --k-on-green: #06210F; --k-amber: #FFB547; --k-hot: #FF5A4A; --k-blue: #7DB7FF;
  --k-warn-bg: #FFE3AD; --k-warn-ink: #7A4A00; --k-hot-bg: #FFD6CF; --k-hot-ink: #9C1C10;
  --k-info-bg: #DCEBFF; --k-info-ink: #154A8A; --k-ok-ink: #0E6B3B; --k-ok-bg: #D3F2E0;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
picture { display: contents; }
picture > source { display: none; }
body[data-route="painel"] { background: var(--k-bg); color: var(--k-ink); }
body[data-route="painel"]::before { background: var(--k-bg); }
body[data-route="painel"] .hdr, body[data-route="painel"] .ftr, body[data-route="painel"] .tabbar, body[data-route="painel"] .cartbar { display: none !important; }
body[data-route="painel"] main { padding-bottom: 0 !important; }
.console { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100dvh; background: var(--k-bg); color: var(--k-ink); }
.k-side { position: sticky; top: env(safe-area-inset-top, 0px); height: 100dvh; display: flex; flex-direction: column; gap: 18px; padding: 20px 14px 20px max(14px, env(safe-area-inset-left, 0px)); border-right: 1px solid var(--k-line); background: var(--k-panel); overflow: auto; }
.k-brand { display: flex; gap: 10px; align-items: center; padding: 0 4px; text-decoration: none; }
.k-brand img { width: 44px; height: 37px; border-radius: 8px; object-fit: cover; }
.k-bt { display: grid; gap: 2px; }
.k-bt b { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; color: var(--flame); line-height: 1; }
.k-bt small { font-size: 10.5px; color: var(--k-muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.k-store { padding: 14px; border-radius: 14px; background: var(--k-panel-2); display: grid; gap: 12px; }
.k-store .row { justify-content: space-between; }
.k-live { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 13.5px; }
.k-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--k-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k-green) 22%, transparent); animation: pulse 2s ease-in-out infinite; }
.k-live.off i { background: var(--k-amber); box-shadow: none; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--k-green) 0%, transparent); } }
.k-nav { display: grid; gap: 2px; }
.k-nav button { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--k-muted); font-weight: 500; font-size: 14.5px; text-align: left; white-space: nowrap; }
.k-nav button:hover { background: var(--k-panel-2); color: var(--k-ink); }
.k-nav button[aria-current="true"] { background: var(--k-panel-2); color: var(--k-ink); box-shadow: inset 0 0 0 1px var(--k-line); }
.k-nav button[aria-current="true"] .ic { color: var(--flame); }
.k-nav .cnt { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--k-line); color: var(--k-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; font-family: var(--font-mono); }
.k-nav .cnt.hot { background: var(--k-hot); color: var(--on-red); }
.k-side-ft { margin-top: auto; display: grid; gap: 10px; font-size: 12px; color: var(--k-muted); line-height: 1.45; }
.k-main { min-width: 0; padding: 24px max(20px, env(safe-area-inset-right, 0px)) 48px 28px; display: grid; gap: 18px; align-content: start; }
.k-top { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.k-top h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); text-transform: uppercase; line-height: .95; }
.k-eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--k-muted); font-weight: 600; }
.k-eyebrow .ic { color: var(--flame); }
.k-clock { font-family: var(--font-display); font-size: 52px; line-height: .9; color: var(--flame); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.k-dim { color: var(--k-muted); }
.k-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.k-kpi { position: relative; padding: 16px 18px; border-radius: 16px; background: var(--k-panel); border: 1px solid var(--k-line); display: grid; gap: 3px; align-content: start; overflow: hidden; min-width: 0; }
.k-kpi .lbl { padding-right: 18px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--k-muted); font-weight: 600; }
.k-kpi b { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.k-kpi .sub { font-size: 12.5px; color: var(--k-muted); }
.k-kpi.attn { border-color: color-mix(in srgb, var(--k-hot) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--k-hot) 20%, var(--k-panel)), var(--k-panel) 75%); }
.k-kpi.attn b { color: var(--k-hot); }
.k-kpi.attn::after { content: ""; position: absolute; top: 16px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--k-hot); animation: hotpulse 1.4s ease-in-out infinite; }
@keyframes hotpulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--k-hot) 0%, transparent); transform: scale(.85); } 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--k-hot) 60%, transparent); } }
.k-spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 6px; }
.k-spark i { flex: 1; background: var(--k-line); border-radius: 3px 3px 1px 1px; }
.k-spark i.on { background: color-mix(in srgb, var(--flame) 70%, var(--k-line)); }
.k-spark i.now { background: var(--flame); }
.k-grill { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--k-panel); border: 1px dashed var(--k-line); }
.k-grill .k-eyebrow { margin-right: 4px; }
.k-tag { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 8px; background: var(--k-panel-2); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.k-tag b { color: var(--flame); font-weight: 700; }
.k-rule { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--k-panel); border: 1px solid var(--k-line); font-size: 13px; color: var(--k-muted); }
.k-rule .ic { color: var(--k-green); flex: none; margin-top: 1px; }
.k-board { display: grid; grid-template-columns: repeat(3, minmax(250px, 1fr)) minmax(210px, .85fr); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; align-items: start; }
.k-board.events { grid-template-columns: repeat(4, minmax(240px, 1fr)); }
.k-col { scroll-snap-align: start; background: var(--k-panel); border: 1px solid var(--k-line); border-radius: 18px; padding: 12px; display: grid; gap: 14px; align-content: start; min-height: 340px; min-width: 0; }
.k-col-hd { display: flex; align-items: center; gap: 9px; padding: 4px 4px 0; }
.k-col-hd h3 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.k-col-hd .n { margin-left: auto; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--k-ink); background: var(--k-panel-2); border-radius: 6px; padding: 1px 8px; }
.k-col-hd i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.k-col-sub { font-size: 12px; color: var(--k-muted); padding: 0 4px; margin-top: -8px; }
.k-col-empty { padding: 28px 10px; text-align: center; color: var(--k-muted); font-size: 13px; border: 1px dashed var(--k-line); border-radius: 12px; }
.ticket { position: relative; background: var(--k-paper); color: var(--k-paper-ink); border-radius: 3px 3px 12px 12px; padding: 14px 14px 14px; margin-top: 6px; display: grid; gap: 9px; box-shadow: 0 1px 0 rgb(0 0 0 / .25), 0 12px 24px rgb(0 0 0 / .4); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: radial-gradient(circle at 6px 0, transparent 4px, var(--k-paper) 4.5px) 0 0 / 12px 6px repeat-x; }
.ticket.fresh { box-shadow: 0 0 0 2px var(--flame), 0 12px 30px color-mix(in srgb, var(--flame) 30%, transparent); animation: drop .5s cubic-bezier(.2,.9,.3,1.2); }
@keyframes drop { from { transform: translateY(-14px) rotate(-1deg); opacity: 0; } }
.t-hd { display: flex; align-items: center; gap: 8px; }
.t-code { font-family: var(--font-mono); font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.t-new { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: var(--on-red); padding: 2px 7px; border-radius: 4px; }
.t-time { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--k-ok-bg); color: var(--k-ok-ink); white-space: nowrap; }
.t-time.warn { background: var(--k-warn-bg); color: var(--k-warn-ink); }
.t-time.hot { background: var(--k-hot-bg); color: var(--k-hot-ink); animation: blink 1.6s steps(2, start) infinite; }
.t-time.sched { background: var(--k-info-bg); color: var(--k-info-ink); }
@keyframes blink { 50% { background: color-mix(in srgb, var(--k-hot-bg) 55%, var(--k-paper)); } }
.t-status { display: flex; gap: 7px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--k-paper-muted); }
.t-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); flex: none; }
.t-who { font-size: 14px; }
.t-who b { font-weight: 600; }
.t-items { font-family: var(--font-mono); font-size: 13.5px; display: grid; gap: 4px; padding: 9px 0; border-block: 1.5px dashed var(--k-paper-line); }
.t-items li { display: grid; grid-template-columns: 32px minmax(0, 1fr); font-weight: 500; }
.t-items li > span:first-child { font-weight: 700; }
.t-items small { grid-column: 2; color: var(--k-paper-muted); font-size: 12px; }
.t-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.t-chip { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--k-paper-ink) 7%, transparent); }
.t-chip.rec { background: var(--k-warn-bg); color: var(--k-warn-ink); }
.t-addr { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--k-paper-muted); }
.t-addr .ic { margin-top: 2px; }
.t-ft { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.t-total { font-family: var(--font-mono); font-weight: 700; font-size: 17px; white-space: nowrap; }
.t-pay { font-size: 12px; font-weight: 600; color: var(--k-paper-muted); white-space: nowrap; }
.t-proof { margin-left: auto; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--k-paper-line); background: transparent; border-radius: 8px; padding: 4px 9px 4px 4px; font-size: 12px; font-weight: 600; color: var(--k-paper-ink); }
.t-proof:hover { border-color: var(--k-paper-ink); }
.t-proof img, .t-proof .ph { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; background: color-mix(in srgb, var(--k-paper-ink) 8%, transparent); display: grid; place-items: center; }
.t-act { width: 100%; border: 0; border-radius: 10px; padding: 11px 12px; font-weight: 700; font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; background: var(--k-paper-ink); color: var(--k-paper); transition: transform .1s ease, filter .15s ease; }
.t-act:hover { filter: brightness(1.2); }
.t-act:active { transform: scale(.98); }
.t-act.go { background: var(--red); color: var(--on-red); }
.t-act.ok { background: var(--k-ok-ink); color: var(--k-paper); }
.k-ev .t-act { margin-top: 2px; }
.k-done { display: grid; }
.k-done li { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--k-line); font-size: 13px; }
.k-done li:first-child { border-top: 0; }
.k-done .t-code { font-size: 13px; color: var(--k-muted); }
.k-done .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpill { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--k-panel-2); color: var(--k-ink); border: 1px solid var(--k-line); white-space: nowrap; }
button.kpill:hover { border-color: var(--k-muted); }
.kpill.on { background: var(--k-ink); color: var(--k-bg); border-color: var(--k-ink); }
.kpill.hot { background: color-mix(in srgb, var(--k-hot) 18%, transparent); color: var(--k-hot); border-color: color-mix(in srgb, var(--k-hot) 40%, transparent); }
.kpill.amber { background: color-mix(in srgb, var(--k-amber) 15%, transparent); color: var(--k-amber); border-color: color-mix(in srgb, var(--k-amber) 35%, transparent); }
.k-btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--k-line); background: var(--k-panel-2); color: var(--k-ink); font-weight: 600; font-size: 13.5px; }
.k-btn:hover { border-color: var(--k-muted); }
.k-btn[disabled] { opacity: .4; cursor: not-allowed; }
.k-btn.ok { background: var(--k-green); border-color: var(--k-green); color: var(--k-on-green); font-size: 15px; padding: 13px 16px; }
.k-btn.danger { background: var(--k-hot); border-color: var(--k-hot); color: var(--on-red); }
.k-agenda { display: grid; gap: 14px; }
.k-day { background: var(--k-panel); border: 1px solid var(--k-line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.k-day h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1.1; }
.k-slot { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--k-line); }
.k-slot .t { font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--flame); }
.k-ev { background: var(--k-panel-2); border: 1px solid var(--k-line); border-radius: 14px; padding: 14px; display: grid; gap: 7px; }
.k-ev .d { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--flame); }
.k-stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.k-st { background: var(--k-panel); border: 1px solid var(--k-line); border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.k-st .lbl { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--k-muted); font-weight: 600; }
.k-st b { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1; }
.k-step { display: flex; gap: 8px; }
.k-step button { min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--k-line); background: var(--k-panel-2); color: var(--k-ink); display: grid; place-items: center; font-weight: 700; font-family: var(--font-mono); }
.k-step button:hover { border-color: var(--k-muted); }
.k-avail { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); padding-top: 14px; }
.k-avail .k-eyebrow { grid-column: 1 / -1; }
.switch.k { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); padding: 10px 12px; }
.switch.k .small { color: var(--k-muted); }
.switch.k b.small { color: var(--k-ink); }
.switch.k input { background: var(--k-line); border-color: var(--k-line); }
.switch.k input::after { background: var(--k-ink); }
.switch.k input:checked { background: var(--k-green); border-color: var(--k-green); }
.k-feed li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--k-line); }
.k-feed li:first-child { border-top: 0; }
.k-feed .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--k-panel-2); display: grid; place-items: center; color: var(--flame); }
.modal-box.k-modal { background: var(--k-panel); color: var(--k-ink); width: min(940px, 100%); }
.modal-box.k-modal .icon-btn { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); }
.review { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 460px; }
.review-img { background: var(--k-bg); display: grid; place-items: center; padding: 18px; cursor: zoom-in; overflow: auto; max-height: 82dvh; }
.review-img img { max-width: 100%; max-height: 74dvh; object-fit: contain; border-radius: 8px; }
.review-img.zoom { cursor: zoom-out; place-items: start; }
.review-img.zoom img { max-width: none; max-height: none; width: 180%; }
.review-bd { padding: 26px 24px; display: grid; gap: 14px; align-content: start; }
.k-code { font-family: var(--font-mono); font-size: 30px; font-weight: 700; line-height: 1.1; }
.checkrow { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; background: var(--k-panel-2); border: 1px solid var(--k-line); cursor: pointer; font-size: 14px; }
.checkrow:has(input:checked) { border-color: color-mix(in srgb, var(--k-green) 55%, transparent); background: color-mix(in srgb, var(--k-green) 10%, var(--k-panel-2)); }
.checkrow input { accent-color: var(--k-green); width: 20px; height: 20px; flex: none; margin: 0; }
.checkrow .v { margin-left: auto; font-family: var(--font-mono); font-weight: 700; text-align: right; }
.proof-ph.k { background: var(--k-panel-2); color: var(--k-muted); max-width: 340px; }
.proof-ph.k b { color: var(--k-ink); }
@media (max-width: 1100px) {
  .k-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .console { grid-template-columns: minmax(0, 1fr); }
  .k-side { position: sticky; z-index: 30; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 1px solid var(--k-line); }
  .k-store, .k-side-ft { display: none; }
  .k-nav { display: flex; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .k-nav button { padding: 8px 12px; font-size: 14px; }
  .k-main { padding: 18px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
  .k-board, .k-board.events { grid-template-columns: repeat(4, minmax(84%, 1fr)); scroll-snap-type: x mandatory; }
  .review { grid-template-columns: minmax(0, 1fr); }
  .review-img { max-height: 46dvh; }
  .k-clock { font-size: 40px; }
}
@media (max-width: 560px) {
  .k-kpi b { font-size: 36px; }
  .k-slot { grid-template-columns: 52px minmax(0, 1fr); }
  .k-slot-acts { grid-column: 2; justify-content: flex-start; }
  .k-feed li { grid-template-columns: 34px minmax(0, 1fr); }
  .k-feed .k-btn { grid-column: 2; justify-self: start; }
}

/* ---------- Lembretes pelos 3 canais (email, app, WhatsApp) ---------- */
a.k-btn { text-decoration: none; }
.k-btn.sm { padding: 7px 11px; font-size: 12.5px; }
.k-btn.ok.sm { font-size: 12.5px; padding: 7px 11px; }
.k-slot-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.k-clockbox { display: grid; justify-items: end; gap: 4px; }
.modal-box.k-modal.narrow { width: min(560px, 100%); }
.k-remind { gap: 14px; }
.k-remind a { color: var(--flame); }
.k-remind a.k-btn, .k-remind a.kpill { color: inherit; text-decoration: none; }
textarea.input.k { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); min-height: 96px; }
textarea.input.k:focus { border-color: var(--k-muted); }
.k-remind label { color: var(--k-ink); }
.chans { display: grid; gap: 8px; }
.chan { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; background: var(--k-panel-2); border: 1px solid var(--k-line); }
.chan .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--k-bg); color: var(--k-green); flex: none; }
.chan .grow { display: grid; gap: 1px; min-width: 0; }
.chan.off { opacity: .55; }
.chan.off .ico { color: var(--k-muted); }
.wa-chat { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.wa-hd { display: flex; gap: 8px; align-items: center; padding: 12px 16px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.wa-hd .ic { color: var(--ok); }
.wa-bubble { position: relative; margin: 16px; margin-left: auto; max-width: 86%; padding: 10px 12px 22px; border-radius: 12px 12px 4px 12px; background: var(--ok-bg); color: var(--ink); font-size: 14px; line-height: 1.45; width: fit-content; }
.wa-time { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: var(--muted); }

/* ---------- Quantidade editável e botão de remover ---------- */
.stepper .qty { width: 48px; height: 34px; border: 0; background: transparent; text-align: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; padding: 0; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.stepper .qty::-webkit-outer-spin-button, .stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .qty:focus { outline: 2px solid var(--flame); outline-offset: -2px; border-radius: 8px; }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; background: transparent; }
.rm { width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; flex: none; }
.rm:hover { color: var(--bad); background: var(--bad-bg); }

/* ======================================================================
   Production site and console additions
   ====================================================================== */
.loading { display: grid; place-items: center; gap: 12px; padding: 64px 16px; color: var(--muted); text-align: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bad-bg); color: var(--bad); font-size: 14px; font-weight: 500; }
.form-error .ic { flex: none; margin-top: 2px; }
.form-ok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--ok); font-size: 14px; font-weight: 500; }
.soon { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--info-bg); color: var(--info); }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
/* Team console login */
.k-login { min-height: 100dvh; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); background: var(--k-bg); color: var(--k-ink); }
.k-login-box { width: min(420px, 100%); display: grid; gap: 18px; padding: 28px; border-radius: 20px; background: var(--k-panel); border: 1px solid var(--k-line); }
.k-login-box .input { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); }
.k-login-box .input:focus { border-color: var(--k-muted); }
.k-login-box label { color: var(--k-ink); }
.k-login-box .form-error { background: color-mix(in srgb, var(--k-hot) 15%, transparent); color: var(--k-hot); }
.k-who { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--k-panel-2); font-size: 13px; }
.k-who b { font-size: 14px; }
.k-form { display: grid; gap: 12px; }
.k-form .input { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); }
.k-form label { color: var(--k-ink); }
.k-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.k-soon { padding: 40px 16px; text-align: center; color: var(--k-muted); display: grid; gap: 10px; justify-items: center; }
.k-stock-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--k-line); }
.k-stock-row:first-of-type { border-top: 0; }
.k-stock-row .input { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); padding: 8px 10px; }
@media (max-width: 560px) { .k-stock-row { grid-template-columns: minmax(0, 1fr) 90px; } .k-stock-row .switch { grid-column: 1 / -1; } }
.k-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
button.t-code { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline dotted 1.5px; text-underline-offset: 4px; }
.k-rule.hot { border-color: color-mix(in srgb, var(--k-hot) 50%, transparent); color: var(--k-hot); }
.k-rule.hot .ic { color: var(--k-hot); }
.k-soon h2 { color: var(--k-ink); }
.k-soon p { max-width: 520px; }
.k-day h3 + .small { margin-bottom: 6px; }
.k-form select.input { background: var(--k-panel-2); border-color: var(--k-line); color: var(--k-ink); }
.k-login .k-brand img { width: 46px; height: 39px; }
.k-mobile { display: none; }
@media (max-width: 960px) {
  .k-mobile { display: grid; gap: 10px; }
  .k-mobile .k-store { display: grid; }
}

/* ---------- Test simulator (/simulador/ and the strip) ---------- */
.demo a { border: 1px solid var(--coal-2); color: var(--on-coal); border-radius: 999px; padding: 4px 11px; white-space: nowrap; text-decoration: none; }
.demo a:hover { border-color: var(--flame); }
.demo button[aria-busy="true"] { opacity: .5; }
.sim-page { max-width: 760px; display: grid; gap: 24px; }
.sim-start { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.sim-start button { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-align: left; }
.sim-start button:first-child { background: var(--red); border-color: var(--red); color: var(--on-red); }
.sim-start button:hover { border-color: var(--red); }
.sim-steps { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; }
.k-prod { border-top: 1px solid var(--k-line); }
.k-prod:first-of-type { border-top: 0; }
.k-prod summary { display: flex; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.k-prod summary::-webkit-details-marker { display: none; }
.k-prod[open] summary { color: var(--flame); }
.k-prod .k-form { padding: 4px 0 16px; }
details.k-day > summary { list-style: none; cursor: pointer; }
details.k-day > summary::-webkit-details-marker { display: none; }
details.k-day[open] > summary { margin-bottom: 12px; }
