/* ============================================================
   Panda Coffee · 桌面端点单系统样式
   ============================================================ */
:root {
  --cream: #FBF7EF;
  --paper: #FFFDF8;
  --paper-2: #F5EFE2;
  --ink: #332B22;
  --ink-soft: #5E5346;
  --muted: #9B9080;
  --brown: #7A5233;
  --brown-deep: #4A3321;
  --green: #5E7B54;
  --green-deep: #45603E;
  --green-soft: #E8F0E2;
  --line: #E9E0CF;
  --gold: #C39A5E;
  --alert: #FFF6E8;
  --shadow: 0 16px 44px rgba(74, 51, 33, .09);
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1180px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #D9E7CE; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #DDD2BE; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.eyebrow {
  font-size: 11px; letter-spacing: .28em; font-weight: 600;
  color: var(--green); text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
.section-desc { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: 78px;
  background: rgba(255, 253, 248, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(74,51,33,.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-family: var(--serif); font-size: 18px; letter-spacing: .16em; }
.brand-text small { font-size: 10px; letter-spacing: .24em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: 24px; }
.nav a, .nav button {
  border: 0; background: none; padding: 8px 0; font-size: 13.5px; color: var(--ink-soft);
  letter-spacing: .04em; position: relative; transition: color .2s;
}
.nav a:hover, .nav button:hover, .nav a.active { color: var(--brown-deep); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.open-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--green-deep);
  background: var(--green-soft); border-radius: 999px; padding: 7px 14px; white-space: nowrap;
}
.open-badge i { width: 7px; height: 7px; border-radius: 50%; background: #6FA05C; box-shadow: 0 0 0 3px rgba(111,160,92,.18); }
.open-badge em { font-style: normal; color: var(--muted); font-size: 11px; }
.staff-link {
  font-size: 12.5px; color: var(--brown); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; white-space: nowrap; transition: all .2s;
}
.staff-link:hover { background: var(--brown-deep); color: var(--paper); border-color: var(--brown-deep); }
.staff-link span { margin-left: 3px; }

/* ---------- 首页横幅 ---------- */
.hero {
  height: 466px; position: relative; overflow: hidden;
  background: url("assets/hero.webp") center 38% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,247,239,.10) 0%, rgba(251,247,239,0) 46%, rgba(251,247,239,.42) 100%);
}
.hero-inner {
  max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1;
}
.hero-copy { width: 460px; padding-right: 26px; }
.hero h1 { font-size: 58px; line-height: 1.26; color: var(--brown-deep); margin: 16px 0 20px; letter-spacing: .02em; }
.hero p { color: var(--ink-soft); line-height: 2; font-size: 14.5px; margin: 0 0 30px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 18px; background: var(--brown-deep);
  color: #FFF9EE; padding: 14px 30px; border-radius: 999px; font-size: 14px;
  letter-spacing: .1em; box-shadow: 0 10px 24px rgba(74,51,33,.18); transition: all .2s;
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-primary span { font-size: 17px; }
.hero-note { margin-top: 26px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.facts-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 88px;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
}
.fact { display: flex; align-items: center; gap: 14px; padding-left: 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--paper-2);
  display: grid; place-items: center; font-size: 19px;
}
.fact div { display: flex; flex-direction: column; }
.fact strong { font-size: 13.5px; font-weight: 600; }
.fact small { font-size: 11.5px; color: var(--muted); }

/* ---------- 主体布局 ---------- */
.layout {
  max-width: 1440px; margin: 0 auto; padding: 54px 40px 84px;
  display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 32px; align-items: start;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-size: 34px; margin-top: 10px; color: var(--brown-deep); }
.search-box {
  display: flex; align-items: center; gap: 10px; width: 254px; padding: 10px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
}
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(94,123,84,.10); }
.search-icon { font-size: 19px; color: var(--muted); line-height: 1; }
.search-box input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13px; }
.search-box input::placeholder { color: #B6AC9C; }

.category-tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.category-tabs button {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  border-radius: 999px; padding: 9px 20px; font-size: 13px; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.category-tabs button span { font-family: var(--serif); font-size: 11px; color: var(--muted); }
.category-tabs button:hover { border-color: var(--green); color: var(--green-deep); }
.category-tabs button.active { background: var(--green-deep); border-color: var(--green-deep); color: #FFF; }
.category-tabs button.active span { color: rgba(255,255,255,.7); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #DCD0B9; }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .card-media img { transform: scale(1.045); }
.card-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,253,248,.94);
  color: var(--brown); font-size: 11px; letter-spacing: .06em; padding: 6px 12px;
  border-radius: 999px; box-shadow: 0 2px 8px rgba(74,51,33,.08);
}
.card-tag.green { color: var(--green-deep); }
.card-add {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: var(--green-deep); color: #FFF;
  font-size: 24px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(69,96,62,.28); transition: transform .2s, background .2s;
}
.card-add:hover { transform: rotate(90deg) scale(1.08); background: var(--brown-deep); }
.card-body { padding: 18px 20px 0; flex: 1; display: flex; flex-direction: column; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-title h3 { font-size: 19px; color: var(--ink); }
.card-price { font-family: var(--serif); font-size: 20px; color: var(--brown); font-weight: 600; }
.card-price small { font-size: 12px; margin-right: 2px; }
.card-en { font-size: 10.5px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.card-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.75; margin: 12px 0 16px; flex: 1; }
.card-foot {
  border-top: 1px dashed var(--line); padding: 11px 0 13px;
  font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between;
}
.card-foot b { color: var(--green); font-weight: 500; }
.no-result { text-align: center; padding: 60px 0; color: var(--muted); font-size: 15px; }

/* ---------- 品牌故事 ---------- */
.story-band {
  margin-top: 58px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 26px; padding: 46px 56px; display: grid; grid-template-columns: 180px 1fr;
  gap: 46px; position: relative; overflow: hidden;
}
.story-leaf { color: var(--green); opacity: .42; }
.story-leaf svg { width: 160px; }
.story-copy h3 { font-size: 30px; line-height: 1.4; color: var(--brown-deep); margin: 12px 0 18px; }
.story-copy p { font-size: 13.5px; color: var(--ink-soft); line-height: 2; margin: 0 0 8px; }
.story-meta { display: flex; gap: 26px; margin-top: 22px; font-size: 12px; color: var(--green-deep); }

/* ---------- 购物车 ---------- */
.cart {
  position: sticky; top: 100px; height: calc(100vh - 124px); min-height: 620px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
}
.cart-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 22px 16px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 20px; color: var(--brown-deep); }
.basket-emoji { font-size: 15px; }
.cart-sub { font-size: 11.5px; color: var(--muted); }
.text-btn { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px 0; }
.text-btn:hover { color: var(--brown); text-decoration: underline; }
.dine-toggle { display: flex; gap: 8px; padding: 16px 22px 0; }
.dine-toggle button {
  flex: 1; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-soft);
  border-radius: 10px; padding: 9px 0; font-size: 12.5px; transition: all .2s;
}
.dine-toggle button.active { background: var(--green-soft); border-color: #C6D9BB; color: var(--green-deep); font-weight: 600; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { text-align: center; padding: 52px 10px; }
.cart-empty img { width: 92px; margin: 0 auto 16px; border-radius: 50%; opacity: .72; }
.cart-empty strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink-soft); }
.cart-empty p { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.8; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.cart-item-name b { color: var(--brown); font-family: var(--serif); font-size: 14px; white-space: nowrap; }
.cart-item-opts { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; }
.stepper { display: inline-flex; align-items: center; gap: 9px; }
.stepper button {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); line-height: 1; padding: 0; font-size: 14px;
  display: grid; place-items: center;
}
.stepper button:hover { border-color: var(--green); color: var(--green-deep); }
.stepper span { font-size: 12.5px; min-width: 14px; text-align: center; }
.item-remove { border: 0; background: none; color: var(--muted); font-size: 11px; }
.item-remove:hover { color: #B4553F; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 22px 20px; background: #FFFCF5; }
.note-field label { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.note-field textarea {
  width: 100%; resize: none; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); padding: 9px 11px; font-size: 12px; outline: none; line-height: 1.6;
}
.note-field textarea:focus { border-color: var(--green); }
.note-field textarea::placeholder { color: #BDB3A2; }
.sum-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.sum-row b { font-weight: 500; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 14px; font-size: 14px;
}
.sum-total b { font-family: var(--serif); font-size: 26px; color: var(--brown-deep); }
.btn-checkout {
  width: 100%; margin-top: 16px; border: 0; border-radius: 12px; padding: 14px;
  background: var(--green-deep); color: #FFF; font-size: 14px; letter-spacing: .08em;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 8px 20px rgba(69,96,62,.20); transition: all .2s;
}
.btn-checkout:not(:disabled):hover { background: var(--brown-deep); transform: translateY(-2px); }
.btn-checkout:disabled { background: #D9D3C6; color: #F7F4EC; box-shadow: none; cursor: not-allowed; }
.btn-checkout span { font-size: 17px; }
.cart-tip { text-align: center; font-size: 11px; color: var(--muted); margin: 11px 0 0; }

/* ---------- 弹窗 ---------- */
.modal-root {
  position: fixed; inset: 0; z-index: 100; background: rgba(51, 43, 34, .46);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 30px;
}
.modal {
  background: var(--paper); border-radius: 24px; box-shadow: 0 30px 80px rgba(40,28,18,.28);
  max-height: 88vh; overflow: auto; animation: modal-in .22s ease both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-product { display: grid; grid-template-columns: 270px 1fr; width: 700px; }
.modal-media { background: var(--paper-2); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-detail { padding: 26px 28px 0; display: flex; flex-direction: column; }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  font-size: 17px; line-height: 1; display: grid; place-items: center; z-index: 2;
}
.modal-close:hover { background: var(--paper-2); }
.modal-product, .modal-form, .modal-success { position: relative; }
.modal-detail .eyebrow { margin-bottom: 8px; }
.modal-detail h2 { font-size: 26px; color: var(--brown-deep); }
.modal-detail .modal-en { font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.modal-detail .modal-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; margin: 12px 0 4px; }
.modal-detail .modal-story { font-size: 11.5px; color: var(--gold); margin: 0 0 18px; }
.opt-group { margin-bottom: 16px; }
.opt-group > label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 9px; }
.opt-group > label span { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 6px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-pill {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  border-radius: 999px; padding: 7px 14px; font-size: 12.5px; transition: all .18s;
}
.opt-pill:hover { border-color: var(--green); }
.opt-pill.selected { background: var(--green-soft); border-color: #BDD3AF; color: var(--green-deep); font-weight: 600; }
.opt-pill em { font-style: normal; color: var(--brown); margin-left: 5px; font-size: 11px; }
.modal-footer {
  position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.modal-qty { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.modal-qty .stepper button { width: 28px; height: 28px; font-size: 16px; }
.modal-qty .stepper span { font-size: 15px; min-width: 18px; color: var(--ink); }
.btn-add {
  border: 0; background: var(--green-deep); color: #FFF; border-radius: 12px;
  padding: 12px 26px; font-size: 13.5px; letter-spacing: .06em; min-width: 190px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.btn-add:hover { background: var(--brown-deep); }
.btn-add b { font-family: var(--serif); font-size: 17px; }

.modal-form { width: 520px; padding: 30px 32px 28px; }
.modal-form h2, .modal-success h2 { font-size: 26px; color: var(--brown-deep); margin: 8px 0 4px; }
.modal-form > p { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; }
.form-row { margin-bottom: 18px; }
.form-row > label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 9px; }
.form-row input[type="text"], .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  background: #FFFDF8; outline: none; font-size: 13px;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--green); }
.form-row textarea { resize: none; }
.choice-list { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-list button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 10px;
  padding: 9px 16px; font-size: 12.5px; color: var(--ink-soft);
}
.choice-list button.selected { background: var(--green-soft); border-color: #BDD3AF; color: var(--green-deep); font-weight: 600; }
.checkout-summary { background: var(--paper-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.checkout-summary .line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); padding: 3px 0; }
.checkout-summary .line.total { border-top: 1px dashed #DCD0B9; margin-top: 9px; padding-top: 11px; font-size: 14px; }
.checkout-summary .line.total b { font-family: var(--serif); font-size: 22px; color: var(--brown-deep); }
.form-actions { display: flex; gap: 12px; }
.btn-ghost {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  border-radius: 12px; padding: 12px 22px; font-size: 13px;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }
.btn-solid {
  flex: 1; border: 0; background: var(--green-deep); color: #FFF; border-radius: 12px;
  padding: 13px 22px; font-size: 13.5px; letter-spacing: .06em;
}
.btn-solid:hover { background: var(--brown-deep); }

.modal-success { width: 470px; padding: 36px 38px 34px; text-align: center; }
.modal-success > img { width: 86px; margin: 0 auto 16px; border-radius: 50%; }
.modal-success .eyebrow { margin-bottom: 8px; }
.modal-success > p { font-size: 13px; color: var(--ink-soft); line-height: 1.9; margin: 10px 0 20px; }
.pickup-box {
  background: var(--green-soft); border: 1px solid #CFE0C4; border-radius: 16px; padding: 18px; margin: 20px 0;
}
.pickup-box small { display: block; font-size: 11.5px; color: var(--green-deep); letter-spacing: .1em; }
.pickup-box strong { display: block; font-family: var(--serif); font-size: 46px; line-height: 1.2; color: var(--green-deep); }
.progress-line { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 22px; position: relative; }
.progress-line::before { content: ""; position: absolute; left: 10%; right: 10%; top: 11px; height: 2px; background: var(--line); }
.progress-step { position: relative; z-index: 1; flex: 1; font-size: 11.5px; color: var(--muted); }
.progress-step i { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); margin: 0 auto 8px; font-style: normal; line-height: 20px; }
.progress-step.on { color: var(--green-deep); font-weight: 600; }
.progress-step.on i { background: var(--green); border-color: var(--green); color: #FFF; }
.success-actions { display: flex; gap: 12px; }
.success-actions button { flex: 1; }

.simple-list { text-align: left; background: var(--paper-2); border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.simple-list .simple-order { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.simple-list .simple-order:last-child { border-bottom: 0; }
.simple-list .row { display: flex; justify-content: space-between; font-size: 12.5px; }
.simple-list .muted { color: var(--muted); font-size: 11.5px; margin-top: 3px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: 30px; bottom: 30px; z-index: 200;
  background: var(--brown-deep); color: #FFF9EE; padding: 12px 22px; border-radius: 12px;
  font-size: 13px; box-shadow: 0 12px 30px rgba(40,28,18,.24);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1440px; margin: 0 auto; padding: 30px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--serif); letter-spacing: .14em; font-size: 14px; }
.footer-brand small { color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 24px; font-size: 12.5px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--green-deep); }
.footer-copy { font-size: 11.5px; color: var(--muted); }

/* ============================================================
   店员工作台
   ============================================================ */
.admin-title { font-family: var(--serif); font-size: 19px; color: var(--brown-deep); display: flex; align-items: center; gap: 12px; }
.admin-title .divider { width: 1px; height: 22px; background: var(--line); margin-left: 4px; }
.admin-title em { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-top: 4px; }
.admin-shell { max-width: 1400px; margin: 0 auto; padding: 40px 40px 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; }
.admin-head h1 { font-size: 34px; color: var(--brown-deep); margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 34px; }
.stat {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px 22px; overflow: hidden;
}
.stat-label { display: block; font-size: 12px; color: var(--muted); }
.stat strong { font-family: var(--serif); font-size: 34px; color: var(--brown-deep); line-height: 1.5; }
.stat small { font-size: 11.5px; color: var(--muted); margin-left: 8px; }
.stat-mark { position: absolute; right: 20px; top: 16px; font-size: 22px; opacity: .3; }
.stat-alert { background: var(--alert); border-color: #EBD9B8; }
.stat-alert strong { color: #B07B35; }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 24px; align-items: start; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.filter-tabs { display: flex; gap: 8px; }
.filter-tabs button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 8px 18px; font-size: 12.5px; color: var(--ink-soft);
}
.filter-tabs button.active { background: var(--brown-deep); border-color: var(--brown-deep); color: #FFF; }
.board-count { font-size: 12px; color: var(--muted); }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.order-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: 0 4px 16px rgba(74,51,33,.04);
}
.order-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #D9CFBC; }
.order-card.s-pending::before { background: #D99B4E; }
.order-card.s-making::before { background: #6E92C0; }
.order-card.s-done::before { background: #85AA72; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 12px 22px; }
.order-no { font-family: var(--serif); font-size: 24px; color: var(--brown-deep); line-height: 1.2; }
.order-no small { font-family: var(--sans); font-size: 11px; color: var(--muted); display: block; letter-spacing: .04em; margin-top: 2px; }
.status-pill { font-size: 11.5px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.s-pending .status-pill { background: #FBEBD3; color: #A66C24; }
.s-making .status-pill { background: #E5EDF7; color: #4E7099; }
.s-done .status-pill { background: var(--green-soft); color: var(--green-deep); }
.order-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); padding: 0 20px 12px 22px; }
.order-meta b { color: var(--ink-soft); font-weight: 500; }
.order-items { padding: 0 20px 14px 22px; }
.order-item { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.order-item:last-child { border-bottom: 0; }
.order-item .nm { color: var(--ink); }
.order-item .nm em { font-style: normal; color: var(--muted); font-size: 11px; margin-left: 6px; }
.order-item .nm small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.order-item .pr { color: var(--brown); white-space: nowrap; }
.order-note { margin: 0 20px 12px 22px; background: var(--paper-2); border-radius: 10px; padding: 9px 12px; font-size: 11.5px; color: var(--ink-soft); }
.order-note b { color: var(--brown); }
.order-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px 16px 22px; border-top: 1px solid var(--line); background: #FFFCF5; }
.order-total { font-size: 12px; color: var(--muted); }
.order-total b { font-family: var(--serif); font-size: 20px; color: var(--brown-deep); margin-left: 4px; }
.action-group { display: flex; gap: 8px; }
.btn-sm { border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 8px 14px; font-size: 12px; color: var(--ink-soft); }
.btn-sm:hover { border-color: var(--green); color: var(--green-deep); }
.btn-sm.primary { background: var(--green-deep); border-color: var(--green-deep); color: #FFF; }
.btn-sm.primary:hover { background: var(--brown-deep); }
.board-empty { text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; padding: 64px 20px; }
.board-empty img { width: 90px; margin: 0 auto 16px; border-radius: 50%; opacity: .7; }
.board-empty strong { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink-soft); }
.board-empty p { font-size: 12.5px; color: var(--muted); }
.board-empty a { color: var(--green-deep); text-decoration: underline; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin-bottom: 18px; }
.side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.side-head h3 { font-size: 17px; color: var(--brown-deep); }
.tips { list-style: none; margin: 0; padding: 0; }
.tips li { font-size: 12px; color: var(--ink-soft); padding: 9px 0 9px 16px; border-bottom: 1px dashed var(--line); position: relative; }
.tips li:last-child { border-bottom: 0; }
.tips li::before { content: "🎋"; position: absolute; left: 0; font-size: 9px; top: 12px; opacity: .6; }
.tips b { color: var(--brown); }
.side-soft { background: var(--paper-2); }
.side-soft p { font-size: 12px; color: var(--ink-soft); line-height: 1.9; margin: 0 0 16px; }
.side-soft code { background: #EDE4D2; padding: 2px 5px; border-radius: 4px; font-size: 11px; }
.btn-danger { width: 100%; border: 1px solid #E3CCC0; background: transparent; color: #A95743; border-radius: 10px; padding: 10px; font-size: 12.5px; }
.btn-danger:hover { background: #F9EBE6; }
