/* ============================================================
   无相光影 · 官方网站 — 设计系统
   "让旧时光，重新发光" — 暖调纸感 + 深墨 + 金
   ============================================================ */

:root {
  --ink: #17130f;          /* 深墨褐（近黑） */
  --ink-2: #221b15;
  --ink-3: #2e251c;
  --paper: #faf6ee;        /* 暖纸色 */
  --paper-2: #f1e8d8;      /* 深一档纸色 */
  --paper-3: #e7dcc7;
  --gold: #c19a56;         /* 主金 */
  --gold-2: #e0c486;       /* 亮金 */
  --gold-3: #8f6f3a;       /* 暗金 */
  --text: #2b241b;
  --text-soft: #5c5140;
  --muted: #8a7d68;
  --line: #e0d4bd;
  --danger: #a04a34;
  --white: #ffffff;

  --serif: "Noto Serif SC", "Source Han Serif SC", STZhongsong, "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(23, 19, 15, .06);
  --shadow: 0 12px 40px rgba(23, 19, 15, .10);
  --shadow-lg: 0 24px 70px rgba(23, 19, 15, .16);

  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--tint { background: var(--paper-2); }
.section--gold-line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-3); font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .55; }
.section--dark .eyebrow { color: var(--gold-2); }
.section--dark .eyebrow::before, .section--dark .eyebrow::after { background: var(--gold-2); }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.section-head p { color: var(--text-soft); font-size: 17px; margin: 0; }
.section--dark .section-head p { color: #c8bba6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn--ghost { border-color: var(--gold); color: var(--gold-3); background: transparent; }
.btn--ghost:hover { background: rgba(193, 154, 86, .10); transform: translateY(-2px); }
.btn--ghost-dark { border-color: rgba(224, 196, 134, .55); color: var(--gold-2); background: transparent; }
.btn--ghost-dark:hover { background: rgba(224, 196, 134, .12); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 38px; font-size: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.brand-name small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .34em; color: var(--muted); font-weight: 400; margin-top: 1px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: inline-flex; align-items: center; height: 40px; box-sizing: border-box;
  padding: 9px 14px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text-soft); transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(193, 154, 86, .12); }
.main-nav a.active { color: var(--gold-3); background: rgba(193, 154, 86, .16); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .cart-btn, .header-cta .member-link, .header-cta .btn { display: inline-flex; align-items: center; height: 40px; box-sizing: border-box; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s; border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    background: var(--ink); color: var(--paper); flex-direction: column;
    padding: 96px 28px 40px; gap: 4px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: #d8cdb8; font-size: 17px; padding: 14px 16px; }
  .main-nav a:hover { color: var(--white); background: rgba(224,196,134,.14); }
  .main-nav a.active { color: var(--gold-2); background: rgba(224,196,134,.18); }
  .nav-toggle { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(23,19,15,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
  .header-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(224, 196, 134, .30), transparent 60%),
    radial-gradient(900px 620px at 12% 110%, rgba(193, 154, 86, .22), transparent 55%),
    linear-gradient(160deg, #17130f 0%, #221b15 48%, #1a130b 100%);
}
.hero::before { /* 噪点 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after { /* 光束 */
  content: ""; position: absolute; top: -20%; left: -8%; width: 42%; height: 140%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, transparent, rgba(224,196,134,.07), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 128px 0 150px; max-width: 800px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2); font-size: 14px; letter-spacing: .24em; margin-bottom: 28px; font-weight: 500; }
.hero-kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold-2); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.18; margin-bottom: 26px; letter-spacing: .02em; }
.hero h1 .accent { color: var(--gold-2); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: #d9cfbc; max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 74px; padding-top: 34px; border-top: 1px solid rgba(224,196,134,.18); }
.hero-stat b { display: block; font-family: var(--serif); font-size: 34px; color: var(--gold-2); font-weight: 700; }
.hero-stat span { font-size: 14px; color: #a99f8c; letter-spacing: .05em; }

.hero--inner { padding: 96px 0 64px; }
.hero--inner .hero-inner { padding: 0; max-width: 860px; }
.hero--inner h1 { font-size: clamp(34px, 5vw, 54px); }
.hero--inner p.lead { color: #cfc5b1; }
.crumbs { color: #a99f8c; font-size: 13px; letter-spacing: .12em; margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- Brand story ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.story-art { position: relative; }
.story-art .photo-stack { position: relative; height: 460px; }
.story-art .frame { position: absolute; border: 10px solid var(--white); box-shadow: var(--shadow-lg); background: #efe6d6; }
.frame-1 { width: 60%; height: 74%; left: 0; top: 4%; transform: rotate(-4deg); background: linear-gradient(150deg, #e5d8bd, #cfc0a0); }
.frame-2 { width: 52%; height: 66%; right: 0; top: 0; transform: rotate(5deg); background: linear-gradient(150deg, #b9a179, #8f7a55); }
.frame-3 { width: 46%; height: 56%; left: 18%; bottom: 0; transform: rotate(2deg); background: linear-gradient(150deg, #9a3f2c, #6e2a1d); }
.story-art .halo { position: absolute; inset: -30px; background: radial-gradient(circle, rgba(224,196,134,.28), transparent 65%); filter: blur(6px); z-index: -1; }
.story-text h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; }
.story-text p { color: var(--text-soft); font-size: 16.5px; }
.story-text .pull { font-family: var(--serif); font-size: 19px; color: var(--gold-3); border-left: 3px solid var(--gold); padding-left: 18px; margin: 24px 0; line-height: 1.7; }
.story-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.value-chip { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-soft); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.value-chip svg { width: 18px; height: 18px; flex: none; color: var(--gold-3); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(193,154,86,.18), rgba(224,196,134,.06)); margin-bottom: 22px; }
.service-icon svg { width: 30px; height: 30px; color: var(--gold-3); }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 15px; flex: 1; }
.service-card .more { color: var(--gold-3); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
.service-card .more:hover { gap: 10px; }
.service-card .more svg { width: 15px; height: 15px; transition: transform .2s; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(193,154,86,.15)); }
.step { position: relative; padding: 0 0 44px 96px; }
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: 0; top: 2px; width: 68px; height: 68px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--gold);
  font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--gold-3);
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step h3 span { color: var(--gold-3); font-size: 15px; margin-right: 10px; letter-spacing: .1em; }
.step p { color: var(--text-soft); margin: 0; max-width: 640px; }
.step .step-tag { display: inline-block; font-size: 12.5px; color: var(--gold-3); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; letter-spacing: .08em; }

/* ---------- Case grid ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-cover { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #d9c9a8; }
.case-cover .shot { position: absolute; inset: 0; opacity: .9; }
.case-cover .vignette { position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(30,20,10,.55); }
.case-cover .play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.case-cover .play .ring { width: 62px; height: 62px; border-radius: 50%; background: rgba(23,19,15,.55); backdrop-filter: blur(4px); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.case-card:hover .play .ring { transform: scale(1.08); background: rgba(193,154,86,.85); }
.case-cover .play svg { width: 24px; height: 24px; fill: var(--paper); }
.case-cover .badge {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  background: rgba(23,19,15,.72); color: #e8d9b4; font-size: 12px; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.case-cover .badge--ai { background: rgba(160,74,52,.85); color: #fff; }
.case-cover .frame-lines { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; z-index: 1; pointer-events: none; }
.case-body { padding: 20px 22px 22px; }
.case-body h3 { font-size: 18px; margin-bottom: 6px; }
.case-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.case-body .tags span { font-size: 12px; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 3px 12px; }

/* photo placeholder fills */
.shot--sepia { background: radial-gradient(circle at 32% 30%, #e8d9b6, #b99f72 55%, #7d6a4c 100%); }
.shot--moss { background: radial-gradient(circle at 60% 25%, #b9ab7f, #7c7555 60%, #45402f 100%); }
.shot--rust { background: radial-gradient(circle at 40% 35%, #c98f6b, #8a5a3d 60%, #4c3022 100%); }
.shot--steel { background: radial-gradient(circle at 55% 40%, #b8b0a2, #6f6a60 55%, #33302b 100%); }
.shot--faded { background: radial-gradient(circle at 45% 28%, #e9e2d0, #c7bca2 60%, #8e8368 100%); }
.shot--night { background: radial-gradient(circle at 65% 20%, #4f4a3e, #2a2620 55%, #14110d 100%); }
.shot--gold { background: radial-gradient(circle at 50% 30%, #e6c887, #c19a56 55%, #6e5528 100%); }

/* ---------- Custody / trust strip ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 940px) { .feature-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-strip { grid-template-columns: 1fr; } }
.feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(224,196,134,.16); border-radius: var(--radius); padding: 30px 26px; transition: background .3s, transform .3s var(--ease); }
.feature-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.feature-card svg { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 18px; }
.feature-card h3 { font-size: 19px; color: var(--paper); margin-bottom: 10px; }
.feature-card p { color: #b6ab98; font-size: 14.5px; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px; display: flex; flex-direction: column; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card--featured .ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--gold); color: var(--ink); font-size: 12px; letter-spacing: .1em; padding: 6px 16px; border-radius: 999px; font-weight: 700; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card--featured h3 { color: var(--paper); }
.price-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.price-card--featured .sub { color: #b6ab98; }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.price-card .amount b { font-family: var(--serif); font-size: 40px; color: var(--gold-3); }
.price-card--featured .amount b { color: var(--gold-2); }
.price-card .amount span { color: var(--muted); font-size: 14px; }
.price-card ul { list-style: none; margin: 0 0 30px; flex: 1; }
.price-card ul li { position: relative; padding: 8px 0 8px 30px; color: var(--text-soft); font-size: 15px; }
.price-card--featured ul li { color: #cfc5b1; }
.price-card ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 16px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.price-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 28px; }

/* ---------- Trust / compliance ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.trust-card .num { font-family: var(--serif); font-size: 15px; color: var(--gold-3); letter-spacing: .12em; margin-bottom: 10px; }
.trust-card h3 { font-size: 19px; margin-bottom: 10px; }
.trust-card p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* ---------- Compliance documents list ---------- */
.doc-list { max-width: 820px; margin: 0 auto; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: none; }
.doc-row .d-name { display: flex; align-items: center; gap: 16px; }
.doc-row svg { width: 30px; height: 30px; color: var(--gold-3); flex: none; }
.doc-row h3 { font-size: 18px; margin: 0 0 4px; }
.doc-row p { color: var(--muted); font-size: 14px; margin: 0; }
.doc-row .d-go { color: var(--gold-3); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.doc-row .d-go:hover { gap: 10px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-sm); }
.form-panel h2 { font-size: 26px; margin-bottom: 8px; }
.form-panel .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 15px; color: var(--text); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,86,.18); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.form-success { display: none; background: #eef4e9; border: 1px solid #c4d8b6; color: #41612c; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; margin-bottom: 24px; }
.form-success.show { display: block; }
.contact-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 40px 36px; }
.contact-card h3 { font-size: 24px; color: var(--paper); margin-bottom: 10px; }
.contact-card .sub { color: #b6ab98; font-size: 15px; margin-bottom: 30px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(224,196,134,.14); }
.contact-item:last-child { border-bottom: none; }
.contact-item svg { width: 24px; height: 24px; color: var(--gold-2); flex: none; margin-top: 2px; }
.contact-item b { display: block; font-size: 14px; color: #b6ab98; font-weight: 500; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 16px; color: var(--paper); }

/* ---------- Legal prose ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .lead { color: var(--text-soft); font-size: 17px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; color: var(--ink); }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; color: var(--paper); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% -10%, rgba(224,196,134,.25), transparent 60%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--paper); margin-bottom: 16px; }
.cta-band p { color: #c8bba6; max-width: 560px; margin: 0 auto 36px; font-size: 16.5px; }

/* ---------- Footer ---------- */
.site-footer { background: #12100d; color: #a99f8c; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 52px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--paper); margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.9; color: #8d8373; margin-bottom: 20px; }
.footer-col h4 { color: var(--paper); font-size: 15px; letter-spacing: .1em; margin-bottom: 20px; font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: #a99f8c; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-news p { font-size: 14px; color: #8d8373; margin-bottom: 16px; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 11px 18px; color: var(--paper); font-size: 14px; min-width: 0; }
.newsletter input::placeholder { color: #6f665a; }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter .btn { padding: 11px 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 26px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #766d60; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .legal-links a { font-size: 13px; color: #766d60; }
.footer-bottom .legal-links a:hover { color: var(--gold-2); }
.beian { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

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

/* ---------- Misc ---------- */
.section-divider { border: none; border-top: 1px solid var(--line); margin: 0; }
.divider-gold { height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: none; margin: 0; }
.grain-overlay { position: relative; }
.grain-overlay::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .10; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .section { padding: 60px 0; } .story-grid { grid-template-columns: 1fr; gap: 40px; } .step { padding-left: 82px; } }

/* ============================================================
   在线下单 · 商店（WooCommerce 风格）
   ============================================================ */

/* 筛选 / 排序栏 */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pill { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text-soft); font-size: 14.5px; cursor: pointer; transition: all .2s; font-family: var(--sans); }
.cat-pill:hover { border-color: var(--gold); color: var(--gold-3); }
.cat-pill.active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.shop-sort select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 14px; color: var(--text); font-family: var(--sans); cursor: pointer; }
.shop-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 34px; }

/* 商品网格 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-cover { position: relative; aspect-ratio: 4/3; background: #d9c9a8; }
.product-cover .shot { position: absolute; inset: 0; }
.product-cover .vignette { position: absolute; inset: 0; box-shadow: inset 0 -46px 64px rgba(23,19,15,.38); }
.product-cover .frame-lines { position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; z-index: 1; pointer-events: none; }
.product-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; font-weight: 600; }
.product-tag--sale { background: var(--danger); color: #fff; }
.product-tag--hot { background: var(--gold); color: var(--ink); }
.product-tag--new { background: var(--ink); color: var(--gold-2); }
.product-cat { position: absolute; bottom: 10px; left: 12px; z-index: 2; font-size: 11.5px; color: #fff; background: rgba(23,19,15,.55); padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 18px; margin-bottom: 6px; }
.product-desc { color: var(--text-soft); font-size: 13.5px; flex: 1; margin-bottom: 14px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.product-price .cur { font-size: 15px; color: var(--gold-3); }
.product-price b { font-family: var(--serif); font-size: 27px; color: var(--gold-3); }
.product-price .per { color: var(--muted); font-size: 12.5px; }
.product-price del { color: var(--muted); font-size: 13px; }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; padding: 11px 14px; font-size: 14px; }

/* 购物车按钮 */
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; cursor: pointer; font-family: var(--sans); font-size: 14.5px; color: var(--text); transition: border-color .2s, color .2s; }
.cart-btn:hover { border-color: var(--gold); color: var(--gold-3); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11.5px; display: grid; place-items: center; font-weight: 700; opacity: 0; transform: scale(.6); transition: all .2s; }
.cart-badge.show { opacity: 1; transform: scale(1); }

/* 购物车抽屉 */
.backdrop { position: fixed; inset: 0; background: rgba(23,19,15,.5); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .3s; }
.backdrop.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: var(--paper); z-index: 200; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; font-size: 20px; }
.cart-head .cart-count { color: var(--muted); font-size: 13px; font-weight: 400; }
.cart-close { background: none; border: none; cursor: pointer; width: 38px; height: 38px; border-radius: 10px; position: relative; }
.cart-close::before, .cart-close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.cart-close::before { transform: rotate(45deg); }
.cart-close::after { transform: rotate(-45deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 26px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 16px; }
.cart-empty svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--line); }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { position: relative; width: 66px; height: 66px; border-radius: 10px; flex: none; overflow: hidden; background: #d9c9a8; }
.cart-thumb .shot { position: absolute; inset: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 15px; margin: 0 0 4px; line-height: 1.4; }
.cart-item-info .ci-price { color: var(--gold-3); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.qty button { width: 30px; height: 30px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text); font-family: var(--sans); }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 34px; text-align: center; font-size: 14px; }
.cart-item .ci-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12.5px; align-self: flex-start; padding: 4px; font-family: var(--sans); }
.cart-item .ci-remove:hover { color: var(--danger); text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 26px 26px; background: var(--paper-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total span { color: var(--text-soft); font-size: 15px; }
.cart-total b { font-family: var(--serif); font-size: 28px; color: var(--gold-3); }
.cart-total small { color: var(--muted); font-size: 12px; display: block; text-align: right; margin-top: 4px; }
.cart-clear { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; margin-top: 12px; font-family: var(--sans); }
.cart-clear:hover { color: var(--danger); text-decoration: underline; }

/* 结算弹窗 */
.checkout-modal { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 20px; }
.checkout-modal.show { display: flex; }
.checkout-scrim { position: absolute; inset: 0; background: rgba(23,19,15,.55); }
.checkout-panel { position: relative; background: var(--paper); border-radius: var(--radius); width: min(660px, 94vw); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); padding: 34px 38px; }
.checkout-panel h2 { font-size: 24px; margin-bottom: 4px; }
.checkout-panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.checkout-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; border-radius: 8px; }
.checkout-close::before, .checkout-close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 17px; height: 2px; background: var(--text); border-radius: 2px; }
.checkout-close::before { transform: rotate(45deg); }
.checkout-close::after { transform: rotate(-45deg); }
.order-summary { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin-bottom: 24px; }
.order-summary .os-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: var(--text-soft); }
.order-summary .os-line b { color: var(--text); font-weight: 600; text-align: right; flex: none; }
.order-summary .os-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-size: 16px; color: var(--text); }
.order-summary .os-total b { font-family: var(--serif); font-size: 24px; color: var(--gold-3); }
.pay-options { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-opt { flex: 1; min-width: 118px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; cursor: pointer; font-size: 14px; color: var(--text-soft); transition: all .2s; background: var(--white); }
.pay-opt input { display: none; }
.pay-opt.selected { border-color: var(--gold); color: var(--gold-3); background: rgba(193,154,86,.08); font-weight: 600; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-soft); }
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.checkbox-field a { color: var(--gold-3); text-decoration: underline; }
.checkout-success { text-align: center; padding: 30px 10px; }
.checkout-success svg { width: 64px; height: 64px; color: var(--gold-3); margin: 0 auto 18px; }
.checkout-success h3 { font-size: 22px; margin-bottom: 8px; }
.checkout-success p { color: var(--text-soft); font-size: 15px; }

/* 轻提示 */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--gold-2); padding: 12px 22px; border-radius: 999px; font-size: 14px; z-index: 220; opacity: 0; pointer-events: none; transition: all .3s var(--ease); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 560px) {
  .checkout-panel { padding: 26px 22px; }
  .pay-opt { min-width: 100%; }
  .shop-bar { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   会员空间 · 登录与面板（第四阶段）
   ============================================================ */

/* 顶栏会员入口 */
.member-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-soft); font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.member-link svg { width: 17px; height: 17px; }
.member-link:hover { color: var(--gold-3); background: rgba(193,154,86,.10); }
.member-link.active { color: var(--gold-3); background: rgba(193,154,86,.14); font-weight: 600; }
@media (max-width: 1020px) { .member-link { display: none; } }

/* ---- 登录页 ---- */
.auth-wrap { min-height: 100vh; padding: 64px 24px; display: flex; align-items: center; justify-content: center; position: relative;
  background: radial-gradient(1100px 620px at 82% -12%, rgba(224,196,134,.22), transparent 60%), linear-gradient(160deg, #17130f 0%, #201a13 58%, #17130f 100%); }
.auth-card { width: min(960px, 100%); background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 880px) { .auth-card { grid-template-columns: 1fr; } }
.auth-left { background: linear-gradient(165deg, rgba(224,196,134,.12), transparent 55%), var(--ink); color: var(--paper); padding: 46px 42px; display: flex; flex-direction: column; }
.auth-left .auth-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-left .auth-brand img { width: 42px; height: 42px; }
.auth-left .auth-brand b { font-family: var(--serif); font-size: 22px; color: var(--paper); letter-spacing: .05em; }
.auth-left h2 { color: var(--paper); font-size: 30px; margin-bottom: 14px; }
.auth-left > p { color: #c8bba6; font-size: 15px; }
.auth-points { margin-top: 44px; display: grid; gap: 16px; }
.auth-point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #b6ab98; }
.auth-point svg { width: 20px; height: 20px; color: var(--gold-2); flex: none; margin-top: 1px; }
.auth-right { padding: 46px 42px; }
.auth-head h3 { font-size: 24px; margin-bottom: 6px; }
.auth-head p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-tab { flex: 1; padding: 12px 10px; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-size: 15px; color: var(--text-soft); font-family: var(--sans); font-weight: 600; transition: color .2s, border-color .2s; }
.auth-tab.active { color: var(--gold-3); border-bottom-color: var(--gold); }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.auth-qr { border: 1px dashed var(--gold); border-radius: 14px; padding: 26px 20px; text-align: center; margin-bottom: 20px; background: var(--paper-2); }
.auth-qr .qr-box { position: relative; width: 152px; height: 152px; margin: 0 auto 16px; border: 8px solid var(--white); border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden;
  background: conic-gradient(from 0deg, #2a2620 0 25%, #f4ecd9 0 50%, #2a2620 0 75%, #f4ecd9 0); background-size: 30px 30px; }
.auth-qr .qr-box::before { content: ""; position: absolute; left: 8px; top: 8px; width: 36px; height: 36px; border: 5px solid #2a2620; background: conic-gradient(#2a2620 0 25%, #fff 0 50%, #2a2620 0 75%, #fff 0); background-size: 14px 14px; }
.auth-qr .qr-box::after { content: ""; position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 5px solid #2a2620; background: conic-gradient(#fff 0 25%, #2a2620 0 50%, #fff 0 75%, #2a2620 0); background-size: 12px 12px; }
.auth-qr .qr-t { font-size: 14.5px; color: var(--text); margin-bottom: 4px; }
.auth-qr .qr-s { font-size: 13px; color: var(--muted); }
.auth-submit { margin-top: 8px; }
.auth-switch { font-size: 13.5px; color: var(--muted); margin-top: 18px; text-align: center; }
.auth-switch a { color: var(--gold-3); text-decoration: underline; margin: 0 6px; }
.auth-demo { background: #eef4e9; border: 1px solid #c4d8b6; color: #41612c; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-top: 22px; line-height: 1.7; }
.auth-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.auth-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.auth-trust svg { width: 15px; height: 15px; color: var(--gold-3); }
.auth-hint-logged { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }
.auth-hint-logged a { color: var(--gold-3); text-decoration: underline; }

/* ---- 会员面板 ---- */
.member-shell { display: grid; grid-template-columns: 252px 1fr; min-height: calc(100vh - 76px); }
@media (max-width: 900px) { .member-shell { grid-template-columns: 1fr; } }
.member-side { background: var(--ink); color: var(--paper); padding: 32px 18px 24px; }
.member-side .m-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-bottom: 30px; }
.member-side .m-brand img { width: 38px; height: 38px; }
.member-side .m-brand .brand-name { color: var(--paper); font-size: 19px; }
.member-nav { display: grid; gap: 4px; }
.member-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: #c8bba6; font-size: 15px; transition: background .2s, color .2s; }
.member-nav a svg { width: 19px; height: 19px; color: #8d8373; flex: none; transition: color .2s; }
.member-nav a:hover { background: rgba(224,196,134,.10); color: var(--paper); }
.member-nav a.active { background: rgba(224,196,134,.16); color: var(--gold-2); }
.member-nav a.active svg { color: var(--gold-2); }
.member-side .m-foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 4px; }
.member-side .m-foot a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: #8d8373; font-size: 14px; border-radius: 10px; transition: color .2s, background .2s; }
.member-side .m-foot a:hover { color: var(--paper); background: rgba(255,255,255,.05); }
.member-side .m-foot a.danger { color: #b98a7a; }
.member-side .m-foot a.danger:hover { color: var(--danger); }
@media (max-width: 900px) {
  .member-side { padding: 14px 12px; }
  .member-side .m-brand { display: none; }
  .member-nav { display: flex; overflow-x: auto; gap: 6px; }
  .member-nav a { white-space: nowrap; padding: 10px 14px; }
  .member-side .m-foot { display: flex; gap: 8px; margin-top: 10px; }
  .member-side .m-foot a { padding: 9px 12px; }
}
.member-main { padding: 40px 48px; background: var(--paper); }
@media (max-width: 900px) { .member-main { padding: 24px 18px; } }
.member-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.member-top h2 { font-size: 26px; margin: 0 0 2px; }
.member-top p { color: var(--muted); font-size: 14px; margin: 0; }
.member-top .m-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.level-pill { background: rgba(193,154,86,.14); color: var(--gold-3); border: 1px solid var(--gold); padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.member-note { background: #fdf3e3; border: 1px solid #eed9ae; color: #8a6116; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 26px; }
.member-panel { display: none; }
.member-panel.show { display: block; }
.member-panel h3 { font-size: 20px; margin: 0 0 6px; }
.member-panel .panel-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.stat-card .num { font-family: var(--serif); font-size: 30px; color: var(--gold-3); font-weight: 700; display: block; margin-bottom: 4px; line-height: 1.1; }
.stat-card .lbl { font-size: 13px; color: var(--text-soft); }
.stat-card .sub { font-size: 12.5px; color: var(--muted); }
.member-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin-bottom: 22px; }
.member-box h4 { font-size: 17px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.member-box h4 svg { width: 20px; height: 20px; color: var(--gold-3); flex: none; }
.info-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.info-line:last-child { border-bottom: none; }
.info-line .k { color: var(--muted); }
.info-line .v { color: var(--text); font-weight: 500; text-align: right; }
.activity-list { display: grid; gap: 0; }
.activity-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.activity-item:last-child { border-bottom: none; }
.activity-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.activity-item time { margin-left: auto; color: var(--muted); font-size: 12.5px; flex: none; }
.film-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.film-row:last-child { border-bottom: none; }
.film-thumb { width: 118px; height: 66px; border-radius: 10px; position: relative; overflow: hidden; flex: none; background: #d9c9a8; cursor: pointer; }
.film-thumb .shot { position: absolute; inset: 0; }
.film-thumb .play2 { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(23,19,15,.26); transition: background .2s; }
.film-thumb:hover .play2 { background: rgba(193,154,86,.55); }
.film-thumb .play2 svg { width: 20px; height: 20px; fill: var(--paper); }
.film-info { flex: 1; min-width: 0; }
.film-info h5 { margin: 0 0 4px; font-size: 16px; font-family: var(--serif); }
.film-info p { margin: 0; color: var(--muted); font-size: 13px; }
.status-pill { font-size: 12px; padding: 3px 12px; border-radius: 999px; flex: none; font-weight: 600; }
.status-pill--ok { background: #eef4e9; color: #41612c; }
.status-pill--warn { background: #fdf3e3; color: #8a6116; }
.status-pill--doing { background: #eef2f8; color: #2f5a8a; }
.custody-bar { margin-bottom: 20px; }
.custody-bar .lbl { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-soft); margin-bottom: 8px; }
.custody-bar .bar { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.custody-bar .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.backup-line { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--text-soft); }
.backup-line:last-child { border-bottom: none; }
.backup-line svg { width: 18px; height: 18px; color: var(--gold-3); flex: none; }
.backup-line .ok { margin-left: auto; color: #41612c; font-size: 13px; font-weight: 600; flex: none; }
.archive-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.archive-row:last-child { border-bottom: none; }
.archive-row .a-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(193,154,86,.14); display: grid; place-items: center; flex: none; }
.archive-row .a-icon svg { width: 20px; height: 20px; color: var(--gold-3); }
.archive-row .a-info b { display: block; font-size: 14.5px; color: var(--text); font-weight: 600; }
.archive-row .a-info small { color: var(--muted); font-size: 12.5px; }
.archive-row .a-size { margin-left: auto; color: var(--muted); font-size: 13px; flex: none; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
@media (max-width: 600px) { .fields-2 { grid-template-columns: 1fr; } }
.legacy-saved { display: none; background: #eef4e9; border: 1px solid #c4d8b6; color: #41612c; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 20px; }
.proof-list .proof-item { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.proof-list .proof-item:last-child { border-bottom: none; }
.proof-item .d { font-size: 15px; color: var(--text); }
.proof-item .d small { display: block; color: var(--muted); font-size: 12.5px; }
.proof-item .t { font-size: 14px; color: var(--text-soft); flex: none; font-weight: 500; }
.toggle-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-3); background: rgba(193,154,86,.10); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--sans); }
.toggle-pill[aria-pressed="false"] { color: var(--muted); border-color: var(--line); background: var(--paper-2); }
.danger-zone { border-color: #e4b9ab; }
.btn--danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.member-foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ============ 结算 · 扫码支付视图 ============ */
.checkout-pay { padding-top: 2px; }
.pay-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pay-top .sub { margin-bottom: 0; }
.pay-order-no { flex: none; font-size: 12.5px; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; margin-top: 6px; }
.pay-order-no b { color: var(--text); font-weight: 600; letter-spacing: .3px; }
.pay-amount-line { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 4px; border-bottom: 1px dashed var(--line); }
.pay-amount-line span { color: var(--text-soft); font-size: 14px; }
.pay-amount-line b { font-family: var(--serif); font-size: 34px; color: var(--gold-3); }
.pay-method-head { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; font-size: 15px; font-weight: 600; color: var(--text); }
.pay-method-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(193,154,86,.14); color: var(--gold-3); display: grid; place-items: center; flex: none; }
.pay-method-icon svg { width: 19px; height: 19px; }
.pay-qr-wrap { position: relative; width: 210px; height: 210px; margin: 0 auto; }
.pay-qr { width: 210px; height: 210px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px; box-shadow: var(--shadow); }
.pay-qr svg { width: 100%; height: 100%; display: block; border-radius: 6px; }
.pay-qr-overlay { position: absolute; inset: 0; background: rgba(238,244,233,.95); border-radius: 14px; display: grid; place-content: center; text-align: center; gap: 8px; color: #41612c; }
.pay-qr-overlay svg { width: 48px; height: 48px; margin: 0 auto; }
.pay-qr-overlay b { font-size: 16px; }
.pay-tip { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 4px; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-soft); font-size: 13.5px; margin: 6px 0 18px; }
.pay-status.is-ok { color: #41612c; }
.pay-status .spinner { width: 15px; height: 15px; border: 2px solid var(--line); border-top-color: var(--gold-3); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-actions { display: grid; gap: 10px; }
.pay-note { text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 14px; line-height: 1.6; }
.success-order { color: var(--text-soft); font-size: 14px; margin-bottom: 10px; }
.success-order b { color: var(--gold-3); font-weight: 600; letter-spacing: .3px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

/* ============ 会员空间 · 我的订单 ============ */
.order-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; background: var(--white); }
.order-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-head .oid { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .3px; }
.order-head .otime { font-size: 12.5px; color: var(--muted); }
.order-head .status-pill { margin-left: auto; }
.order-items { margin: 14px 0; border-top: 1px dashed var(--line); }
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-soft); padding: 9px 0; border-bottom: 1px dashed var(--line); }
.order-line:last-child { border-bottom: none; }
.order-line b { color: var(--text); font-weight: 600; flex: none; }
.order-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.order-foot .omethod { color: var(--muted); font-size: 13px; }
.order-foot .ototal { font-family: var(--serif); font-size: 20px; color: var(--gold-3); }
.orders-empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.orders-empty svg { width: 52px; height: 52px; color: var(--line); margin: 0 auto 14px; display: block; }
.orders-empty a { color: var(--gold-3); text-decoration: underline; }

@media (max-width: 480px) {
  .pay-qr-wrap, .pay-qr { width: 176px; height: 176px; }
  .pay-amount-line b { font-size: 28px; }
}


/* ============================================================
   Mobile v2 · 移动端优化（底部 Tab / 详情弹层 / 购物车结算栏）
   ============================================================ */

/* ---------- 底部 Tab 导航 ---------- */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: rgba(250, 246, 238, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 820px) {
  .mobile-tabbar { display: flex; }
  .mobile-tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 0 7px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .02em;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tabbar a svg { width: 24px; height: 24px; }
  .mobile-tabbar a.active { color: var(--gold-3); font-weight: 600; }
  /* 内容底部留白，避免被 Tab 遮挡 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Header 移动端压缩 ---------- */
@media (max-width: 620px) {
  .header-inner { height: 60px; }
  .hero-inner { padding: 72px 0 84px; }
}

/* ---------- 在线下单：商品网格移动端 2 列 ---------- */
@media (max-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card .product-body { padding: 12px; }
  .product-card h3 { font-size: 15px; line-height: 1.4; }
  .product-card .product-desc {
    font-size: 12.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .product-actions .btn { padding: 9px 10px; font-size: 12.5px; }
  .product-card .product-price b { font-size: 18px; }
  .product-card { cursor: pointer; }
}
/* 极窄屏兜底：避免 2 列过挤 */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ---------- 商品详情弹层（底部 sheet，桌面为居中弹窗） ---------- */
.prod-sheet {
  position: fixed; inset: 0;
  z-index: 215;
  display: none;
}
.prod-sheet.show { display: block; }
.prod-sheet-scrim { position: absolute; inset: 0; background: rgba(23, 19, 15, .5); }
.prod-sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 88vh;
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.prod-sheet.show .prod-sheet-panel { transform: none; }
.prod-sheet-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  background: var(--paper-2); border: none; cursor: pointer;
  border-radius: 50%;
}
.prod-sheet-close::before, .prod-sheet-close::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 21px;
  height: 2px; background: var(--text); border-radius: 2px;
}
.prod-sheet-close::before { transform: rotate(45deg); }
.prod-sheet-close::after { transform: rotate(-45deg); }
.ps-cover {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.ps-cover .shot { position: absolute; inset: 0; }
.ps-cover .vignette { position: absolute; inset: 0; }
.ps-body { display: flex; flex-direction: column; gap: 12px; }
.ps-body h3 { font-size: 19px; }
.ps-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ps-price .cur { font-size: 15px; font-weight: 700; }
.ps-price b { font-size: 28px; }
.ps-price .per { font-size: 12.5px; color: var(--muted); }
.ps-price del { font-size: 13px; color: var(--muted); }
.ps-desc { font-size: 13.5px; color: var(--text-soft); line-height: 1.7; }
.ps-qty {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
}
.ps-qty .qty { display: flex; align-items: center; gap: 12px; }
.ps-qty .qty button {
  width: 40px; height: 40px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
  font-size: 18px; color: var(--text);
}
.ps-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 821px) {
  .prod-sheet-panel {
    left: 50%; right: auto; bottom: 8%;
    width: min(560px, 92vw);
    border-radius: 20px;
    transform: translate(-50%, 40px);
  }
  .prod-sheet.show .prod-sheet-panel { transform: translate(-50%, 0); }
}

/* ---------- 移动端购物车结算栏（shop 页） ---------- */
.cart-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(58px + env(safe-area-inset-bottom));
  z-index: 118;
  background: var(--ink);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.cart-bar.show { transform: none; opacity: 1; }
.cart-bar .cb-info { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.cart-bar .cb-count { font-size: 13px; }
.cart-bar .cb-total b { font-size: 17px; color: #fff; }
.cart-bar .btn { flex-shrink: 0; }
@media (max-width: 820px) { .cart-bar { display: flex; } }

/* ---------- 支付视图移动端：Native 扫码保持展示二维码 ---------- */
@media (max-width: 620px) {
  .checkout-panel { padding: 24px 18px 18px; }
}

/* ---------- 安全区（notch / home indicator） ---------- */
.cart-drawer { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 1020px) {
  .main-nav { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}
.toast { bottom: calc(28px + env(safe-area-inset-bottom)); }

/* ---------- 点击目标加大（≥44px） ---------- */
@media (max-width: 820px) {
  .qty button { width: 40px; height: 40px; }
  .cart-close, .checkout-close { width: 44px; height: 44px; }
  .cart-close::before, .cart-close::after { left: 13px; right: 13px; top: 21px; }
  .checkout-close::before, .checkout-close::after { left: 11px; right: 11px; top: 21px; }
}

.beian a { color: #766d60; text-decoration: none; }
.beian a:hover { color: var(--gold-2); }
