/* =====================================================
   Metamorph — quiet luxury / warm apothecary
   Cream paper · graphite ink · restrained terracotta
   Cormorant Garamond + Manrope
   ===================================================== */

:root {
  --bg: #FCFAF4;
  --bg-alt: #F5F0E6;
  --surface: #FFFFFF;
  --ink: #33312E;
  --ink-deep: #23211E;
  --ink-soft: #6E6A62;
  --ink-quiet: #98938A;
  --accent: #945C26;
  --accent-deep: #7A4A1E;
  --accent-soft: #EDE3D4;
  --line: #E7E1D5;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--accent-soft); color: var(--accent-deep); }

:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  letter-spacing: -0.015em;
}

h1 em {
  font-style: italic;
  font-weight: 400;
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  max-width: 22ch;
}

h3 { font-size: 1.3rem; line-height: 1.25; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow-light { color: #C49B6D; }

.lede {
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease-out);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: #FCFAF4;
}
.btn-primary:hover { background: var(--ink-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); background: rgba(51, 49, 46, 0.03); }

.btn-light { background: #FCFAF4; color: var(--ink); }
.btn-light:hover { background: #FFFFFF; }

.btn-outline-light { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline-light:hover { border-color: var(--ink-soft); background: rgba(51, 49, 46, 0.03); }

.btn-lg { padding: 19px 40px; font-size: 0.88rem; }
.btn-sm { padding: 11px 22px; font-size: 0.78rem; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links > a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

/* ---------- HERO (首屏：左文案 + 右实物) ---------- */

/* 首屏压缩：品类横排要能露出来，hero 收紧 */
.hero {
  padding: 40px 0 0;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 40px;
}

.hero-copy { max-width: 560px; }

.hero h1 { margin-bottom: 4px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media { margin: 0; }

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.hero-media figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-quiet);
  max-width: 34ch;
}

/* 三条硬承诺：紧贴品类横排之下，横排小条 */
.rail-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin: 0;
  padding: 18px 0 26px;
}
.rail-facts li { display: flex; flex-direction: column; gap: 1px; }
.rail-facts strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.rail-facts span {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
}

/* ---------- 首屏品类横排：五个一屏看完 ----------
   5 列等宽，图压扁成 4:3 横图，保证名称+价格在同一屏内可见 */
.shop-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 26px 0 20px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.rail-card { display: block; }

.rail-card figure {
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-alt);
}

.rail-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-alt);
  border-radius: 2px;
  transition: transform 0.7s var(--ease-out);
}

.rail-card:hover img { transform: scale(1.04); }

.rail-info { padding: 11px 1px 0; }

.rail-info h3 {
  font-size: 0.9rem;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}

.rail-desc {
  display: block;
  font-size: 0.755rem;
  line-height: 1.4;
  color: var(--ink-quiet);
  margin-bottom: 1px;
}

.rail-info .price {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.86rem;
}

.rail-card:hover .price { color: var(--accent-deep); }

/* ---------- 首屏活动条：紧凑一行版 ----------
   首屏塞不下完整 .promo（那个在下面品类区），所以这里做一条精简的：
   同样的陶土色描边 + 米色底，但压成一行，只保留折扣和入口。 */
.promo-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 13px 20px;
  background: var(--accent-soft);
  border: 1px solid #DCCBB2;
  border-radius: 3px;
}
.promo-strip-mark {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--accent-deep);
}
.promo-strip-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.promo-strip-text strong {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
}
.promo-strip-text span { font-size: 0.83rem; color: var(--ink-soft); }
.promo-strip-link {
  flex: none;
  font-size: 0.85rem;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(148, 92, 38, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease-out);
}
.promo-strip-link:hover { border-color: var(--accent-deep); }

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section-tight { padding: 92px 0 104px; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin-bottom: 62px;
}

.section-lede {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-top: 20px;
}

/* ---------- Shop grid ---------- */

/* 品类页底部的「其他品类」四宫格。首页首屏改用 .shop-rail 之后，
   这套样式只剩品类页在用，但四列卡片网格在这里依然是对的选择。 */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover img { transform: scale(1.04); }

.product-info { padding: 18px 18px 20px; }
.product-info h3 { font-size: 1.02rem; margin-bottom: 5px; }
.product-info p { font-size: 0.85rem; color: var(--ink-quiet); }

/* 首页 5 个品类：首行 3 个 + 次行 2 个（2 个各占 1.5 宽，避免末行孤零零） */
.price {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- 活动条：两件起打八折 ----------
   克制处理：陶土色描边 + 米色底，不用高饱和促销红，保持高端感 */
.promo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  margin-bottom: 46px;
  padding: 30px 34px;
  background: var(--accent-soft);
  border: 1px solid #DCCBB2;
  border-radius: 3px;
}

.promo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent-deep);
}

.promo-body { min-width: 0; }

.promo-kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.promo-title {
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.promo-note {
  font-size: 0.89rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* 右侧算例：划线原价 + 折后价 */
.promo-example {
  flex-shrink: 0;
  padding-left: 32px;
  border-left: 1px solid #DCCBB2;
  text-align: right;
  min-width: 168px;
}

.promo-ex-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 9px;
}

.promo-ex-old {
  font-family: var(--serif);
  font-size: 1.16rem;
  color: var(--ink-quiet);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  margin-bottom: 3px;
}

.promo-ex-new {
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.05;
  color: var(--accent-deep);
  margin-bottom: 4px;
}

.promo-ex-save {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(148, 92, 38, 0.1);
  border: 1px solid rgba(148, 92, 38, 0.28);
  border-radius: 2px;
  padding: 3px 9px;
  margin-bottom: 13px;
}

.promo-link {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.25s;
}

.promo-link:hover { color: var(--accent-deep); }

/* ---------- 品类详情行（首屏横排的展开版） ----------
   左侧一张小缩略图 + 中间文字 + 右侧箭头。
   缩略图是给「想看更多图」的人一个视觉入口——点整行进品类页看图廊。 */
.cat-detail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.cat-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.cat-row:hover {
  background: var(--accent-soft);
  padding-left: 16px;
  padding-right: 16px;
}

.cat-thumb {
  margin: 0;
  width: 92px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  /* contain：品类缩略图有横有竖，cover 会把横图切掉两侧。
     contain 保证整件作品完整可见。 */
  object-fit: contain;
  background: var(--bg-soft);
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.cat-row:hover .cat-thumb img { transform: scale(1.07); }

.cat-row-text h3 { margin-bottom: 7px; }

.cat-row-text p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  max-width: 68ch;
  line-height: 1.65;
}

.cat-row-text .price { margin-top: 10px; }

/* 「看更多产品图」的小字入口，弱化到不抢价格的风头 */
.cat-more {
  display: inline-block;
  margin-left: 16px;
  font-size: 0.8rem;
  color: var(--ink-quiet);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.cat-row:hover .cat-more { color: var(--accent-deep); border-color: var(--accent); }

.cat-go {
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
  padding-right: 6px;
}

.cat-row:hover .cat-go { transform: translateX(6px); }

/* ---------- Process steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.step { padding-top: 22px; }

.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 12px; }

.step p { color: var(--ink-soft); font-size: 0.95rem; max-width: 32ch; }

.step + .step { border-left: 1px solid var(--line); padding-left: 44px; }

/* ---------- 交付时效时间线 ---------- */

.timeline {
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.timeline-head { margin-bottom: 34px; }
.timeline-head h3 { margin-bottom: 8px; }
.timeline-head p { color: var(--ink-soft); font-size: 0.96rem; }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.tl-item {
  background: var(--surface);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-day {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent-deep);
  line-height: 1.1;
}

.tl-label {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- 付款说明 ----------
   There is no checkout on this site, so the payment step is invisible
   unless we spell it out. Left open (no border/background wrapper) to match
   the editorial voice of the rest of the page. */
.pay-note {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.pay-note-head { margin-bottom: 30px; }
.pay-note-head h3 { margin-bottom: 8px; }
.pay-note-head p { color: var(--ink-soft); font-size: 0.96rem; }

.pay-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.pay-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }

.pay-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1.35;
  border-top: 1px solid var(--accent);
  padding-top: 9px;
  height: fit-content;
}

.pay-step b {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.pay-step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.pay-trust {
  margin-top: 34px;
  padding: 24px 26px;
  background: var(--accent-soft);
  border: 1px solid #DCCBB2;
  border-radius: 2px;
}

.pay-trust p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pay-trust p + p { margin-top: 12px; }
.pay-trust strong { color: var(--ink); font-weight: 500; }
.pay-trust a { color: var(--accent); }

@media (max-width: 860px) {
  .pay-note-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 640px) {
  .pay-note { margin-top: 40px; padding-top: 30px; }
  .pay-trust { padding: 20px; }
}

/* ---------- 实物与包装 ---------- */

.real-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 34px;
  align-items: start;
}

.real-card { margin: 0; }

.real-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
}

.real-card figcaption {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* 图廊下方的一句说明，比塞进 figcaption 里更容易读 */
.gallery-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- 品类图廊：主图 + 缩略图切换 ----------
   品类页顶部用。左大图 + 右侧竖排缩略图，点缩略图换主图。
   没有 JS 时缩略图退化成普通链接，页面照样能用。 */
.gallery {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 14px;
  align-items: start;
}

.gallery-stage {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  /* 正方形构图。object-fit 用 contain 而不是 cover ——
     cover 会把图裁掉，只露出中间一块；contain 完整显示整张图。 */
  aspect-ratio: 1 / 1;
}
.gallery-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-soft);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.gallery-stage img.is-active { opacity: 1; }

.gallery-thumbs { display: grid; gap: 10px; }
.gallery-thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  opacity: 0.62;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }

/* ---------- 细节图位：先留空骨架，等真实图补上 ----------
   刻意不做灰色占位块（那看起来像没做完的网站），而是虚线描边 +
   小字说明，视觉上就是"这里会有东西"。真实图到位后把
   .detail-slot 的 data-empty 去掉、<img> 放进去即可。 */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-slot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-soft);
  overflow: hidden;
}
.detail-slot img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.detail-slot figcaption {
  padding: 14px 16px 16px;
  font-size: 0.82rem;
  color: var(--ink-quiet);
  line-height: 1.55;
}
.detail-slot[data-empty] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border-style: dashed;
  border-color: #D8D0C0;
  color: var(--ink-quiet);
  text-align: center;
  padding: 20px;
}
.detail-slot .slot-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #C6BCA8;
  line-height: 1;
}
.detail-slot .slot-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  max-width: 22ch;
  line-height: 1.5;
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  max-width: 920px;
}

.price-card {
  position: relative;
  background: var(--surface);
  padding: 46px 40px 42px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-card.featured { background: var(--bg-alt); }

.price-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 2px;
}

.price-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.price-size {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

.price-amount {
  font-family: var(--serif);
  font-size: 3.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 12px;
  color: var(--ink);
}

.price-note {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-quiet);
  max-width: 24ch;
}

.price-notes {
  max-width: 760px;
  margin-top: 44px;
  display: grid;
  gap: 12px;
}

.price-notes p { color: var(--ink-soft); font-size: 0.96rem; }
.price-notes strong { color: var(--ink); font-weight: 500; }
.price-notes .fine { font-size: 0.86rem; color: var(--ink-quiet); }

/* ---------- 品类索引（首页定价区下方） ---------- */

.price-index {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.price-index > p {
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.price-index-links { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.price-index-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.price-index-links a::after {
  content: "\2192";
  color: var(--accent);
  transition: transform 0.25s var(--ease-out);
}
.price-index-links a:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  background: rgba(51, 49, 46, 0.03);
}
.price-index-links a:hover::after { transform: translateX(3px); }

/* ---------- Guarantee ---------- */

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.g-card {
  background: var(--surface);
  padding: 40px 38px;
}

.g-card h3 { margin-bottom: 12px; }
.g-card p { color: var(--ink-soft); font-size: 0.96rem; max-width: 44ch; }

/* ---------- CTA ---------- */

.cta {
  border-top: 1px solid var(--line);
  padding: 124px 0;
}

.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

.cta h2 { max-width: 18ch; }

.cta-lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-top: 22px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.cta-fine {
  margin-top: 34px;
  font-size: 0.82rem;
  color: var(--ink-quiet);
  max-width: 58ch;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  padding: 5px 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--ink); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: var(--ink-quiet);
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}

.js .reveal.d1 { --rd: 110ms; }
.js .reveal.d2 { --rd: 220ms; }
.js .reveal.d3 { --rd: 330ms; }
.js .reveal.d4 { --rd: 440ms; }

.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .rail-card img { transition: none; }
  .cat-row, .cat-go, .promo-link { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 52px; grid-template-columns: 1fr 0.95fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step + .step { border-left: none; padding-left: 0; }
  .steps > li:nth-child(even) { border-left: 1px solid var(--line); padding-left: 40px; }
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero { padding: 44px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
  .hero-copy { max-width: 100%; }
  .hero-media { max-width: 520px; }
  /* 5 列在平板塞不下，横排可横向滑动，不压成两行（会破坏"一屏看五个"） */
  .shop-rail {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
  }
  .shop-rail::-webkit-scrollbar { display: none; }
  .rail-card { scroll-snap-align: start; }
  /* 品类页「其他品类」四宫格：平板降成两列 */
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  /* 图廊在平板改成大图在上、缩略图横排在下方 */
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  /* 细节图位平板降两列 */
  .detail-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section { padding: 90px 0; }
  .section-tight { padding: 72px 0 84px; }

  /* 活动条在中等屏改两栏：文案 + 算例 */
  .promo { grid-template-columns: auto 1fr; gap: 24px; padding: 26px 28px; }
  .promo-example {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid #DCCBB2;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
  }
  .promo-ex-label { margin-bottom: 0; width: 100%; }
  .promo-ex-new { margin-bottom: 0; }
  .promo-link { margin-left: auto; }
  .real-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px 32px;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease-out);
    z-index: 40;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-links > a:not(.btn) { font-size: 1rem; padding: 8px 0; }
}

@media (max-width: 640px) {
  /* 手机上把 hero 收紧，让品类横排进首屏（折叠线以下但一次滑动可达） */
  .hero-grid { gap: 26px; padding-bottom: 26px; }
  .hero-media img { aspect-ratio: 3 / 4; }
  .hero-media figcaption { font-size: 0.74rem; margin-top: 7px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { padding: 14px 24px; }
  .shop-rail { padding: 18px 0 16px; }
  /* 手机上活动条换行：折扣文字占一行，链接单独一行 */
  .promo-strip { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; margin-top: 20px; }
  .promo-strip-text { flex: 1 1 100%; }
  .promo-strip-text strong { font-size: 1rem; }
  .promo-strip-link { margin-left: 44px; }
  .cat-row { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 2px; }
  .cat-row-text p { font-size: 0.89rem; }
  /* 手机上缩略图太小反而看不清，隐藏掉，靠文字和箭头引导 */
  .cat-thumb { display: none; }
  .cat-more { display: block; margin: 10px 0 0; width: fit-content; }
  .hero { padding: 36px 0 0; }

  /* 手机上活动条完全单栏，标记缩小 */
  .promo { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; margin-bottom: 34px; }
  .promo-mark { width: 46px; height: 46px; font-size: 1.3rem; }
  .promo-title { font-size: 1.24rem; }
  .promo-note { font-size: 0.85rem; }
  .promo-example { grid-column: auto; gap: 12px; }
  .promo-ex-new { font-size: 1.6rem; }
  .promo-link { margin-left: 0; }
  .section { padding: 72px 0; }
  .section-tight { padding: 60px 0 68px; }
  /* 手机上「其他品类」两列仍偏挤，收到一列让图看得清 */
  .shop-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-info { padding: 15px 15px 17px; }
  /* 手机细节图位单列，缩略图横排更小一点 */
  .detail-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-auto-columns: 58px; }
  .cta { padding: 88px 0; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  /* 首屏 CTA 在窄屏占满，避免两枚按钮宽度不一 */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps > li:nth-child(even) { border-left: none; padding-left: 0; }
  .steps > li + li { border-top: 1px solid var(--line); padding-top: 36px; }
  .timeline-track { grid-template-columns: 1fr; }
  .rail-facts { gap: 20px 28px; }

  /* clamp() 下限 2.5rem 在 390px 屏上会溢出，窄屏压下来 */
  h1 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6.6vw, 2rem); }
  .lede { font-size: 0.98rem; }
  .hero-copy { max-width: 100%; }
  .shop-rail { gap: 12px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  h1 { font-size: 1.95rem; }
  .rail-info h3 { font-size: 0.85rem; }
  .rail-desc { font-size: 0.72rem; }
}

/* ==========================================================================
   邮箱联系条 —— 首屏最显眼的位置
   ========================================================================== */
.mail-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 22px 0 6px;
  padding: 16px 26px;
  background: var(--ink-deep);
  border-radius: 3px;
  box-shadow: 0 10px 26px -12px rgba(35, 25, 15, .5);
}
.mail-ribbon-label {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(252, 250, 244, .55);
}
.mail-ribbon-addr {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: #E8C89A;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 200, 154, .4);
  padding-bottom: 2px;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.mail-ribbon-addr:hover {
  color: #F3DCB8;
  border-bottom-color: #F3DCB8;
}
.mail-ribbon-hint {
  font-family: var(--sans);
  font-size: .8rem;
  color: rgba(252, 250, 244, .6);
}

@media (max-width: 700px) {
  .mail-ribbon { padding: 14px 16px; gap: 8px 14px; text-align: center; }
  .mail-ribbon-hint { font-size: .74rem; }
}
