/* ==========================================================================
   EASTORY & GIFT — 样式表
   视觉系统：宣纸米白 + 朱红 + 金，衬线大标题（活版印刷质感）
   ========================================================================== */

:root {
  --paper: #FAF5EB;
  --paper-deep: #F2EBDC;
  --card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #5C5448;
  --ink-mute: #8A8070;
  --line: #E5DDC8;
  --line-strong: #CFC4A8;
  --vermilion: #C53A2A;
  --gold: #B8924A;
  --green: #4A7A4E;
  --dark: #1A1A1A;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 2px;
  --wrap: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -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; }

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

/* ---------- 字体引入 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- 顶部通知条 ---------- */
.announce {
  background: var(--dark);
  color: #F4EDDD;
  text-align: center;
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 导航 ---------- */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
}
.wordmark {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.nav-menu {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.nav-menu a { font-size: 13px; color: var(--ink); }
.nav-menu a:hover { color: var(--vermilion); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang {
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
}
.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
.cart-count {
  background: var(--ink);
  color: var(--paper);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 0 5px;
}
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { width: 20px; height: 1.5px; background: var(--ink); display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 22px; font-size: 13px; }

/* ---------- 首屏 ---------- */
.hero { padding: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 72px 0 80px;
  align-items: center;
}
.hero-kicker {
  font-size: 11px;
  font-weight: 500;
  color: var(--vermilion);
  letter-spacing: 0.22em;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 460px;
}
.hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.hero-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  background: var(--paper-deep);
}
.hero-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  padding-top: 14px;
}

/* ---------- 区块通用 ---------- */
.section { padding: 72px 0; }
.section-white { background: var(--card); }
.section-deep { background: var(--paper-deep); }
.section-dark { background: var(--dark); color: var(--paper); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.section-kicker {
  font-size: 11px;
  font-weight: 500;
  color: var(--vermilion);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
}
.section-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-link:hover { color: var(--vermilion); border-color: var(--vermilion); }

/* ---------- 品类网格 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--paper-deep);
  display: block;
}
.cat-body { padding: 20px 22px 24px; }
.cat-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 6px;
}
.cat-cn { font-size: 12px; color: var(--ink-mute); margin-bottom: 10px; }
.cat-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 12px; }
.cat-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ---------- 商品网格 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}
.product-card:hover { transform: translateY(-3px); }
.product-img-wrap { position: relative; overflow: hidden; background: var(--paper-deep); }
.product-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.product-card:hover .product-img { transform: scale(1.03); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
}
.badge-new { background: var(--vermilion); }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-origin {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 7px;
}
.product-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}
.product-sub { font-size: 12px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 12px; }
.stars { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.stars svg { flex-shrink: 0; }
.stars-txt { font-size: 11px; color: var(--ink-mute); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-size: 16px; font-weight: 600; }
.price-old { font-size: 13px; color: var(--ink-mute); text-decoration: line-through; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions .btn { flex: 1; padding: 11px 8px; font-size: 12px; }

/* ---------- 保障条 ---------- */
.assurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.assurance-item { padding: 36px 24px 36px 0; }
.assurance-item + .assurance-item { padding-left: 28px; border-left: 1px solid #3A3228; }
.assurance-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 8px;
}
.assurance-desc { font-size: 13px; color: #A89C8A; line-height: 1.7; }

/* ---------- 故事区 ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-img { width: 100%; height: 500px; object-fit: cover; background: var(--paper-deep); }
.story-h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}
.story-p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 18px; }

/* ---------- 评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
}
.review-text { font-size: 15px; color: #3A342B; line-height: 1.75; margin-bottom: 16px; }
.review-name { font-size: 13px; font-weight: 500; }
.review-loc { font-size: 12px; color: var(--ink-mute); }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: var(--paper); padding: 64px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 42px;
  border-bottom: 1px solid #3A3228;
}
.footer-brand { max-width: 340px; }
.footer-cn {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 14px 0 12px;
}
.footer-desc { font-size: 13px; color: #A89C8A; line-height: 1.75; }
.footer-h {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: #C9BFB0; }
.footer-links a:hover { color: var(--paper); }
.newsletter-desc { font-size: 13px; color: #A89C8A; line-height: 1.7; margin-bottom: 14px; }
.newsletter-form { display: flex; border: 1px solid #4A4034; border-radius: var(--radius); overflow: hidden; }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--paper);
  padding: 13px 14px;
  font-size: 13px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: #7A7264; }
.newsletter-form button {
  background: var(--vermilion);
  color: var(--paper);
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12px;
  color: #7A7264;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 商品列表页 ---------- */
.page-hero { padding: 48px 0 40px; }
.page-hero-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 620px;
  margin-top: 16px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 14px;
}
.toolbar-count { font-size: 13px; color: var(--ink-mute); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cat-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.cat-nav a { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.cat-nav a.active, .cat-nav a:hover { color: var(--vermilion); }

/* ---------- 商品详情页 ---------- */
.breadcrumb { font-size: 12px; color: var(--ink-mute); padding: 22px 0; }
.pdp {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  padding-bottom: 72px;
  align-items: start;
}
.gallery-main {
  width: 100%;
  height: 600px;
  object-fit: cover;
  background: var(--paper-deep);
  border-radius: var(--radius);
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--paper-deep);
}
.gallery-thumb.active { border: 2px solid var(--vermilion); }
.pdp-kicker {
  font-size: 11px;
  font-weight: 500;
  color: var(--vermilion);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.pdp-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 12px;
}
.pdp-sub { font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; line-height: 1.6; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pdp-price .price { font-size: 28px; }
.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 20px;
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pdp-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.opt-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.opt-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.opt-btn {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
.opt-btn:hover { border-color: var(--ink); }
.opt-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.qty-ctl {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 14px;
}
.qty-btn { font-size: 16px; color: var(--ink); line-height: 1; width: 14px; }
.qty-val { font-size: 14px; font-weight: 500; min-width: 12px; text-align: center; }
.pdp-guarantees {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-guarantees li {
  font-size: 13px;
  color: var(--ink-soft);
  list-style: none;
  padding-left: 20px;
  position: relative;
}
.pdp-guarantees li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.acc-icon { transition: transform 0.3s; font-size: 20px; color: var(--ink-mute); }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.acc-item.open .acc-body { max-height: 500px; }
.acc-inner { padding-bottom: 24px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.spec-table { margin-top: 16px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 13px;
}
.spec-label { color: var(--ink-mute); }

/* ---------- 购物车 ---------- */
.page-title-block { padding: 44px 0 32px; }
.page-kicker {
  font-size: 11px;
  font-weight: 500;
  color: var(--vermilion);
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}
.page-title { font-family: var(--serif); font-size: 50px; font-weight: 300; line-height: 1.1; }
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 60px; padding-bottom: 80px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-img { width: 130px; height: 160px; object-fit: cover; background: var(--paper-deep); border-radius: var(--radius); }
.cart-item-name { font-family: var(--serif); font-size: 23px; margin-bottom: 6px; }
.cart-item-var { font-size: 12px; color: var(--ink-mute); margin-bottom: 12px; }
.cart-item-ops { display: flex; gap: 20px; }
.cart-item-ops button { font-size: 12px; color: var(--ink-mute); }
.cart-item-ops button:hover { color: var(--vermilion); }
.cart-item-price { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.summary-title { font-family: var(--serif); font-size: 23px; font-weight: 500; margin-bottom: 18px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.summary-row .val { color: var(--ink); font-weight: 500; }
.summary-free { color: var(--green) !important; font-weight: 600 !important; }
.summary-divider { height: 1px; background: var(--line); margin: 14px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 500;
}
.summary-total-val { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.summary-note { font-size: 12px; color: var(--ink-mute); line-height: 1.7; margin: 16px 0; }
.pay-trust {
  text-align: center;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 14px;
}
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart h2 { font-family: var(--serif); font-size: 32px; font-weight: 300; margin-bottom: 12px; }
.empty-cart p { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- 结账 ---------- */
.checkout-top { text-align: center; padding: 26px 0 32px; }
.checkout-top .wordmark { display: inline-block; }
.steps { display: flex; justify-content: center; gap: 18px; align-items: center; padding: 0 0 36px; }
.step { font-size: 12px; color: var(--ink-mute); }
.step.active { color: var(--vermilion); font-weight: 500; }
.step-sep { width: 40px; height: 1px; background: var(--line); }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 60px; padding-bottom: 80px; align-items: start; }
.form-section { margin-bottom: 30px; }
.form-h { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field input, .field select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
  /* 16px 以下 iOS 会自动缩放页面导致输入体验差 */
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ship-option {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}
.ship-option.active { border-color: var(--ink); background: var(--card); }
.radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex-shrink: 0;
}
.ship-option.active .radio { border-color: var(--ink); border-width: 4.5px; }
.ship-name { font-size: 14px; font-weight: 500; }
.ship-time { font-size: 12px; color: var(--ink-mute); }
.ship-price { margin-left: auto; font-size: 14px; font-weight: 500; }
.pay-card {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--card);
}
.pay-radio-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; font-weight: 500; }
.pay-note {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 14px;
}
.security-note {
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 18px;
}
.security-note h4 { font-size: 13px; margin-bottom: 6px; }
.security-note p { font-size: 12px; color: var(--ink-soft); line-height: 1.7; }
.form-error {
  background: #FDECEA;
  border: 1px solid var(--vermilion);
  color: #8A1F13;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 16px;
}

/* ---------- 提示条 ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 政策/内容页 ---------- */
.content-page { padding: 40px 0 80px; max-width: 760px; }
.content-page h1 { font-family: var(--serif); font-size: 46px; font-weight: 300; margin-bottom: 20px; }
.content-page h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 40px 0 14px;
}
.content-page p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 16px; }
.content-page ul { margin: 0 0 16px 20px; color: var(--ink-soft); line-height: 1.85; }
.content-page li { margin-bottom: 8px; }
.content-page table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.content-page th, .content-page td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.content-page th { background: var(--paper-deep); font-weight: 500; font-size: 13px; }
.callout {
  background: var(--paper-deep);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .assurance { grid-template-columns: repeat(2, 1fr); }
  .assurance-item:nth-child(odd) { border-left: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
  }
  .nav-menu.open { display: flex; }
  .burger { display: flex; margin-left: auto; order: 3; }
  .nav-actions { margin-left: auto; }
  .lang { display: none; }

  .hero-grid, .story-grid, .pdp, .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { padding: 32px 0 44px; }
  /* 移动端图片在前：图片在上，文案在下 */
  .hero-grid { display: flex; flex-direction: column; }
  .hero-visual { order: -1; width: 100%; }
  .hero-copy { order: 2; }
  .hero-img { height: 340px; }
  .hero-h1 { font-size: 34px; line-height: 1.2; }
  .hero-sub { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-img { height: 150px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img { height: 200px; }
  .product-name { font-size: 17px; line-height: 1.3; }
  .product-sub { display: none; }
  .assurance { grid-template-columns: 1fr; }
  .assurance-item { padding: 18px 0; border-left: none !important; border-bottom: 1px solid #3A3228; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .page-title { font-size: 34px; }
  .pdp-title { font-size: 30px; }
  .gallery-main { height: 380px; }
  .field input, .field select { font-size: 16px; padding: 14px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 84px 1fr; gap: 14px; }
  .cart-item-img { width: 84px; height: 104px; }
  .cart-item-price { grid-column: 2; font-size: 18px; }
  .summary-card { position: static; }
  .content-page h1 { font-size: 32px; }

  /* 移动端底部吸底加购条 */
  .sticky-buy { display: flex; }
}
@media (min-width: 821px) {
  .sticky-buy { display: none; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* 移动端吸底加购条 */
.sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 10px 20px;
  gap: 12px;
  align-items: center;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-buy img { width: 42px; height: 50px; object-fit: cover; border-radius: var(--radius); }
.sticky-buy-info { flex: 1; min-width: 0; }
.sticky-buy-name {
  font-family: var(--serif);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buy-meta { font-size: 11px; color: var(--ink-mute); }
.sticky-buy .btn { padding: 13px 20px; font-size: 13px; flex-shrink: 0; }