/* ==========================================================================
   墨乐诺佑 · 精选生活商城  —  全局样式
   ========================================================================== */

:root {
  --bg: #f7f4ef;
  --bg-warm: #f1ece2;
  --surface: #ffffff;
  --ink: #17191c;
  --ink-2: #55595f;
  --ink-3: #8b8f96;
  --line: #e7e1d6;
  --line-strong: #d8d1c3;
  --gold: #b3863f;
  --gold-soft: #d9bd8b;
  --price: #b23a2e;
  --green: #2f7d5d;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(23, 25, 28, .05);
  --shadow-md: 0 12px 30px -12px rgba(23, 25, 28, .22);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", "STSong", Georgia, serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

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

.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;
}

/* ---------- 基础元件 ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.serif { font-family: var(--font-serif); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2c3037; }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9d7434; }

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

.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.link-more:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- 顶部公告条 ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left .dot { width: 3px; height: 3px; background: var(--gold-soft); border-radius: 50%; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a:hover { color: #fff; }

/* ---------- 主站头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-soft);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: .16em;
  line-height: 1.2;
}
.brand-en {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--ink-3);
  margin-top: 3px;
}

.header-search {
  flex: 1;
  max-width: 460px;
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: #fbf9f5;
  border-radius: 21px;
  padding: 0 6px 0 18px;
  transition: border-color .2s, background .2s;
}
.header-search:focus-within { border-color: var(--ink); background: #fff; }
.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  min-width: 0;
}
.header-search input::placeholder { color: var(--ink-3); }
.header-search button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
}
.header-search button:hover { background: var(--bg-warm); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.icon-link:hover { color: var(--ink); background: var(--bg-warm); }
.icon-link .count {
  min-width: 17px; height: 17px;
  padding: 0 4px;
  background: var(--price);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  border-radius: 9px;
}
.icon-link .count.is-empty { background: var(--line-strong); color: var(--ink-2); }

/* ---------- 导航 ---------- */

.nav-bar { border-top: 1px solid var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 50px;
}
.nav-link {
  position: relative;
  padding: 0 16px;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--ink-2);
  line-height: 50px;
  transition: color .2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 2px;
  background: var(--gold);
}
.nav-spacer { flex: 1; }
.nav-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-3);
}

.menu-toggle { display: none; }

/* ---------- 页面横幅 ---------- */

.page-hero {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 52px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  letter-spacing: .08em;
  font-weight: 500;
  margin: 12px 0 10px;
}
.page-hero p { color: var(--ink-2); max-width: 620px; }

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

.hero {
  position: relative;
  background: #efe9df;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 580px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px 72px 0;
  max-width: 560px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 54px;
  line-height: 1.18;
  letter-spacing: .06em;
  font-weight: 500;
  margin: 22px 0 25px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-text {
  color: var(--ink-2);
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.02);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  max-width: 420px;
}
.hero-stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}
.hero-stat span { font-size: 12px; color: var(--ink-3); letter-spacing: .05em; }

/* ---------- 服务保障条 ---------- */

.service-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.service-item:first-child { border-left: 0; padding-left: 0; }
.service-item svg { flex-shrink: 0; color: var(--gold); }
.service-item b { display: block; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.service-item span { font-size: 12px; color: var(--ink-3); }

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

.section { padding: 78px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.section-head .titles h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .06em;
  margin-top: 8px;
}
.section-head .titles p { color: var(--ink-3); font-size: 13px; margin-top: 6px; }

/* ---------- 分类导航 ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cat-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 20px 26px;
  text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.cat-item:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-item svg { display: block; margin: 0 auto 14px; color: var(--ink); }
.cat-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.cat-item span { font-size: 10px; letter-spacing: .18em; color: var(--ink-3); }

/* ---------- 商品卡片 ---------- */

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.product-card:hover {
  border-color: #cfc7b7;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2ede4;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.product-card:hover .product-media img { transform: scale(1.13); }

.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: .12em;
  background: var(--ink);
  color: #fff;
  line-height: 1.5;
}
.badge.gold { background: var(--gold); }
.badge.red { background: var(--price); }
.badge.light { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }

.product-media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

.quick-add {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.product-card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-cat {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.45;
}
.product-name a:hover { color: var(--gold); }
.product-sub { font-size: 12px; color: var(--ink-3); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.price-now {
  color: var(--price);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.price-now .sym { font-size: 12px; margin-right: 1px; }
.price-old { color: var(--ink-3); font-size: 12px; text-decoration: line-through; }
.price-off { font-size: 11px; color: var(--price); border: 1px solid #e6c3bd; padding: 1px 5px; }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 6px;
}
.stars { color: var(--gold); letter-spacing: .05em; }

/* ---------- 首页精选 tabs ---------- */

.tabs { display: flex; gap: 26px; flex-wrap: wrap; }
.tab {
  padding: 4px 0 8px;
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 600; border-color: var(--gold); }

/* ---------- 品牌故事 ---------- */

.editorial {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 64px;
}
.editorial-media {
  position: relative;
  background: #eee7dc;
  overflow: hidden;
}
.editorial-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.03);
}
.editorial-media .frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  pointer-events: none;
}
.editorial-copy h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.35;
  margin: 14px 0 20px;
}
.editorial-copy p { color: var(--ink-2); margin-bottom: 14px; }
.editorial-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin: 28px 0 34px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.editorial-points b {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .04em;
}
.editorial-points span { font-size: 12px; color: var(--ink-3); }

/* ---------- 数据条 ---------- */

.stats-band {
  background: var(--ink);
  color: #fff;
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 24px;
  text-align: center;
}
.stats-band b {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold-soft);
}
.stats-band span { font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .62); }

/* ---------- 订阅 ---------- */

.subscribe {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}
.subscribe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.subscribe h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.subscribe p { color: rgba(255, 255, 255, .6); font-size: 13px; }
.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input {
  width: 280px;
  height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  outline: none;
  border-radius: var(--radius);
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .38); }
.subscribe-form input:focus { border-color: var(--gold-soft); }

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

.site-footer {
  background: #101215;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand-name { color: #fff; font-size: 20px; }
.footer-brand .brand-en { color: rgba(255, 255, 255, .38); }
.footer-brand p { margin-top: 20px; max-width: 280px; line-height: 1.9; font-size: 12px; }
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col .with-icon { display: flex; gap: 9px; line-height: 1.7; }
.footer-col .with-icon svg { flex-shrink: 0; margin-top: 4px; color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 面包屑 ---------- */

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 12px;
  color: var(--ink-3);
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-strong); }
.crumbs .now { color: var(--ink); }

/* ---------- 列表页 ---------- */

.list-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 80px;
}
.filters { position: sticky; top: 156px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 0 0 22px; margin-bottom: 22px; }
.filter-group h4 {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
}
.filter-list li { margin-bottom: 9px; }
.filter-list a, .filter-list button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  padding: 3px 0;
  text-align: left;
}
.filter-list a:hover, .filter-list button:hover { color: var(--gold); }
.filter-list .is-active { color: var(--ink); font-weight: 600; }
.filter-list .num { color: var(--ink-3); font-size: 11px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .2s;
  background: #fff;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.filter-note {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-3);
}
.filter-note b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 13px; }

.sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.sort-tabs { display: flex; gap: 6px; }
.sort-tab {
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .2s;
}
.sort-tab:hover { color: var(--ink); }
.sort-tab.is-active { background: var(--ink); color: #fff; }
.result-meta { font-size: 12px; color: var(--ink-3); }
.result-meta b { color: var(--ink); font-weight: 600; }

.empty-state {
  padding: 80px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
}
.empty-state svg { margin: 0 auto 18px; color: var(--line-strong); }
.empty-state h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.empty-state p { color: var(--ink-3); font-size: 13px; margin-bottom: 22px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  padding: 0 10px;
  border-radius: var(--radius);
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 商品详情 ---------- */

.detail-layout {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 64px;
  padding-bottom: 20px;
}
.gallery-main {
  background: #f2ede4;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.055);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumb {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f2ede4;
  padding: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.gallery-thumb.is-active { border-color: var(--ink); }

.buy-panel { padding-top: 4px; }
.buy-panel h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 10px 0 6px;
}
.buy-sub { color: var(--ink-3); font-size: 13px; margin-bottom: 22px; }

.price-block {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-block .price-now { font-size: 34px; }
.price-block .price-old { font-size: 14px; }
.price-block .save {
  margin-left: auto;
  font-size: 11px;
  color: var(--price);
  border: 1px solid #e6c3bd;
  padding: 2px 8px;
}

.meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
  padding: 16px 2px 0;
}
.meta-row b { color: var(--ink); font-weight: 600; }

.spec-group { padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.spec-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-3);
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.spec-label b { color: var(--ink); font-size: 12px; letter-spacing: .1em; }
.spec-options { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-option {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: all .2s;
}
.spec-option:hover { border-color: var(--ink); color: var(--ink); }
.spec-option.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.buy-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 26px 0 18px; }
.qty {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button { width: 42px; height: 100%; font-size: 16px; color: var(--ink-2); }
.qty button:hover { background: var(--bg-warm); color: var(--ink); }
.qty input {
  width: 52px; height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  outline: none;
  font-size: 14px;
}
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.promise {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 18px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
.promise span { display: flex; align-items: center; gap: 6px; }
.promise svg { color: var(--gold); }

.detail-sections { padding: 30px 0 80px; }
.detail-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.detail-tab {
  padding: 16px 0;
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.detail-tab:hover { color: var(--ink); }
.detail-tab.is-active { color: var(--ink); font-weight: 600; border-color: var(--gold); }

.detail-body-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose .lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.9;
}
.prose ul { margin: 18px 0 24px; }
.prose li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--gold);
}

.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 8px;
  background: var(--surface);
}
.param-table th, .param-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
}
.param-table th { background: var(--bg-warm); color: var(--ink); font-weight: 500; width: 120px; }
.param-table td { color: var(--ink-2); }

.review-list { display: flex; flex-direction: column; gap: 0; }
.review {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.review-user b { display: block; font-size: 13px; }
.review-user span { font-size: 11px; color: var(--ink-3); }
.review-body .stars { font-size: 12px; letter-spacing: .12em; }
.review-body p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.review-tags { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.review-tags span {
  font-size: 10px;
  color: var(--ink-3);
  background: var(--bg-warm);
  padding: 2px 8px;
}
.rating-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.rating-score b {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.rating-score span { display: block; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rating-bar { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-3); }
.rating-bar .track { flex: 1; height: 4px; background: var(--line); }
.rating-bar .fill { height: 100%; background: var(--gold); }

/* ---------- 购物车 ---------- */

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding-bottom: 80px; }
.cart-head-row {
  display: grid;
  grid-template-columns: 40px 1fr 130px 150px 100px 40px;
  gap: 16px;
  align-items: center;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.cart-row {
  display: grid;
  grid-template-columns: 40px 1fr 130px 150px 100px 40px;
  gap: 16px;
  align-items: center;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.cart-row:first-of-type { border-top: 1px solid var(--line); }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-thumb {
  width: 82px; height: 82px;
  background: #f2ede4;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.cart-item-name { font-size: 14px; font-weight: 600; line-height: 1.5; }
.cart-item-name:hover { color: var(--gold); }
.cart-item-spec { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.cart-item-price { font-size: 14px; }
.cart-item-total { font-size: 16px; font-weight: 700; color: var(--price); }
.cart-remove { color: var(--ink-3); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.cart-remove:hover { background: #fbeae7; color: var(--price); }
.cart-qty { display: flex; align-items: center; height: 36px; border: 1px solid var(--line-strong); width: fit-content; background: #fff; }
.cart-qty button { width: 32px; height: 100%; color: var(--ink-2); }
.cart-qty button:hover { background: var(--bg-warm); }
.cart-qty span { width: 40px; text-align: center; font-size: 13px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 34px; }

.check {
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 2px;
  display: grid; place-items: center;
  color: transparent;
  flex-shrink: 0;
  padding: 0;
}
.check.is-checked { background: var(--ink); border-color: var(--ink); color: #fff; }

.cart-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  margin-top: 18px;
  flex-wrap: wrap;
}
.cart-bar .check-line { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.cart-bar .right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.cart-bar .sum { font-size: 13px; color: var(--ink-2); }
.cart-bar .sum b { color: var(--price); font-size: 24px; margin-left: 4px; }

.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  position: sticky;
  top: 156px;
}
.summary-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .08em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.summary-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 11px; }
.summary-line .free { color: var(--green); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
.summary-total b { color: var(--price); font-size: 28px; }
.summary-card .btn { margin-top: 20px; }
.summary-note { font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 12px; line-height: 1.8; }

/* ---------- 结算 / 表单 ---------- */

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.checkout-steps .step { display: flex; align-items: center; gap: 8px; }
.checkout-steps .n {
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
  background: #fff;
}
.checkout-steps .step.active { color: var(--ink); font-weight: 600; }
.checkout-steps .step.active .n { background: var(--ink); color: #fff; border-color: var(--ink); }
.checkout-steps .step.done .n { background: #eef6f1; color: var(--green); border-color: #cfe3d8; }
.checkout-steps .arrow { color: var(--line-strong); }

.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; padding-bottom: 80px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 32px;
  margin-bottom: 24px;
}
.panel-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.panel-head h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
}
.panel-head span { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.field label .req { color: var(--price); }
.field input, .field select, .field textarea {
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fdfcfa;
  padding: 0 14px;
  outline: none;
  border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-size: 14px;
}
.field textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 134, 63, .12);
}
.field .hint { font-size: 11px; color: var(--ink-3); }
.field.invalid input { border-color: var(--price); }
.field .err { font-size: 11px; color: var(--price); display: none; }
.field.invalid .err { display: block; }

.delivery-options, .pay-methods { display: grid; gap: 12px; }
.delivery-option, .pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  border-radius: var(--radius);
  background: #fff;
}
.delivery-option:hover, .pay-method:hover { border-color: var(--ink); }
.delivery-option.is-active, .pay-method.is-active { border-color: var(--ink); background: #fcfaf6; }
.delivery-option b, .pay-method b { font-size: 13px; font-weight: 600; display: block; }
.delivery-option span, .pay-method span { font-size: 11px; color: var(--ink-3); }
.delivery-option .price-tag, .pay-method .price-tag { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.pay-method .pay-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; flex-shrink: 0; }

.order-mini { background: #fff; border: 1px solid var(--line); padding: 26px; position: sticky; top: 156px; }
.order-mini h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 500; letter-spacing: .08em; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-mini .items { max-height: 300px; overflow: auto; margin-bottom: 6px; }
.mini-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.mini-item:last-child { border-bottom: 0; }
.mini-thumb { width: 54px; height: 54px; border: 1px solid var(--line); overflow: hidden; background: #f2ede4; flex-shrink: 0; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.mini-info { flex: 1; min-width: 0; }
.mini-info b { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.mini-info span { font-size: 11px; color: var(--ink-3); }
.mini-price { font-size: 12px; text-align: right; white-space: nowrap; }

.notice-line {
  display: flex;
  gap: 9px;
  background: #fbf7ee;
  border: 1px solid #eadfc6;
  padding: 12px 14px;
  font-size: 12px;
  color: #7d6539;
  line-height: 1.7;
  margin-top: 18px;
}
.notice-line svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- 支付页 ---------- */

.pay-wrap { max-width: 860px; margin: 0 auto; padding: 12px 0 80px; }
.pay-head { text-align: center; padding: 36px 0 30px; }
.pay-head h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .08em;
  margin: 12px 0 8px;
}
.pay-head p { font-size: 13px; color: var(--ink-3); }
.pay-amount {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 500;
  color: var(--price);
  letter-spacing: .02em;
  margin: 18px 0 4px;
}
.pay-amount .sym { font-size: 22px; margin-right: 2px; }
.countdown { font-size: 12px; color: var(--ink-3); }
.countdown b { color: var(--price); font-weight: 600; font-variant-numeric: tabular-nums; }

.pay-card { background: #fff; border: 1px solid var(--line); padding: 32px 38px 36px; }
.pay-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.pay-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.pay-tab:hover { color: var(--ink); }
.pay-tab.is-active { color: var(--ink); font-weight: 600; border-color: var(--gold); }
.pay-tab svg { flex-shrink: 0; }

.pay-body { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.qr-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  text-align: center;
}
.qr-box canvas { width: 100%; height: auto; display: block; }
.qr-box .qr-tip { font-size: 11px; color: var(--ink-3); margin-top: 10px; }
.qr-brand { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 12px; font-size: 12px; color: var(--ink-2); }

.pay-steps li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 13px; color: var(--ink-2); }
.pay-steps .n {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  display: grid; place-items: center;
  border-radius: 50%;
  margin-top: 1px;
}
.pay-order-info { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-3); }
.pay-order-info div { display: flex; justify-content: space-between; margin-bottom: 7px; }
.pay-order-info b { color: var(--ink); font-weight: 500; }

.card-form { display: grid; gap: 16px; }
.card-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.pay-foot { text-align: center; margin-top: 26px; }
.pay-foot .demo-note { font-size: 11px; color: var(--ink-3); margin-top: 14px; line-height: 1.8; }

/* ---------- 支付成功 ---------- */

.result-wrap { max-width: 720px; margin: 0 auto; padding: 30px 0 90px; text-align: center; }
.result-icon {
  width: 82px; height: 82px;
  margin: 34px auto 26px;
  border-radius: 50%;
  background: #eaf3ee;
  color: var(--green);
  display: grid; place-items: center;
  animation: pop .5s cubic-bezier(.2, .8, .3, 1.2) both;
}
@keyframes pop {
  from { transform: scale(.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.result-wrap h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.result-wrap .lead { color: var(--ink-2); font-size: 14px; }
.result-wrap .lead b { color: var(--price); font-size: 18px; }

.receipt {
  background: #fff;
  border: 1px solid var(--line);
  margin: 34px 0 30px;
  text-align: left;
}
.receipt-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  background: #fbf8f2;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.receipt-body { padding: 8px 26px 24px; }
.receipt-row { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.receipt-row b { font-weight: 500; text-align: right; }
.receipt-row .muted { color: var(--ink-3); }
.receipt-items { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.receipt-item { display: flex; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; }
.receipt-item img { width: 46px; height: 46px; object-fit: cover; border: 1px solid var(--line); }
.receipt-item span { color: var(--ink-3); font-size: 12px; margin-left: auto; }
.result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.result-extra { font-size: 12px; color: var(--ink-3); margin-top: 22px; }

/* ---------- 订单列表 ---------- */

.orders-wrap { padding-bottom: 80px; }
.order-card { background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  background: #fbf8f2;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.order-head b { color: var(--ink); font-weight: 500; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: .06em;
  border: 1px solid #cfe3d8;
  background: #eef6f1;
  color: var(--green);
  border-radius: 2px;
}
.status-chip.warn { border-color: #e8d9bd; background: #fbf5e8; color: #96702c; }
.order-body { padding: 18px 22px; }
.order-items { display: flex; flex-direction: column; gap: 12px; }
.order-item { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.order-item img { width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--line); }
.order-item .oname { flex: 1; min-width: 0; }
.order-item .oname b { display: block; font-weight: 500; }
.order-item .oname span { font-size: 11px; color: var(--ink-3); }
.order-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  padding: 14px 22px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.order-foot .total { margin-right: auto; font-size: 12px; color: var(--ink-3); }
.order-foot .total b { color: var(--price); font-size: 19px; margin-left: 4px; }

/* ---------- 关于我们 ---------- */

.about-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.about-hero img { width: 100%; height: 420px; object-fit: cover; opacity: .55; }
.about-hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(16, 18, 21, .86), rgba(16, 18, 21, .25));
}
.about-hero h1 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: .1em;
  margin: 14px 0 12px;
}
.about-hero p { max-width: 520px; color: rgba(255, 255, 255, .72); font-size: 14px; }

.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .06em;
  margin: 12px 0 20px;
}
.about-grid p { color: var(--ink-2); margin-bottom: 14px; }
.about-figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.about-figures b { font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: var(--gold); }
.about-figures span { display: block; font-size: 12px; color: var(--ink-3); }

.timeline { display: grid; gap: 0; border-left: 1px solid var(--line-strong); margin-left: 6px; }
.timeline-item { position: relative; padding: 0 0 34px 30px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px; top: 7px;
  width: 9px; height: 9px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.timeline-item .year { font-family: var(--font-serif); font-size: 20px; color: var(--gold); letter-spacing: .06em; }
.timeline-item b { display: block; font-size: 15px; margin: 4px 0 5px; }
.timeline-item p { font-size: 13px; color: var(--ink-3); max-width: 460px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); padding: 30px 26px; }
.value-card svg { color: var(--gold); margin-bottom: 16px; }
.value-card b { display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 500; letter-spacing: .06em; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--ink-2); }

.license-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}
.license-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; letter-spacing: .06em; margin-bottom: 14px; }
.license-card dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; font-size: 13px; margin: 0; }
.license-card dt { color: var(--ink-3); }
.license-card dd { margin: 0; color: var(--ink); }

/* ---------- 联系我们 ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 22px 24px; }
.contact-card .ico { width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg-warm); color: var(--gold); flex-shrink: 0; }
.contact-card b { display: block; font-size: 13px; letter-spacing: .06em; margin-bottom: 5px; }
.contact-card p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.contact-card a:hover { color: var(--gold); }

.map-panel {
  position: relative;
  height: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .9)),
    repeating-linear-gradient(0deg, #ece6db 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, #ece6db 0 1px, transparent 1px 44px),
    #f5f1e9;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-panel .road {
  position: absolute;
  background: #e2dacc;
}
.map-panel .road.r1 { left: 0; right: 0; top: 54%; height: 12px; }
.map-panel .road.r2 { top: 0; bottom: 0; left: 38%; width: 10px; }
.map-panel .road.r3 { top: 0; bottom: 0; left: 72%; width: 6px; background: #ebe4d8; }
.map-pin {
  position: absolute;
  left: 42%; top: 40%;
  transform: translate(-50%, -100%);
  text-align: center;
}
.map-pin .dot {
  width: 18px; height: 18px;
  background: var(--price);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
  margin: 0 auto 8px;
}
.map-pin .tag {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 11px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  white-space: nowrap;
}
.map-meta {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 11px;
  color: var(--ink-2);
  max-width: 300px;
  line-height: 1.8;
}
.map-meta b { display: block; font-size: 12px; color: var(--ink); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: #fff; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 22px;
  font-size: 14px;
  text-align: left;
}
.faq-q .plus { color: var(--gold); font-size: 18px; line-height: 1; transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.9;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Toast ---------- */

.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  max-width: 360px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 13px 18px;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: none; }
.toast .t-ico { color: var(--gold-soft); display: flex; }

/* ---------- 动效 ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 44px; }
  .hero-copy { padding: 56px 32px 56px 0; }
  .detail-layout { gap: 40px; }
  .buy-panel h1 { font-size: 26px; }
  .list-layout { grid-template-columns: 200px 1fr; gap: 32px; }
  .footer-main { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .header-main { height: auto; gap: 18px; flex-wrap: wrap; padding: 12px 0; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 0; }
  .site-header { position: relative; }
  .header-actions .label { display: none; }
  .nav-inner { gap: 0; overflow-x: auto; scrollbar-width: none; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-link { padding: 0 12px; font-size: 13px; }
  .nav-note { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: none; padding: 46px 24px; order: 2; }
  .hero-media { order: 1; height: 300px; }
  .hero-title { font-size: 34px; }
  .hero-stats { margin-top: 34px; gap: 26px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { padding: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .service-item:nth-child(1), .service-item:nth-child(2) { border-top: 0; }
  .service-item:nth-child(1) { padding-left: 0; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .editorial, .about-grid, .detail-layout, .cart-layout, .checkout-layout, .contact-grid, .detail-body-grid, .license-card { grid-template-columns: 1fr; gap: 30px; }
  .summary-card, .order-mini { position: static; }
  .filters { position: static; }
  .list-layout { grid-template-columns: 1fr; }
  .filter-group { margin-bottom: 14px; padding-bottom: 14px; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-list li { margin: 0; }
  .filter-list a, .filter-list button { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 12px; gap: 8px; background: #fff; }
  .filter-list .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .cart-head-row { display: none; }
  .cart-row { grid-template-columns: 30px 1fr; gap: 12px 14px; padding: 16px; }
  .cart-row .cart-item-price { grid-column: 2; }
  .cart-row .cart-qty { grid-column: 2; }
  .cart-row .cart-item-total { grid-column: 2; }
  .cart-row .cart-remove { position: absolute; right: 12px; }
  .cart-row { position: relative; }
  .cart-bar { gap: 12px; }
  .cart-bar .right { width: 100%; justify-content: space-between; }
  .pay-body { grid-template-columns: 1fr; gap: 26px; }
  .pay-card { padding: 24px 18px 28px; }
  .receipt-head { flex-direction: column; align-items: flex-start; }
  .cart-row .cart-remove { top: 14px; right: 10px; }
  .qr-box { max-width: 280px; margin: 0 auto; }
  .page-hero h1 { font-size: 28px; }
  .about-hero img { height: 300px; }
  .about-hero h1 { font-size: 30px; }
  .value-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .subscribe-form input { width: 100%; }
  .subscribe-form { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 52px 0; }
  .product-grid.small-mobile { grid-template-columns: 1fr 1fr; }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .brand-name { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; font-size: 19px; }
  .hero-title { font-size: 29px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-row { grid-template-columns: 1fr; }
  .cart-row .check { position: absolute; left: 14px; top: 16px; }
  .cart-row .cart-item { padding-left: 26px; }
  .cart-row .cart-item-price, .cart-row .cart-qty, .cart-row .cart-item-total { grid-column: 1; padding-left: 26px; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .btn { padding: 0 20px; }
}

/* ==========================================================================
   合规页面（协议 / 政策 / 公示）
   ========================================================================== */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-head {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-head h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: .04em;
  margin: 0 0 10px;
}
.legal-meta {
  font-size: 13px;
  color: var(--ink-3);
}
.legal-meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--ink-4);
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .04em;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin: 26px 0 12px;
  color: var(--ink);
}
.prose p {
  color: var(--ink-2);
  line-height: 1.95;
  margin-bottom: 14px;
  font-size: 15px;
}
.prose ol {
  margin: 14px 0 22px;
  padding-left: 22px;
}
.prose ol li {
  color: var(--ink-2);
  line-height: 1.95;
  margin-bottom: 8px;
  font-size: 15px;
}
.prose .note {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.license-grid .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}
.license-grid .card b {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.license-grid .card span {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 520px) {
  .legal-wrap { padding: 36px 16px 60px; }
  .legal-head h1 { font-size: 24px; }
  .license-grid { grid-template-columns: 1fr; }
}

/* 同意协议勾选框 */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}
.agree-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.agree-row a {
  color: var(--gold);
}
.agree-row.invalid { color: var(--danger); }

