/* Iraicchi — site styles */
:root {
  --pine: #203128;
  --pine-2: #2E4237;
  --pine-3: #4A6155;
  --pine-deep: #16231C;
  --chilli: #AF232A;
  --chilli-dark: #7E1419;
  --chilli-tint: #FBE3E4;
  --mist: #D3D5E8;
  --yolk: #FFD60B;
  --bone: #F5F2EA;
  --sand: #E2DDCF;
  --sand-2: #ECE8DC;
  --line: #D6D0C0;
  --ink: #14201A;
  --muted: #4D5A52;
  --muted-2: #5C6A62;
  --ok: #1E6B43;
  --radius: 20px;
  --display: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--chilli); }
a:hover { color: var(--chilli-dark); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* type */
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chilli); }
.eyebrow.on-dark { color: var(--yolk); }
.display { margin: 0; font-weight: 900; font-stretch: 125%; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; }
.h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.92; }
.h2 { font-size: clamp(32px, 4.2vw, 58px); }
.h3 { font-size: 26px; }
.lead { font-size: 19px; line-height: 1.55; }
.mono { font-family: var(--mono); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-yolk { background: var(--yolk); color: var(--ink); }
.btn-yolk:hover { background: #F2C900; color: var(--ink); }
.btn-red { background: var(--chilli); color: #fff; }
.btn-red:hover { background: var(--chilli-dark); color: #fff; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--pine); border: 2px solid var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }
.btn-block { width: 100%; border-radius: 16px; min-height: 60px; font-size: 18px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* promo + header */
.promo { background: var(--chilli); color: #fff; padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 600; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.promo .promo-tag { font-family: var(--mono); font-size: 12px; background: var(--yolk); color: var(--ink); padding: 3px 8px; border-radius: 4px; }
.site-header { background: var(--pine); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--pine-2); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.site-header .logo img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.site-nav a { color: #fff; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yolk); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; border: 1.5px solid var(--pine-3); border-radius: 999px; padding: 0 16px; min-height: 44px; font-weight: 700; }
.cart-pill:hover { color: var(--yolk); border-color: var(--yolk); }
.open-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mist); }
.open-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #5BD08A; }
.open-dot.closed::before { background: #E0646A; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header .logo img { height: 32px; }
  .header-actions .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
}

/* hero */
.hero { background: var(--pine); color: #fff; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero .copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero .lead { color: var(--mist); max-width: 520px; margin: 0; }
.hero .art { flex: 1 1 440px; min-width: 0; position: relative; }
.hero .art .photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 55%; border-radius: 28px; box-shadow: 0 0 0 6px var(--pine-2); }
.hero .art .mascot { position: absolute; left: -24px; bottom: -36px; width: 150px; transform: rotate(-8deg); }
.sticker { position: absolute; right: -8px; top: -18px; width: 132px; height: 132px; border-radius: 999px; background: var(--yolk); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(10deg); box-shadow: 0 0 0 5px var(--pine); }
.sticker small { font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sticker b { font-size: 38px; font-weight: 900; font-stretch: 125%; line-height: 1; }
.sticker span { font-size: 11px; font-weight: 700; }
.ticks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--mist); }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 600px) {
  .hero .wrap { padding-top: 36px; padding-bottom: 64px; gap: 40px; }
  .hero .art .mascot { width: 104px; left: -8px; bottom: -28px; }
  .sticker { width: 104px; height: 104px; right: 0; }
  .sticker b { font-size: 30px; }
}

/* order box */
.order-box { background: var(--bone); color: var(--ink); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 10px; max-width: 560px; box-shadow: 0 0 0 6px var(--pine-2); }
.seg { display: flex; gap: 6px; background: #E6E2D6; border-radius: 14px; padding: 4px; }
.seg button { flex: 1; border: 0; border-radius: 10px; padding: 10px; min-height: 44px; font-weight: 800; font-size: 15px; cursor: pointer; background: transparent; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--pine); color: #fff; }
.seg.on-dark { background: var(--pine-deep); }
.seg.on-dark button { color: var(--mist); }
.seg.on-dark button[aria-selected="true"] { background: var(--yolk); color: var(--ink); }
.order-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-icon { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #CFC9B8; border-radius: 12px; padding: 0 14px; min-height: 52px; }
.field-icon input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; background: transparent; color: var(--ink); }
.order-box .hint { font-size: 13px; color: var(--muted); padding: 0 6px 4px; }

/* category chips */
.chips { display: flex; gap: 10px; overflow-x: auto; padding-top: 18px; padding-bottom: 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--sand); border-radius: 999px; padding: 6px 18px 6px 6px; font-weight: 700; font-size: 15px; min-height: 48px; }
.chip img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.chip:hover { border-color: var(--pine); color: var(--ink); }

/* sections */
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .stack { display: flex; flex-direction: column; gap: 10px; }
.link-arrow { font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media (max-width: 600px) { .section { padding: 56px 0; } }

/* product cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .media { aspect-ratio: 4 / 3; position: relative; background: var(--pine); overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; }
.tag-inline { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; }
.t-hot { background: var(--chilli); color: #fff; }
.t-sweet { background: var(--yolk); color: var(--ink); }
.t-classic { background: var(--mist); color: var(--ink); }
.t-sea { background: var(--pine); color: #fff; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.15; }
.card p { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; }
.price { font-size: 24px; font-weight: 900; font-stretch: 112%; }
.portion { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-left: 6px; }
.add-btn { border: 0; cursor: pointer; font-weight: 800; font-size: 15px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--yolk); color: var(--ink); }
.add-btn.added { background: var(--pine); color: #fff; }

/* portions band */
.band-red { background: var(--chilli); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.band-red .copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.band-red .copy p { margin: 0; font-size: 17px; color: var(--chilli-tint); max-width: 440px; }
.portion-list { flex: 1 1 480px; min-width: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 6px 18px; list-style: none; margin: 0; }
.portion-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sand-2); }
.portion-list li:last-child { border-bottom: 0; }
.portion-list img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.portion-list .name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.portion-list .name b { font-size: 17px; }
.portion-list .name span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.portion-list .p { font-size: 20px; font-weight: 900; font-stretch: 112%; }

/* why */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: var(--bone); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.why-card .n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--chilli); }
.why-card h3 { margin: 0; font-size: 22px; font-weight: 800; }
.why-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* crew */
.crew { background: var(--pine); color: #fff; }
.crew .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.crew .wrap > div:first-child { flex: 1 1 300px; display: flex; justify-content: center; }
.crew .wrap > div:last-child { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; }
.crew img { max-width: 400px; width: 100%; }
.crew p { margin: 0; font-size: 18px; color: var(--mist); max-width: 560px; }

/* visit */
.visit { display: flex; flex-wrap: wrap; gap: 24px; }
.visit .info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 20px; }
.visit address { font-style: normal; font-size: 18px; line-height: 1.6; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 16px; }
.hours dt { font-weight: 800; }
.hours dd { margin: 0; }
.map { flex: 1 1 500px; min-height: 360px; border-radius: 24px; overflow: hidden; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* footer */
.site-footer { background: var(--pine-deep); color: var(--mist); }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.site-footer .brand { display: flex; flex-direction: column; gap: 16px; flex: 1 1 260px; }
.site-footer .brand img { height: 48px; width: auto; align-self: flex-start; }
.site-footer .brand p { margin: 0; font-size: 14px; max-width: 320px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; font-size: 15px; }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { color: var(--yolk); }
.site-footer .bottom { border-top: 1px solid var(--pine-2); padding-top: 20px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #A9B4C9; }

/* menu page */
.menu-hero { background: var(--pine); color: #fff; padding: 28px 0 24px; }
.menu-hero .row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.menu-hero .seg { max-width: 360px; flex: 1 1 280px; }
.cat-bar { position: sticky; top: 64px; z-index: 40; background: var(--bone); border-bottom: 1px solid var(--sand); }
.cat-bar .chips { padding-top: 12px; padding-bottom: 12px; }
.cat-bar a { flex: 0 0 auto; text-decoration: none; font-weight: 700; font-size: 14px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; color: var(--ink); border: 1.5px solid var(--sand); }
.cat-bar a.active { background: var(--pine); color: #fff; border-color: var(--pine); }
@media (max-width: 860px) { .cat-bar { top: 56px; } }
.menu-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 24px; padding-bottom: 140px; }
.menu-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.menu-section { scroll-margin-top: 140px; }
.menu-section .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.menu-section .head .note { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--chilli); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 32px; }
.item { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.item .top { display: flex; gap: 14px; }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.item .txt h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.2; }
.item .txt p { margin: 0; font-size: 14px; color: var(--muted-2); }
.item .txt .pr { display: flex; align-items: baseline; gap: 8px; }
.item .txt .pr b { font-size: 18px; font-weight: 900; font-stretch: 112%; }
.item .pic { width: 120px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.item .pic .ph { width: 120px; height: 104px; border-radius: 16px; background: var(--pine); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.item .pic .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.item .pic .ph img.logo-ph { width: 72px; height: auto; opacity: .5; object-fit: contain; }
.item .pic .ctl { margin-top: -22px; position: relative; }
.item .pic .add-btn { width: 96px; box-shadow: 0 0 0 3px var(--bone); }
.stepper { display: flex; align-items: center; justify-content: space-between; width: 106px; background: var(--pine); color: #fff; border-radius: 999px; box-shadow: 0 0 0 3px var(--bone); }
.stepper button { width: 38px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 20px; font-weight: 800; cursor: pointer; }
.stepper span { font-weight: 800; }
.stepper.light { background: #fff; color: var(--ink); border: 1.5px solid var(--pine); box-shadow: none; width: 104px; }
.stepper.light button { color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opts button { min-height: 40px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 800; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.opts button[aria-checked="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }

/* cart panel */
.cart-panel { flex: 1 1 320px; max-width: 380px; position: sticky; top: 140px; background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-panel h2 { margin: 0; font-size: 22px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.cart-lines { display: flex; flex-direction: column; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--sand-2); }
.cart-line .n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-line .n b { font-size: 15px; }
.cart-line .n span { font-size: 13px; color: var(--muted-2); }
.cart-line .t { width: 56px; text-align: right; font-weight: 800; }
.cart-panel .stepper, .cart-panel .stepper.light { width: 92px; }
.cart-panel .stepper button { width: 30px; height: 40px; font-size: 18px; }
.bill { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bill div { display: flex; justify-content: space-between; }
.bill .total { border-top: 1.5px dashed var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; font-weight: 900; }
.empty { color: var(--muted-2); font-size: 15px; margin: 0; }
.mobile-cart { display: none; }
@media (max-width: 960px) {
  .cart-panel { display: none; }
  .mobile-cart { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--bone); border-top: 1px solid var(--sand); }
  .mobile-cart a { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--chilli); color: #fff; text-decoration: none; border-radius: 16px; padding: 0 18px; min-height: 60px; }
  .mobile-cart small { display: block; font-size: 13px; font-weight: 700; color: var(--chilli-tint); }
  .mobile-cart b { font-size: 20px; font-weight: 900; font-stretch: 112%; }
}

/* checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 32px; padding-bottom: 80px; }
.checkout .col-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checkout .col-side { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
@media (max-width: 900px) { .checkout .col-side { max-width: none; position: static; } }
.panel { background: #fff; border: 1px solid var(--sand); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--chilli); font-weight: 700; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.fld input, .fld textarea, .fld select { font: inherit; font-weight: 400; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 48px; background: #fff; color: var(--ink); width: 100%; }
.fld textarea { min-height: 80px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px rgba(255,214,11,.6); }
.fld .err { color: var(--chilli); font-weight: 600; font-size: 13px; display: none; }
.fld.invalid input, .fld.invalid textarea { border-color: var(--chilli); }
.fld.invalid .err { display: block; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border-radius: 14px; border: 1.5px solid var(--sand); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--pine); background: #FFF8D6; }
.radio-card input { width: 20px; height: 20px; accent-color: var(--pine); }
.radio-card b { display: block; font-size: 15px; }
.radio-card span { font-size: 13px; color: var(--muted-2); }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.notice.warn { background: #FFF4CC; color: #4A3B00; }
.notice.info { background: var(--mist); color: var(--ink); }
.notice.bad { background: var(--chilli-tint); color: var(--chilli-dark); }
.dips { display: flex; flex-wrap: wrap; gap: 8px; }
.dips button { min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.dips button[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }

/* legal pages */
.page-head { background: var(--pine); color: #fff; padding: 56px 0 48px; }
.page-head p { color: var(--mist); margin: 12px 0 0; }
.prose { max-width: 760px; padding: 48px 0 80px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: 24px; font-weight: 900; font-stretch: 112%; margin: 40px 0 8px; line-height: 1.2; }
.prose h3 { font-size: 18px; margin: 24px 0 4px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .meta { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--sand); padding: 10px 8px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- track page ---------- */
.track-wrap { padding: 48px 24px 80px; max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
#track-root { display: flex; flex-direction: column; gap: 18px; }
#track-root:empty { display: none; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.track-head h2 { color: var(--ink); font-size: 15px; }
.track-head .mono { font-size: 12px; color: var(--muted-2); }
.track-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.track-steps li { position: relative; padding: 0 0 18px 34px; color: var(--muted-2); }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.track-steps li::after { content: ''; position: absolute; left: 9px; top: 23px; bottom: -1px; width: 2px; background: var(--line); }
.track-steps li:last-child::after { display: none; }
.track-steps li b { font-weight: 800; }
.track-steps li .mono { font-size: 12px; margin-left: 8px; }
.track-steps li p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.track-steps li.done, .track-steps li.now { color: var(--ink); }
.track-steps li.done::before { background: var(--ok); border-color: var(--ok); }
.track-steps li.done::after { background: var(--ok); }
.track-steps li.now::before { background: var(--yolk); border-color: var(--chilli); box-shadow: 0 0 0 4px rgba(175, 35, 42, .15); }
.recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recent li { display: flex; justify-content: space-between; gap: 12px; }
.recent li a { font-weight: 800; }
.recent li .mono { font-size: 13px; color: var(--muted-2); }

/* ---------- kitchen screen (staff only) ---------- */
body:has(.kitchen) { background: var(--pine-deep); }
.kitchen { display: flow-root; min-height: 100vh; background: var(--pine-deep); color: #fff; }
.k-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 20px; background: var(--pine); border-bottom: 1px solid var(--pine-2); }
.k-bar img { height: 30px; width: auto; }
.k-bar .k-title { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 18px; }
.k-bar .k-sp { flex: 1; }
.k-bar .k-stat { font-family: var(--mono); font-size: 13px; color: var(--mist); }
.k-bar .k-stat.err { color: var(--yolk); }
.k-bar button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--pine-3); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.k-bar button.on { background: var(--yolk); color: var(--ink); border-color: var(--yolk); }
.k-login { max-width: 360px; margin: 12vh auto 0; padding: 28px; background: var(--pine); border-radius: 20px; display: flex; flex-direction: column; gap: 14px; }
.k-login h1 { margin: 0; font-size: 24px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.k-login p { margin: 0; color: var(--mist); font-size: 14px; }
.k-login input { min-height: 56px; border-radius: 14px; border: 0; padding: 0 16px; font-size: 24px; letter-spacing: .3em; font-family: var(--mono); text-align: center; }
.k-login .err { color: var(--yolk); font-weight: 700; min-height: 1.5em; }
.k-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 16px 20px 40px; align-items: start; }
@media (max-width: 1100px) { .k-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .k-cols { grid-template-columns: 1fr; padding: 12px; } .k-bar { padding: 10px 12px; } }
.k-col { display: flex; flex-direction: column; gap: 12px; }
.k-col > h2 { margin: 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding: 4px 2px; }
.k-col > h2 b { background: var(--pine-2); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.k-col.new > h2 b { background: var(--chilli); }
.k-empty { margin: 0; color: #8FA398; font-size: 14px; padding: 10px 2px; }
.k-card { background: var(--bone); color: var(--ink); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; border-left: 6px solid var(--pine-3); }
.k-card.new { border-left-color: var(--chilli); animation: kpulse 1.2s ease-in-out infinite alternate; }
@keyframes kpulse { from { box-shadow: 0 0 0 0 rgba(255, 214, 11, 0); } to { box-shadow: 0 0 0 5px rgba(255, 214, 11, .85); } }
@media (prefers-reduced-motion: reduce) { .k-card.new { animation: none; box-shadow: 0 0 0 4px var(--yolk); } }
.k-card.test { background: #FFF4CC; }
.k-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.k-head b { font-family: var(--mono); font-size: 16px; }
.k-head span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-align: right; }
.k-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.k-tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: var(--mist); color: var(--ink); }
.k-tag.del { background: var(--pine); color: #fff; }
.k-tag.pick { background: var(--yolk); }
.k-tag.test { background: var(--chilli); color: #fff; }
.k-items { margin: 0; padding: 0; list-style: none; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.k-items li b { display: inline-block; min-width: 2.2em; font-weight: 900; }
.k-items li small { color: var(--muted-2); }
.k-cust { font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
.k-cust a { font-weight: 700; }
.k-note { background: #FFF4CC; border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.k-total { display: flex; justify-content: space-between; font-weight: 900; border-top: 1.5px dashed var(--line); padding-top: 8px; }
.k-total span:first-child { font-weight: 600; color: var(--muted-2); font-size: 13px; }
.k-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.k-actions button { flex: 1; min-height: 48px; border-radius: 12px; border: 0; font-weight: 800; cursor: pointer; padding: 0 12px; }
.k-actions .go { background: var(--pine); color: #fff; }
.k-actions .go.hot { background: var(--chilli); }
.k-actions .x { flex: 0 0 auto; background: transparent; color: var(--chilli-dark); border: 1.5px solid var(--line); }
.k-rider { min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 12px; font: inherit; width: 100%; }
.k-done { padding: 0 20px 40px; }
.k-done details { background: var(--pine); border-radius: 16px; padding: 14px 16px; }
.k-done summary { cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.k-done table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.k-done td, .k-done th { text-align: left; padding: 8px 6px; border-top: 1px solid var(--pine-2); }
.k-done th { font-family: var(--mono); font-size: 11px; color: var(--mist); font-weight: 500; }
@media (max-width: 640px) { .k-done { padding: 0 12px 30px; } .k-done .hide-sm { display: none; } }
