/* =========================================================
   小牛湘菜馆 · 点菜小程序
   ========================================================= */
:root {
  --paper: #f5efe4;
  --paper-deep: #eee4d2;
  --card: #fffdf8;
  --ink: #241b17;
  --ink-soft: #4f423a;
  --muted: #85746a;
  --line: rgba(62, 42, 31, 0.12);
  --line-strong: rgba(62, 42, 31, 0.2);
  --red: #b3261e;
  --red-deep: #851913;
  --red-dark: #62110e;
  --red-light: #d44936;
  --gold: #c19452;
  --gold-light: #e5c791;
  --green: #497154;
  --cream: #f7e8cb;
  --app-w: 600px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow-card: 0 18px 38px -28px rgba(55, 31, 20, 0.48);
  --shadow-float: 0 20px 50px -18px rgba(34, 17, 10, 0.46);
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 300px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(180, 60, 38, 0.3), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(105, 32, 22, 0.28), transparent 34%),
    #170e0c;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(179, 38, 30, 0.18); }
:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid rgba(179, 38, 30, 0.78);
  outline-offset: 2px;
}
.sheet:focus { outline: none; }
.dish-open-overlay:focus-visible { outline-offset: -3px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  pointer-events: none;
}

/* ---------- desktop atmosphere ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.stage-copy {
  position: absolute;
  left: clamp(26px, 5vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(247, 232, 203, 0.72);
  max-width: 290px;
}
.stage-eyebrow {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(229, 199, 145, 0.7);
  margin-bottom: 22px;
}
.stage-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f3dcb4;
}
.stage-copy p {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.28em;
  color: rgba(243, 220, 180, 0.62);
}
.stage-line {
  display: block;
  width: 42px;
  height: 1px;
  background: rgba(193, 148, 82, 0.7);
  margin: 26px 0 18px;
}
.stage-copy small {
  display: block;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(247, 232, 203, 0.38);
}
.stage-glyph {
  position: absolute;
  right: max(4vw, 30px);
  top: 47%;
  transform: translateY(-50%) rotate(5deg);
  font-family: var(--serif);
  font-size: min(34vw, 480px);
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 199, 145, 0.13);
  user-select: none;
}
.stage-side {
  position: absolute;
  right: 32px;
  bottom: 60px;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(247, 232, 203, 0.28);
}

/* ---------- app frame ---------- */
.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--app-w));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(158px + var(--safe-b));
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 90px rgba(0, 0, 0, 0.5);
  overflow: clip;
}
.app-shell::before {
  content: "";
  position: fixed;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--app-w));
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.08'/%3E%3C/svg%3E");
}

/* ---------- top bar ---------- */
.topbar {
  position: relative;
  z-index: 4;
  height: calc(66px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(247, 241, 231, 0.92);
  border-bottom: 1px solid rgba(62, 42, 31, 0.08);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #b22a20, #79130f);
  border: 1px solid #861a14;
  box-shadow: inset 0 0 0 3px rgba(247, 232, 203, 0.14), 0 4px 10px rgba(102, 20, 15, 0.2);
  transform: rotate(-3deg);
}
.brand-mark span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  color: var(--cream);
  transform: translateY(-1px);
}
.brand-text { min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.055em;
  white-space: nowrap;
}
.brand-sub {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(73, 113, 84, 0.12);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: 0.4; } }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.icon-btn .icon { width: 21px; height: 21px; }
.icon-btn:hover { background: rgba(62, 42, 31, 0.07); color: var(--ink); }
.icon-btn[aria-expanded="true"] { background: var(--ink); color: var(--cream); }
.table-chip {
  height: 38px;
  padding: 0 12px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: transform 0.18s, background 0.18s;
}
.table-chip .icon { width: 15px; height: 15px; color: var(--red); }
.table-chip:hover { background: var(--card); }
.table-chip:active { transform: scale(0.96); }

/* ---------- search ---------- */
.search-panel {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 12px;
  background: rgba(247, 241, 231, 0.96);
  border-bottom: 1px solid var(--line);
  animation: slideDown 0.22s ease both;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.search-field {
  flex: 1;
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.search-field:focus-within { border-color: rgba(179, 38, 30, 0.42); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.08); }
.search-icon { width: 17px; height: 17px; color: var(--muted); }
.search-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.search-field input::placeholder { color: #a29288; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(62, 42, 31, 0.08);
  color: var(--muted);
}
.search-clear .icon { width: 12px; height: 12px; }
.search-cancel {
  flex: none;
  padding: 8px 0 8px 2px;
  background: transparent;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 266px;
  margin: 14px 16px 0;
  padding: 23px 22px 20px;
  overflow: hidden;
  border-radius: 23px;
  color: var(--cream);
  background:
    linear-gradient(100deg, rgba(66, 11, 9, 0.96) 0%, rgba(102, 20, 16, 0.83) 42%, rgba(70, 12, 10, 0.25) 100%),
    url("assets/hero.jpg") 58% 52% / cover no-repeat,
    #7d1510;
  box-shadow: 0 22px 45px -28px rgba(63, 12, 9, 0.8);
  animation: heroIn 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-stamp {
  position: absolute;
  right: 24px;
  top: 49%;
  transform: translateY(-50%) rotate(8deg);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(229, 199, 145, 0.45);
  color: rgba(247, 232, 203, 0.78);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}
.hero-stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(229, 199, 145, 0.22);
}
.hero-ring {
  position: absolute;
  right: -46px;
  bottom: -74px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(229, 199, 145, 0.17);
  box-shadow: 0 0 0 22px rgba(229, 199, 145, 0.03), 0 0 0 46px rgba(229, 199, 145, 0.025);
}
.hero-content { position: relative; z-index: 1; width: 82%; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(247, 232, 203, 0.66);
}
.hero-kicker span { width: 20px; height: 1px; background: var(--gold-light); }
.hero h1 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 8.7vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.24);
}
.hero h1 em { font-style: normal; color: #f0ce95; }
.hero-sub {
  margin: 10px 0 0;
  max-width: 250px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(247, 232, 203, 0.66);
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-top: 17px;
  font-size: 10px;
  color: rgba(247, 232, 203, 0.78);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 4px; }
.hero-meta .icon { width: 12px; height: 12px; color: var(--gold-light); }
.hero-meta b { font-size: 11px; color: #f6e2bd; }
.hero-meta-hot {
  padding: 3px 7px;
  border: 1px solid rgba(247, 232, 203, 0.22);
  border-radius: 999px;
  color: rgba(247, 232, 203, 0.6) !important;
  font-size: 9px;
}
.hero-table {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  min-width: 75px;
  padding: 8px 10px 9px;
  border: 1px solid rgba(247, 232, 203, 0.19);
  border-radius: 11px;
  background: rgba(45, 8, 7, 0.27);
  backdrop-filter: blur(5px);
  text-align: right;
}
.hero-table span, .hero-table small { display: block; font-size: 8px; letter-spacing: 0.08em; color: rgba(247, 232, 203, 0.56); }
.hero-table strong { display: block; font-family: Georgia, serif; font-size: 18px; line-height: 1.1; letter-spacing: 0.05em; color: #f7e8cb; }
.hero-table small { margin-top: 2px; }

/* ---------- fresh + coupon ---------- */
.fresh-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 18px 0;
  min-width: 0;
  font-size: 10px;
  color: var(--muted);
}
.fresh-label {
  flex: none;
  position: relative;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(179, 38, 30, 0.08);
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.07em;
}
.fresh-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  background: var(--paper);
  border-top: 1px solid rgba(179, 38, 30, 0.08);
  border-right: 1px solid rgba(179, 38, 30, 0.08);
  transform: translateY(-50%) rotate(45deg);
}
.fresh-scroll {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}
.fresh-scroll i {
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 8px 2px;
  border-radius: 50%;
  background: var(--gold);
}
.coupon {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 13px 16px 5px;
  min-height: 78px;
  border-radius: 16px;
  border: 1px solid rgba(193, 148, 82, 0.32);
  background:
    linear-gradient(100deg, rgba(255, 251, 242, 1), rgba(255, 246, 228, 1));
  box-shadow: 0 12px 28px -25px rgba(90, 42, 22, 0.6);
  overflow: hidden;
}
.coupon-left {
  flex: none;
  width: 89px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.15), transparent 40%),
    linear-gradient(140deg, #b52a20, #871711);
  color: var(--cream);
}
.coupon-left span { font-size: 8px; letter-spacing: 0.18em; opacity: 0.75; }
.coupon-left strong { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; }
.coupon-left strong small { font-size: 12px; margin-right: 1px; }
.coupon-left em { font-size: 8px; font-style: normal; opacity: 0.7; }
.coupon-cut {
  position: relative;
  flex: none;
  width: 1px;
  margin: 8px 0;
  border-left: 1px dashed rgba(193, 148, 82, 0.58);
}
.coupon-cut::before, .coupon-cut::after {
  content: "";
  position: absolute;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
}
.coupon-cut::before { top: -13px; }
.coupon-cut::after { bottom: -13px; }
.coupon-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
}
.coupon-right > div { flex: 1; min-width: 0; }
.coupon-right strong { display: block; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.coupon-right span { display: block; margin-top: 4px; font-size: 9px; color: var(--muted); letter-spacing: 0.02em; }
.coupon-right button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.coupon-right button .icon { width: 11px; height: 11px; }

/* ---------- category tabs ---------- */
.category-tabs {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 5px;
  margin-top: 8px;
  padding: 11px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(245, 239, 228, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(62, 42, 31, 0.07);
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: none;
  height: 35px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: transparent;
  color: #75655b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.16s;
}
.cat-tab::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.34;
  transition: opacity 0.2s, background 0.2s;
}
.cat-tab:hover { background: rgba(62, 42, 31, 0.06); }
.cat-tab.is-active { background: var(--ink); color: var(--cream); box-shadow: 0 6px 14px -7px rgba(36, 27, 23, 0.85); }
.cat-tab.is-active::before { background: var(--gold-light); opacity: 1; }
.cat-tab:active { transform: scale(0.97); }

/* ---------- menu sections ---------- */
.menu-sections { position: relative; padding-bottom: 4px; }
#view-menu.is-searching .hero,
#view-menu.is-searching .fresh-strip,
#view-menu.is-searching .coupon { display: none; }
#view-menu.is-searching .menu-section { padding-top: 17px; }
#view-menu.is-searching .menu-sections { min-height: 260px; }
.menu-section { padding: 23px 18px 0; scroll-margin-top: 66px; }
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 1px;
}
.section-num {
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.section-titles { flex: 1; min-width: 0; }
.section-titles h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
}
.section-en {
  margin-top: 3px;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: #a18e80;
  text-transform: uppercase;
}
.section-note {
  flex: none;
  padding-bottom: 2px;
  font-size: 9px;
  color: #9b8779;
  letter-spacing: 0.04em;
}
.section-rule {
  height: 1px;
  margin: 12px 1px 14px;
  background: linear-gradient(90deg, rgba(193, 148, 82, 0.55), rgba(62, 42, 31, 0.08) 35%, transparent 78%);
}
.dish-list { display: flex; flex-direction: column; gap: 11px; }

/* ---------- dish cards ---------- */
.dish-card {
  position: relative;
  border: 1px solid rgba(72, 49, 36, 0.1);
  border-radius: 17px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.dish-card:hover { transform: translateY(-2px); border-color: rgba(193, 148, 82, 0.3); box-shadow: 0 24px 42px -30px rgba(55, 31, 20, 0.55); }
.dish-content {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 13px;
  padding: 10px;
}
.dish-media {
  position: relative;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 12px;
  background: #ded1bd;
}
.dish-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(25, 12, 8, 0.17));
  pointer-events: none;
}
.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dish-card:hover .dish-media img { transform: scale(1.045); }
.dish-badge {
  position: absolute;
  z-index: 1;
  left: 7px;
  top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(34, 19, 13, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #f5e5c9;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.dish-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 3px 2px 4px 0;
}
.dish-title-row { display: flex; align-items: center; gap: 6px; padding-right: 4px; }
.dish-title-row h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.3;
}
.heat {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px 2px 4px;
  border-radius: 4px;
  background: rgba(179, 38, 30, 0.07);
  color: #b54736;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.heat .icon { width: 9px; height: 9px; }
.heat[data-level="0"] { background: rgba(73, 113, 84, 0.08); color: var(--green); }
.dish-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 5px 0 0;
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #87746a;
}
.dish-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 8.5px;
  color: #a89588;
  letter-spacing: 0.02em;
}
.dish-meta span { display: inline-flex; align-items: center; gap: 3px; }
.dish-meta i { width: 2px; height: 2px; border-radius: 50%; background: #c7b6a8; }
.dish-price-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: auto;
  padding: 8px 84px 0 0;
  min-height: 31px;
}
.price { font-family: Georgia, "Times New Roman", serif; color: var(--red); font-weight: 700; line-height: 1; }
.price small { font-family: var(--sans); font-size: 9px; font-weight: 600; margin-right: 1px; }
.price strong { font-size: 21px; letter-spacing: -0.02em; }
.price-unit { font-size: 8px; color: #a89588; padding-bottom: 2px; }
.stepper {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 29px;
  height: 29px;
}
.step-btn {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.16s, background 0.16s, color 0.16s;
}
.step-btn:active { transform: scale(0.9); }
.step-plus { background: var(--red); color: #fff4e4; box-shadow: 0 5px 12px -5px rgba(170, 35, 27, 0.7); }
.step-plus:hover { background: #c33127; }
.step-minus {
  width: 24px;
  height: 24px;
  display: none;
  background: transparent;
  color: rgba(255, 248, 235, 0.9);
  border: 1px solid rgba(255, 248, 235, 0.3);
  font-size: 15px;
}
.step-qty {
  display: none;
  min-width: 15px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff7e9;
}
.stepper.has-qty {
  padding: 0 3px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 6px 14px -6px rgba(145, 27, 21, 0.8);
}
.stepper.has-qty .step-minus, .stepper.has-qty .step-qty { display: grid; place-items: center; }
.stepper.has-qty .step-plus { width: 24px; height: 24px; background: transparent; box-shadow: none; color: #fff7e9; font-size: 16px; }
.stepper.bump { animation: stepperBump 0.24s ease; }
@keyframes stepperBump { 50% { transform: scale(1.08); } }
.dish-open-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.dish-open-overlay:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.dish-open-overlay:focus-visible + .stepper { outline: none; }

/* featured signature dish */
.dish-card--feature { border-color: rgba(193, 148, 82, 0.26); }
.dish-card--feature .dish-content { display: block; padding: 0; }
.dish-card--feature .dish-media { width: 100%; height: 196px; border-radius: 0; }
.dish-card--feature .dish-media::after { background: linear-gradient(180deg, transparent 52%, rgba(20, 10, 6, 0.46)); }
.dish-card--feature .dish-badge {
  left: 13px;
  top: 13px;
  padding: 5px 10px;
  background: rgba(179, 38, 30, 0.9);
  font-size: 9px;
}
.dish-card--feature .dish-media .feature-mark {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 10px;
  color: rgba(247, 232, 203, 0.8);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.dish-card--feature .dish-info { padding: 15px 17px 17px; }
.dish-card--feature .dish-title-row h3 { font-size: 23px; }
.dish-card--feature .dish-desc { font-size: 11.5px; -webkit-line-clamp: 2; }
.dish-card--feature .dish-meta { margin-top: 8px; }
.dish-card--feature .dish-price-row { padding: 11px 94px 0 0; margin-top: 0; }
.dish-card--feature .price strong { font-size: 26px; }
.dish-card--feature .stepper { right: 16px; bottom: 15px; }

/* empty search */
.menu-empty {
  margin: 20px 18px;
  padding: 38px 22px;
  border: 1px dashed rgba(193, 148, 82, 0.42);
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 253, 248, 0.5);
}
.menu-empty .empty-bowl { width: 92px; height: 76px; margin: 0 auto 12px; color: rgba(179, 38, 30, 0.72); }
.menu-empty h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.menu-empty p { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.menu-empty button {
  margin-top: 15px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
}

.menu-footer {
  padding: 36px 18px 14px;
  text-align: center;
  color: #9b887a;
}
.footer-seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border: 1px solid rgba(179, 38, 30, 0.28);
  color: var(--red);
  font-family: var(--serif);
  font-size: 16px;
  transform: rotate(-3deg);
}
.menu-footer p { margin: 0; font-family: var(--serif); font-size: 11px; letter-spacing: 0.1em; }
.menu-footer small { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 8px; letter-spacing: 0.16em; opacity: 0.66; }

/* ---------- cart bar ---------- */
.cart-bar {
  position: fixed;
  z-index: 55;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-b) + 9px);
  width: min(calc(100% - 28px), calc(var(--app-w) - 28px));
  transform: translateX(-50%);
  animation: cartUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes cartUp { from { opacity: 0; transform: translate(-50%, 12px); } }
.cart-bar-inner {
  width: 100%;
  height: 59px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 11px;
  border-radius: 18px;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% -30%, rgba(229, 199, 145, 0.25), transparent 42%),
    linear-gradient(120deg, #9d2018, #6f120e);
  box-shadow: 0 17px 32px -12px rgba(60, 12, 8, 0.63), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
}
.cart-bag {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(247, 232, 203, 0.12);
  border: 1px solid rgba(247, 232, 203, 0.2);
}
.cart-bag .icon { width: 21px; height: 21px; color: #f7e8cb; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1d29c;
  color: #6e120d;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  border: 1px solid #8b1913;
  animation: countPop 0.25s ease;
}
@keyframes countPop { 50% { transform: scale(1.18); } }
.cart-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-copy strong { font-family: Georgia, serif; font-size: 20px; line-height: 1.1; letter-spacing: -0.01em; }
.cart-copy small { font-size: 8.5px; color: rgba(247, 232, 203, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 12px;
  background: #f2d59f;
  color: #5e130e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- bottom nav ---------- */
.bottom-nav {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--app-w));
  height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 252, 246, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(62, 42, 31, 0.09);
  box-shadow: 0 -12px 30px -26px rgba(44, 25, 16, 0.45);
}
.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  color: #9a877a;
  font-size: 9px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-item .icon { width: 22px; height: 22px; stroke-width: 1.65; }
.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: transparent;
  transform: translateX(-50%);
  transition: background 0.2s;
}
.nav-item.is-active { color: var(--red); }
.nav-item.is-active::before { background: var(--red); }
.nav-icon-wrap { position: relative; display: grid; place-items: center; }
.nav-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  border: 1px solid var(--card);
  animation: livePulse 2s infinite;
}

/* ---------- generic views / page heads ---------- */
.view { position: relative; z-index: 1; }
.page-head {
  padding: 30px 20px 21px;
  background:
    radial-gradient(circle at 95% 20%, rgba(193, 148, 82, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.55), transparent);
  border-bottom: 1px solid rgba(62, 42, 31, 0.06);
}
.page-eyebrow {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.page-head h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.15;
}
.page-head p { margin: 8px 0 0; font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.page-head--profile {
  padding-bottom: 50px;
  background:
    radial-gradient(circle at 88% 8%, rgba(179, 38, 30, 0.1), transparent 31%),
    linear-gradient(180deg, rgba(255, 251, 242, 0.9), rgba(245, 239, 228, 0));
}
.profile-wrap { margin-top: -31px; padding: 0 16px; }

/* ---------- orders ---------- */
.order-filter {
  display: flex;
  gap: 6px;
  padding: 15px 18px 2px;
}
.order-filter button {
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}
.order-filter button.is-active { background: var(--ink); color: var(--cream); }
.orders-list { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.order-card {
  padding: 15px;
  border: 1px solid rgba(72, 49, 36, 0.1);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  animation: cardIn 0.4s ease both;
}
.order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mini-mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #b22a20, #79130f);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 15px;
  border: 1px solid rgba(133, 25, 19, 0.8);
}
.order-brand strong { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: 0.04em; }
.order-brand small { display: block; margin-top: 3px; font-size: 8.5px; color: #a18e80; font-family: Georgia, serif; letter-spacing: 0.04em; }
.order-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(179, 38, 30, 0.08);
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
}
.order-status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: livePulse 1.5s infinite; }
.order-status.is-done { background: rgba(73, 113, 84, 0.09); color: var(--green); }
.order-status.is-done i { animation: none; }
.order-items {
  margin-top: 13px;
  padding: 11px 0;
  border-top: 1px dashed rgba(62, 42, 31, 0.13);
  border-bottom: 1px dashed rgba(62, 42, 31, 0.13);
  display: flex;
  align-items: center;
  gap: 11px;
}
.order-thumbs { flex: none; display: flex; padding-left: 2px; }
.order-thumbs img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 9px;
  border: 2px solid var(--card);
  margin-left: -8px;
  background: var(--paper-deep);
}
.order-thumbs img:first-child { margin-left: 0; }
.order-summary { flex: 1; min-width: 0; }
.order-summary p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.order-summary span { display: block; margin-top: 4px; font-size: 8.5px; color: var(--muted); }
.order-total { flex: none; text-align: right; font-family: Georgia, serif; }
.order-total small { display: block; font-family: var(--sans); font-size: 8px; color: var(--muted); }
.order-total strong { font-size: 16px; color: var(--ink); }
.order-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.order-actions button, .order-actions a {
  height: 31px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-line { border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); }
.btn-line:hover { background: rgba(62, 42, 31, 0.04); }
.btn-dark { background: var(--ink); color: var(--cream); }
.order-help { margin-right: auto; font-size: 9px; color: var(--muted); }

.empty-orders {
  padding: 40px 22px 30px;
  text-align: center;
}
.empty-art { width: 180px; height: 145px; margin: 0 auto 9px; }
.empty-orders h3 { margin: 0; font-family: var(--serif); font-size: 20px; letter-spacing: 0.05em; }
.empty-orders p { margin: 7px 0 0; font-size: 11px; color: var(--muted); line-height: 1.7; }
.empty-orders button {
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 20px -12px rgba(179, 38, 30, 0.65);
}

/* ---------- profile ---------- */
.member-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 21px;
  color: var(--cream);
  background:
    radial-gradient(circle at 88% -10%, rgba(229, 199, 145, 0.28), transparent 36%),
    radial-gradient(circle at 10% 110%, rgba(0, 0, 0, 0.25), transparent 40%),
    linear-gradient(135deg, #a6261d, #6e110d);
  box-shadow: 0 22px 42px -24px rgba(80, 17, 12, 0.7);
  isolation: isolate;
}
.member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: repeating-linear-gradient(45deg, transparent 0 8px, rgba(255, 255, 255, 0.05) 8px 9px);
}
.member-watermark {
  position: absolute;
  z-index: -1;
  right: -7px;
  bottom: -30px;
  font-family: var(--serif);
  font-size: 118px;
  line-height: 1;
  color: rgba(247, 232, 203, 0.06);
  transform: rotate(-7deg);
}
.member-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.member-label { font-size: 9px; letter-spacing: 0.22em; color: rgba(247, 232, 203, 0.6); }
.member-level {
  padding: 3px 7px;
  border: 1px solid rgba(229, 199, 145, 0.3);
  border-radius: 999px;
  font-size: 8px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.member-main { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.member-avatar {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(247, 232, 203, 0.28);
  box-shadow: inset 0 0 0 3px rgba(247, 232, 203, 0.08);
  font-family: var(--serif);
  font-size: 22px;
}
.member-main h2 { margin: 0; font-family: var(--serif); font-size: 23px; letter-spacing: 0.06em; }
.member-main p { margin: 4px 0 0; font-size: 9px; color: rgba(247, 232, 203, 0.55); letter-spacing: 0.02em; }
.member-seal {
  margin-left: auto;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 199, 145, 0.35);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--gold-light);
  transform: rotate(5deg);
}
.member-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(247, 232, 203, 0.14);
}
.member-stats div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.member-stats strong { font-family: Georgia, serif; font-size: 21px; line-height: 1.1; }
.member-stats span { font-size: 8.5px; color: rgba(247, 232, 203, 0.5); letter-spacing: 0.08em; }
.member-note {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed rgba(247, 232, 203, 0.15);
  font-size: 9px;
  color: rgba(247, 232, 203, 0.52);
}
.member-note span { color: var(--gold-light); font-weight: 600; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 12px;
}
.quick-item {
  padding: 13px 12px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  text-align: left;
  border: 1px solid rgba(72, 49, 36, 0.09);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 12px 25px -25px rgba(55, 31, 20, 0.5);
  transition: transform 0.18s, border-color 0.18s;
}
.quick-item:hover { transform: translateY(-1px); border-color: rgba(193, 148, 82, 0.3); }
.quick-icon {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(179, 38, 30, 0.07);
  color: var(--red);
  align-self: center;
}
.quick-icon .icon { width: 16px; height: 16px; }
.quick-item > span:nth-child(2) { font-size: 11.5px; font-weight: 600; align-self: end; }
.quick-item small { font-size: 8px; color: var(--muted); align-self: start; margin-top: 2px; }
.list-card {
  margin-top: 12px;
  border: 1px solid rgba(72, 49, 36, 0.09);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.list-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid rgba(62, 42, 31, 0.07);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: rgba(62, 42, 31, 0.025); }
.list-ic {
  width: 31px;
  height: 31px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink-soft);
}
.list-ic .icon { width: 16px; height: 16px; }
.list-copy { flex: 1; min-width: 0; }
.list-copy strong { display: block; font-size: 11.5px; font-weight: 600; }
.list-copy small { display: block; margin-top: 3px; font-size: 8.5px; color: var(--muted); }
.list-arrow { width: 14px; height: 14px; color: #b9a699; }
.store-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(193, 148, 82, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(193, 148, 82, 0.13), transparent 34%),
    var(--card);
}
.store-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.store-card-head h3 { margin: 6px 0 0; font-family: var(--serif); font-size: 15px; letter-spacing: 0.03em; }
.open-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(73, 113, 84, 0.09);
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
}
.open-badge i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: livePulse 2s infinite; }
.store-line { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font-size: 9.5px; color: var(--muted); line-height: 1.5; }
.store-line .icon { width: 13px; height: 13px; margin-top: 1px; color: var(--gold); }
.store-actions { display: flex; gap: 8px; margin-top: 14px; }
.store-btn {
  flex: 1;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}
.store-btn .icon { width: 13px; height: 13px; }
.store-btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- overlays / sheets ---------- */
.backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(20, 10, 8, 0.52);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--app-w));
  max-height: 89vh;
  max-height: 89dvh;
  transform: translate(-50%, 104%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -24px 60px -20px rgba(26, 12, 8, 0.5);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet--dish { max-height: 92vh; max-height: 92dvh; }
.sheet-handle {
  width: 38px;
  height: 4px;
  margin: 9px auto 0;
  flex: none;
  border-radius: 999px;
  background: rgba(62, 42, 31, 0.17);
}
.sheet-head {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px 13px;
  border-bottom: 1px solid rgba(62, 42, 31, 0.08);
}
.sheet-head h2 { margin: 0; font-family: var(--serif); font-size: 22px; letter-spacing: 0.05em; }
.sheet-head p { margin: 4px 0 0; font-size: 9.5px; color: var(--muted); }
.sheet-close {
  flex: none;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(62, 42, 31, 0.07);
  color: var(--ink-soft);
}
.sheet-close .icon { width: 15px; height: 15px; }
.sheet-head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 15px 18px 18px;
  -webkit-overflow-scrolling: touch;
}
.sheet-footer {
  flex: none;
  padding: 12px 18px calc(12px + var(--safe-b));
  border-top: 1px solid rgba(62, 42, 31, 0.09);
  background: rgba(255, 252, 246, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn {
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.16s, filter 0.16s;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: linear-gradient(120deg, #b42920, #861711); color: var(--cream); box-shadow: 0 12px 22px -12px rgba(152, 28, 21, 0.75); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn--ghost { border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); }
.btn--block { width: 100%; }
.btn .icon { width: 16px; height: 16px; }

/* cart sheet */
.cart-line {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(62, 42, 31, 0.11);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 55px; height: 55px; flex: none; border-radius: 10px; object-fit: cover; }
.cart-line-copy { flex: 1; min-width: 0; }
.cart-line-copy strong { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: 0.03em; }
.cart-line-copy span { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); }
.cart-line-copy b { display: inline-block; margin-top: 5px; font-family: Georgia, serif; font-size: 14px; color: var(--red); }
.cart-line .stepper { position: static; flex: none; }
.cart-line .stepper.has-qty { background: var(--ink); }
.cart-line .step-minus { color: var(--cream); border-color: rgba(247, 232, 203, 0.3); }
.cart-line .step-plus { background: var(--red); }
.cart-line .stepper.has-qty .step-plus { background: transparent; }
.cart-line .step-qty { color: var(--cream); }
.cart-empty {
  padding: 44px 18px;
  text-align: center;
}
.cart-empty .empty-bowl { width: 92px; height: 76px; margin: 0 auto 12px; color: rgba(179, 38, 30, 0.6); }
.cart-empty h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.cart-empty p { margin: 6px 0 0; font-size: 10.5px; color: var(--muted); }
.cart-summary { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(62, 42, 31, 0.1); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 10.5px; color: var(--muted); }
.summary-row strong { color: var(--ink-soft); }
.summary-row .discount { color: var(--red); }
.summary-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 7px; padding-top: 9px; border-top: 1px dashed rgba(62, 42, 31, 0.12); }
.summary-total span { font-size: 11px; color: var(--ink-soft); }
.summary-total strong { font-family: Georgia, serif; font-size: 23px; color: var(--red); }
.summary-total strong small { font-family: var(--sans); font-size: 10px; margin-right: 1px; }
.cart-clear {
  padding: 7px 2px;
  background: transparent;
  color: #a28e80;
  font-size: 9.5px;
}
.cart-clear:hover { color: var(--red); }
.cart-tip {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(193, 148, 82, 0.09);
  color: #8b745e;
  font-size: 9px;
  line-height: 1.55;
}
.cart-tip b { color: var(--red); }

/* checkout */
.checkout-section { padding: 13px 0; border-bottom: 1px solid rgba(62, 42, 31, 0.08); }
.checkout-section:first-child { padding-top: 2px; }
.checkout-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.checkout-label strong { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; }
.checkout-label span { font-size: 9px; color: var(--muted); }
.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(62, 42, 31, 0.06);
}
.mode-switch button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mode-switch button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 5px 12px -8px rgba(55, 31, 20, 0.4); }
.mode-switch .icon { width: 14px; height: 14px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.form-row + .form-row { border-top: 1px dashed rgba(62, 42, 31, 0.09); }
.form-row > label { font-size: 10.5px; color: var(--ink-soft); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  height: 33px;
  padding: 0 27px 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: var(--card);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.mini-stepper { display: inline-flex; align-items: center; gap: 9px; }
.mini-stepper button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 14px;
  color: var(--ink-soft);
}
.mini-stepper button:disabled { opacity: 0.35; }
.mini-stepper strong { min-width: 15px; text-align: center; font-family: Georgia, serif; font-size: 14px; }
.pickup-note {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(193, 148, 82, 0.09);
  font-size: 9.5px;
  line-height: 1.6;
  color: #8b745e;
}
.note-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.note-chip {
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 9px;
  transition: all 0.16s;
}
.note-chip.is-active { border-color: rgba(179, 38, 30, 0.4); background: rgba(179, 38, 30, 0.07); color: var(--red); font-weight: 600; }
.note-input {
  width: 100%;
  min-height: 64px;
  margin-top: 9px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  resize: vertical;
  background: var(--card);
  font-size: 10px;
  line-height: 1.6;
}
.note-input:focus { border-color: rgba(179, 38, 30, 0.4); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.06); }
.checkout-items { display: flex; flex-direction: column; gap: 8px; }
.checkout-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--ink-soft); }
.checkout-item span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-item span:last-child { flex: none; font-family: Georgia, serif; }
.coupon-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(193, 148, 82, 0.09);
  font-size: 9.5px;
  color: #806b56;
}
.coupon-line b { color: var(--red); }
.coupon-line.is-off { background: rgba(62, 42, 31, 0.05); color: var(--muted); }
.checkout-total-row { margin: 0 0 9px; padding: 0; border-top: 0; }
.checkout-total-row strong { font-size: 26px; }

/* table picker */
.table-lead {
  margin: 0 0 13px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
}
.table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.table-pick {
  position: relative;
  height: 47px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}
.table-pick small { font-family: var(--sans); font-size: 8px; font-weight: 400; color: var(--muted); }
.table-pick:hover { border-color: rgba(193, 148, 82, 0.45); }
.table-pick:active { transform: scale(0.97); }
.table-pick.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 16px -10px rgba(150, 27, 20, 0.65);
}
.table-pick.is-active small { color: rgba(247, 232, 203, 0.65); }
.table-diners {
  margin-top: 15px;
  padding-top: 4px;
  border-top: 1px dashed rgba(62, 42, 31, 0.1);
}
.table-diners > label { font-size: 10.5px; color: var(--ink-soft); }

/* dish sheet */
.dish-hero { position: relative; flex: none; height: 242px; background: #d7c6af; overflow: hidden; }
.dish-hero img { width: 100%; height: 100%; object-fit: cover; }
.dish-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, rgba(0, 0, 0, 0.3));
}
.dish-hero .sheet-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  background: rgba(26, 14, 10, 0.46);
  color: #fff4e4;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dish-hero-badge {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(179, 38, 30, 0.9);
  color: #f7e8cb;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.dish-detail { padding: 18px 20px 20px; }
.dish-detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dish-detail h2 { margin: 0; font-family: var(--serif); font-size: 27px; letter-spacing: 0.05em; }
.dish-detail .heat { margin-top: 5px; }
.dish-detail-desc { margin: 12px 0 0; font-size: 11.5px; line-height: 1.8; color: #77655b; }
.dish-facts {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fact {
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(62, 42, 31, 0.05);
  color: #806c5f;
  font-size: 8.5px;
}
.dish-note {
  margin-top: 15px;
  padding: 10px 11px;
  border-left: 2px solid rgba(193, 148, 82, 0.5);
  background: rgba(193, 148, 82, 0.07);
  font-size: 9.5px;
  line-height: 1.65;
  color: #8b745e;
}
.dish-buybar { display: flex; align-items: center; gap: 15px; }
.dish-buyprice { flex: none; }
.dish-buyprice span { display: block; font-size: 8px; color: var(--muted); }
.dish-buyprice strong { font-family: Georgia, serif; font-size: 26px; color: var(--red); line-height: 1.2; }
.dish-buybar .btn { flex: 1; }

/* order detail */
.order-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.order-detail-head h2 { margin: 0; font-family: var(--serif); font-size: 24px; }
.order-detail-head p { margin: 5px 0 0; font-size: 9px; color: var(--muted); font-family: Georgia, serif; }
.timeline { display: flex; flex-direction: column; gap: 0; margin: 17px 0 5px; }
.tl-step { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding-bottom: 21px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin: 3px auto 0; border-radius: 50%; border: 2px solid #d7c8b5; background: var(--paper); }
.tl-step::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 0; width: 1px; background: #ded1c0; }
.tl-step:last-child::before { display: none; }
.tl-step.is-done .tl-dot { border-color: var(--red); background: var(--red); }
.tl-step.is-current .tl-dot { border-color: var(--red); background: var(--card); box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12); }
.tl-step.is-done::before { background: rgba(179, 38, 30, 0.4); }
.tl-copy strong { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.tl-step.is-current .tl-copy strong { color: var(--red); }
.tl-copy span { display: block; margin-top: 3px; font-size: 8.5px; color: var(--muted); }
.order-detail-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(62, 42, 31, 0.09);
  border-radius: 12px;
  background: var(--card);
}
.order-detail-box h3 { margin: 0 0 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.detail-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 9.5px; color: var(--ink-soft); }
.detail-item img { width: 29px; height: 29px; border-radius: 6px; object-fit: cover; }
.detail-item span:nth-child(2) { flex: 1; min-width: 0; }
.detail-item b { font-family: Georgia, serif; font-weight: 600; }
.detail-meta { margin-top: 9px; padding-top: 9px; border-top: 1px dashed rgba(62, 42, 31, 0.1); font-size: 9px; line-height: 1.8; color: var(--muted); }
.detail-meta b { color: var(--ink-soft); font-weight: 600; }
.detail-total { display: flex; align-items: flex-end; justify-content: flex-end; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(62, 42, 31, 0.09); }
.detail-total span { font-size: 9px; color: var(--muted); }
.detail-total strong { font-family: Georgia, serif; font-size: 21px; color: var(--red); }

/* ---------- success ---------- */
.success-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  outline: none;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 12%, rgba(193, 148, 82, 0.18), transparent 30%),
    radial-gradient(circle at 85% 90%, rgba(179, 38, 30, 0.1), transparent 32%),
    var(--paper);
  animation: successIn 0.4s ease both;
}
@keyframes successIn { from { opacity: 0; } }
.success-overlay::before {
  content: "湘";
  position: fixed;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(5deg);
  font-family: var(--serif);
  font-size: min(50vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(179, 38, 30, 0.08);
  pointer-events: none;
}
.success-inner {
  position: relative;
  width: min(100%, 380px);
  text-align: center;
  animation: successRise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes successRise { from { opacity: 0; transform: translateY(20px); } }
.success-mark {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #b72b21, #7d1510);
  color: #f7e8cb;
  box-shadow: 0 20px 38px -18px rgba(143, 25, 18, 0.6);
}
.success-mark .icon { width: 38px; height: 38px; stroke-width: 1.7; animation: checkDraw 0.45s 0.2s ease both; }
@keyframes checkDraw { from { opacity: 0; transform: scale(0.4); } }
.success-pulse {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(179, 38, 30, 0.28);
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(0.9); opacity: 0.7; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.success-inner .page-eyebrow { margin-top: 2px; }
.success-inner h2 { margin: 10px 0 0; font-family: var(--serif); font-size: 32px; letter-spacing: 0.1em; }
.success-sub { margin: 8px 0 0; font-size: 10.5px; color: var(--muted); line-height: 1.6; }
.success-card {
  margin-top: 22px;
  padding: 16px 17px;
  border: 1px solid rgba(193, 148, 82, 0.28);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
  text-align: left;
  box-shadow: 0 18px 40px -32px rgba(55, 31, 20, 0.5);
}
.success-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 10px; }
.success-row span { color: var(--muted); }
.success-row strong { font-family: Georgia, var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.03em; }
.success-row strong.accent { color: var(--red); }
.success-total { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(62, 42, 31, 0.13); }
.success-total span { font-size: 10px; color: var(--muted); }
.success-total strong { font-family: Georgia, serif; font-size: 26px; color: var(--red); }
.success-tip {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(193, 148, 82, 0.1);
  font-size: 9px;
  line-height: 1.6;
  color: #8a745f;
  text-align: left;
}
.success-tip span { color: var(--red); font-weight: 700; }
.success-actions { display: flex; gap: 9px; margin-top: 21px; }
.success-actions .btn { flex: 1; }

/* ---------- toast / misc ---------- */
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  top: 18px;
  transform: translate(-50%, -10px);
  max-width: min(82vw, 360px);
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(32, 20, 15, 0.92);
  color: #f6e9d4;
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.noscript {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
  text-align: center;
  font-size: 14px;
}

/* ---------- responsive ---------- */
@media (max-width: 420px) {
  .hero { min-height: 252px; margin-left: 13px; margin-right: 13px; padding-left: 19px; }
  .hero h1 { font-size: 33px; }
  .hero-content { width: 79%; }
  .hero-stamp { right: 18px; width: 62px; height: 62px; font-size: 31px; }
  .hero-table { top: 13px; right: 13px; }
  .coupon { margin-left: 13px; margin-right: 13px; }
  .coupon-left { width: 80px; }
  .coupon-right { padding: 11px 10px; }
  .coupon-right strong { font-size: 12px; }
  .coupon-right button { padding: 6px; font-size: 8px; }
  .coupon-right button .icon { display: none; }
  .fresh-strip { margin-left: 15px; margin-right: 15px; }
  .category-tabs { padding-left: 13px; padding-right: 13px; }
  .menu-section { padding-left: 13px; padding-right: 13px; }
  .dish-content { grid-template-columns: 101px minmax(0, 1fr); gap: 11px; padding: 9px; }
  .dish-media { width: 101px; height: 101px; }
  .dish-title-row h3 { font-size: 17px; }
  .dish-price-row { padding-right: 76px; }
  .sheet-head, .sheet-body { padding-left: 16px; padding-right: 16px; }
  .sheet-footer { padding-left: 16px; padding-right: 16px; }
}

@media (min-width: 780px) {
  .app-shell { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 110px rgba(0, 0, 0, 0.58); }
  .hero { min-height: 278px; }
  .dish-card--feature .dish-media { height: 220px; }
}

@media (max-width: 1120px) {
  .stage-copy, .stage-side { display: none; }
  .stage-glyph { right: -8vw; font-size: 60vw; opacity: 0.48; }
}

@media (max-height: 700px) and (min-width: 780px) {
  .sheet { max-height: 94vh; max-height: 94dvh; }
}

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

/* =========================================================
   可读性调整：正文放大到 13–15px，辅助信息不小于 10.5px
   ========================================================= */
:root { --nav-h: 68px; }
.app-shell { padding-bottom: calc(178px + var(--safe-b)); }

.brand-sub { font-size: 11.5px; }
.table-chip {
  height: 40px;
  padding: 0 13px 0 11px;
  font-size: 13px;
}
.search-field input { font-size: 14.5px; }
.search-cancel { font-size: 14px; }

.hero-kicker { font-size: 11px; }
.hero-sub {
  font-size: 13px;
  line-height: 1.75;
}
.hero-meta {
  gap: 8px 14px;
  font-size: 12px;
}
.hero-meta b { font-size: 13px; }
.hero-meta-hot {
  padding: 4px 8px;
  font-size: 10.5px;
}
.hero-table span,
.hero-table small { font-size: 10px; }
.hero-table strong { font-size: 20px; }

.fresh-strip { font-size: 11.5px; }
.fresh-label {
  padding: 5px 9px;
  font-size: 11px;
}

.coupon { min-height: 90px; }
.coupon-left span { font-size: 10px; }
.coupon-left em { font-size: 10px; }
.coupon-right strong {
  font-size: 15px;
  line-height: 1.35;
}
.coupon-right span {
  font-size: 11.5px;
  line-height: 1.5;
}
.coupon-right button {
  padding: 7px 10px;
  font-size: 11px;
}

.category-tabs { padding-top: 11px; padding-bottom: 11px; }
.cat-tab {
  height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
}
.menu-section { scroll-margin-top: 76px; }

.section-num { font-size: 12px; }
.section-en { font-size: 10px; }
.section-note { font-size: 11px; }

.dish-badge {
  padding: 4px 8px;
  font-size: 10px;
}
.dish-title-row h3 { font-size: 19px; }
.heat {
  padding: 3px 6px;
  font-size: 10px;
}
.heat .icon { width: 10px; height: 10px; }
.dish-desc {
  font-size: 12.5px;
  line-height: 1.65;
}
.dish-meta {
  flex-wrap: wrap;
  gap: 3px 8px;
  font-size: 10.5px;
}
.price small { font-size: 11px; }
.price strong { font-size: 23px; }
.price-unit { font-size: 10.5px; }
.dish-card--feature .dish-media { height: 210px; }
.dish-card--feature .dish-title-row h3 { font-size: 25px; }
.dish-card--feature .dish-desc { font-size: 13.5px; }
.dish-card--feature .dish-badge { padding: 5px 10px; font-size: 10.5px; }
.dish-card--feature .feature-mark { font-size: 12px; }
.dish-card--feature .price strong { font-size: 28px; }
.dish-card--feature .dish-meta { font-size: 11px; }
.dish-media { align-self: center; }

.menu-empty p { font-size: 12.5px; line-height: 1.7; }
.menu-empty button {
  padding: 10px 18px;
  font-size: 12.5px;
}
.menu-footer p { font-size: 12px; }
.menu-footer small { font-size: 9.5px; }

.cart-bar-inner { height: 64px; }
.cart-copy strong { font-size: 22px; }
.cart-copy small { font-size: 11px; }
.cart-count {
  min-width: 19px;
  height: 19px;
  font-size: 11px;
}
.cart-go {
  height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
}
.nav-item { font-size: 11.5px; }

.page-eyebrow { font-size: 10px; }
.page-head p {
  font-size: 13px;
  line-height: 1.7;
}
.order-filter button {
  height: 38px;
  padding: 0 15px;
  font-size: 13px;
}
.order-brand strong { font-size: 16px; }
.order-brand small { font-size: 10.5px; }
.order-status {
  padding: 5px 9px;
  font-size: 11px;
}
.order-summary p { font-size: 12.5px; line-height: 1.6; }
.order-summary span { font-size: 10.5px; }
.order-total small { font-size: 10px; }
.order-total strong { font-size: 18px; }
.order-actions button,
.order-actions a {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}
.empty-orders p { font-size: 12.5px; line-height: 1.7; }
.empty-orders button {
  padding: 12px 24px;
  font-size: 13.5px;
}

.member-label { font-size: 11px; }
.member-level {
  padding: 4px 8px;
  font-size: 10px;
}
.member-main p { font-size: 11.5px; }
.member-stats span { font-size: 10.5px; }
.member-note { font-size: 11px; line-height: 1.6; }
.quick-item > span:nth-child(2) { font-size: 13px; }
.quick-item small { font-size: 10.5px; }
.list-copy strong { font-size: 13px; }
.list-copy small { font-size: 10.5px; }
.store-card-head h3 { font-size: 17px; }
.open-badge {
  padding: 5px 8px;
  font-size: 10px;
}
.store-line { font-size: 11.5px; }
.store-btn {
  height: 40px;
  font-size: 12px;
}

.sheet-head p { font-size: 11.5px; }
.cart-clear { font-size: 11px; }
.cart-line img { width: 60px; height: 60px; }
.cart-line-copy strong { font-size: 15.5px; }
.cart-line-copy span { font-size: 11px; }
.cart-line-copy b { font-size: 15.5px; }
.cart-empty p { font-size: 12.5px; }
.summary-row { font-size: 12.5px; }
.summary-total span { font-size: 12.5px; }
.summary-total strong { font-size: 26px; }
.summary-total strong small { font-size: 12px; }
.cart-tip {
  font-size: 11.5px;
  line-height: 1.65;
}
.btn {
  height: 50px;
  font-size: 14.5px;
}
.checkout-label strong { font-size: 13px; }
.checkout-label span { font-size: 11.5px; }
.mode-switch button {
  height: 42px;
  font-size: 13px;
}
.form-row { min-height: 48px; }
.form-row > label { font-size: 12.5px; }
.select-wrap select {
  height: 36px;
  font-size: 13px;
}
.mini-stepper button { width: 29px; height: 29px; }
.mini-stepper strong { font-size: 16px; }
.pickup-note { font-size: 11.5px; line-height: 1.7; }
.note-chip {
  height: 32px;
  padding: 0 11px;
  font-size: 11px;
}
.note-input {
  min-height: 80px;
  font-size: 12.5px;
}
.checkout-item { font-size: 12.5px; }
.coupon-line { font-size: 11.5px; }
.table-lead { font-size: 12.5px; }
.table-pick {
  height: 52px;
  font-size: 16px;
}
.table-pick small { font-size: 10px; }
.table-diners > label { font-size: 12.5px; }
.dish-detail-desc {
  font-size: 13.5px;
  line-height: 1.85;
}
.fact {
  padding: 6px 10px;
  font-size: 10.5px;
}
.dish-note { font-size: 11.5px; line-height: 1.7; }
.dish-buyprice span { font-size: 10.5px; }
.order-detail-head p { font-size: 11px; }
.tl-copy strong { font-size: 13px; }
.tl-copy span { font-size: 11px; }
.order-detail-box h3 { font-size: 12px; }
.detail-item { font-size: 12px; }
.detail-meta { font-size: 11.5px; }
.detail-total span { font-size: 11px; }

.success-sub {
  font-size: 12.5px;
  line-height: 1.7;
}
.success-row { font-size: 12.5px; }
.success-row strong { font-size: 13.5px; }
.success-total span { font-size: 12px; }
.success-tip {
  font-size: 11.5px;
  line-height: 1.7;
}
.toast { font-size: 12.5px; }

@media (max-width: 360px) {
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 10.5px; }
  .table-chip {
    height: 38px;
    padding: 0 9px;
    font-size: 12px;
  }
  .coupon-right strong { font-size: 14px; }
  .coupon-right span { font-size: 10.5px; }
  .coupon-right button {
    padding: 6px 8px;
    font-size: 10.5px;
  }
  .dish-title-row h3 { font-size: 18px; }
  .dish-desc { font-size: 12px; }
  .dish-meta { font-size: 10px; }
  .cat-tab { padding: 0 12px; font-size: 13px; }
  .section-note { font-size: 10.5px; }
}
