/* ============================================================
   黃家嚴選 — 設計系統
   纯静态站点样式表
   ============================================================ */

:root {
  --bg: #F5F1E8;
  --surface: #FFFFFF;
  --surface-2: #F1ECDE;
  --ink: #1A201B;
  --ink-2: #565C54;
  --muted: #8C9089;
  --brand: #2A4A3B;
  --brand-dark: #1C352A;
  --brand-soft: #E8EEEA;
  --gold: #A8823F;
  --gold-soft: #F1E9D8;
  --accent: #9C4A2E;
  --accent-soft: #F2E4DC;
  --danger: #9C4A2E;
  --line: #EAE3D5;
  --line-2: #D9D0BE;
  --radius-s: 10px;
  --radius: 14px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(26,32,27,.04), 0 2px 8px rgba(26,32,27,.03);
  --shadow: 0 2px 6px rgba(26,32,27,.05), 0 14px 34px rgba(26,32,27,.05);
  --shadow-l: 0 10px 26px rgba(26,32,27,.07), 0 26px 56px rgba(26,32,27,.08);
  --maxw: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "PingFang SC", "Microsoft YaHei", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; font-family: var(--serif); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- 顶部导航 ---------------- */
.topbar {
  background: var(--brand-dark);
  color: #EAF3ED;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; height: 36px; overflow: hidden; white-space: nowrap;
}
.topbar b { color: #FFD9A8; font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 242, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; gap: 20px; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
}
.logo-mark svg { width: 52px; height: 52px; display: block; }
.logo-text b { font-size: 19px; line-height: 1.15; letter-spacing: .02em; }
.logo-text span { display: inline; font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-left: 8px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; transition: transform .15s, background .18s;
}
.cart-btn:hover { background: #000; transform: translateY(-1px); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.cart-count[hidden] { display: none; }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------------- 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  border: 1.5px solid transparent; white-space: nowrap; letter-spacing: .02em;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(46,90,69,.22); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46,90,69,.28); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(168,71,46,.22); }
.btn-accent:hover { background: #8F3A24; transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--brand-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.tag-green { background: var(--brand-soft); color: var(--brand-dark); }
.tag-accent { background: var(--accent-soft); color: #A9531B; }
.tag-gray { background: var(--surface-2); color: var(--ink-2); }

.section { padding: 84px 0; }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .26em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 30px; letter-spacing: -.02em; }
.section-head p { color: var(--ink-2); margin-top: 10px; max-width: 620px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 84% 6%, rgba(176,137,79,.13), transparent 60%),
    radial-gradient(760px 500px at 8% 100%, rgba(46,90,69,.10), transparent 60%),
    linear-gradient(180deg, #F4F1E9 0%, #F7F4EC 58%, #F7F4EC 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 76px 0 84px;
}
.hero h1 { font-size: 52px; letter-spacing: -.02em; line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { font-size: 17px; color: var(--ink-2); margin-top: 20px; max-width: 470px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-facts div b { display: block; font-size: 25px; color: var(--brand-dark); letter-spacing: -.02em; }
.hero-facts div span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; min-height: 380px; }
.hero-card {
  position: absolute; background: var(--surface); border-radius: var(--radius-l);
  box-shadow: var(--shadow-l); padding: 18px; border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s;
}
.hero-card svg { width: 100%; height: auto; }
.hero-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l), 0 0 0 1px rgba(176,137,79,.35); }
.hero-card .cap { text-align: center; margin-top: 8px; font-size: 13px; font-weight: 600; }
.hero-card .cap small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.hc-1 { width: 46%; left: 4%; top: 2%; z-index: 3; }
.hc-2 { width: 40%; right: 6%; top: 16%; z-index: 2; }
.hc-3 { width: 38%; left: 26%; bottom: 0; z-index: 4; }

.badge-float {
  position: absolute; right: 0; bottom: 14%; z-index: 5;
  background: linear-gradient(135deg, var(--gold), #9A7740); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(176,137,79,.32);
}

/* ---------------- 卖点条 ---------------- */
.usp { background: var(--surface); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 26px 0; }
.usp-item { display: flex; gap: 12px; align-items: flex-start; padding: 0 14px; }
.usp-item .ico {
  width: 36px; height: 36px; border-radius: 11px; background: var(--gold-soft);
  display: grid; place-items: center; flex-shrink: 0;
}
.usp-item .ico svg { width: 19px; height: 19px; stroke: var(--gold); }
.usp-item b { display: block; font-size: 14.5px; }
.usp-item span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------------- 商品卡片 ---------------- */
.filters {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 16px 0 26px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--surface); font-size: 14px; color: var(--ink-2);
  transition: all .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.filter-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.search-box {
  display: flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 16px; height: 40px;
}
.search-box svg { width: 16px; height: 16px; stroke: var(--muted); flex-shrink: 0; }
.search-box input { border: none; outline: none; background: none; width: 170px; font-size: 14px; }
select.sortsel {
  height: 40px; border-radius: 999px; border: 1.5px solid var(--line-2);
  background: var(--surface); padding: 0 14px; font-size: 14px; color: var(--ink-2); outline: none;
}

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-art {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 16%, #FBF9F3 0%, var(--surface-2) 100%);
  overflow: hidden;
}
.card-art svg { width: 62%; height: auto; transition: transform .3s; }
.card:hover .card-art svg { transform: scale(1.06) rotate(-2deg); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.soldout-mask {
  position: absolute; inset: 0; background: rgba(251,248,242,.78);
  display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: 15px;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 17px; }
.card-origin { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.card-desc { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; flex: 1; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--serif); font-size: 23px; color: var(--danger); letter-spacing: -.01em; }
.price b i { font-style: normal; font-size: 14px; margin-right: 1px; }
.price s { font-size: 12.5px; color: var(--muted); }
.price em { font-style: normal; font-size: 12px; color: var(--muted); }
.add-btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; transition: transform .16s, background .18s, box-shadow .18s;
}
.add-btn:hover { background: var(--brand-dark); transform: scale(1.1); box-shadow: 0 6px 16px rgba(46,90,69,.3); }
.add-btn svg { width: 18px; height: 18px; }

/* ---------------- 详情弹窗 ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(30,38,33,.45); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; background: var(--surface); border-radius: var(--radius-l);
  width: min(880px, 100%); max-height: 88vh; overflow: auto; box-shadow: var(--shadow-l);
  animation: pop .26s cubic-bezier(.2,.9,.3,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; background: var(--surface-2); display: grid; place-items: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-grid { display: grid; grid-template-columns: .85fr 1fr; }
.modal-art { background: var(--surface-2); display: grid; place-items: center; padding: 40px; }
.modal-art svg { width: 78%; height: auto; }
.modal-info { padding: 34px 34px 30px; }
.modal-info h3 { font-size: 26px; letter-spacing: -.02em; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.modal-story {
  margin-top: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.75;
  padding: 14px 16px; background: var(--surface-2); border-radius: var(--radius-s);
  border-left: 3px solid var(--gold);
}
.spec-label { font-size: 13px; font-weight: 700; margin: 20px 0 10px; letter-spacing: .02em; }
.specs { display: flex; gap: 10px; flex-wrap: wrap; }
.spec {
  border: 1.5px solid var(--line-2); border-radius: var(--radius-s); padding: 10px 14px;
  text-align: left; transition: all .18s; background: var(--surface); min-width: 116px;
}
.spec:hover { border-color: var(--brand); }
.spec.on { border-color: var(--gold); background: var(--gold-soft); }
.spec.on b { color: var(--brand-dark); }
.spec.off { opacity: .4; cursor: not-allowed; }
.spec b { display: block; font-size: 14px; }
.spec span { font-size: 13px; color: var(--danger); font-weight: 700; }
.spec small { display: block; font-size: 11px; color: var(--muted); }

.hl-list { margin-top: 18px; display: grid; gap: 8px; }
.hl-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.hl-list li svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; margin-top: 4px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 40px; font-size: 17px; color: var(--ink-2); }
.qty button:hover { background: var(--surface-2); }
.qty input {
  width: 46px; height: 40px; text-align: center; border: none; outline: none;
  background: none; font-size: 15px; font-weight: 600;
}
.modal-buy { display: flex; gap: 12px; align-items: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------------- 果园故事 ---------------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.story-photo {
  border-radius: var(--radius-l); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line); padding: 34px; display: grid; place-items: center;
}
.story-text h2 { font-size: 30px; letter-spacing: -.02em; }
.story-text p { color: var(--ink-2); margin-top: 16px; }
.story-sign { margin-top: 24px; font-family: var(--serif); font-size: 17px; color: var(--brand-dark); }

.timeline { display: grid; gap: 0; margin-top: 26px; }
.tl-item { display: flex; gap: 16px; padding-bottom: 20px; position: relative; }
.tl-item:not(:last-child)::before {
  content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line);
}
.tl-dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand-dark); display: grid; place-items: center; flex-shrink: 0;
  font-size: 12px; font-weight: 700; z-index: 1; border: 2px solid var(--bg);
}
.tl-body b { display: block; font-size: 15px; }
.tl-body span { font-size: 13.5px; color: var(--ink-2); }

/* ---------------- 评价 ---------------- */
.reviews { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.75; }
.review-who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.review-who b { font-size: 13.5px; display: block; }
.review-who span { font-size: 12px; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 40px 20px 0; font-size: 16px; font-weight: 600;
  position: relative; color: var(--ink);
}
.faq-q::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--muted); font-weight: 400; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; }
.faq-item.open .faq-a { max-height: 340px; padding-bottom: 20px; }
.faq-a p { color: var(--ink-2); font-size: 14.5px; }

/* ---------------- 联系 / CTA ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), #16332A);
  color: #fff; border-radius: var(--radius-l);
  padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  box-shadow: var(--shadow-l); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(176,137,79,.22), transparent 70%);
}
.cta-band h2 { font-size: 28px; letter-spacing: -.02em; position: relative; }
.cta-band p { color: #C8DBCE; margin-top: 10px; max-width: 520px; font-size: 15px; position: relative; }
.qr-box {
  background: #fff; border-radius: var(--radius); padding: 14px; text-align: center; width: 168px;
}
.qr-img {
  width: 140px; height: 140px; border-radius: 8px; background: var(--surface-2);
  display: grid; place-items: center; color: var(--muted); font-size: 12px; line-height: 1.5;
  border: 1px dashed var(--line-2);
}
.qr-box b { display: block; font-size: 12.5px; color: var(--ink); margin-top: 9px; }

/* ---------------- 页脚 ---------------- */
.footer { background: #14231B; color: #AEB8B0; padding: 56px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #F2EAD9; font-size: 14px; margin-bottom: 14px; }
.footer a, .footer li { font-size: 13.5px; line-height: 2.1; }
.footer a:hover { color: var(--gold); }
.footer-brand p { font-size: 13.5px; margin-top: 12px; max-width: 300px; line-height: 1.8; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(176,137,79,.18);
  display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; flex-wrap: wrap;
}

/* ---------------- 购物车页 ---------------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.page-head h1 { font-size: 32px; letter-spacing: -.02em; }
.page-head p { color: var(--ink-2); margin-top: 8px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--brand); }

.cart-layout { display: grid; grid-template-columns: 1fr 372px; gap: 28px; align-items: start; padding: 40px 0 72px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.panel + .panel { margin-top: 20px; }
.panel h3 { font-size: 18px; margin-bottom: 4px; }
.panel .panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.cart-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: none; padding-bottom: 0; }
.cart-row:first-child { padding-top: 0; }
.cart-thumb {
  width: 84px; height: 84px; border-radius: 12px; background: var(--surface-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.cart-thumb svg { width: 62%; height: auto; }
.cart-main { flex: 1; min-width: 0; }
.cart-main b { font-size: 15.5px; display: block; }
.cart-main span { font-size: 12.5px; color: var(--muted); }
.cart-price { font-size: 15px; font-weight: 700; color: var(--danger); white-space: nowrap; }
.cart-del { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: inline-block; }
.cart-del:hover { color: var(--danger); }

.empty { text-align: center; padding: 60px 20px; }
.empty svg { width: 86px; height: 86px; margin: 0 auto 18px; opacity: .55; }
.empty b { display: block; font-size: 17px; }
.empty p { color: var(--muted); margin: 8px 0 22px; font-size: 14px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field label i { font-style: normal; color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  background: var(--surface); outline: none; transition: border-color .18s; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 74px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-err { color: var(--danger); font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-err { display: block; }

.summary { position: sticky; top: 88px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; color: var(--ink-2); }
.sum-row.total {
  border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px;
  font-size: 16px; color: var(--ink); font-weight: 700;
}
.sum-row.total b { font-size: 26px; color: var(--danger); letter-spacing: -.02em; }
.ship-hint {
  background: var(--accent-soft); color: #A9531B; border-radius: var(--radius-s);
  padding: 10px 13px; font-size: 12.5px; margin: 12px 0; line-height: 1.55;
}
.ship-hint.ok { background: var(--brand-soft); color: var(--brand-dark); }

.order-out {
  background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--radius-s);
  padding: 16px; font-size: 13px; line-height: 1.85; white-space: pre-wrap;
  font-family: ui-monospace, "SF Mono", Consolas, monospace; color: var(--ink-2);
  max-height: 300px; overflow: auto;
}

/* ---------------- Toast ---------------- */
.toast-wrap {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow-l); animation: toastIn .28s cubic-bezier(.2,.9,.3,1);
  display: flex; align-items: center; gap: 8px;
}
.toast svg { width: 15px; height: 15px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------------- 加购浮层 ---------------- */
.cart-nudge {
  position: fixed; left: 50%; bottom: 26px; z-index: 290;
  transform: translateX(-50%) translateY(18px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-l); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; text-decoration: none;
}
.cart-nudge.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cart-nudge .cn-txt { opacity: .9; }
.cart-nudge .cn-go { color: #FFD9A8; white-space: nowrap; }
@media (max-width: 780px) { .cart-nudge { bottom: 74px; } }

/* ---------------- 移动端底部导航 ---------------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 7px 0 max(7px, env(safe-area-inset-bottom));
}
.mobile-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.mb-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; color: var(--muted); padding: 4px 0; position: relative;
}
.mb-item svg { width: 21px; height: 21px; stroke: currentColor; }
.mb-item.on { color: var(--brand); font-weight: 600; }
.mb-dot {
  position: absolute; top: 1px; right: 50%; margin-right: -18px;
  min-width: 16px; height: 16px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}

/* ---------------- 后台 ---------------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left; font-size: 12px; color: var(--muted); font-weight: 600;
  padding: 10px 12px; border-bottom: 1.5px solid var(--line); letter-spacing: .04em;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: var(--surface-2); }
.admin-table input[type=text], .admin-table input[type=number] {
  width: 100%; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--surface); outline: none; font-size: 13.5px;
}
.admin-table input:focus { border-color: var(--brand); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0; background: var(--line-2);
  border-radius: 999px; transition: .2s;
}
.slider::before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 38px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { padding-bottom: 62px; }
  .nav, .header-actions .cart-btn span.lbl { display: none; }
  .burger { display: block; }
  .header .wrap { height: 60px; }
  .topbar .wrap { gap: 14px; font-size: 12px; }
  .mobile-bar { display: block; }
  .section { padding: 48px 0; }
  .section-head h2, .story-text h2 { font-size: 24px; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 52px; gap: 34px; }
  .hero h1 { font-size: 31px; }
  .hero-lede { font-size: 15.5px; }
  .hero-art { min-height: 300px; }
  .hero-facts { gap: 22px; }
  .hero-facts div b { font-size: 21px; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 18px 4px; }
  .grid, .grid.g3 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-body { padding: 13px 14px 15px; }
  .card-body h3 { font-size: 15px; }
  .card-desc { display: none; }
  .price b { font-size: 19px; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-art { padding: 26px; }
  .modal-art svg { width: 54%; }
  .modal-info { padding: 22px 20px 26px; }
  .modal-info h3 { font-size: 21px; }
  .cta-band { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .cta-band p { margin-left: auto; margin-right: auto; }
  .qr-box { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .filters { gap: 8px; }
  .filter-right { margin-left: 0; width: 100%; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 25px; }
  .cart-thumb { width: 66px; height: 66px; }
}

@media (max-width: 400px) {
  .grid, .grid.g3 { grid-template-columns: 1fr; }
}

@media print { .header, .topbar, .mobile-bar, .footer, .btn { display: none !important; } }

/* 实物图（<img>）适配：商品卡 cover 填满，hero 浮动卡与故事图自然高 */
.art-img { display: block; transition: transform .3s; }
.card-art .art-img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-art .art-img { transform: scale(1.06) rotate(-2deg); }
.hero-card .art-img { width: 100%; height: auto; border-radius: var(--radius); }
.story-img { width: 100%; height: auto; display: block; border-radius: var(--radius-l); }

/* ---------------- 滚动渐显 ---------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------- 支付步骤 ---------------- */
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  background: var(--surface); cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s; position: relative;
}
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt:hover { border-color: var(--brand); }
.pay-opt.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold) inset; }
.pay-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--surface-2); color: var(--brand);
}
.pay-opt.on .pay-ic { background: #fff; }
.pay-ic svg { width: 22px; height: 22px; }
.pay-label { font-size: 14.5px; font-weight: 600; flex: 1; }
.pay-flag {
  font-size: 11px; color: #A9531B; background: var(--accent-soft);
  padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.pay-qr-wrap {
  margin-top: 18px; padding: 20px; background: var(--surface-2);
  border-radius: var(--radius-s); text-align: center; border: 1px dashed var(--line-2);
}
.pay-qr-amt { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.pay-qr-amt b { font-size: 24px; color: var(--danger); font-family: var(--serif); margin-left: 6px; }
.pay-qr {
  width: 220px; height: 220px; margin: 0 auto; background: #fff;
  border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center;
  overflow: hidden; padding: 10px;
}
.pay-qr img { width: 100%; height: 100%; object-fit: contain; }
.bank-box {
  width: 100%; font-size: 14px; color: var(--ink); line-height: 1.7; word-break: break-all;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: left;
}
.qr-placeholder { color: var(--muted); font-size: 13px; line-height: 1.7; }
.qr-placeholder small { font-size: 12px; }
.pay-qr-hint { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.pay-actions { margin-top: 18px; display: grid; gap: 10px; }
.empty-sm { font-size: 13px; color: var(--muted); padding: 8px 0; }
@media (max-width: 520px) { .pay-options { grid-template-columns: 1fr; } }

/* ============================================================
   高级优化增强层（10 轮优化 · 2026-08）
   ============================================================ */

/* ---------- 第1轮：排版体系 ---------- */
:root {
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, "Times New Roman", serif;
  --gold-2: #C9A24F;
  --hair: rgba(176,137,79,.40);
  --fs-display: clamp(40px, 5.4vw, 60px);
  --fs-h2: clamp(25px, 2.8vw, 32px);
}
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}
.num, .hero-facts b, .hero-facts span, .price b, .sum-row b,
.pay-qr-amt b, .footer-brand p, .usp-item b, .tl-body b, .cta-band p {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
h1, h2, h3, h4 { font-feature-settings: "kern" 1; letter-spacing: -.015em; }

/* ---------- 第8轮：纸感纹理 + 金线分隔 ---------- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: multiply;
}
.header, .topbar, .footer, .mobile-bar, .toast-wrap, .cart-nudge, .modal { z-index: 1; }
.gold-rule {
  width: 56px; height: 2px; border: none; margin: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head .gold-rule { margin-bottom: 16px; }
.section-head.center .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- 第2轮：Hero 沉浸首屏 ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(247,244,236,.9));
  pointer-events: none;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-kicker::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: var(--fs-display); line-height: 1.12; letter-spacing: -.025em;
  max-width: 12em;
}
.hero h1 em { position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 8px;
  background: linear-gradient(90deg, rgba(176,137,79,.32), rgba(176,137,79,.05));
  border-radius: 4px; z-index: -1;
}
.hero-facts { gap: 0; }
.hero-facts div {
  padding: 0 26px; position: relative;
}
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-2);
}
.hero-art { perspective: 1000px; }
.hero-card { will-change: transform; transform-style: preserve-3d; }

/* ---------- 第3轮：商品卡精致化 ---------- */
.card { position: relative; }
.card::before {
  content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .35; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card-art { transition: transform .3s cubic-bezier(.2,.8,.3,1); }
.card-hover {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; gap: 8px; align-items: center; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(20,35,27,.78));
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.card:hover .card-hover { opacity: 1; transform: none; }
.card-hover .ch-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.price b { font-size: 25px; }
.card-foot { align-items: center; }
.card-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ---------- 第4轮：微交互与动效 ---------- */
.grid .card {
  opacity: 0; transform: translateY(22px);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s,
              opacity .6s cubic-bezier(.2,.8,.3,1);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.section.in .grid .card, .grid.in .card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .grid .card { opacity: 1 !important; transform: none !important; } }

.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .55s ease;
}
.btn:hover::after { left: 130%; }

.reveal { will-change: opacity, transform; }

/* hero 浮动卡片轻微立体倾斜（JS 控制 --rx/--ry） */
.hero-card { transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }
.hc-1 { transition-delay: .05s; } .hc-2 { transition-delay: .12s; } .hc-3 { transition-delay: .19s; }

/* ---------- 第5轮：导航滚动收缩 + 页脚品牌化 ---------- */
.header.scrolled { box-shadow: 0 6px 24px rgba(27,42,32,.10); }
.header.scrolled .wrap { height: 58px; }
.header.scrolled .logo-mark { width: 44px; height: 44px; }
.header.scrolled .logo-mark svg { width: 44px; height: 44px; }
.header.scrolled .logo-text b { font-size: 17px; }

.footer-seal {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; margin-bottom: 14px;
  border: 1.5px solid var(--hair); color: var(--gold-2);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(176,137,79,.28);
  color: #C8B58A; transition: background .2s, color .2s, transform .2s;
}
.footer-social a:hover { background: var(--gold); color: #14231B; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- 第6轮：SVG 星级 ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars .st-half { color: var(--line-2); }

/* ---------- 第7轮：故事页引言与印章 ---------- */
.pullquote {
  position: relative; padding: 8px 0 8px 26px; margin: 26px 0 8px;
  border-left: 3px solid var(--gold);
}
.pullquote p {
  font-family: var(--serif); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.6;
  color: var(--brand-dark); letter-spacing: -.01em;
}
.seal-stamp {
  width: 92px; height: 92px; border-radius: 8px; flex-shrink: 0;
  border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; text-align: center; line-height: 1.3;
  font-family: var(--serif); font-size: 13px; font-weight: 700; transform: rotate(-6deg);
  background: rgba(168,71,46,.05);
}
.flow-card { position: relative; overflow: hidden; }
.flow-card .card-art img { transition: transform .35s cubic-bezier(.2,.8,.3,1); }
.flow-card:hover .card-art img { transform: scale(1.05); }
.stat-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band .usp-item b { font-size: clamp(28px, 3.4vw, 36px); }

/* ---------- 第9轮：回到顶部 + 空状态 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 84px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 780px) { .to-top { bottom: 74px; right: 14px; } }

.empty .empty-art { width: 96px; height: 96px; margin: 0 auto 18px; opacity: .7; }
.empty b { font-size: 18px; color: var(--ink); }
.empty p { color: var(--muted); margin: 8px 0 22px; font-size: 14px; }

/* 滚动条点缀（webkit） */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* CTA 二维码框升级 */
.qr-box { position: relative; }
.qr-box::before {
  content: ''; position: absolute; inset: -6px; border: 1px solid rgba(176,137,79,.30);
  border-radius: 22px; pointer-events: none;
}

/* ============================================================
   进阶优化增强层（第 11–30 轮 · 2026-08）
   ============================================================ */

/* ---------- 第11轮：跳转链接(无障碍) ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: top .2s; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* ---------- 第12轮：可关闭公告条 ---------- */
.announce {
  background: linear-gradient(90deg, #2E5A45, #244A39);
  color: #EAF3ED; font-size: 13px; letter-spacing: .02em; position: relative; z-index: 61;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; position: relative; }
.announce a { color: #FFE2BC; text-decoration: underline; text-underline-offset: 3px; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.announce .a-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; color: #CFE0D6; display: grid; place-items: center;
}
.announce .a-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.announce.hide { display: none; }
@media (max-width: 600px) { .announce .wrap { font-size: 11.5px; padding: 0 36px; } }

/* ---------- 第13轮：滚动阅读进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 95;
  background: linear-gradient(90deg, var(--gold), #E7C783); box-shadow: 0 0 8px rgba(176,137,79,.5);
  transition: width .1s linear;
}

/* ---------- 第14轮：库存紧张徽标 ---------- */
.stock-badge {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(168,71,46,.3);
}

/* ---------- 第15轮：心愿单收藏 ---------- */
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.85);
  display: grid; place-items: center; backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(27,42,32,.12); transition: transform .18s, background .2s;
}
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; transition: fill .2s, stroke .2s; }
.wish-btn.on { background: var(--accent); }
.wish-btn.on svg { fill: #fff; stroke: #fff; }
.card-badges { z-index: 6; }

.wish-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); z-index: 210;
  background: var(--surface); box-shadow: var(--shadow-l); transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2,.8,.3,1); display: flex; flex-direction: column;
}
.wish-drawer.open { transform: none; }
.wish-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.wish-head b { font-size: 17px; font-family: var(--serif); }
.wish-body { flex: 1; overflow: auto; padding: 14px 18px; }
.wish-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wish-item .wi-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.wish-item .wi-thumb img, .wish-item .wi-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.wish-item .wi-main { flex: 1; min-width: 0; }
.wish-item .wi-main b { font-size: 14px; display: block; }
.wish-item .wi-main span { font-size: 12px; color: var(--muted); }
.wish-item .wi-x { color: var(--muted); font-size: 13px; }
.wish-item .wi-x:hover { color: var(--danger); }
.wish-empty { text-align: center; color: var(--muted); padding: 50px 20px; font-size: 14px; }
.wish-foot { padding: 16px 18px; border-top: 1px solid var(--line); }
.wish-fab {
  position: fixed; left: 22px; bottom: 84px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s, background .2s;
}
.wish-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.wish-fab:hover { background: var(--accent); }
.wish-fab svg { width: 20px; height: 20px; }
.wish-fab .wf-dot {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--bg);
}
@media (max-width: 780px) { .wish-fab { bottom: 74px; left: 14px; } }

/* ---------- 第16轮：迷你购物车 ---------- */
.mini-cart {
  position: fixed; top: 68px; right: 18px; width: min(360px, 94vw); z-index: 95;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-l); opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .22s, transform .22s; max-height: 78vh; display: flex; flex-direction: column; overflow: hidden;
}
.mini-cart.open { opacity: 1; transform: none; pointer-events: auto; }
.mini-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mini-head b { font-size: 16px; font-family: var(--serif); }
.mini-body { overflow: auto; padding: 6px 16px; max-height: 46vh; }
.mini-row { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: none; }
.mini-thumb { width: 46px; height: 46px; border-radius: 9px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.mini-thumb img, .mini-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.mini-main { flex: 1; min-width: 0; }
.mini-main b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-main span { font-size: 12px; color: var(--muted); }
.mini-foot { padding: 14px 18px; border-top: 1px solid var(--line); }
.mini-foot .sum-row { font-size: 14px; }
.mini-foot .sum-row b { font-size: 20px; color: var(--danger); }
.mini-empty { text-align: center; color: var(--muted); padding: 40px 16px; font-size: 14px; }
.mini-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.mini-qty button { width: 28px; height: 30px; font-size: 15px; color: var(--ink-2); }
.mini-qty button:hover { background: var(--surface-2); }
.mini-qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }

/* ---------- 第17轮：最近浏览条 ---------- */
.recent-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.recent-strip .rc {
  flex: 0 0 150px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-s); overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .18s;
}
.recent-strip .rc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.recent-strip .rc .rc-art { aspect-ratio: 1/1; background: var(--surface-2); }
.recent-strip .rc .rc-art img, .recent-strip .rc .rc-art svg { width: 100%; height: 100%; object-fit: cover; }
.recent-strip .rc .rc-body { padding: 9px 11px; }
.recent-strip .rc .rc-body b { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-strip .rc .rc-body span { font-size: 12px; color: var(--danger); font-weight: 700; }

/* ---------- 第19轮：邮件订阅 ---------- */
.newsletter { display: flex; gap: 10px; margin-top: 16px; max-width: 340px; }
.newsletter input { flex: 1; padding: 11px 14px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,.04); color: #EAF3ED; outline: none; font-size: 13.5px; }
.newsletter input::placeholder { color: #8E9A90; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter .nl-msg { font-size: 12px; color: #8E9A90; margin-top: 8px; }
.newsletter .nl-msg.ok { color: #9FD9B4; }

/* 页脚订阅：浅色页脚适配（默认 .newsletter 按深色页脚设计） */
.footer .newsletter { max-width: 320px; }
.footer .newsletter input { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-2); }
.footer .newsletter input::placeholder { color: var(--muted); }
.footer .newsletter .nl-msg { color: var(--muted); font-size: 12px; margin-top: 8px; }
.footer .newsletter .nl-msg.ok { color: var(--brand-dark); }

/* ---------- 第27轮：快捷客服浮窗 ---------- */
.quick-contact { position: fixed; right: 20px; bottom: 150px; z-index: 92; }
@media (max-width: 780px) { .quick-contact { bottom: 84px; right: 14px; } }
.qc-toggle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-l); transition: transform .2s, background .2s;
}
.qc-toggle:hover { transform: scale(1.06); background: var(--brand-dark); }
.qc-toggle svg { width: 24px; height: 24px; }
.qc-panel {
  position: absolute; right: 0; bottom: 64px; width: 230px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
  padding: 14px; opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transform-origin: bottom right; transition: opacity .2s, transform .2s;
}
.quick-contact.open .qc-panel { opacity: 1; transform: none; pointer-events: auto; }
.qc-panel b { font-size: 14px; font-family: var(--serif); display: block; margin-bottom: 10px; }
.qc-act { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--surface-2); margin-bottom: 8px; font-size: 13.5px; color: var(--ink); transition: background .18s; }
.qc-act:hover { background: var(--brand-soft); color: var(--brand-dark); }
.qc-act svg { width: 18px; height: 18px; stroke: var(--brand); }

/* ---------- 第20轮：弹窗图片放大 + 相关推荐 + 移动吸底 ---------- */
.modal-art { cursor: zoom-in; position: relative; }
.modal-art.zoomed { cursor: zoom-out; }
.zoom-lightbox {
  position: fixed; inset: 0; z-index: 260; display: none; align-items: center; justify-content: center;
  background: rgba(20,28,23,.86); padding: 24px; cursor: zoom-out;
}
.zoom-lightbox.open { display: flex; animation: fade .25s ease; }
.zoom-lightbox img { max-width: 86vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-l); }
@keyframes fade { from { opacity: 0; } }
.modal-related { margin-top: 22px; }
.modal-related .mr-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; letter-spacing: .04em; }
.modal-related .mr-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.modal-related .mr-card { flex: 0 0 116px; cursor: pointer; text-align: center; }
.modal-related .mr-card .mr-thumb { aspect-ratio: 1/1; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); margin-bottom: 7px; }
.modal-related .mr-card .mr-thumb img, .modal-related .mr-card .mr-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.modal-related .mr-card b { font-size: 12.5px; display: block; }
.modal-related .mr-card span { font-size: 12px; color: var(--danger); font-weight: 700; }
.modal-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 205; display: none;
  background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; gap: 14px; box-shadow: 0 -6px 24px rgba(27,42,32,.08);
}
.modal-sticky.show { display: flex; }
.modal-sticky .ms-price { font-size: 20px; font-weight: 800; color: var(--danger); font-family: var(--serif); }
.modal-sticky .ms-price small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.modal-sticky .btn { flex: 1; }
@media (max-width: 780px) { .modal.open .modal-sticky.show { display: flex; } }

/* ---------- 第21轮：信任保障区 ---------- */
.trust-band { background: var(--brand); color: #fff; }
.trust-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 30px 20px; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 0 14px; }
.trust-item .ti-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ti-ico svg { width: 21px; height: 21px; stroke: #FFE2BC; }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 12.5px; color: rgba(255,255,255,.82); }
@media (max-width: 780px) { .trust-band .wrap { grid-template-columns: 1fr 1fr; gap: 16px 8px; } }

/* ---------- 第22轮：评价轮播 ---------- */
.reviews-carousel { position: relative; }
.reviews-track { display: flex; gap: 22px; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.reviews-track .review-card { flex: 0 0 calc((100% - 44px) / 3); }
.reviews-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); transition: width .25s, background .25s; }
.reviews-dots button.on { width: 26px; background: var(--gold); }
.reviews-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.reviews-nav:hover { background: var(--brand-soft); }
.reviews-nav.prev { left: -8px; } .reviews-nav.next { right: -8px; }
.reviews-nav svg { width: 18px; height: 18px; stroke: var(--brand); }
@media (max-width: 1000px) { .reviews-track .review-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .reviews-track .review-card { flex-basis: 100%; } .reviews-nav { display: none; } }

/* ---------- 第23轮：礼盒搭配 ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bundle-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.bundle-card h3 { font-size: 19px; }
.bundle-card .bc-desc { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.bundle-items { display: flex; gap: 10px; margin: 16px 0; }
.bundle-items .bi { flex: 1; aspect-ratio: 1/1; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); }
.bundle-items .bi img, .bundle-items .bi svg { width: 100%; height: 100%; object-fit: cover; }
.bundle-card .bc-tip { font-size: 12.5px; color: var(--muted); background: var(--gold-soft); border-radius: var(--radius-s); padding: 10px 12px; margin-bottom: 14px; }
@media (max-width: 780px) { .bundle-grid { grid-template-columns: 1fr; } }

/* ---------- 第24轮：图片模糊占位 ---------- */
.img-blur { filter: blur(14px); transform: scale(1.04); transition: filter .5s ease, transform .5s ease; }
.img-blur.loaded { filter: none; transform: none; }
.img-ph { background: linear-gradient(110deg, var(--surface-2) 25%, #ECE6DA 37%, var(--surface-2) 63%); background-size: 220% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 220% 0; } to { background-position: -120% 0; } }
html[data-theme="dark"] .img-ph { background: linear-gradient(110deg, #20201B 25%, #2C2A22 37%, #20201B 63%); background-size: 220% 100%; }

/* ---------- 第18轮：价格区间筛选 ---------- */
.price-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.price-filter .pf { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 13px; color: var(--ink-2); transition: all .18s; }
.price-filter .pf.on { background: var(--gold); border-color: var(--gold); color: #2A2113; font-weight: 600; }

/* 无障碍：统一焦点态 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip:focus-visible, .pay-opt:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}

/* ---------- 第25轮：深色模式 ---------- */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); flex-shrink: 0; transition: background .2s, color .2s, transform .2s;
}
.theme-toggle:hover { background: var(--brand-soft); color: var(--brand-dark); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
html[data-theme="dark"] {
  --bg: #14130F; --surface: #1C1B16; --surface-2: #26241D;
  --ink: #EFE9DC; --ink-2: #B7B0A1; --muted: #8A8475;
  --brand: #6FA98A; --brand-dark: #8FC2A6; --brand-soft: #1E2C24;
  --gold: #D7B36A; --gold-soft: #2C271C; --gold-2: #E0BE76; --hair: rgba(215,179,106,.42);
  --accent: #D98A6A; --accent-soft: #33241D;
  --line: #322F27; --line-2: #463F32;
  --danger: #E08A6F;
}
html[data-theme="dark"] .header, html[data-theme="dark"] .mobile-bar { background: rgba(28,27,22,.9); }
html[data-theme="dark"] .topbar { background: #0E0D0A; color: #C9C2B2; }
html[data-theme="dark"] .topbar b { color: var(--gold); }
html[data-theme="dark"] .footer { background: #0E0D0A; }
html[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #1C3530, #0E1A16); }
html[data-theme="dark"] .usp { background: var(--surface); }
html[data-theme="dark"] .hero { background: linear-gradient(180deg, #1A1914 0%, #14130F 58%, #14130F 100%); }
html[data-theme="dark"] .hero::after { background: linear-gradient(180deg, transparent, rgba(20,19,15,.92)); }
html[data-theme="dark"] .announce { background: linear-gradient(90deg, #1E2C24, #18271F); color: #D7E0D8; }
html[data-theme="dark"] .newsletter input { background: rgba(255,255,255,.05); }
html[data-theme="dark"] .img-ph { background: linear-gradient(110deg, #20201B 25%, #2C2A22 37%, #20201B 63%); }

/* ============================================================
   第 31–50 轮优化样式
   ============================================================ */

/* 31 · 限时促销倒计时（公告条内） */
.announce .countdown { display:inline-flex; gap:4px; align-items:center; margin-left:8px; font-variant-numeric:tabular-nums; }
.announce .countdown b { background:rgba(0,0,0,.18); padding:1px 6px; border-radius:5px; font-weight:700; }

/* 32 · 购物车包邮进度 */
.ship-progress { margin:6px 0 14px; }
.ship-progress .bar { height:8px; border-radius:99px; background:var(--line-2); overflow:hidden; }
.ship-progress .bar > i { display:block; height:100%; width:0; border-radius:99px;
  background:linear-gradient(90deg,var(--brand),var(--gold)); transition:width .6s cubic-bezier(.2,.7,.2,1); }
.ship-progress .tip { font-size:13px; color:var(--muted); margin-top:7px; }
.ship-progress .tip b { color:var(--accent); }

/* 33 · 加购飞入动画 */
.fly-dot { position:fixed; z-index:9999; width:18px; height:18px; border-radius:50%;
  background:var(--accent); pointer-events:none; box-shadow:0 4px 14px rgba(0,0,0,.25);
  transition:transform .7s cubic-bezier(.5,-0.2,.3,1), opacity .7s ease; }

/* 34 · 猜你喜欢 / 推荐 */
.reco-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.reco-card { background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; cursor:pointer;
  transition:transform .25s, box-shadow .25s, border-color .25s; }
.reco-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--gold); }
.reco-card .rc-art { aspect-ratio:1/1; background:var(--surface-2); position:relative; }
.reco-card .rc-art img, .reco-card .rc-art svg { width:100%; height:100%; object-fit:cover; }
.reco-card .rc-body { padding:12px 13px 14px; }
.reco-card .rc-body b { display:block; font-size:14.5px; }
.reco-card .rc-body span { color:var(--accent); font-weight:600; font-size:13.5px; }

/* 35 · 到货提醒 */
.restock-btn { font-size:12.5px; color:var(--muted); background:var(--surface-2); border:1px solid var(--line);
  border-radius:99px; padding:6px 12px; cursor:pointer; }
.restock-btn:hover { color:var(--brand-dark); border-color:var(--brand); }
.sheet { position:fixed; inset:0; z-index:1200; display:none; }
.sheet.open { display:block; }
.sheet .mask { position:absolute; inset:0; background:rgba(20,16,10,.5); }
.sheet .panel { position:absolute; left:50%; bottom:0; transform:translateX(-50%);
  width:min(440px,100%); background:var(--surface); border-radius:18px 18px 0 0; padding:22px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet .panel h3 { margin:0 0 4px; font-size:17px; }
.sheet .panel p { margin:0 0 14px; font-size:13.5px; color:var(--muted); }
.sheet .panel input { width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:10px;
  background:var(--surface-2); color:var(--ink); margin-bottom:12px; }
.sheet .a-close { position:absolute; top:14px; right:16px; background:none; border:none; font-size:22px; color:var(--muted); cursor:pointer; }

/* 36 · 分享面板 */
.share-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.share-item { display:flex; flex-direction:column; align-items:center; gap:7px; padding:14px 6px; border:1px solid var(--line);
  border-radius:12px; cursor:pointer; background:var(--surface-2); transition:border-color .2s, transform .2s; }
.share-item:hover { border-color:var(--gold); transform:translateY(-2px); }
.share-item svg { width:24px; height:24px; }
.share-item small { font-size:12px; color:var(--muted); }

/* 37 · 商品对比 */
.cmp-check { position:absolute; top:10px; left:10px; z-index:3; width:22px; height:22px; border-radius:6px;
  border:2px solid #fff; background:rgba(0,0,0,.35); display:grid; place-items:center; cursor:pointer; color:#fff; font-size:14px; }
.cmp-check.on { background:var(--accent); border-color:var(--accent); }
.compare-bar { position:fixed; left:50%; bottom:18px; transform:translateX(-50%) translateY(140%); z-index:1150;
  display:flex; align-items:center; gap:14px; background:var(--surface); border:1px solid var(--line);
  border-radius:14px; box-shadow:var(--shadow); padding:10px 14px; transition:transform .35s cubic-bezier(.2,.7,.2,1); }
.compare-bar.show { transform:translateX(-50%) translateY(0); }
.compare-bar .thumbs { display:flex; gap:6px; }
.compare-bar .thumbs span { width:34px; height:34px; border-radius:8px; background:var(--surface-2); border:1px solid var(--line);
  display:grid; place-items:center; font-size:11px; overflow:hidden; }
.compare-bar .thumbs span img, .compare-bar .thumbs span svg { width:100%; height:100%; object-fit:cover; }
.cmp-modal .cmp-table { width:100%; border-collapse:collapse; font-size:13.5px; }
.cmp-modal .cmp-table th, .cmp-modal .cmp-table td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
.cmp-modal .cmp-table th { color:var(--muted); font-weight:600; width:84px; }
.cmp-modal .cmp-table td b { color:var(--accent); }
.cmp-modal { background: rgba(20,16,10,.55); }
.cmp-modal .panel { top:50%; bottom:auto; left:50%; transform:translate(-50%,-50%); max-height:84vh; overflow:auto; }

/* 38 · 站内搜索 */
.search-wrap { position:relative; display:flex; align-items:center; }
.search-wrap input { width:180px; padding:8px 12px 8px 34px; border:1px solid var(--line); border-radius:99px;
  background:var(--surface-2); color:var(--ink); font-size:13.5px; transition:width .25s, border-color .2s; }
.search-wrap input:focus { width:230px; border-color:var(--brand); outline:none; }
.search-wrap svg { position:absolute; left:11px; width:16px; height:16px; color:var(--muted); pointer-events:none; }
.search-results { position:absolute; top:calc(100% + 8px); left:0; right:0; background:var(--surface);
  border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); overflow:hidden; display:none; max-height:340px; overflow-y:auto; z-index:200; }
.search-results.open { display:block; }
.search-results a { display:flex; align-items:center; gap:10px; padding:9px 12px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--line); }
.search-results a:last-child { border-bottom:none; }
.search-results a:hover { background:var(--surface-2); }
.search-results .sr-thumb { width:34px; height:34px; border-radius:7px; background:var(--surface-2); overflow:hidden; flex-shrink:0; }
.search-results .sr-thumb img, .search-results .sr-thumb svg { width:100%; height:100%; object-fit:cover; }
.search-results small { color:var(--muted); }
.search-results .sr-empty { padding:14px; color:var(--muted); font-size:13px; text-align:center; }

/* 39 · 评价富化 */
.review-card .rc-top { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.review-card .avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--brand),var(--gold));
  color:#fff; display:grid; place-items:center; font-weight:700; font-size:15px; flex-shrink:0; }
.review-card .who { line-height:1.3; }
.review-card .who b { font-size:14px; }
.review-card .who .meta { font-size:12px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.review-card .verified { color:var(--brand-dark); font-weight:600; }
.review-card .verified svg { width:13px; height:13px; vertical-align:-2px; }
.review-card .helpful { margin-top:10px; font-size:12.5px; color:var(--muted); }
.review-card .helpful button { background:none; border:1px solid var(--line); border-radius:99px; padding:3px 10px; cursor:pointer; color:var(--muted); font-size:12px; }
.review-card .helpful button:hover { border-color:var(--brand); color:var(--brand-dark); }

/* 40 · 热度标签 */
.heat-badge { display:inline-block; font-size:11px; font-weight:700; color:#fff; background:linear-gradient(135deg,#E08A6A,#D9534F);
  padding:2px 8px; border-radius:99px; margin-left:6px; vertical-align:middle; }

/* 41 · 数字计数（进入视口动画） */
.count-num { font-variant-numeric:tabular-nums; }

/* 42 · 404 */
.notfound { min-height:62vh; display:grid; place-items:center; text-align:center; padding:60px 20px; }
.notfound .nf-code { font-size:96px; font-weight:800; color:var(--gold); line-height:1; font-family:"Songti SC",serif; }
.notfound h1 { font-size:24px; margin:14px 0 8px; }
.notfound p { color:var(--muted); margin-bottom:22px; }

/* 43 · 联系表单 */
.contact-form { display:grid; gap:14px; max-width:520px; }
.contact-form .row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form input, .contact-form textarea { width:100%; padding:11px 13px; border:1px solid var(--line); border-radius:10px;
  background:var(--surface-2); color:var(--ink); font:inherit; }
.contact-form textarea { resize:vertical; min-height:110px; }
.contact-form label { font-size:13px; color:var(--muted); margin-bottom:5px; display:block; }

/* 45 · 骨架屏 */
.skeleton .sk-card { background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.skeleton .sk-art, .skeleton .sk-line { background:linear-gradient(100deg,var(--surface-2) 30%,var(--line-2) 50%,var(--surface-2) 70%);
  background-size:200% 100%; animation:sk 1.2s infinite; }
.skeleton .sk-art { aspect-ratio:1/1; }
.skeleton .sk-body { padding:12px 14px; display:grid; gap:9px; }
.skeleton .sk-line { height:11px; border-radius:6px; }
.skeleton .sk-line.w70 { width:70%; } .skeleton .sk-line.w40 { width:40%; }
@keyframes sk { 0% { background-position:200% 0; } 100% { background-position:-200% 0; } }

/* 46 · PWA 安装提示 */
.pwa-install { position:fixed; left:50%; bottom:18px; transform:translateX(-50%) translateY(160%); z-index:1160;
  background:var(--brand); color:#fff; border-radius:99px; padding:10px 18px; font-size:13.5px; font-weight:600;
  box-shadow:var(--shadow); cursor:pointer; transition:transform .35s ease; display:flex; align-items:center; gap:8px; }
.pwa-install.show { transform:translateX(-50%) translateY(0); }

/* 48 · 无障碍 */
.skip-link { position:absolute; left:-999px; top:8px; z-index:2000; background:var(--brand); color:#fff; padding:8px 16px; border-radius:8px; }
.skip-link:focus { left:12px; }
:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.aria-live { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* 49 · 隐私条 */
.privacy-bar { position:fixed; left:0; right:0; bottom:0; z-index:1180; background:var(--surface); border-top:1px solid var(--line);
  box-shadow:0 -6px 24px rgba(0,0,0,.12); padding:12px 18px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.privacy-bar p { margin:0; font-size:13px; color:var(--muted); flex:1; min-width:200px; }
.privacy-bar a { color:var(--brand-dark); }

/* 44 · 打印 */
@media print {
  .header, .footer, .topbar, .announce, .scroll-progress, .nav, .burger, .cart-btn, .theme-toggle,
  .wish-fab, .quick-contact, .to-top, .compare-bar, .privacy-bar, .pwa-install, .mobile-bar { display:none !important; }
  body { background:#fff; color:#000; }
  .panel, .card { break-inside:avoid; box-shadow:none; border:1px solid #ccc; }
}

@media (max-width: 860px) { .reco-grid { grid-template-columns:repeat(2,1fr); } .contact-form .row { grid-template-columns:1fr; } #flowGrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { #flowGrid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .search-wrap input { width:130px; } .search-wrap input:focus { width:160px; } }

/* ===== P0 · 高端土特产优化 ===== */
/* 演示模式提示条（SHOP.demo=false 时自动消失） */
.demo-bar { background:#7A3B22; color:#fff; text-align:center; font-size:12.5px; padding:6px 14px; letter-spacing:.02em; }
.demo-bar::before { content:"● "; color:#F3B26A; }

/* 坏果必赔保障条 */
.guarantee { padding-top:4px; }
.g-box { display:grid; grid-template-columns:1.3fr 1fr; gap:28px; align-items:center;
  background:var(--brand); color:#fff; border-radius:var(--radius-l); padding:34px 38px;
  box-shadow:var(--shadow); position:relative; overflow:hidden; }
.g-box::after { content:""; position:absolute; right:-40px; top:-40px; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.06); }
.g-badge { display:inline-block; background:var(--gold); color:#2A1E0E; font-weight:700; font-size:13px; padding:5px 14px; border-radius:999px; margin-bottom:14px; }
.g-left h2 { color:#fff; font-size:26px; margin:0 0 10px; }
.g-left p { color:rgba(255,255,255,.85); margin:0 0 18px; }
.g-trust { display:flex; gap:14px; flex-wrap:wrap; font-size:14px; }
.g-trust span { background:rgba(255,255,255,.12); padding:7px 14px; border-radius:999px; }
.g-steps { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; position:relative; z-index:1; }
.g-steps li { display:flex; flex-direction:column; gap:2px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:14px 18px; }
.g-steps b { font-size:15px; color:#F3D9A6; }
.g-steps span { font-size:13px; color:rgba(255,255,255,.82); }

/* 产品详情多图轮播 */
.modal-art .m-main { border-radius:var(--radius); overflow:hidden; background:var(--surface-2); }
.modal-art .m-main img { width:100%; height:auto; display:block; aspect-ratio:1/1; object-fit:cover; cursor:zoom-in; }
.modal-art .m-thumbs { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.modal-art .m-th { width:54px; height:54px; border-radius:12px; overflow:hidden; border:2px solid transparent; padding:0; cursor:pointer; background:var(--surface-2); }
.modal-art .m-th img { width:100%; height:100%; object-fit:cover; }
.modal-art .m-th.on { border-color:var(--brand); }

@media (max-width: 860px) {
  .g-box { grid-template-columns:1fr; padding:26px 22px; gap:20px; }
  .g-left h2 { font-size:22px; }
}

/* 国家地理标志徽章 / 专区（P1-5） */
.card-art { position:relative; }
.geo-badge { position:absolute; top:10px; left:10px; z-index:3; display:inline-flex; align-items:center; gap:4px;
  background:linear-gradient(135deg,#C9971F,#E6B84B); color:#2A1E0E; font-size:11px; font-weight:700;
  padding:4px 9px 4px 7px; border-radius:999px; box-shadow:0 2px 8px rgba(0,0,0,.18); white-space:nowrap; }
.geo-badge svg { width:13px; height:13px; flex:none; }
.modal-geo { display:inline-flex; align-items:center; gap:7px; background:var(--gold); color:#2A1E0E;
  border-radius:999px; padding:6px 13px; margin-bottom:12px; font-size:13px; font-weight:700; }
.modal-geo svg { width:15px; height:15px; flex:none; }
.chip-geo.on { background:var(--gold); color:#2A1E0E; border-color:var(--gold); }

/* 送礼页（P1-6） */
.gift-scenes { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:26px 0 4px; }
.scene-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px 14px; text-align:center; }
.scene-card .sc-ic { width:42px; height:42px; margin:0 auto 10px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--brand); color:#F0DCA6; }
.scene-card .sc-ic svg { width:22px; height:22px; }
.scene-card b { display:block; font-size:15px; color:var(--ink); }
.scene-card span { font-size:12.5px; color:var(--muted); }
.bundle-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.bundle-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-l); padding:22px 20px; display:flex; flex-direction:column; gap:10px; }
.bundle-card .bc-head b { font-size:17px; color:var(--ink); }
.bundle-card .bc-desc { font-size:13.5px; color:var(--muted); margin:0; }
.bundle-card .bc-items { display:flex; flex-wrap:wrap; gap:6px; }
.bundle-card .bc-items span { font-size:12px; background:var(--surface-2); color:var(--ink); padding:4px 10px; border-radius:999px; }
.bundle-card .bc-tip { font-size:12.5px; color:var(--brand); margin:0 0 4px; }
.bundle-card .btn { margin-top:auto; align-self:flex-start; }
.gift-form { max-width:680px; margin:0 auto; }
.charcount { text-align:right; font-size:12px; color:var(--muted); margin-top:4px; }
@media (max-width:760px){
  .gift-scenes { grid-template-columns:repeat(2,1fr); }
  .bundle-grid { grid-template-columns:1fr; }
}

/* 企业团购页（P1-7） */
.tier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
.tier-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-l); padding:26px 22px 24px; text-align:center; position:relative; }
.tier-card.tier-hot { border-color:var(--gold); box-shadow:0 6px 24px rgba(201,151,31,.18); }
.tier-card.tier-hot::before { content:"最受欢迎"; position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--gold); color:#2A1E0E; font-size:12px; font-weight:700; padding:3px 12px; border-radius:999px; }
.tier-q { font-size:16px; color:var(--ink); font-weight:600; }
.tier-off { font-size:19px; color:var(--brand); margin:8px 0 6px; }
.tier-off b { font-size:24px; }
.tier-card p { font-size:13px; color:var(--muted); margin:0; }
.tier-note { text-align:center; font-size:13px; color:var(--muted); margin-top:18px; line-height:1.7; }
@media (max-width:760px){ .tier-grid { grid-template-columns:1fr; } }

/* 时令产地专栏（P1-8） */
.journal-list { max-width:820px; margin:0 auto; }
.j-item { margin-bottom:12px; }
.j-head { width:100%; display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; text-align:left; cursor:pointer; transition:border-color .15s; }
.j-head:hover { border-color:var(--brand); }
.j-cat { font-size:11px; color:var(--brand); background:var(--surface-2); padding:3px 9px; border-radius:999px; flex:none; white-space:nowrap; }
.j-head b { flex:1; font-size:15.5px; color:var(--ink); font-weight:600; }
.j-plus { font-size:22px; color:var(--muted); flex:none; line-height:1; }
.j-body { display:none; padding:4px 18px 18px; color:var(--muted); font-size:14px; line-height:1.85; }
.j-body.open { display:block; }
.j-body p { margin:0 0 10px; }

/* ============================================================
   精致化覆盖层（高级感升级）
   原则：克制色板 · 优雅衬线 · 利落圆角 · 大留白 · 细金线
   ============================================================ */
h1, h2, h3, h4 { font-weight: 600; }

.gold-rule {
  width: 46px; height: 2px; border: none;
  background: linear-gradient(90deg, var(--gold), rgba(168,130,63,0));
  margin: 0 0 18px; border-radius: 2px;
}
.section-head.center .gold-rule { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { font-size: 12px; letter-spacing: .32em; }
.section-head h2 { font-size: 33px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.section-head p { font-size: 15px; line-height: 1.8; }

.hero-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .28em;
  color: var(--brand); text-transform: uppercase; padding-left: 14px; position: relative;
}
.hero-kicker::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 2px; background: var(--gold);
}
.hero h1 em { position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: linear-gradient(90deg, rgba(168,130,63,.34), rgba(168,130,63,.10));
  border-radius: 4px; z-index: -1;
}
.hero-lede { line-height: 1.85; }
.hero-facts div b { font-weight: 600; }

.card { border: 1px solid var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card:hover .card-art img,
.card:hover .card-art .art-img,
.card:hover .card-art svg { transform: scale(1.05); }
.card-art img, .card-art .art-img, .card-art svg { transition: transform .4s cubic-bezier(.2,.8,.3,1); }
.card-art { border-bottom: 1px solid var(--line); }
.card-body { padding: 18px 20px 20px; }
.card-body h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

.price b { color: var(--ink); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }

.btn { font-weight: 600; letter-spacing: .04em; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(42,74,59,.20); }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--brand-dark); transform: translateY(-1px); }

.usp-item .ico { border: 1px solid var(--gold-soft); }
.usp-item .ico svg { stroke: var(--gold); }
.usp-item b { font-weight: 600; letter-spacing: -.01em; }

.geo-badge, .modal-geo, .chip-geo.on, .g-badge, .tier-card.tier-hot::before {
  background: linear-gradient(135deg, #B8893A, #D8AE55); color: #241A06;
}

.chip.on, .price-filter .pf.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.grid .card, .reco-grid .card, .bundle-card, .tier-card, .scene-card, .usp-item {
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s, border-color .3s, opacity .5s;
}

@media (min-width: 761px) {
  .section { padding: 96px 0; }
  .hero-inner { padding: 88px 0 96px; gap: 56px; }
  .hero h1 { font-size: 56px; line-height: 1.16; letter-spacing: -.03em; }
  .hero-lede { font-size: 17px; }
  .hero-facts { gap: 40px; }
}

/* 深色模式：更黑更高级 */
html[data-theme="dark"] {
  --bg: #13140F; --surface: #1B1C16; --surface-2: #23241C;
  --ink: #EDEAE0; --ink-2: #B7B6AC; --muted: #807E73;
  --brand: #6F9A82; --brand-dark: #8FB39E; --brand-soft: #243029;
  --gold: #C9A24F; --gold-soft: #2C2615; --line: #2E2F25; --line-2: #3A3B2F;
  --accent: #C9704E; --accent-soft: #2E221B; --danger: #C9704E;
}
html[data-theme="dark"] .hero { background: linear-gradient(180deg, #16170F 0%, #121309 58%, #121309 100%); }
html[data-theme="dark"] .hero h1 em::after { background: linear-gradient(90deg, rgba(201,162,79,.30), rgba(201,162,79,.06)); }

/* 信任背书（P2-11） */
.endo-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.endo-quote { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; }
.eq-mark { font-family: var(--serif); font-size: 54px; line-height: .6; color: var(--gold); opacity: .5; height: 24px; }
.eq-text { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--ink); margin: 10px 0 14px; letter-spacing: -.01em; }
.eq-who { font-size: 13px; color: var(--muted); }
.eq-who b { color: var(--brand-dark); font-weight: 600; }

.endo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.endo-reports { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.report-card img, .report-ph { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.report-ph {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--bg) 10px, var(--bg) 20px);
  color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); line-height: 1.6;
}
.report-ph small { color: var(--muted); font-size: 11px; }
.report-meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.report-meta b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.report-meta span { font-size: 12.5px; color: var(--brand-dark); }
.report-meta small { font-size: 12px; color: var(--muted); }

.endo-partners-h { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.partner-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.partner-cell { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 10px; text-align: center; background: var(--surface); transition: border-color .2s, transform .2s; }
.partner-cell:hover { border-color: var(--gold); transform: translateY(-2px); }
.partner-cell b { display: block; font-size: 14px; color: var(--ink); }
.partner-cell span { font-size: 11.5px; color: var(--muted); }

@media (max-width: 860px) {
  .endo-quotes, .endo-row { grid-template-columns: 1fr; }
  .partner-wall { grid-template-columns: repeat(2, 1fr); }
}

/* 顶栏更精致 */
.topbar { font-size: 12.5px; letter-spacing: .03em; }
.topbar .wrap { gap: 28px; }
.topbar b { color: var(--gold); }

/* 页脚更高级：顶部细金线 + 衬线金标题 */
.footer { background: #15241C; position: relative; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55;
}
.footer h4 { color: var(--gold-soft); font-family: var(--serif); letter-spacing: .04em; font-weight: 600; }
.footer a, .footer li { line-height: 2; }
.footer-brand p { line-height: 1.8; }

/* ============================================================
   P2-9 会员 / 积分 / 储值体系
   ============================================================ */
/* 顶栏会员按钮 */
.member-btn {
  --mc: #b8923f;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface);
  color: var(--ink); cursor: pointer; font-size: 12.5px; font-weight: 600;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.member-btn:hover { border-color: var(--mc); box-shadow: 0 2px 10px rgba(184,146,63,.18); transform: translateY(-1px); }
.member-btn svg { width: 15px; height: 15px; color: var(--mc); }
.member-btn .mb-level { color: var(--mc); font-size: 12px; }
.member-btn .mb-points { color: var(--muted); font-size: 11px; padding-left: 6px; border-left: 1px solid var(--line); }
@media (max-width: 980px) {
  .member-btn .mb-level, .member-btn .mb-points { display: none; }
  .member-btn { padding: 7px 9px; }
}

/* 商品卡会员价标签 */
.vip-flag {
  display: inline-flex; align-items: baseline; gap: 3px;
  margin-left: 8px; padding: 3px 8px; border-radius: 8px;
  background: linear-gradient(180deg, #fbf3df, #f3e6c4);
  border: 1px solid #e7d09a; color: #8a6a22; font-size: 11.5px; font-weight: 700;
}
.vip-flag b { font-size: 13px; }
[data-theme="dark"] .vip-flag { background: rgba(184,146,63,.16); border-color: rgba(184,146,63,.4); color: #e3c480; }

/* 详情弹窗会员价 */
.spec-vip { font-style: normal; color: #b8923f; font-size: 11px; margin-left: 4px; }
.modal-vip { display: inline-block; margin-left: 8px; font-size: 12.5px; font-weight: 700; color: #b8923f; }
.sticky-vip { font-style: normal; color: #b8923f; font-size: 10.5px; margin-left: 4px; }

/* 会员中心弹窗 */
.mcenter-overlay {
  position: fixed; inset: 0; z-index: 9999; display: none;
  background: rgba(15,24,18,.55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity .25s ease;
}
.mcenter-overlay.show { opacity: 1; }
.mcenter-card {
  --mc: #b8923f;
  width: min(440px, 100%); max-height: 88vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.32);
  padding: 26px 24px 24px; position: relative;
  transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.8,.3,1);
}
.mcenter-overlay.show .mcenter-card { transform: none; }
.mcenter-close {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border: none; background: var(--surface-2); border-radius: 50%;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
}
.mcenter-close:hover { color: var(--ink); background: var(--line); }
.mc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mc-avatar {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--serif); font-size: 26px; font-weight: 800;
  color: #fff; background: linear-gradient(145deg, #3A6353, #1B2E26);
  border: 1px solid var(--mc);
}
.mc-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.mc-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.mc-sub b { color: var(--mc); font-size: 15px; }
.mc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mc-stats > div { text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mc-stats span { display: block; font-size: 19px; font-weight: 800; color: var(--ink); font-family: var(--serif); }
.mc-stats small { font-size: 11px; color: var(--muted); }
.mc-progress { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mc-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #C9A24F, #b8923f); transition: width .5s ease; }
.mc-gap { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 4px; }
.mc-section { margin-top: 20px; }
.mc-section h4 { font-size: 13px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.mc-recharge { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rc-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.rc-btn:hover { border-color: var(--mc); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(184,146,63,.16); }
.rc-btn b { font-size: 16px; color: var(--ink); }
.rc-btn span { font-size: 12px; color: #b8923f; }
.mc-tip { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.mc-rights { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mc-rights li { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.mc-rights li.on { border-color: var(--mc); background: rgba(184,146,63,.08); }
.mc-rights li b { font-size: 13.5px; color: var(--ink); }
.mc-rights li span { font-size: 12px; color: var(--muted); }
.mc-rights li.on span { color: #b8923f; }
.mc-log { display: flex; flex-direction: column; gap: 2px; max-height: 200px; overflow: auto; }
.mc-log-row { display: flex; align-items: center; gap: 8px; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mc-log-row:last-child { border-bottom: none; }
.mc-log-t { color: var(--muted); font-size: 11.5px; flex-shrink: 0; width: 52px; }
.mc-tag { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; flex-shrink: 0; }
.mc-tag.earn { background: rgba(46,90,69,.12); color: var(--brand-dark); }
.mc-tag.gift { background: rgba(184,146,63,.16); color: #b8923f; }
.mc-log-note { color: var(--ink); flex: 1; }
.mc-log-row b { color: #b8923f; font-size: 13px; }
.mc-empty { font-size: 12.5px; color: var(--muted); text-align: center; padding: 18px 0; }
@media (max-width: 480px) {
  .mc-stats span { font-size: 16px; }
  .mcenter-card { padding: 22px 18px 20px; }
}

