:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #efece5;
  --ink: #141413;
  --ink-2: #524e48;
  --muted: #8a847b;
  --line: rgba(20, 20, 19, 0.09);
  --line-strong: rgba(20, 20, 19, 0.16);
  --accent: #a63a2b;
  --open: #2d7a4f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 92px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 240, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.brand-zh {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-sep {
  display: none;
}

.brand-en {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-soft);
  border: none;
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 390px) {
  .wrap {
    padding: 0 14px;
  }
  .nav-right {
    gap: 9px;
  }
  .nav-link {
    font-size: 12.5px;
  }
}

.lang-opt {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-opt.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 按钮体系：克制、利落 */
.btn-solid,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn-solid {
  background: var(--ink);
  color: #fff;
}

.btn-solid:hover {
  background: #2b2926;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 0 14px;
}

.btn-solid:active,
.btn-outline:active,
.btn-ghost:active {
  transform: scale(0.97);
}

.btn-grow {
  flex: 1;
}

/* 首屏 */
.hero {
  padding: 24px 0 36px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--open);
}

.status-dot.closed {
  background: var(--muted);
}

.demo-tag {
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 1px 6px;
}

.hero-title {
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-story {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 44ch;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-soft);
}

.hero-media img {
  transition: transform 0.7s var(--ease);
}

.hero-media:hover img {
  transform: scale(1.025);
}

/* 极简信息条 */
.info-strip {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.info-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-val {
  font-size: 13.5px;
  color: var(--ink);
}

/* 通用区块 */
.section {
  padding: 44px 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.sec-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}

.sec-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sec-hint {
  font-size: 12.5px;
  color: var(--muted);
}

/* 招牌横滑画廊 */
.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.featured-rail::-webkit-scrollbar {
  display: none;
}

.sig-card {
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sig-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-soft);
}

.sig-media img {
  transition: transform 0.55s var(--ease);
}

.sig-card:hover .sig-media img {
  transform: scale(1.04);
}

.sig-quick-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.sig-quick-add:hover {
  background: var(--ink);
  color: #fff;
}

.sig-quick-add:active {
  transform: scale(0.9);
}

.sig-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sig-name {
  font-size: 16px;
  font-weight: 600;
}

.sig-price {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.sig-desc {
  font-size: 13px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 菜单区与吸顶分类栏 */
.menu-section {
  border-top: 1px solid var(--line);
}

.cat-bar-wrap {
  position: sticky;
  top: 60px;
  z-index: 30;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 -20px 20px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}

.cat-bar {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-bar::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  position: relative;
  border: none;
  background: transparent;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.cat-btn.active {
  color: var(--ink);
  font-weight: 600;
}

.cat-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.cat-btn.active::after {
  transform: scaleX(1);
}

/* 菜单条目：干净的细线排版 */
.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.menu-thumb {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-soft);
}

.menu-body {
  flex: 1;
  min-width: 0;
}

.menu-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.menu-name {
  font-size: 15.5px;
  font-weight: 600;
}

.menu-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(166, 58, 43, 0.28);
  padding: 0 6px;
  border-radius: 4px;
  line-height: 1.5;
}

.menu-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin: 3px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-size: 14.5px;
  font-weight: 600;
}

/* 步进器 */
.qty-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.q-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
    color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.q-btn.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.q-btn:active {
  transform: scale(0.88);
}

.q-num {
  min-width: 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
}

/* 门店区 */
.visit-section {
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.visit-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
  max-width: 38ch;
}

.visit-details {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row:first-child {
  padding-top: 0;
}

.detail-k {
  font-size: 11.5px;
  color: var(--muted);
}

.detail-v {
  font-size: 14.5px;
  font-weight: 500;
}

.visit-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* 底部悬浮清单栏（硬件加速滑入） */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 45;
  padding: 0 16px;
  pointer-events: none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.28s var(--ease);
}

.dock.visible {
  transform: translateY(0);
  opacity: 1;
}

.dock-inner {
  max-width: 480px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 36px rgba(20, 20, 19, 0.24);
  pointer-events: auto;
}

.dock-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.dock-count {
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.dock-price {
  font-size: 15px;
  font-weight: 600;
}

.dock-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.dock-cta {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.dock-cta:active {
  transform: scale(0.96);
}

/* 丝滑抽屉弹窗 */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 20, 19, 0.44);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease);
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  width: 100%;
  max-width: 500px;
  max-height: 88vh;
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: translateY(36px);
  transition: transform 0.34s var(--ease);
}

.sheet-backdrop.open .sheet {
  transform: translateY(0);
}

.sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sheet-close-inline {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dish-sheet-media {
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
}

.dish-sheet-body {
  padding: 20px;
  overflow-y: auto;
}

.dish-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.dish-sheet-top h3 {
  font-size: 20px;
  font-weight: 700;
}

.dish-sheet-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.dish-sheet-price {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.dish-sheet-desc {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.pref-block {
  margin-bottom: 22px;
}

.pref-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.pref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pref-chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.pref-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.dish-sheet-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: 44px;
  padding: 0 6px;
  gap: 8px;
}

.step-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.step-val {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

/* 清单弹窗 */
.sheet-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.sheet-scroll {
  padding: 16px 20px;
  overflow-y: auto;
}

.cart-items {
  margin-bottom: 20px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row-title {
  font-size: 14.5px;
  font-weight: 600;
}

.cart-row-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field select:focus {
  border-color: var(--ink);
}

.sheet-footer {
  padding: 16px 20px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.total-line strong {
  font-size: 20px;
  color: var(--ink);
}

.footer-btns {
  display: flex;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translate(-50%, -12px);
  z-index: 70;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 轻微滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* 桌面端 */
@media (min-width: 768px) {
  .brand-name {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  .brand-zh {
    font-size: 16px;
  }
  .brand-sep {
    display: inline;
    color: var(--muted);
    font-size: 13px;
  }
  .brand-en {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-2);
  }
  .nav-right {
    gap: 20px;
  }
  .nav-link {
    font-size: 14px;
  }
  .hero {
    padding: 48px 0 44px;
  }
  .hero-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
  }
  .info-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .featured-rail {
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow: visible;
  }
  .menu-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
  }
  .sheet-backdrop {
    align-items: center;
    padding: 20px;
  }
  .sheet {
    border-radius: 22px;
  }
}

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