/* Self-hosted fonts (SIL Open Font License). */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 800; font-display: swap; src: url(/fonts/fraunces-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 900; font-display: swap; src: url(/fonts/fraunces-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 800; font-style: italic; font-display: swap; src: url(/fonts/fraunces-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: optional; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: optional; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: optional; src: url(/fonts/instrument-sans-latin-700-normal.woff2) format("woff2"); }
/* Dantes Pizza & Restaurant: the neighborhood trattoria. Green awning, cream walls,
   tomato red, a soft old-style serif for the sign and a clean sans for the menu. */
:root {
  --green: #1D4A37;
  --green-deep: #143426;
  --red: #C9372C;          /* tomato: buttons and accents */
  --red-deep: #9E261D;
  --crust: #E3A94A;
  --board: #FBF5E9;        /* cream */
  --paper: #F3EAD8;
  --kraft: #D9C3A0;
  --kraft-soft: #EFE3CC;
  --ink: #2B211C;
  --ink-soft: #6B5D52;
  --basil: #2E6B3F;
  --line: #E3D8C4;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --pad: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--board); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.01em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.announce { background: var(--red); color: #fff; text-align: center; padding: 9px var(--pad); font-size: 15px; }
.announce a { color: #fff; font-weight: 700; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px;
  padding: 12px var(--pad); background: var(--board);
}
/* the awning: green and cream stripes with a scalloped edge, hanging under the header */
.top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--green) 0 28px, #EADCC2 28px 56px);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 12px no-repeat, radial-gradient(circle 14px at 50% 11px, #000 97%, #0000) 0 0 / 28px 26px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 12px no-repeat, radial-gradient(circle 14px at 50% 11px, #000 97%, #0000) 0 0 / 28px 26px repeat-x;
  filter: drop-shadow(0 2px 0 rgba(43, 33, 28, .08));
}
.wordmark { font: italic 800 32px/1 var(--display); color: var(--green); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.wordmark img { width: 40px; height: 40px; flex: none; }
.wordmark span { font: 700 10.5px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); max-width: 86px; font-style: normal; }
.top-nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: 15px; }
.top-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-color: var(--red); }
.cart-btn {
  display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); background: var(--board);
  border-radius: 999px; padding: 7px 8px 7px 16px; font-weight: 700; font-size: 15px;
}
.cart-btn b { background: var(--red); color: #fff; min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; }
.cart-btn b.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
@media (max-width: 720px) {
  .top-nav a:not(.call) { display: none; }
  .top-nav .call { display: none; }
  .wordmark { font-size: 28px; }
  .cart-btn span { display: none; }
  .cart-btn { margin-left: auto; padding: 6px; }
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(44px, 7vw, 88px) var(--pad) clamp(24px, 4vw, 48px); max-width: 1400px; margin: 0 auto;
}
.hero-kicker { margin: 0 0 14px; font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.hero h1 { display: grid; gap: 14px; }
.hero-name { font: italic 800 clamp(88px, 14vw, 210px)/.82 var(--display); color: var(--green); letter-spacing: -.035em; margin-left: -.04em; }
.hero-tag { font: 700 clamp(15px, 1.9vw, 24px)/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 14px; }
.hero-tag::after { content: ""; flex: 1; max-width: 120px; height: 3px; background: var(--crust); border-radius: 2px; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; margin: 22px 0 26px; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-pie { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-pie .pie { width: 100%; animation: spin-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.pie-ring { font: 700 17px var(--body); letter-spacing: .12em; }
@keyframes spin-in { from { transform: rotate(-70deg) scale(.85); opacity: 0; } }
.stamp {
  position: absolute; right: -4%; bottom: 2%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--board); display: grid; place-content: center; text-align: center;
  border: 4px solid var(--board); box-shadow: 0 0 0 3px var(--red); transform: rotate(-12deg);
  font-family: var(--display);
}
.stamp span { font: 700 clamp(12px, 1.4vw, 16px)/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.stamp b { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; font-style: italic; line-height: 1; margin-top: 2px; white-space: nowrap; }
.stamp[hidden] { display: none; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-pie { width: 62%; order: -1; justify-self: end; margin-bottom: 0; margin-top: -2%; }
  .stamp span { font-size: 10px; }
  .stamp b { font-size: 21px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-red:disabled { background: #B9B4AC; cursor: not-allowed; }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.grow { flex: 1; }
.icon-btn { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; }
.icon-btn:hover { background: var(--paper); }
.link { border: 0; background: none; text-decoration: underline; padding: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- quick facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1400px; margin: 0 auto;
  border-top: 2px solid var(--green); border-bottom: 2px solid var(--green);
}
.facts > div { padding: 16px var(--pad); display: grid; gap: 2px; }
.facts > div + div { border-left: 1px dashed var(--green); }
.facts b { font: 800 22px/1.1 var(--display); color: var(--green); }
.facts span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- specials & deals ---------- */
.promos { max-width: 1400px; margin: 0 auto; padding: 28px var(--pad) 8px; }
.promos h2 { font-size: clamp(36px, 4.4vw, 54px); font-style: italic; color: var(--green); margin-bottom: 14px; }
.promo-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.promo { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border: 2px solid var(--green); border-radius: var(--r-md); background: var(--board); position: relative; }
.promo h3 { font-size: clamp(26px, 2.6vw, 32px); }
.promo p { margin: 0; color: var(--ink-soft); }
.promo-kind { align-self: flex-start; font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px 4px; border-radius: 999px; color: #fff; background: var(--red); transform: rotate(-2deg); }
.promo-new .promo-kind { background: var(--basil); }
.promo-deal .promo-kind { background: var(--ink); }
.promo-special { border-color: var(--red); }
.promo-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promo-price { font: 800 32px/1 var(--display); color: var(--green); }
.promo .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
@media (max-width: 700px) { .promo-row { grid-auto-columns: 84%; } }
.new-tag { display: inline-block; margin-left: 8px; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px 2px; border-radius: 999px; background: var(--basil); color: #fff; vertical-align: 2px; }

/* ---------- layout ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
@media (max-width: 999px) { .shop-layout { grid-template-columns: 1fr; } }

/* ---------- menu ---------- */
.menu { min-width: 0; padding-bottom: 60px; }
.cat-tabs {
  position: sticky; top: 64px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  background: var(--board); padding: 30px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex: none; text-decoration: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid var(--line); }
.cat-tabs a:hover { border-color: var(--ink); }
.cat-tabs a.on { background: var(--green); border-color: var(--green); color: var(--board); }
.cat { padding-top: 36px; }
.cat-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 2px solid var(--green); padding-bottom: 10px; position: relative; }
.cat-head::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 64px; height: 4px; background: var(--red); border-radius: 2px; }
.cat-head h2 { font-size: clamp(36px, 4.4vw, 54px); font-style: italic; color: var(--green); }
.cat-head p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 700px) { .items { grid-template-columns: 1fr; } }
.item {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 14px 6px; display: grid; gap: 4px; border-radius: 0;
}
.item:hover:not(:disabled) { background: var(--paper); }
.item:hover .item-name { color: var(--red); }
.item-line { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.item-name { font-weight: 700; font-size: 18px; }
.fav { color: var(--red); margin-left: 6px; font-size: 14px; }
.leader { flex: 1; border-bottom: 2px dotted #C9B9A0; transform: translateY(-4px); min-width: 16px; }
.item-price { font: 800 21px/1 var(--display); color: var(--green); white-space: nowrap; display: flex; gap: 10px; margin-left: auto; }
.item-price small { font: 400 13px var(--body); color: var(--ink-soft); }
.pv { display: inline-flex; gap: 4px; align-items: baseline; }
.item-desc { color: var(--ink-soft); font-size: 15px; max-width: 52ch; }
.soldout { opacity: .5; cursor: not-allowed; }
.soldout .item-price { font: 700 13px var(--body); }
.loading { padding: 40px 0; color: var(--ink-soft); }

/* ---------- cart (kraft ticket) ---------- */
.cart { padding-top: 22px; }
.ticket {
  position: sticky; top: 90px; background: var(--kraft-soft); border-radius: var(--r-md) var(--r-md) 0 0; padding: 22px 22px 28px;
  max-height: calc(100vh - 110px); overflow: auto;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.ticket-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px dashed #9C7B57; padding-bottom: 10px; margin-bottom: 8px; }
.ticket h2 { font-size: 32px; font-style: italic; color: var(--green); }
.cart-close { display: none; }
.empty { color: #5E4A33; margin: 18px 0; }
.lines { list-style: none; padding: 0; margin: 0; }
.lines li { padding: 12px 0; border-bottom: 1px solid #C6A986; }
.line-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.line-name { border: 0; background: none; padding: 0; text-align: left; font-weight: 700; text-decoration: underline; text-decoration-color: #9C7B57; text-underline-offset: 3px; }
.line-detail { margin: 2px 0 6px; font-size: 14px; color: #5E4A33; }
.line-actions { display: flex; gap: 6px; align-items: center; }
.line-actions button:not(.link) { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-weight: 700; }
.line-actions .link { margin-left: 8px; color: #5E4A33; }
.sum { display: flex; justify-content: space-between; padding: 14px 0 2px; font-size: 19px; }
.sum b { font: 800 26px var(--display); color: var(--green); }
.fine { font-size: 13px; color: #5E4A33; margin: 0 0 14px; }

@media (max-width: 999px) {
  .cart { position: fixed; inset: 0; z-index: 60; padding: 0; background: rgba(30, 42, 49, .5); display: none; }
  body.cart-open .cart { display: flex; align-items: flex-end; }
  body.cart-open { overflow: hidden; }
  .ticket { position: relative; top: 0; width: 100%; max-height: 85vh; border-radius: 18px 18px 0 0; mask: none; -webkit-mask: none; padding-bottom: max(28px, env(safe-area-inset-bottom)); animation: up .25s ease; }
  .cart-close { display: grid; place-items: center; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: var(--board); border-top: 1px solid var(--line); }
.mobile-bar[hidden] { display: none; }
@media (min-width: 1000px) { .mobile-bar { display: none !important; } }
@media (max-width: 999px) { body { padding-bottom: 80px; } html { scroll-padding-bottom: 96px; } }

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1400px; margin: 40px auto 0;
  padding: 72px var(--pad) 52px; background: var(--green); color: var(--board); position: relative;
}
.visit::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background: repeating-linear-gradient(90deg, var(--board) 0 28px, #EADCC2 28px 56px);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 12px no-repeat, radial-gradient(circle 14px at 50% 11px, #000 97%, #0000) 0 0 / 28px 26px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 12px no-repeat, radial-gradient(circle 14px at 50% 11px, #000 97%, #0000) 0 0 / 28px 26px repeat-x;
}
.visit-note { margin: 12px 0 0; font-size: 18px; color: #DCE7DF; max-width: 36ch; }
.visit h2 { font-size: clamp(42px, 5.4vw, 72px); font-style: italic; }
.visit h3 { font-size: 30px; font-style: italic; margin-bottom: 10px; color: var(--crust); }
.visit .addr { font-size: 22px; margin: 18px 0; }
.visit .btn-line { border-color: var(--board); color: var(--board); }
.visit .btn-line:hover { background: var(--board); color: var(--green); }
.phone-big a { font: 800 clamp(34px, 4.6vw, 52px)/1 var(--display); text-decoration: none; color: var(--crust); }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 18px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px dashed rgba(251, 245, 233, .35); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }
.foot { padding: 24px var(--pad) 40px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.foot .credit { margin-top: 14px; font-size: 13px; }
.foot .credit a { color: var(--ink); font-weight: 700; }

/* ---------- sheets (dialogs) ---------- */
.sheet {
  border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: min(88vh, 900px);
  color: var(--ink); background: var(--board); box-shadow: 0 30px 80px rgba(30, 42, 49, .35);
}
.sheet-wide { width: min(640px, calc(100vw - 24px)); }
.sheet::backdrop { background: rgba(30, 42, 49, .55); }
.sheet[open] { animation: up .22s ease; }
.sheet form { display: flex; flex-direction: column; max-height: inherit; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 12px; border-bottom: 2px solid var(--green); }
.sheet-head h2 { font-size: 34px; font-style: italic; color: var(--green); }
.sheet-body { padding: 8px 22px 18px; overflow: auto; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 14px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lead { color: var(--ink-soft); margin: 8px 0 4px; }
@media (max-width: 600px) {
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92vh; }
}
.group { border: 0; padding: 0; margin: 18px 0 0; }
.group legend { font-weight: 700; font-size: 16px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.req { font-size: 12px; font-weight: 700; color: var(--red); border: 1.5px solid var(--red); padding: 1px 7px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; }
.chip em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--board); }
.chip input:checked + span em { color: #D4DADD; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.field { display: grid; gap: 5px; margin-top: 14px; font-weight: 700; font-size: 15px; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 17px; padding: 11px 13px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.narrow { max-width: 180px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; height: 50px; }
.qty button { border: 0; background: none; width: 44px; height: 100%; font-size: 22px; font-weight: 700; }
.qty output { min-width: 20px; text-align: center; font-weight: 700; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label, .pay label { position: relative; }
.seg input, .pay input { position: absolute; opacity: 0; inset: 0; }
.seg span, .pay span { display: grid; gap: 2px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-md); font-weight: 700; cursor: pointer; height: 100%; }
.seg small, .pay small { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.seg input:checked + span, .pay input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #EEF3EC; }
.seg input:focus-visible + span, .pay input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg .off span { opacity: .45; cursor: not-allowed; }
.pay { display: grid; gap: 8px; }
.totals { margin-top: 22px; border-top: 2px dashed var(--line); padding-top: 12px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; color: var(--ink-soft); }
.totals .grand { color: var(--ink); font-weight: 700; font-size: 20px; padding-top: 6px; }
.error-box { background: #FDECEC; color: #7A0E12; border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; margin: 12px 0 0; }
.error-box[hidden] { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 200; transition: .25s;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { background: var(--red); }
@media (min-width: 1000px) { .toast { bottom: 32px; } }

/* ---------- order status page ---------- */
.status-page { max-width: 760px; margin: 0 auto; padding: 32px var(--pad) 80px; }
.status-num { font: italic 800 clamp(70px, 14vw, 140px)/.85 var(--display); color: var(--green); margin: 8px 0 4px; }
.status-headline { font-size: clamp(32px, 5.4vw, 50px); font-style: italic; }
.status-when { font-size: 20px; margin: 10px 0 24px; }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { position: relative; padding-top: 44px; font-weight: 700; font-size: 15px; color: var(--ink-soft); counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--board); display: grid; place-items: center; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 16px; left: 34px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { content: "✓"; background: var(--basil); border-color: var(--basil); color: #fff; }
.steps li.done::after { background: var(--basil); }
.steps li.now { color: var(--red); }
.steps li.now::before { border-color: var(--red); background: var(--red); color: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(201, 55, 44, .15); } }
.receipt { background: var(--kraft-soft); border-radius: var(--r-md); padding: 20px 22px; margin-top: 28px; }
.receipt h2 { font-size: 28px; font-style: italic; color: var(--green); margin-bottom: 8px; }
.receipt .lines li { border-color: #C6A986; }
.notice { padding: 14px 16px; border-radius: var(--r-md); border: 2px solid var(--ink); margin: 18px 0; }
.notice.warn { border-color: var(--red); background: #FDF3F3; }

/* ---------- /menu page & footer nav ---------- */
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; font-weight: 700; }
.foot-nav a { color: var(--ink); }
.crumbs { max-width: 1400px; margin: 0 auto; padding: 16px var(--pad) 0; font-size: 14px; color: var(--ink-soft); }
.crumbs a { color: var(--ink); }
.menu-hero { max-width: 1400px; margin: 0 auto; padding: 8px var(--pad) 10px; }
.menu-hero h1 { font-size: clamp(52px, 9vw, 120px); font-style: italic; color: var(--green); line-height: .9; letter-spacing: -.03em; }
.menu-hero p { max-width: 60ch; font-size: 18px; margin: 16px 0 18px; }
.menu-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-jump a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 15px; }
.menu-jump a:hover { border-color: var(--ink); }
.shop-layout.single { grid-template-columns: minmax(0, 1fr); }
.mitem { border-bottom: 1px solid var(--line); padding: 12px 6px; }
.mitem h3.item-name { font: 700 18px/1.3 var(--body); }
.mitem .item-desc { margin: 4px 0 0; }
.order-link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--red); }
.menu-cta { max-width: 1400px; margin: 10px auto 0; padding: 24px var(--pad); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.menu-cta p { font: italic 800 38px/1 var(--display); color: var(--green); margin: 0 12px 0 0; }
@media print {
  .top, .crumbs, .menu-jump, .menu-cta, .visit .btn, .foot-nav, .order-link, .skip { display: none !important; }
  .cat { break-inside: avoid-page; padding-top: 12px; }
}
.items > li { min-width: 0; }
.mitem .item-price { white-space: normal; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; max-width: 100%; }
.mitem .pv { white-space: nowrap; }
.menu-page .cart-btn { text-decoration: none; padding: 8px 16px; background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 720px) { .menu-page .cart-btn span { display: inline; } .menu-page .cart-btn { padding: 7px 14px; } }

.ts-box { display: flex; justify-content: center; padding: 10px 22px; }
.ts-box:empty { display: none; }

.pay-note { margin: 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-md); color: var(--ink-soft); }

.dir-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .wordmark img { width: 34px; height: 34px; } .wordmark span { display: none; } }
