/* =====================================================================
   山岚小馆 · 前台样式
   设计基调：米白纸感 + 森林绿 + 陶土色，衬线标题、充足留白
   ===================================================================== */

:root {
    --paper: #f7f4ec;
    --paper-2: #efe9db;
    --card: #fffdf8;
    --ink: #1e211d;
    --ink-2: #4a4d45;
    --muted: #7b7e73;
    --line: #e1dacb;
    --line-soft: rgba(30, 33, 29, 0.08);
    --green: #22392f;
    --green-2: #2e4b3d;
    --green-soft: #e7ede7;
    --clay: #a45f3a;
    --clay-soft: #f2e3d7;
    --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
    --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --shadow-soft: 0 30px 60px -40px rgba(30, 33, 29, 0.45);
    --wrap: 1240px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.01em;
}

p {
    margin: 0;
}

ul, ol, dl, dd {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

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

button {
    cursor: pointer;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 40px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--green);
    color: #fff;
    padding: 10px 16px;
    z-index: 999;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------------------------------------------------------------------
   顶部信息条 + 导航
   ------------------------------------------------------------------ */

.topbar {
    background: var(--green);
    color: rgba(255, 253, 248, 0.72);
    font-size: 12.5px;
    letter-spacing: 0.06em;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 40px;
}

.topbar a:hover {
    color: #fff;
}

.topbar-meta {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-meta span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 236, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px -26px rgba(30, 33, 29, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 84px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.brand-tag {
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
}

.main-nav {
    margin-left: auto;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
    color: var(--ink-2);
    transition: color 0.2s ease;
}

.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--clay);
    transition: width 0.3s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a {
    color: var(--ink);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.is-active > a::after {
    width: 100%;
}

.nav-caret {
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.55;
}

.submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: -28px;
    width: 280px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 14px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 26px;
    font-size: 14px;
    color: var(--ink-2);
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu a span {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.submenu a:hover {
    background: var(--green-soft);
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    padding: 9px 14px;
    font-size: 13px;
    letter-spacing: 0.08em;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #fdfbf4;
}

.btn-primary:hover {
    background: var(--green-2);
    transform: translateY(-1px);
}

.btn-clay {
    background: var(--clay);
    color: #fffaf3;
}

.btn-clay:hover {
    background: #8f4f2e;
}

.btn-ghost {
    border-color: rgba(253, 251, 244, 0.45);
    color: #fdfbf4;
}

.btn-ghost:hover {
    background: rgba(253, 251, 244, 0.12);
}

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

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

.btn-order {
    padding: 11px 22px;
    background: var(--clay);
    color: #fff;
    border-radius: 999px;
    font-size: 13.5px;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-order:hover {
    background: #8f4f2e;
}

.cart-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

/* ---------------------------------------------------------------------
   首页 Hero
   ------------------------------------------------------------------ */

.hero {
    position: relative;
    min-height: clamp(520px, 78vh, 760px);
    display: flex;
    align-items: flex-end;
    color: #fdfbf4;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 33, 27, 0.36) 0%, rgba(21, 33, 27, 0.18) 40%, rgba(21, 33, 27, 0.82) 100%);
}

.hero-inner {
    position: relative;
    padding-top: 120px;
    padding-bottom: 56px;
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--clay);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero .eyebrow {
    color: rgba(253, 251, 244, 0.8);
}

.hero h1 {
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.16;
    margin: 22px 0 20px;
    max-width: 15em;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-lead {
    max-width: 520px;
    color: rgba(253, 251, 244, 0.93);
    font-size: 15.5px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-facts {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid rgba(253, 251, 244, 0.22);
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.hero-facts div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-facts dt {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(253, 251, 244, 0.55);
    text-transform: uppercase;
}

.hero-facts dd {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------------
   通用区块
   ------------------------------------------------------------------ */

.section {
    padding: 104px 0;
}

.section-tight {
    padding: 72px 0;
}

.section-alt {
    background: var(--paper-2);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}

.section-head h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    margin-top: 16px;
}

.section-head .lead {
    max-width: 460px;
    color: var(--muted);
    font-size: 15px;
    margin-top: 14px;
}

.section-link {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.section-link:hover {
    color: var(--clay);
    border-color: var(--clay);
}

.lead {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.9;
}

/* ---------------------------------------------------------------------
   首页：简介 + 分类
   ------------------------------------------------------------------ */

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 88px;
    align-items: start;
}

.intro-figure {
    position: relative;
}

.intro-figure img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.intro-figure figcaption {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.intro-copy h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    margin: 18px 0 24px;
}

.intro-copy p {
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 2;
    margin-bottom: 16px;
}

.fact-list {
    margin-top: 40px;
    border-top: 1px solid var(--line);
}

.fact-list > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

.fact-list dt {
    color: var(--muted);
    letter-spacing: 0.08em;
}

.fact-list dd {
    color: var(--ink);
}

.category-rows {
    border-top: 1px solid var(--line);
}

.category-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 32px;
    align-items: center;
    padding: 30px 8px;
    border-bottom: 1px solid var(--line);
    transition: background 0.25s ease, padding 0.25s ease;
}

.category-row:hover {
    background: rgba(255, 253, 248, 0.7);
    padding-left: 20px;
    padding-right: 20px;
}

.category-row .index {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.category-row h3 {
    font-size: 24px;
    font-weight: 500;
}

.category-row p {
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 6px;
}

.category-row .count {
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.category-row .arrow {
    font-size: 20px;
    color: var(--clay);
    transition: transform 0.25s ease;
}

.category-row:hover .arrow {
    transform: translateX(6px);
}

/* ---------------------------------------------------------------------
   菜品卡片
   ------------------------------------------------------------------ */

.dish-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
}

.dish-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dish-card {
    display: flex;
    flex-direction: column;
}

.dish-card-media {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
}

.dish-card-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.dish-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(253, 251, 244, 0.92);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 5px 10px;
}

.dish-card-body {
    padding: 20px 2px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dish-card-cat {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--clay);
    text-transform: uppercase;
}

.dish-card h3 {
    font-size: 21px;
    font-weight: 500;
    margin: 8px 0 8px;
}

.dish-card h3 a:hover {
    color: var(--clay);
}

.dish-card-summary {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
    flex: 1;
}

.dish-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.price {
    font-family: var(--serif);
    color: var(--ink);
    font-size: 19px;
}

.price .unit {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--muted);
    margin-left: 4px;
    letter-spacing: 0.08em;
}

.price .original {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.card-link {
    font-size: 12.5px;
    letter-spacing: 0.1em;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}

.card-link:hover {
    color: var(--clay);
    border-color: var(--clay);
}

/* ---------------------------------------------------------------------
   环境卡片
   ------------------------------------------------------------------ */

.area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.area-card {
    background: var(--card);
    border: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.area-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.area-card-body {
    padding: 26px 26px 30px;
}

.area-card h3 {
    font-size: 21px;
    font-weight: 500;
}

.area-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.8;
    margin-top: 10px;
}

.area-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.chip {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    background: var(--green-soft);
    padding: 5px 10px;
}

/* ---------------------------------------------------------------------
   FAQ / GEO 事实块
   ------------------------------------------------------------------ */

.geo-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 88px;
    align-items: start;
}

.geo-facts {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 38px 36px;
}

.geo-facts h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.geo-facts > p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.geo-facts dl > div {
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
}

.geo-facts dt {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
}

.geo-facts dd {
    font-size: 14.5px;
    margin-top: 6px;
    color: var(--ink);
    line-height: 1.7;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    position: relative;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 300;
    color: var(--clay);
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 40px 26px 0;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.95;
}

/* ---------------------------------------------------------------------
   到店 CTA
   ------------------------------------------------------------------ */

.cta-band {
    background: var(--green);
    color: #fdfbf4;
}

.cta-band .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-top: 76px;
    padding-bottom: 76px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
}

.cta-band p {
    color: rgba(253, 251, 244, 0.7);
    font-size: 14.5px;
    margin-top: 14px;
}

.cta-band .actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   内页头部与面包屑
   ------------------------------------------------------------------ */

.page-head {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.page-head .wrap {
    padding-top: 52px;
    padding-bottom: 54px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.breadcrumbs a:hover {
    color: var(--clay);
}

.breadcrumbs .sep {
    color: var(--line);
}

.page-head h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
}

.page-head .lead {
    max-width: 620px;
    margin-top: 18px;
}

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

.menu-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.menu-side {
    position: sticky;
    top: 112px;
}

.menu-side-title {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.menu-side > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 14px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-soft);
}

.menu-side > a:hover,
.menu-side > a.is-active {
    color: var(--clay);
}

.menu-tree {
    border-bottom: 1px solid var(--line-soft);
}

.menu-tree summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--ink-2);
}

.menu-tree summary::-webkit-details-marker {
    display: none;
}

.menu-tree summary .num {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.menu-tree summary::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid var(--muted);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-right: 2px;
    transition: transform 0.2s ease;
    transform-origin: 2px 50%;
}

.menu-tree[open] summary::before {
    transform: rotate(90deg);
}

.menu-tree summary span.label {
    flex: 1;
}

.menu-tree ul {
    padding: 0 0 14px 16px;
    border-left: 1px solid var(--line);
    margin-left: 2px;
}

.menu-tree ul a {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    color: var(--muted);
}

.menu-tree ul a:hover {
    color: var(--ink);
}

.menu-side-note {
    margin-top: 32px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.9;
}

.menu-section {
    margin-bottom: 84px;
    scroll-margin-top: 120px;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ink);
    margin-bottom: 36px;
}

.menu-section-head h2 {
    font-size: 27px;
    font-weight: 500;
}

.menu-section-head p {
    font-size: 13px;
    color: var(--muted);
    max-width: 420px;
    text-align: right;
}

.menu-dish {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
}

.menu-dish img {
    width: 116px;
    height: 88px;
    object-fit: cover;
    background: var(--paper-2);
}

.menu-dish h3 {
    font-size: 18px;
    font-weight: 500;
}

.menu-dish h3 a:hover {
    color: var(--clay);
}

.menu-dish p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.menu-dish .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.menu-dish .tags span {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    border: 1px solid var(--line);
    padding: 2px 8px;
}

.menu-dish-price {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.quick-add {
    border: 1px solid var(--line);
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 7px 14px;
    transition: all 0.2s ease;
}

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

.menu-empty {
    padding: 80px 0;
    text-align: center;
    color: var(--muted);
}

/* ---------------------------------------------------------------------
   菜品详情
   ------------------------------------------------------------------ */

.dish-detail {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: start;
}

.dish-visual {
    position: sticky;
    top: 112px;
}

.dish-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.dish-visual .caption {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
    letter-spacing: 0.06em;
}

.dish-info .eyebrow {
    margin-bottom: 16px;
}

.dish-info h1 {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
}

.dish-info .summary {
    color: var(--ink-2);
    font-size: 15.5px;
    margin-top: 14px;
}

.dish-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 26px 0 8px;
}

.dish-price-row .price {
    font-size: 34px;
}

.dish-desc {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 2;
    margin-top: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.order-form {
    margin-top: 32px;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--line);
}

.option-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.option-row > label {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.option-row select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 0;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--paper);
}

.qty-stepper button {
    width: 38px;
    height: 40px;
    background: none;
    border: 0;
    font-size: 16px;
    color: var(--ink-2);
}

.qty-stepper input {
    width: 48px;
    height: 40px;
    border: 0;
    background: transparent;
    text-align: center;
    -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-form .btn {
    width: 100%;
    margin-top: 20px;
}

.order-form .hint {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
    letter-spacing: 0.04em;
}

.dish-meta {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.dish-meta > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13.5px;
}

.dish-meta dt {
    color: var(--muted);
    letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------
   餐厅环境 / 平面图
   ------------------------------------------------------------------ */

.area-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}

.area-block:nth-child(even) .area-block-media {
    order: 2;
}

.area-block-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.area-block h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 500;
    margin-bottom: 16px;
}

.area-block p {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.95;
}

.area-table-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.table-chip {
    font-size: 11.5px;
    letter-spacing: 0.04em;
    padding: 6px 11px;
    border: 1px solid var(--line);
    color: var(--ink-2);
    background: var(--card);
}

.table-chip.is-reserved {
    border-color: #d8c9ae;
    background: #f6eddc;
    color: #8a6b32;
}

.floor-wrap {
    margin-top: 24px;
}

.floor-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.floor-tab {
    border: 1px solid var(--line);
    background: transparent;
    padding: 9px 18px;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    transition: all 0.2s ease;
}

.floor-tab.is-active,
.floor-tab:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fdfbf4;
}

.floor-panel {
    display: none;
}

.floor-panel.is-active {
    display: block;
}

.floor-plan {
    position: relative;
    height: 440px;
    background:
        linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 44px,
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 44px 100%,
        #f2eee2;
    border: 1px solid var(--line);
    overflow: hidden;
}

.plan-table {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #fffdf6;
    border: 1px solid #cdd3c4;
    color: var(--ink);
    font-size: 10px;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 14px -12px rgba(0, 0, 0, 0.5);
}

.plan-table strong {
    font-size: 11.5px;
    font-weight: 600;
}

.plan-table span {
    color: var(--muted);
    font-size: 9.5px;
}

.plan-table.size-s {
    width: 56px;
    height: 44px;
}

.plan-table.size-m {
    width: 72px;
    height: 56px;
}

.plan-table.size-l {
    width: 92px;
    height: 64px;
}

.plan-table.size-xl {
    width: 104px;
    height: 84px;
}

.plan-table.shape-round {
    border-radius: 50%;
}

.plan-table.is-reserved {
    background: #f7ecd7;
    border-color: #d9c49a;
}

.plan-table.is-disabled {
    background: #eceae3;
    border-style: dashed;
    color: var(--muted);
}

.floor-legend {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
}

.floor-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid #cdd3c4;
    background: #fffdf6;
    margin-right: 7px;
    vertical-align: -1px;
}

.floor-legend .is-reserved i {
    background: #f7ecd7;
    border-color: #d9c49a;
}

.floor-legend .is-disabled i {
    background: #eceae3;
    border-style: dashed;
}

/* ---------------------------------------------------------------------
   关于 / 联系
   ------------------------------------------------------------------ */

.prose {
    max-width: 760px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 2.05;
}

.prose p {
    margin-bottom: 20px;
}

.prose h3 {
    font-size: 23px;
    font-weight: 500;
    color: var(--ink);
    margin: 40px 0 16px;
}

.prose ul {
    margin: 0 0 24px;
}

.prose li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    list-style: none;
}

.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 1px;
    background: var(--clay);
}

.page-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: start;
}

.page-aside {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 32px 30px;
    position: sticky;
    top: 112px;
}

.page-aside h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 18px;
}

.page-aside dl > div {
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
}

.page-aside dt {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-transform: uppercase;
}

.page-aside dd {
    font-size: 13.5px;
    margin-top: 4px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 56px;
}

.contact-cell {
    background: var(--card);
    padding: 32px 30px;
}

.contact-cell h4 {
    font-family: var(--sans);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 500;
}

.contact-cell p {
    font-family: var(--serif);
    font-size: 17px;
    margin-top: 10px;
    line-height: 1.6;
}

.contact-cell a:hover {
    color: var(--clay);
}

.contact-cell small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.7;
}

/* ---------------------------------------------------------------------
   点单页
   ------------------------------------------------------------------ */

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 56px;
    align-items: start;
}

.cart-list {
    border-top: 1px solid var(--ink);
}

.cart-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.cart-row img {
    width: 88px;
    height: 72px;
    object-fit: cover;
    background: var(--paper-2);
}

.cart-row h3 {
    font-size: 18px;
    font-weight: 500;
}

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

.cart-row .line-total {
    font-family: var(--serif);
    font-size: 18px;
    text-align: right;
}

.cart-row .row-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.cart-row .remove {
    background: none;
    border: 0;
    font-size: 12px;
    color: var(--muted);
    padding: 0;
    border-bottom: 1px solid transparent;
}

.cart-row .remove:hover {
    color: var(--clay);
    border-color: var(--clay);
}

.cart-empty {
    padding: 72px 0;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.cart-empty p {
    color: var(--muted);
    margin-bottom: 22px;
}

.order-panel {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 34px 32px;
    position: sticky;
    top: 112px;
}

.order-panel h2 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 6px;
}

.order-panel .panel-note {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease;
}

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

.field textarea {
    min-height: 84px;
    resize: vertical;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 20px 0 8px;
    border-top: 1px solid var(--ink);
    margin-top: 8px;
}

.total-row span {
    font-size: 12.5px;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.total-row strong {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.order-panel .btn {
    width: 100%;
    margin-top: 18px;
}

.order-panel .fineprint {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 14px;
}

.form-error {
    background: #f7e6e1;
    border: 1px solid #e3c3b8;
    color: #8c3b28;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* 成功页 */
.success-wrap {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0 20px;
}

.success-mark {
    width: 64px;
    height: 64px;
    border: 1px solid var(--green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 24px;
    margin-bottom: 26px;
}

.success-wrap h1 {
    font-size: 34px;
    font-weight: 500;
}

.success-wrap > p {
    color: var(--muted);
    margin-top: 12px;
}

.order-receipt {
    margin-top: 40px;
    border: 1px solid var(--line);
    background: var(--card);
    text-align: left;
}

.receipt-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.receipt-head div span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

.receipt-head div strong {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.receipt-items {
    padding: 10px 28px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
}

.receipt-item small {
    color: var(--muted);
    font-size: 12px;
    margin-left: 8px;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 28px;
    font-size: 14px;
}

.receipt-total strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

/* ---------------------------------------------------------------------
   提示消息
   ------------------------------------------------------------------ */

.flash-wrap {
    padding-top: 18px;
}

.flash {
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    background: var(--card);
    padding: 12px 18px;
    font-size: 13.5px;
    margin-bottom: 10px;
}

.flash-error {
    border-left-color: #a94432;
    background: #fbf1ee;
    color: #8c3b28;
}

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

.site-footer {
    background: var(--green);
    color: rgba(253, 251, 244, 0.72);
    margin-top: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 56px;
    padding: 76px 0 56px;
}

.footer-brand .brand-name {
    color: #fdfbf4;
    font-size: 22px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 18px;
    max-width: 300px;
    color: rgba(253, 251, 244, 0.6);
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(253, 251, 244, 0.45);
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .fact {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(253, 251, 244, 0.7);
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 244, 0.14);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: rgba(253, 251, 244, 0.45);
    letter-spacing: 0.04em;
}

.footer-bottom .links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ---------------------------------------------------------------------
   404
   ------------------------------------------------------------------ */

.not-found {
    text-align: center;
    padding: 110px 0 120px;
}

.not-found .code {
    font-family: var(--serif);
    font-size: 88px;
    line-height: 1;
    color: var(--line);
}

.not-found h1 {
    font-size: 30px;
    font-weight: 500;
    margin: 18px 0 12px;
}

.not-found p {
    color: var(--muted);
}

.not-found .actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   入场动画
   ------------------------------------------------------------------ */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

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

@media (max-width: 1080px) {
    .wrap {
        padding: 0 28px;
    }
    .main-nav > ul {
        gap: 24px;
    }
    .intro-grid,
    .geo-grid {
        gap: 48px;
    }
    .dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .area-grid .area-card:last-child {
        grid-column: span 2;
    }
    .menu-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 40px;
    }
    .dish-detail {
        gap: 48px;
    }
    .page-split {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 48px;
    }
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .topbar-meta span:nth-child(3) {
        display: none;
    }
    .header-inner {
        height: 72px;
        gap: 20px;
    }
    .nav-toggle {
        display: inline-block;
        margin-left: auto;
    }
    .header-actions .btn-order {
        padding: 10px 16px;
        font-size: 12px;
    }
    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 112px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 12px 28px 28px;
        display: none;
        max-height: calc(100vh - 112px);
        overflow: auto;
        margin: 0;
        box-shadow: var(--shadow-soft);
    }
    body.nav-open .main-nav {
        display: block;
    }
    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav > ul > li {
        border-bottom: 1px solid var(--line-soft);
    }
    .main-nav > ul > li > a {
        padding: 15px 0;
        font-size: 16px;
    }
    .main-nav > ul > li > a::after {
        display: none;
    }
    .submenu {
        position: static;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 12px 12px;
        display: none;
    }
    .has-sub.is-open .submenu {
        display: block;
    }
    .submenu a {
        padding: 9px 0;
    }
    .hero-inner {
        padding-top: 90px;
    }
    .hero-facts {
        gap: 32px;
    }
    .section {
        padding: 76px 0;
    }
    .intro-grid,
    .geo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .intro-figure img {
        aspect-ratio: 16 / 10;
    }
    .menu-layout {
        grid-template-columns: 1fr;
    }
    .menu-side {
        position: static;
    }
    .dish-detail {
        grid-template-columns: 1fr;
    }
    .dish-visual {
        position: static;
    }
    .area-block {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 44px 0;
    }
    .area-block:nth-child(even) .area-block-media {
        order: 0;
    }
    .order-layout {
        grid-template-columns: 1fr;
    }
    .order-panel {
        position: static;
    }
    .page-split {
        grid-template-columns: 1fr;
    }
    .page-aside {
        position: static;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .cta-band .wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }
    .wrap {
        padding: 0 20px;
    }
    .topbar {
        font-size: 11.5px;
    }
    .topbar-meta span:nth-child(2) {
        display: none;
    }
    .header-inner {
        height: 66px;
    }
    .brand-name {
        font-size: 18px;
    }
    .brand-tag {
        display: none;
    }
    .main-nav {
        top: 106px;
    }
    .hero {
        min-height: 78vh;
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero-lead {
        font-size: 14px;
    }
    .hero-actions .btn {
        padding: 12px 20px;
    }
    .hero-facts {
        gap: 22px;
        margin-top: 36px;
    }
    .hero-facts dd {
        font-size: 14px;
    }
    .section {
        padding: 60px 0;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 34px;
    }
    .dish-grid,
    .area-grid {
        grid-template-columns: 1fr;
    }
    .area-grid .area-card:last-child {
        grid-column: auto;
    }
    .category-row {
        grid-template-columns: 32px 1fr auto;
        gap: 16px;
    }
    .category-row .count {
        display: none;
    }
    .menu-dish {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 16px;
    }
    .menu-dish img {
        width: 84px;
        height: 70px;
    }
    .menu-dish-price {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 10px;
    }
    .menu-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .menu-section-head p {
        text-align: left;
    }
    .floor-plan {
        height: 340px;
    }
    .plan-table.size-l,
    .plan-table.size-xl {
        transform: translate(-50%, -50%) scale(0.82);
    }
    .order-form,
    .order-panel,
    .geo-facts {
        padding: 22px 20px;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .cart-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
    }
    .cart-row img {
        width: 64px;
        height: 58px;
    }
    .cart-row .line-total {
        grid-column: 2;
        text-align: left;
        font-size: 16px;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 54px 0 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    .receipt-head,
    .receipt-items,
    .receipt-total {
        padding-left: 18px;
        padding-right: 18px;
    }
}
