/* ============================================================
   湘味米粉·吉大港 — 暖调手作食光 (Sagmeister & Walsh joy)
   底色：暖纸白 + 深咖（咖啡馆系 token）
   爆发色：辣椒红 / 油条金 / 豆浆白 / 青椒绿
   ============================================================ */

:root {
  /* cafe design-system tokens */
  --primary: #5D4432;
  --secondary: #E9E3DD;
  --surface: #F9F7F5;
  --text: #3E2B1E;
  --success: #16A34A;
  --warning: #D97706;
  --danger: #DC2626;

  /* 暖调手作食光 color bursts */
  --chili: #E63946;
  --chili-deep: #C1121F;
  --gold: #F4A261;
  --gold-deep: #E76F51;
  --soy: #FFFDF9;
  --green: #2A9D8F;
  --green-deep: #21867A;
  --paper: #F6F1E7;
  --paper-deep: #EDE4D4;
  --ink: #33241A;
  --ink-soft: rgba(62, 43, 30, .68);
  --ink-faint: rgba(62, 43, 30, .38);
  --line: rgba(62, 43, 30, .16);
  --line-strong: rgba(62, 43, 30, .34);

  --font-display: "Poppins", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Poppins", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shadow-1: 0 2px 10px rgba(62, 43, 30, .08);
  --shadow-2: 0 10px 30px rgba(62, 43, 30, .14);
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(244, 162, 97, .16), transparent 60%),
    radial-gradient(900px 420px at -10% 30%, rgba(42, 157, 143, .08), transparent 55%),
    var(--surface);
  position: relative;
  min-height: 100vh;
}

/* 手工纸感噪点 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--chili); }

img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

/* ---------------- 排版 ---------------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.h3 { font-size: 1.22rem; }
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--chili);
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--chili); border-radius: 2px; }

.squiggle { position: relative; display: inline-block; }
.squiggle svg { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: .32em; }

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 46px;
}
.btn:active { transform: translateY(2px) scale(.985); }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }

.btn-primary { background: var(--primary); color: #FBF6EE; box-shadow: 0 4px 0 var(--ink); }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn-primary:focus-visible { outline-color: var(--gold); }

.btn-chili { background: var(--chili); color: #fff; box-shadow: 0 4px 0 var(--chili-deep); }
.btn-chili:hover { background: var(--chili-deep); transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); background: var(--paper); }

.btn-sm { padding: 8px 16px; font-size: .88rem; min-height: 38px; box-shadow: 0 2px 0 var(--ink); }

/* ---------------- 印章 / 贴纸 ---------------- */

.stamp {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--chili); border: 2.5px solid var(--chili);
  border-radius: 8px; padding: 4px 10px;
  background: rgba(230, 57, 70, .06);
  transform: rotate(-2deg);
  box-shadow: inset 0 0 0 2px rgba(230, 57, 70, .12);
}
.stamp.tilt-r { transform: rotate(2.5deg); }
.stamp.ink { color: var(--primary); border-color: var(--primary); background: rgba(93, 68, 50, .06); }

.sticker {
  position: absolute; z-index: 3;
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: .82rem;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-2);
  transform: rotate(-6deg);
  border: 2px solid rgba(62, 43, 30, .2);
}
.sticker.chili { background: var(--chili); color: #fff; transform: rotate(5deg); }
.sticker.green { background: var(--green); color: #fff; transform: rotate(-3deg); }

/* ---------------- 导航 ---------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 247, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--line-strong);
}
.nav-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--chili); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 3px 0 var(--chili-deep);
  transform: rotate(-3deg);
}
.brand-name { font-weight: 900; color: var(--ink); line-height: 1.15; font-size: 1.02rem; }
.brand-name small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--text); font-size: .95rem;
}
.nav-links a:hover { background: var(--paper); color: var(--chili); }
.nav-links a.active { background: var(--ink); color: #FBF6EE; }

.lang-toggle {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line-strong); background: var(--soy); color: var(--primary);
  transition: all .15s ease;
}
.lang-toggle:hover { border-color: var(--primary); background: var(--paper); }

.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 80;
  background: var(--soy); border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: var(--shadow-2); padding: 8px;
  display: grid; gap: 2px; min-width: 200px;
}
.lang-menu[hidden] { display: none !important; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  border-radius: 10px; text-align: start;
}
.lang-menu button:hover { background: var(--paper); }
.lang-menu button.active { background: var(--ink); color: #FBF6EE; font-weight: 700; }
.lang-menu button .code {
  margin-inline-start: auto; font-size: .7rem; font-weight: 700;
  opacity: .55; font-family: var(--font-mono); letter-spacing: .08em;
}

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; }

/* ---------------- Hero ---------------- */

.hero { padding: clamp(48px, 8vw, 96px) 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--chili); position: relative; }
.hero .sub { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .86rem; color: var(--ink-soft); }
.hero-facts b { color: var(--ink); font-family: var(--font-mono); }

.hero-art { position: relative; min-height: 340px; }
.hero-art .plate {
  position: relative; z-index: 2; width: 100%; max-width: 460px; margin: 0 auto;
  background: var(--paper); border: 3px solid var(--ink);
  border-radius: 50% 50% 46% 46% / 38% 38% 62% 62%;
  box-shadow: 0 18px 0 rgba(62, 43, 30, .12), var(--shadow-2);
  aspect-ratio: 1.15;
  display: grid; place-items: center;
  transform: rotate(1.5deg);
  overflow: hidden;
}
.hero-art .plate svg { width: 86%; height: 86%; }
.hero-art .sticker-a { top: 4%; left: -2%; }
.hero-art .sticker-b { top: 40%; right: -4%; }
.hero-art .sticker-c { bottom: 6%; left: 8%; }

/* ---------------- 区块 ---------------- */

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { margin-bottom: 34px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 3px; background: var(--chili); border-radius: 2px; }

/* 招牌三件套 */
.signature-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 22px; }
.sig-card {
  position: relative; border-radius: var(--radius);
  border: 2px solid var(--line); background: var(--soy);
  padding: 22px; box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.sig-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-2); }
.sig-card .art { height: 150px; display: grid; place-items: center; border-radius: var(--radius-sm); margin-bottom: 14px; }
.sig-card .art svg { height: 130px; }
.sig-card .t { font-weight: 800; font-size: 1.14rem; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sig-card .t .price { font-family: var(--font-mono); color: var(--chili); font-size: .95rem; white-space: nowrap; }
.sig-card p { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
.sig-card .cat-tag { position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--primary); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.art-bg-chili { background: linear-gradient(160deg, #FDE3E5, #FBD0D4); }
.art-bg-gold { background: linear-gradient(160deg, #FDEBD7, #FADDBB); }
.art-bg-green { background: linear-gradient(160deg, #DDEFEC, #CBE5E0); }
.art-bg-cream { background: linear-gradient(160deg, #F1EAE0, #E9E0D2); }

/* 自动化设备条 */
.kitchen-strip {
  background: var(--ink); color: #F6F1E7;
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.kitchen-strip::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 162, 97, .35), transparent 65%);
}
.kitchen-strip h2 { color: #FBF6EE; }
.kitchen-strip .lead { color: rgba(246, 241, 231, .75); }
.kitchen-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.kitchen-item {
  background: rgba(246, 241, 231, .07); border: 1.5px solid rgba(246, 241, 231, .18);
  border-radius: 12px; padding: 14px; font-size: .86rem;
}
.kitchen-item b { display: block; color: var(--gold); font-size: .92rem; margin-bottom: 2px; }
.kitchen-item span { color: rgba(246, 241, 231, .68); }

/* 信息双栏 */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card {
  background: var(--soy); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--ink); margin-bottom: 12px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--chili); flex: none; }
.info-card .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1.5px dashed var(--line); font-size: .93rem; }
.info-card .row:last-child { border-bottom: 0; }
.info-card .row b { color: var(--ink); }
.info-card .row span { color: var(--ink-soft); text-align: right; }

/* 支付入口 */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-card {
  background: var(--soy); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 20px; position: relative;
  transition: transform .18s ease;
}
.pay-card:hover { transform: translateY(-3px); }
.pay-card .pay-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.pay-card .pay-logo .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .62rem; font-weight: 900; }
.pay-card p { font-size: .84rem; color: var(--ink-soft); }
.badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 999px;
}
.badge.pending { background: var(--paper-deep); color: var(--warning); border: 1.5px solid rgba(217, 119, 6, .4); }
.badge.live { background: #E3F4E8; color: var(--success); border: 1.5px solid rgba(22, 163, 74, .35); }
.badge.off { background: #FDEBEC; color: var(--danger); border: 1.5px solid rgba(220, 38, 38, .3); }

/* ---------------- 菜单页 ---------------- */

.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill {
  font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line-strong); background: var(--soy); color: var(--text);
  transition: all .15s ease;
}
.pill:hover { border-color: var(--chili); color: var(--chili); }
.pill.active { background: var(--ink); color: #FBF6EE; border-color: var(--ink); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dish-card {
  background: var(--soy); border: 2px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.dish-card.featured { border-color: var(--gold); box-shadow: 0 6px 0 rgba(244, 162, 97, .4), var(--shadow-1); }
.dish-card .dish-art { height: 168px; display: grid; place-items: center; position: relative; }
.dish-card .dish-art svg { height: 140px; }
.dish-card .dish-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-card .dish-name { font-weight: 800; color: var(--ink); font-size: 1.08rem; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.dish-card .dish-name .cn { flex: 1; }
.dish-card .dish-name .en { display: block; font-weight: 500; font-size: .78rem; color: var(--ink-faint); }
.dish-card .dish-desc { font-size: .86rem; color: var(--ink-soft); flex: 1; }
.dish-card .dish-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--primary); border: 1.5px solid var(--line); }
.tag.hot { background: #FDEBEC; color: var(--chili); border-color: rgba(230, 57, 70, .35); }
.tag.star { background: #FDF1DE; color: var(--gold-deep); border-color: rgba(231, 111, 81, .4); }
.price { font-family: var(--font-mono); font-weight: 700; color: var(--chili); font-size: 1.05rem; white-space: nowrap; }
.price small { color: var(--ink-faint); font-weight: 500; }

.dish-soldout { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(249, 247, 245, .72); backdrop-filter: blur(2px); z-index: 2; }
.dish-soldout span { font-weight: 900; color: var(--danger); border: 3px solid var(--danger); padding: 10px 22px; border-radius: 999px; background: var(--soy); transform: rotate(-4deg); }

/* ---------------- 地址页 ---------------- */

.map-frame {
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 14px 0 rgba(62, 43, 30, .1);
  overflow: hidden; background: var(--paper-deep);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

.route-steps { counter-reset: step; display: grid; gap: 14px; margin-top: 18px; }
.route-step { display: flex; gap: 14px; align-items: flex-start; background: var(--soy); border: 2px dashed var(--line-strong); border-radius: 14px; padding: 14px 16px; }
.route-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 800; color: var(--chili);
  background: var(--paper); border: 2px solid var(--line); border-radius: 10px;
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
}
.route-step b { display: block; color: var(--ink); font-size: .95rem; }
.route-step p { font-size: .86rem; color: var(--ink-soft); }

/* ---------------- 预约页 ---------------- */

.reserve-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
.form-card {
  background: var(--soy); border: 2px solid var(--line);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-1);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--chili); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--line-strong); background: #fff;
  color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(93, 68, 50, .12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--danger); background: #FFF8F8;
}
.field .err { display: none; color: var(--danger); font-size: .8rem; margin-top: 5px; font-weight: 600; }
.field.has-err .err { display: block; }
.field .hint { font-size: .78rem; color: var(--ink-faint); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: block; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line-strong); font-weight: 600; font-size: .92rem; background: #fff;
  transition: all .15s ease;
}
.radio-pill input:checked + span { background: var(--ink); color: #FBF6EE; border-color: var(--ink); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.success-panel {
  display: none; text-align: center; padding: 40px 24px;
  background: var(--soy); border: 3px solid var(--green); border-radius: var(--radius);
  box-shadow: 0 8px 0 rgba(42, 157, 143, .25);
}
.success-panel .tick {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: 0 5px 0 var(--green-deep);
}
.success-panel .code-box {
  font-family: var(--font-mono); font-weight: 800; font-size: 1.5rem;
  color: var(--ink); background: var(--paper); border: 2px dashed var(--line-strong);
  border-radius: 14px; padding: 12px 22px; display: inline-block; margin: 14px 0;
  letter-spacing: .06em;
}

.side-card { background: var(--paper); border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card ul { list-style: none; display: grid; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.side-card ul li { padding-left: 22px; position: relative; }
.side-card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--gold); transform: rotate(8deg); }

/* ---------------- 页脚 ---------------- */

.footer { background: var(--ink); color: rgba(246, 241, 231, .75); margin-top: 60px; }
.footer-inner { padding: 44px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #FBF6EE; font-size: .95rem; margin-bottom: 12px; }
.footer a { color: var(--gold); }
.footer .f-brand { font-weight: 900; color: #FBF6EE; font-size: 1.15rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.footer p { font-size: .86rem; }
.footer .f-line { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; font-size: .88rem; }
.footer .f-line b { color: #FBF6EE; font-weight: 600; }
.footer-bottom { border-top: 1.5px dashed rgba(246, 241, 231, .2); padding: 16px 0; font-size: .78rem; text-align: center; color: rgba(246, 241, 231, .45); }

/* ---------------- 后台 ---------------- */

.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 30px var(--gutter) 60px; }
.admin-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { flex: 1; min-width: 240px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-tile { background: var(--soy); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat-tile .n { font-family: var(--font-mono); font-weight: 800; font-size: 1.6rem; color: var(--chili); line-height: 1.1; }
.stat-tile .l { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 20px; }
.tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 12px 12px 0 0; cursor: pointer;
  font-weight: 700; font-size: .92rem; color: var(--ink-soft);
  border: 2px solid transparent; border-bottom: 0; background: transparent;
  font-family: var(--font-body);
}
.tab:hover { color: var(--chili); }
.tab.active { background: var(--soy); color: var(--ink); border-color: var(--line); position: relative; top: 2px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filter-bar select, .filter-bar input {
  padding: 9px 12px; border-radius: 10px; border: 2px solid var(--line-strong);
  font-family: var(--font-body); font-size: .9rem; background: #fff; color: var(--text);
}
.filter-bar input[type="date"] { font-family: var(--font-mono); }

.table-wrap { overflow-x: auto; background: var(--soy); border: 2px solid var(--line); border-radius: 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 860px; }
table.data th {
  text-align: left; padding: 12px 14px; font-size: .76rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-faint); border-bottom: 2px solid var(--line);
  background: var(--paper); white-space: nowrap;
}
table.data td { padding: 12px 14px; border-bottom: 1.5px dashed var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(244, 162, 97, .07); }
.mono { font-family: var(--font-mono); font-size: .84rem; }
.status-badge { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status-badge.pending { background: #FDF1DE; color: var(--warning); }
.status-badge.confirmed { background: #E3F4E8; color: var(--success); }
.status-badge.completed { background: var(--paper-deep); color: var(--ink-soft); }
.status-badge.cancelled { background: #FDEBEC; color: var(--danger); }

.mini-btn {
  font-family: var(--font-body); font-size: .76rem; font-weight: 700;
  padding: 5px 10px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--primary);
  transition: all .12s ease;
}
.mini-btn:hover { border-color: var(--primary); background: var(--paper); }
.mini-btn.danger { color: var(--danger); }
.mini-btn.danger:hover { border-color: var(--danger); background: #FDEBEC; }
.mini-btn.ok { color: var(--success); }
.mini-btn.ok:hover { border-color: var(--success); background: #E3F4E8; }

.panel { background: var(--soy); border: 2px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.panel h3 { font-size: 1rem; color: var(--ink); margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #FBF6EE; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--danger); }

.login-gate { max-width: 420px; margin: 60px auto; text-align: center; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-faint); font-size: .92rem; }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--ink-faint); opacity: .6; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1024px) {
  .signature-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 2px dashed var(--line-strong);
    flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 16px;
    box-shadow: var(--shadow-2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-burger { display: block; }
  .signature-grid { grid-template-columns: 1fr; }
  .info-split { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .reserve-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .map-frame iframe { height: 320px; }
  .hero-facts { gap: 8px 16px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .sticker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------------- RTL（阿拉伯语 / 乌尔都语） ---------------- */
html[dir="rtl"] body { line-height: 1.75; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] table.data th { text-align: right; }
html[dir="rtl"] .info-card .row span { text-align: left; }
html[dir="rtl"] .kicker, html[dir="rtl"] .stamp, html[dir="rtl"] .lang-menu button .code,
html[dir="rtl"] .brand-name small { letter-spacing: 0; }
html[dir="rtl"] .nav-links a { text-align: right; }
html[dir="rtl"] .sig-card .t, html[dir="rtl"] .dish-card .dish-name { text-align: right; }
html[dir="rtl"] .route-step p { text-align: right; }
html[dir="rtl"] .hero-copy { text-align: right; }
