/* ==========================================================================
   仙觅源官网 · xianmiyuan.ltd
   设计基调：奶油白底 + 玫红主色 + 细线分割，衬线标题配无衬线正文。
   不依赖任何前端框架，移动端优先断点，无 JS 也能完整阅读。
   ========================================================================== */

:root {
    --ink: #221715;
    --ink-2: #4a3b37;
    --muted: #7c6b65;
    --brand: #c2185b;
    --brand-deep: #8e1243;
    --cream: #fdf8f4;
    --cream-2: #f7efe8;
    --line: #e8ddd4;
    --gold: #a8823f;
    --white: #fff;
    --wrap: 1180px;
    --radius: 10px;
    --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    /* 移动端抽屉菜单在视口外，clip 可避免出现横向滚动条（不影响 sticky 定位） */
    overflow-x: clip;
}

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: .01em;
}

p {
    margin: 0;
}

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

li {
    list-style: none;
}

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

/* ---------- 通用按钮 ---------- */

.btn {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--btn-bd);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    --btn-bd: var(--brand);
    box-shadow: 0 8px 20px rgba(194, 24, 91, .18);
}

.btn-primary:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
}

.btn-line {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    --btn-bd: var(--line);
}

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

.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .28);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, .6);
}

.btn-lg {
    min-height: 52px;
    padding: 0 30px;
    font-size: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(194, 24, 91, .28);
    padding-bottom: 2px;
}

.text-link:hover {
    border-bottom-color: var(--brand);
}

.eyebrow {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.eyebrow-light {
    color: rgba(255, 255, 255, .62);
}

/* ---------- 顶部通知条 ---------- */

.notice-bar {
    background: #241815;
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    letter-spacing: .04em;
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.notice-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(194, 24, 91, .2);
    flex: 0 0 6px;
}

.notice-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-phone {
    margin-left: auto;
    color: #fff;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---------- 头部 ---------- */

.site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}

.site-head.is-scrolled {
    box-shadow: 0 10px 30px -24px rgba(34, 23, 21, .6);
}

.head-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
}

.brand-mark {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: .12em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    font-size: 15px;
    color: var(--ink-2);
    padding: 6px 0;
    transition: color .2s;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-link.is-active {
    color: var(--ink);
    font-weight: 500;
}

.nav-cta {
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform .25s, opacity .25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

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

.hero {
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 76px 0 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(34, 23, 21, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(34, 23, 21, .035) 1px, transparent 1px);
    background-size: 96px 96px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 68px;
}

.hero-title {
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.16;
    letter-spacing: .01em;
    margin-bottom: 22px;
}

.hero-title .hl {
    color: var(--brand);
    position: relative;
    white-space: nowrap;
}

.hero-lead {
    max-width: 30em;
    color: var(--ink-2);
    font-size: 16.5px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    font-size: 13px;
    color: var(--muted);
}

.hero-points li {
    position: relative;
    padding-left: 16px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-figure {
    position: relative;
    padding-bottom: 18px;
}

.hero-img {
    width: 100%;
    /* 必须显式 height:auto：<img> 上的 height="768" 属性会压过 aspect-ratio，
       表现是横版门头照被拉成竖版长图。 */
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(34, 23, 21, .08);
    box-shadow: 0 26px 60px -30px rgba(34, 23, 21, .38);
}

.hero-img-blank {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-2);
    font-family: var(--serif);
    font-size: 40px;
    color: var(--muted);
}

.hero-chip {
    position: absolute;
    left: -18px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px -18px rgba(34, 23, 21, .4);
}

.hero-chip strong {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--brand);
}

.hero-chip span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .02em;
}

.hero-stamp {
    position: absolute;
    top: -22px;
    right: -14px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    box-shadow: 0 14px 30px -14px rgba(194, 24, 91, .55);
    transform: rotate(6deg);
}

.hero-stamp b {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
}

.hero-stamp span {
    font-size: 10.5px;
    letter-spacing: .08em;
    opacity: .9;
}

/* 指标带 */
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.metric {
    padding: 26px 24px 28px 0;
    border-right: 1px solid var(--line);
}

.metric:last-child {
    border-right: 0;
}

.metric b {
    display: block;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
}

.metric span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .04em;
}

/* ---------- 区块骨架 ---------- */

.section {
    padding: 92px 0;
}

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

.sec-head {
    max-width: 62ch;
    margin-bottom: 44px;
}

.sec-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.sec-title {
    font-size: clamp(25px, 2.9vw, 38px);
}

.sec-title-light {
    color: #fff;
}

.sec-sub {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- 四优势 ---------- */

.why {
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.why-card {
    padding: 34px 28px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    transition: background .25s;
}

.why-card:hover {
    background: var(--cream);
}

.why-no {
    display: block;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--brand);
    margin-bottom: 22px;
}

.why-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--ink-2);
}

/* ---------- 商品 ---------- */

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.p-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.p-card:hover {
    transform: translateY(-4px);
    border-color: #dccbc0;
    box-shadow: 0 24px 44px -32px rgba(34, 23, 21, .5);
}

.p-media {
    position: relative;
    overflow: hidden;
    background: var(--cream-2);
    line-height: 0;
}

/* 由 img 自己用 aspect-ratio 定高（和首屏大图同一套写法最稳）。
   之前用「父级 aspect-ratio + 子项 height:100%」在 flex item 里高度会算成 0，
   表现就是卡片只剩底色、看不到图。 */
.p-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.p-blank {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 46px;
    color: rgba(34, 23, 21, .22);
}

.p-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    font-size: 11.5px;
    letter-spacing: .04em;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
}

.p-flag.is-hot {
    background: var(--brand);
    color: #fff;
}

.p-flag.is-out {
    background: rgba(34, 23, 21, .78);
    color: #fff;
}

.p-note {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 3px 9px;
    font-size: 11px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink-2);
}

.p-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.p-title {
    font-size: 18px;
    line-height: 1.4;
}

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

.p-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.p-price {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--brand);
}

.p-origin {
    font-size: 12.5px;
    color: #a9968f;
    text-decoration: line-through;
}

.p-sales {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
}

.empty-hint {
    padding: 40px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
    background: var(--cream);
}

/* ---------- 口味（深色区） ---------- */

.flavor {
    background: #1e1512;
    color: rgba(255, 255, 255, .9);
}

.flavor-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 80px;
}

.flavor-lead {
    margin-top: 20px;
    color: rgba(255, 255, 255, .66);
    font-size: 15.5px;
    line-height: 1.9;
    max-width: 30em;
}

.flavor-picks {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.flavor-picks > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.pick-label {
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--gold);
    border: 1px solid rgba(168, 130, 63, .45);
    border-radius: 999px;
    padding: 2px 10px;
}

.pick-value {
    font-family: var(--serif);
    font-size: 16px;
    color: #fff;
}

.flavor-list {
    display: grid;
}

.flavor-group {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.flavor-group:first-child {
    border-top-color: rgba(255, 255, 255, .26);
}

.flavor-group h4 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.flavor-group h4 small {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .45);
}

.flavor-group p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.9;
}

/* ---------- 配送与自提 ---------- */

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.timeline {
    margin: 34px 0 24px;
    counter-reset: step;
}

.timeline li {
    position: relative;
    padding: 18px 0 18px 46px;
    border-bottom: 1px solid var(--line);
    counter-increment: step;
}

.timeline li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 18px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--brand);
    border: 1px solid rgba(194, 24, 91, .35);
    border-radius: 50%;
}

.timeline b {
    display: block;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
}

.timeline span {
    font-size: 14px;
    color: var(--muted);
}

.delivery-note {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
    padding: 16px 18px;
    background: var(--cream);
    border-left: 2px solid var(--brand);
    margin-bottom: 26px;
}

.sites {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 28px 26px;
}

.sites-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sites-head h3 {
    font-size: 20px;
}

.sites-head span {
    font-size: 12.5px;
    color: var(--muted);
}

.site-store {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 18px;
}

.site-store b {
    font-family: var(--serif);
    font-size: 16px;
}

.site-store p {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

.site-store a {
    font-size: 13.5px;
    color: var(--brand);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.site-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-bottom: 18px;
}

.site-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.site-idx {
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

/* ---------- 门店 ---------- */

.store {
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.store-card {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.store-copy {
    padding: 46px 48px;
}

.store-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    margin-top: 30px;
}

.store-facts div {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.store-facts dt {
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 4px;
}

.store-facts dd {
    font-size: 15px;
    color: var(--ink);
}

.store-facts a {
    color: var(--brand);
}

.store-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 46px 44px;
    background: var(--cream-2);
    border-left: 1px solid var(--line);
}

.store-cta-lead {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.4;
}

.store-cta-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* ---------- 内页头 ---------- */

.page-head {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 54px;
}

.page-title {
    font-size: clamp(30px, 4vw, 50px);
    margin-bottom: 16px;
}

.page-lead {
    max-width: 46em;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.85;
}

/* ---------- 分类 tab ---------- */

.cat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 6px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.cat-tab {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 4px 14px;
    margin-right: 22px;
    font-size: 15px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.cat-tab span {
    font-size: 11.5px;
    color: #b3a49d;
}

.cat-tab:hover {
    color: var(--ink);
}

.cat-tab.is-active {
    color: var(--ink);
    font-weight: 500;
    border-bottom-color: var(--brand);
}

.cat-tab.is-active span {
    color: var(--brand);
}

.empty-state {
    padding: 64px 24px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}

.empty-state p {
    margin-bottom: 18px;
}

/* ---------- 购物须知 ---------- */

.menu-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.menu-notes > div {
    padding: 26px 26px 28px;
    background: var(--cream);
}

.menu-notes h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.menu-notes p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--ink-2);
}

.inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.inline-cta span {
    font-size: 15px;
    color: var(--ink-2);
}

/* ---------- 品牌页 ---------- */

.story-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 70px;
    align-items: start;
}

.story-copy p {
    margin-top: 18px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.95;
}

.story-copy h2 {
    margin-bottom: 6px;
}

.story-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    margin-top: 34px;
}

.story-facts div {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.story-facts dt {
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--brand);
    margin-bottom: 4px;
}

.story-facts dd {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
}

.story-figure {
    margin: 0;
    position: sticky;
    top: 100px;
}

.story-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.story-figure figcaption {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--muted);
    letter-spacing: .04em;
}

.intro-section {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.rich-text {
    max-width: 76ch;
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--ink-2);
}

.rich-text p {
    margin: 0 0 14px;
}

.rich-text ul,
.rich-text ol {
    margin: 0 0 16px;
    padding-left: 0;
}

.rich-text li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.rich-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .78em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}

.rich-text img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin: 18px 0;
}

.rich-text a {
    color: var(--brand);
    border-bottom: 1px solid rgba(194, 24, 91, .3);
}

.rich-text b,
.rich-text strong {
    color: var(--ink);
}

/* ---------- 资质 ---------- */

.license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.license-card {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.license-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.license-card figcaption {
    padding: 10px 2px 2px;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
}

.license-info {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.license-info dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
}

.license-info dl div {
    display: flex;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.license-info dt {
    flex: 0 0 128px;
    color: var(--muted);
    font-size: 13px;
}

.license-info dd {
    color: var(--ink);
    line-height: 1.7;
}

/* ---------- 配送页 ---------- */

.rule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.rule-card {
    padding: 28px 26px 30px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.rule-time {
    display: block;
    font-family: var(--serif);
    font-size: 30px;
    color: var(--brand);
    line-height: 1.1;
    margin-bottom: 12px;
}

.rule-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.rule-card p {
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.85;
}

.rule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 22px;
    font-size: 14px;
}

.rule-table th,
.rule-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.rule-table th {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--muted);
    background: var(--cream);
    border-top: 1px solid var(--line);
}

.store-site {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    margin-bottom: 24px;
}

.site-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .1em;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.store-site-main h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.store-site-main p {
    font-size: 13.5px;
    color: var(--ink-2);
}

.store-site-addr {
    color: var(--muted) !important;
    margin-top: 4px;
}

.store-site-side {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.site-card {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.site-card-idx {
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--gold);
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
}

.site-card b {
    font-family: var(--serif);
    font-size: 15.5px;
    display: block;
    margin-bottom: 4px;
}

.site-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: start;
}

.faq-lead {
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

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

.faq-list summary {
    position: relative;
    padding-right: 34px;
    font-family: var(--serif);
    font-size: 17px;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: -2px;
    font-family: var(--sans);
    font-size: 20px;
    color: var(--brand);
    transition: transform .2s;
}

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

.faq-list details p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.9;
    max-width: 56em;
}

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

.site-foot {
    background: #1e1512;
    color: rgba(255, 255, 255, .72);
    padding: 64px 0 0;
    font-size: 13.5px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.foot-name {
    font-family: var(--serif);
    font-size: 24px;
    color: #fff;
    letter-spacing: .08em;
}

.foot-slogan {
    margin-top: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.foot-desc {
    margin-top: 6px;
    color: rgba(255, 255, 255, .45);
    font-size: 12.5px;
}

.foot-col h4 {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 14px;
}

.foot-col a,
.foot-col span {
    display: block;
    padding: 4px 0;
    color: rgba(255, 255, 255, .74);
    line-height: 1.7;
}

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

.foot-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.foot-meta {
    display: inline-flex;
    gap: 18px;
    flex-wrap: wrap;
}

.foot-meta a:hover {
    color: #fff;
}

/* ---------- 滚动显现（JS 可用时才生效，无 JS 直接显示） ---------- */

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.js-reveal .reveal.in {
    opacity: 1;
    transform: none;
}

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

@media (max-width: 1080px) {
    .hero-grid,
    .flavor-grid,
    .delivery-grid,
    .story-grid,
    .faq-grid {
        gap: 48px;
    }

    .p-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(78vw, 320px);
        padding: 92px 28px 28px;
        margin: 0;
        background: #fff;
        border-left: 1px solid var(--line);
        box-shadow: -20px 0 50px -30px rgba(34, 23, 21, .5);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        transform: translateX(100%);
        transition: transform .28s ease;
        z-index: 60;
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-top: 20px;
        width: 100%;
        min-height: 46px;
        font-size: 15px;
    }

    .nav-toggle {
        display: flex;
        /* 抽屉 z-index 60，汉堡必须压在它上面，否则打开后点不到关闭 */
        position: relative;
        z-index: 70;
    }

    body.nav-open .nav {
        transform: none;
    }

    body.nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(30, 21, 18, .38);
        z-index: 40;
    }

    .hero {
        padding-top: 44px;
    }

    .hero-grid,
    .delivery-grid,
    .store-card,
    .story-grid,
    .faq-grid,
    .flavor-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 44px;
        padding-bottom: 44px;
    }

    .hero-stamp {
        width: 92px;
        height: 92px;
        top: -14px;
        right: -6px;
    }

    .hero-chip {
        left: 8px;
    }

    .store-cta {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 32px 28px 36px;
    }

    .store-copy {
        padding: 34px 28px;
    }

    .story-figure {
        position: static;
    }

    .section {
        padding: 64px 0;
    }

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

    .license-info dl {
        grid-template-columns: 1fr;
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric:nth-child(2) {
        border-right: 0;
    }

    .metric:nth-child(1),
    .metric:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .menu-notes {
        grid-template-columns: 1fr;
    }

    .rule-grid {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .wrap {
        padding: 0 18px;
    }

    .notice-inner {
        font-size: 11.5px;
    }

    .head-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand-logo {
        height: 50px;
    }

    .hero-title {
        font-size: clamp(30px, 8.4vw, 40px);
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-points {
        font-size: 12px;
        gap: 6px 16px;
    }

    .metrics {
        grid-template-columns: 1fr 1fr;
    }

    .metric {
        padding: 20px 16px 22px 0;
    }

    .metric b {
        font-size: 26px;
    }

    .p-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .p-body {
        padding: 12px 13px 14px;
    }

    .p-title {
        font-size: 15px;
    }

    .p-sub {
        font-size: 11.5px;
    }

    .p-price {
        font-size: 17px;
    }

    .p-sales {
        display: none;
    }

    .p-flag {
        top: 8px;
        left: 8px;
        font-size: 10.5px;
        padding: 2px 8px;
    }

    .p-note {
        right: 8px;
        bottom: 8px;
        font-size: 10px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 26px 22px 28px;
    }

    .sec-head {
        margin-bottom: 30px;
    }

    .sec-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-list {
        grid-template-columns: 1fr;
    }

    .site-cards {
        grid-template-columns: 1fr;
    }

    .store-facts,
    .story-facts {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 34px;
    }

    .foot-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .inline-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-head {
        padding: 44px 0 36px;
    }

    .cat-tab {
        margin-right: 16px;
        font-size: 14px;
    }

    .license-grid {
        grid-template-columns: 1fr;
    }

    .rule-table {
        font-size: 13px;
    }

    .rule-table th,
    .rule-table td {
        padding: 12px 10px;
    }

    .faq-list summary {
        font-size: 15.5px;
    }

    .flavor-group p {
        font-size: 14px;
    }
}

/* ---------- 打印 ---------- */

@media print {
    .notice-bar,
    .site-head,
    .site-foot,
    .nav-toggle,
    .hero-actions,
    .inline-cta {
        display: none !important;
    }

    body {
        color: #000;
    }

    .section {
        padding: 22px 0;
    }
}
