/* ==========================================================================
   TOLVANE — 精密五金/工业工具独立站主题
   设计方向：「工坊静物」—— 骨白底 + 墨黑 + 深孔雀绿 + 黄铜点缀。
   圆润、柔和、留白充足。衬线展示字体（Fraunces）配无衬线正文（Hanken Grotesk）。
   与 HORLUNA（深色奢华/≤8px/胶囊/1px描边）、LIANFU（浅色自然/16-24px/12px按钮/暖褐柔影）、
   Oakwright（20px/胶囊）三套风格正交：本套用 28px 卡片 + 20px 图片 + 14px 按钮，
   阴影是「贴身 + 环境光」双层柔影而非描边或单层暖影。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 配色 */
  --ink: #17191b;            /* 墨黑：正文 */
  --ink-2: #3d4247;          /* 次级正文 */
  --ink-3: #6b7278;          /* 弱化文字（骨白上 4.6:1） */
  --bone: #f7f5f1;           /* 骨白：主底 */
  --bone-2: #efece6;         /* 交替区块底 */
  --bone-3: #e6e2da;         /* 图片占位底 */
  --paper: #ffffff;
  --line: #e2ddd4;           /* 描边 */
  --line-soft: #ebe7df;
  --peacock: #0f5c63;        /* 深孔雀绿：主强调 */
  --peacock-deep: #0a454a;
  --peacock-tint: #e6eff0;
  --brass: #b48a4a;          /* 黄铜：极少量点缀（数字、细线） */
  --brass-tint: #f4ecdd;
  --dark: #16191c;           /* 深色区块底 */
  --dark-2: #20242a;

  /* 字体 */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 形状：圆润但不胶囊 */
  --r-card: 28px;            /* 卡片、瓷片 */
  --r-img: 20px;             /* 图片框 */
  --r-btn: 14px;             /* 按钮、输入框 */
  --r-pill: 999px;           /* 仅徽章/小标签用 */
  --r-sm: 10px;

  /* 阴影：双层柔影（贴身 + 环境光），不用描边、不用硬偏移 */
  --shadow-xs: 0 1px 2px rgba(23, 25, 27, 0.05);
  --shadow-sm: 0 2px 6px rgba(23, 25, 27, 0.06), 0 1px 2px rgba(23, 25, 27, 0.04);
  --shadow-md: 0 10px 28px -8px rgba(23, 25, 27, 0.12), 0 2px 6px rgba(23, 25, 27, 0.05);
  --shadow-lg: 0 24px 56px -14px rgba(23, 25, 27, 0.18), 0 4px 12px rgba(23, 25, 27, 0.06);
  --shadow-peacock: 0 14px 34px -10px rgba(15, 92, 99, 0.34);

  /* 间距与栅格 */
  --wrap: 1280px;
  --gutter: 28px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 8vw, 128px);

  /* 动效：统一缓动 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 560ms;
  --dur-fast: 220ms;
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--peacock); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: var(--r-btn);
  font-size: 14px;
}
.skip-link:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

.tabnum { font-variant-numeric: tabular-nums; }

/* 小标签：衬线斜体，去掉编号与全大写 */
.kicker {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 18px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--peacock);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--brass);
  display: inline-block;
  border-radius: 2px;
  transition: width 700ms var(--ease-out);
}
.is-in > .kicker::before,
[data-reveal].is-in .kicker::before { width: 44px; }

.section { padding: var(--section) 0; position: relative; }
.section--alt { background: var(--bone-2); }
.section--dark { background: var(--dark); color: #e8e6e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { margin-bottom: clamp(36px, 4vw, 56px); max-width: 760px; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; max-width: none;
}
.section-head h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; }
.section-head h2 em { font-style: italic; font-weight: 600; color: var(--peacock); }
.section-head__sub { color: var(--ink-2); max-width: 52ch; margin: 18px 0 0; font-size: clamp(16px, 1.15vw, 18px); }

/* ---------- 3. 按钮：圆润 + 双层柔影 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: none;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;          /* 光晕伪元素走 z-index:-1，裸文本节点也在其上 */
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
/* 按钮内光晕：从下方升起，不改形状（圆角元素禁用 scaleX，见技术红线 8） */
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% 120%, rgba(255,255,255,.22), transparent 62%);
  opacity: 0; transform: translateY(30%);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
  pointer-events: none;
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #22262a; }
.btn:hover::before { opacity: 1; transform: none; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }

.btn--peacock { background: var(--peacock); box-shadow: var(--shadow-peacock); }
.btn--peacock:hover { background: var(--peacock-deep); box-shadow: 0 18px 40px -10px rgba(15, 92, 99, 0.46); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost::before { display: none; }

.btn--on-dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--on-dark:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

.btn--wa { background: #1f7a4d; box-shadow: 0 12px 28px -10px rgba(31, 122, 77, 0.4); }
.btn--wa:hover { background: #196642; }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--line);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}
.link-arrow svg { transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover { color: var(--peacock); border-bottom-color: var(--peacock); gap: 12px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 4. 页头 ---------- */
.topbar {
  background: var(--dark);
  color: #c8ccd0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 40px;
}
.topbar__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 9px; }
.topbar__dot { width: 4px; height: 4px; background: var(--brass); display: inline-block; border-radius: 50%; }
.topbar__wa { color: #fff; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex-shrink: 0; transition: color var(--dur-fast) var(--ease); }
.topbar__wa:hover { color: #7fd3c4; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 245, 241, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 245, 241, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; gap: 36px;
  min-height: 76px;
  transition: min-height 320ms var(--ease);
}
.site-header.is-stuck .site-header__inner { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark { width: 32px; height: 32px; display: block; transition: transform 500ms var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.06em;
}

/* 字标锁排：主词 + 小号宽字距后缀，em 单位让页头/页脚共用一套 */
.brand__name,
.footer-brand__name { display: inline-flex; align-items: baseline; gap: 0.38em; }
.brand__word { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em; }
.brand__suffix {
  font-family: var(--font-body);
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  opacity: 0.72;
  transform: translateY(-0.08em);
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: block; padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  position: relative;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px;
  height: 1.5px; background: var(--peacock);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform 320ms var(--ease-out);
}
.nav__list > li > a:hover { color: var(--ink); background: rgba(15, 92, 99, 0.06); }
.nav__list > li > a:hover::after,
.nav__list > li.current-menu-item > a::after { transform: scaleX(1); }

/* Mega panel：纯 CSS hover/focus */
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 620px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px);
  transition: opacity 240ms var(--ease), transform 280ms var(--ease-out), visibility 240ms;
  z-index: 100;
}
.nav__list > li:hover > .nav__panel,
.nav__list > li:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateX(-50%); }
.nav__panel a {
  display: block; padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav__panel a:hover { background: var(--peacock-tint); transform: translateX(3px); }
.nav__panel strong {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 14px; font-weight: 400; color: var(--peacock); margin-bottom: 2px;
}

.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: rgba(23, 25, 27, 0.06); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--peacock); color: #fff;
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
}
.cart-link { position: relative; }
.menu-toggle { display: none; }

/* ---------- 5. Hero：全幅图 + 居中内容 ---------- */
.hero {
  position: relative;
  margin: clamp(0px, 2vw, 24px) auto 0;
  max-width: calc(var(--wrap) + 2 * var(--pad-x));
  padding: 0 var(--pad-x);
}
.hero__frame {
  position: relative;
  border-radius: clamp(20px, 3vw, 36px);
  overflow: hidden;
  min-height: clamp(520px, 68vh, 720px);
  display: flex; align-items: flex-end;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  transform: scale(1.1);
  transition: transform 2.4s var(--ease-out);
}
.hero.is-in .hero__img { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(16,18,20,.88) 0%, rgba(16,18,20,.52) 38%, rgba(16,18,20,.08) 68%, rgba(16,18,20,.28) 100%);
}
.hero__body {
  position: relative;
  width: 100%;
  padding: clamp(36px, 5vw, 72px);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.hero__main { max-width: 680px; }
.hero__body .kicker { color: #9fdcd4; }
.hero__body .kicker::before { background: var(--brass); }
.hero__body h1 {
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 300;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__body h1 em { font-style: italic; font-weight: 600; color: #8fd9cf; }
.hero__sub {
  color: #d6d9dc;
  font-size: clamp(16px, 1.25vw, 19px);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.hero__cta .btn--ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

/* Hero 右侧：玻璃质感数据卡 */
.hero__panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-card);
  padding: clamp(22px, 2vw, 30px);
  min-width: 268px;
  color: #fff;
}
.hero__panel h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: #b9dcd7;
  margin-bottom: 4px;
}
.metric { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.metric:first-of-type { border-top: none; padding-top: 6px; }
.metric__label { font-size: 12px; letter-spacing: 0.04em; color: #c3c8cc; display: block; margin-bottom: 4px; }
.metric__value {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.metric__note { font-size: 12.5px; color: #a9afb4; display: block; margin-top: 3px; }
.hero__panel .btn { margin-top: 18px; width: 100%; }

/* 信任条：柔和胶囊行 */
.trustbar { padding: clamp(28px, 3vw, 40px) 0 0; }
.trustbar__inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}
.trustbar__item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-xs);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.trustbar__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.trustbar__no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--brass);
  flex-shrink: 0;
}
.trustbar__item svg { color: var(--peacock); flex-shrink: 0; }

/* ---------- 6. 分类瓷片 ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.tile {
  display: block;
  border-radius: var(--r-card);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 420ms var(--ease), transform 420ms var(--ease-out);
}
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.tile__media {
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bone-3); position: relative;
  margin: 10px 10px 0;
  border-radius: var(--r-img);
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile__body { padding: 20px 22px 24px; }
.tile__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px;
  display: block; margin-bottom: 6px;
  transition: color var(--dur-fast) var(--ease);
}
.tile:hover .tile__name { color: var(--peacock); }
.tile__spec { display: block; font-size: 14px; color: var(--ink-3); }
.tile__go {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--peacock);
  white-space: nowrap;   /* 永不折行：name/spec 变长时也不把箭头挤到第二行 */
}
.tile__go svg { transition: transform var(--dur-fast) var(--ease); }
.tile:hover .tile__go svg { transform: translateX(4px); }

/* ---------- 7. 全幅横幅 ---------- */
.banner { padding: 0 var(--pad-x); max-width: calc(var(--wrap) + 2 * var(--pad-x)); margin: 0 auto; }
.banner__frame {
  position: relative; overflow: hidden;
  border-radius: clamp(20px, 3vw, 36px);
  min-height: clamp(420px, 52vh, 600px);
  display: flex; align-items: center;
  background: var(--dark);
  box-shadow: var(--shadow-md);
}
.banner__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}
.banner.is-in .banner__img { transform: scale(1); }
.banner__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,18,20,.9) 0%, rgba(16,18,20,.66) 36%, rgba(16,18,20,.12) 68%, rgba(16,18,20,.3) 100%);
}
.banner__scrim--center {
  background: linear-gradient(180deg, rgba(16,18,20,.6) 0%, rgba(16,18,20,.28) 45%, rgba(16,18,20,.82) 100%);
}
.banner__body {
  position: relative; color: #fff;
  max-width: 580px;
  padding: clamp(40px, 5vw, 72px);
}
.banner__body--center { max-width: 780px; margin: 0 auto; text-align: center; }
.banner__body--center .kicker { justify-content: center; }
.banner__body h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; color: #fff; margin-bottom: 18px; text-wrap: balance; }
.banner__body h2 em { font-style: italic; font-weight: 600; color: #8fd9cf; }
.banner__body p { color: #d6d9dc; margin-bottom: 30px; font-size: clamp(15px, 1.1vw, 17px); }
.banner__img.is-parallax { will-change: transform; }

/* ---------- 8. 商品网格与卡片 ---------- */
.tabs {
  display: inline-flex; gap: 4px;
  padding: 5px;
  background: var(--bone-2);
  border-radius: var(--r-pill);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tabs__btn {
  padding: 10px 22px;
  font-size: 14px; font-weight: 500;
  background: transparent; border: none;
  border-radius: var(--r-pill);
  cursor: pointer; color: var(--ink-2);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs); }
.tabs__panel[hidden] { display: none; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border-radius: var(--r-card);
  background: var(--paper);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 420ms var(--ease), transform 420ms var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-3);
  margin: 10px 10px 0;
  border-radius: var(--r-img);
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transition: opacity 420ms var(--ease), transform 900ms var(--ease-out);
}
.card__media img.img-b { opacity: 0; }
.card:hover .card__media img.img-b { opacity: 1; transform: scale(1.05); }
.card:hover .card__media img.img-a { opacity: 0; }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(23, 25, 27, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.card__badge--peacock { background: rgba(15, 92, 99, 0.9); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__series { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--peacock); }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.card__title a { transition: color var(--dur-fast) var(--ease); }
.card__title a:hover { color: var(--peacock); }
.card__specs {
  font-size: 13.5px; color: var(--ink-3);
  border-top: 1px solid var(--line-soft); padding-top: 12px; margin: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.card__specs li { display: flex; flex-direction: column; gap: 1px; }
.card__specs li span:first-child { font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.card__specs li span:last-child { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.card__price del { color: var(--ink-3); font-size: 14px; margin-right: 6px; font-weight: 400; }
.card__cta {
  font-size: 13px; font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--bone-2);
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.card:hover .card__cta, .card__cta:hover { background: var(--peacock); color: #fff; }

/* 光扫（hover） */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.26) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 1000ms var(--ease-out);
}
.card:hover .sheen::after, .tile:hover .sheen::after { transform: translateX(130%); }

/* ---------- 9. 工艺双栏 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bone-3);
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.split__media:hover img { transform: scale(1.05); }
.split__body h2 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; margin-bottom: 20px; text-wrap: balance; }
.split__body h2 em { font-style: italic; font-weight: 600; color: var(--peacock); }
.split__body p { color: var(--ink-2); }
.split__list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.split__list li { display: flex; gap: 18px; align-items: flex-start; }
.split__list .no {
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; color: var(--brass);
  flex-shrink: 0; width: 28px; padding-top: 1px;
}
.split__list strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.split__list span { color: var(--ink-2); font-size: 15px; }

/* ---------- 10. 保证三列 ---------- */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.promise {
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease);
}
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promise__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--peacock-tint); color: var(--peacock);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform 500ms var(--ease-out);
}
.promise:hover .promise__icon { background: var(--peacock); color: #fff; transform: rotate(-8deg) scale(1.06); }
.promise h3 { font-size: 21px; margin-bottom: 12px; }
.promise p { color: var(--ink-2); margin: 0; font-size: 15.5px; }

/* ---------- 11. 规格图解（带编号热点） ---------- */
.hotspot {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  background: var(--bone-3); box-shadow: var(--shadow-md);
}
.hotspot__img { width: 100%; height: auto; display: block; }
.hotspot__pin {
  position: absolute; width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  background: var(--paper); color: var(--peacock);
  border: none; border-radius: 50%;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.hotspot__pin::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid var(--peacock); opacity: 0;
  animation: pin-pulse 2.6s var(--ease) infinite;
}
.hotspot__pin:hover, .hotspot__pin.is-active { background: var(--peacock); color: #fff; transform: translate(-50%, -50%) scale(1.14); }
@keyframes pin-pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.hotspot__legend {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0; border-top: 1px solid var(--line); background: var(--paper);
}
.hotspot__legend li {
  list-style: none; display: flex; gap: 14px; padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  transition: background-color var(--dur-fast) var(--ease);
}
.hotspot__legend li:hover { background: var(--peacock-tint); }
.hotspot__legend li.is-active { background: var(--peacock-tint); }
.hotspot__legend .no { font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 600; color: var(--brass); flex-shrink: 0; }
.hotspot__legend strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.hotspot__legend span { color: var(--ink-2); font-size: 14px; }

/* ---------- 12. 商品详情页（Shopify 式两栏） ---------- */
.pdp { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
@media (min-width: 1200px) { .pdp { grid-template-columns: 440px minmax(0, 560px); justify-content: center; } }

.gallery__viewport {
  position: relative;
  aspect-ratio: 1 / 1;                 /* 固定 1:1，切图高度不跳变 */
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.gallery__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;                 /* 居中不裁切 */
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 320ms var(--ease), filter 320ms var(--ease);
}
.gallery__img.is-active { opacity: 1; }
.gallery__img:hover { filter: brightness(1.04); }  /* 悬停改亮度，不放大 */
.gallery__thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gallery__thumb {
  width: 96px; height: 96px;            /* 96×96，间距 12px */
  border: none; border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  padding: 0; cursor: pointer; overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery__thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.gallery__thumb.is-active { box-shadow: inset 0 0 0 2px var(--peacock); }
.gallery__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.gallery__zoom:hover { background: #fff; transform: scale(1.08); }

.pdp__info { min-width: 0; }
.pdp__series { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--peacock); display: block; margin-bottom: 10px; }
.pdp__title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.15; margin-bottom: 16px; text-wrap: balance; }
.pdp__lead { color: var(--ink-2); margin-bottom: 24px; font-size: 16.5px; }
.pdp__price { font-family: var(--font-display); font-size: 32px; font-weight: 600; margin-bottom: 4px; }
.pdp__price-note { font-size: 13.5px; color: var(--ink-3); margin-bottom: 26px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badges span {
  font-size: 12.5px; font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--peacock-tint); color: var(--peacock-deep);
  display: inline-flex; align-items: center; gap: 7px;
}
.badges span::before { content: ""; width: 5px; height: 5px; background: var(--peacock); border-radius: 50%; display: inline-block; }

.pdp__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.pdp__actions .btn { width: 100%; }
.pdp__qty {
  display: inline-flex; align-items: center;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-btn); overflow: hidden;
}
.pdp__qty button { width: 46px; height: 52px; border: none; background: transparent; cursor: pointer; font-size: 17px; color: var(--ink-2); transition: background-color var(--dur-fast) var(--ease); }
.pdp__qty button:hover { background: var(--bone-2); color: var(--ink); }
.pdp__qty input { width: 60px; height: 52px; border: none; text-align: center; font-size: 16px; background: transparent; }

.trust-icons {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px;
}
.trust-icons__item {
  padding: 18px 14px; text-align: center;
  background: var(--paper); border-radius: var(--r-btn);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.trust-icons__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.trust-icons__item svg { width: 22px; height: 22px; margin: 0 auto 9px; display: block; color: var(--peacock); }
.trust-icons__item span { font-size: 12px; color: var(--ink-2); display: block; line-height: 1.45; }

/* 规格表：dl 两列 */
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.spec-row dt { font-size: 12.5px; letter-spacing: 0.03em; color: var(--ink-3); margin: 0; padding-top: 2px; }
.spec-row dd { margin: 0; font-size: 15.5px; color: var(--ink); min-width: 0; word-break: break-word; }

.spec-sheet {
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.spec-sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
}
.spec-sheet__head span:last-child { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--ink-3); }
.spec-sheet__body { padding: 0 24px 8px; }
.spec-sheet__body .spec-row:last-child { border-bottom: none; }
.spec-sheet__note { font-size: 12.5px; color: var(--ink-3); padding: 0 24px 20px; margin: 0; }

/* 手风琴 FAQ */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 17.5px;
  transition: color var(--dur-fast) var(--ease);
}
.acc__btn:hover { color: var(--peacock); }
.acc__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bone-2); color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 17px; line-height: 1;
  transition: transform 320ms var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.acc__item.is-open .acc__icon { transform: rotate(45deg); background: var(--peacock); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }

/* 吸底下单条 */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(22, 25, 28, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(100%);
  transition: transform 360ms var(--ease-out);
}
.sticky-buy.is-on { transform: none; }
.sticky-buy__inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.sticky-buy__thumb { width: 48px; height: 48px; border-radius: var(--r-sm); object-fit: contain; background: #fff; flex-shrink: 0; }
.sticky-buy__name { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; }
.sticky-buy__price { font-size: 13.5px; color: #b9bec4; }
.sticky-buy__spacer { margin-left: auto; }
.sticky-buy .btn { box-shadow: var(--shadow-peacock); }

/* ---------- 13. 面包屑 ---------- */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 24px 0 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs a { transition: color var(--dur-fast) var(--ease); }
.crumbs a:hover { color: var(--peacock); }
.crumbs span { margin: 0 8px; color: var(--line); }

/* ---------- 14. 页脚（对比度 ≥4.5:1，像素实测） ---------- */
.site-footer { background: var(--dark); color: #d5d8db; }
.site-footer a { color: #d5d8db; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(56px, 7vw, 88px) 0 44px; }
.footer-brand__lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand__lockup .brand__mark { flex-shrink: 0; }
.footer-brand__name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0.06em; color: #fff; }
.footer-brand p { color: #b9bec4; font-size: 14.5px; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 16px; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: #c5c9ce; transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease); display: inline-block; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-company { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 13.5px; color: #b9bec4; }
.footer-company strong { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: #b9bec4; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 9px; color: #fff !important;
  border: 1px solid rgba(255,255,255,.32); border-radius: var(--r-pill);
  padding: 10px 18px; font-size: 13.5px; font-weight: 500;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer-wa:hover { background: #fff; color: var(--dark) !important; transform: translateY(-1px); }

/* ---------- 15. 动效系统 ---------- */
/* 揭示：淡入 + 上浮 */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* 揭示：图片遮罩揭开 */
[data-reveal="clip"] { clip-path: inset(12% 6% 12% 6% round var(--r-card)); opacity: 1; transform: none; transition: clip-path 900ms var(--ease-out); }
[data-reveal="clip"].is-in { clip-path: inset(0 round var(--r-card)); }

/* 揭示：模糊聚焦 */
[data-reveal="blur"] { opacity: 0; filter: blur(14px); transform: translateY(20px); transition: opacity 700ms var(--ease), filter 900ms var(--ease-out), transform 900ms var(--ease-out); }
[data-reveal="blur"].is-in { opacity: 1; filter: blur(0); transform: none; }

/* 揭示：横向滑入 */
[data-reveal="left"] { opacity: 0; transform: translateX(-36px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
[data-reveal="left"].is-in { opacity: 1; transform: none; }
[data-reveal="right"] { opacity: 0; transform: translateX(36px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
[data-reveal="right"].is-in { opacity: 1; transform: none; }

/* 揭示：缩放 */
[data-reveal="scale"] { opacity: 0; transform: scale(0.94); transition: opacity var(--dur) var(--ease), transform 800ms var(--ease-out); }
[data-reveal="scale"].is-in { opacity: 1; transform: none; }

/* 滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2.5px; width: 100%;
  background: linear-gradient(90deg, var(--peacock), var(--brass));
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* 跑马灯 */
.marquee {
  overflow: hidden;
  background: var(--dark);
  color: #c8ccd0;
  padding: 18px 0;
  border-radius: 0;
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 14px; font-size: 14.5px; white-space: nowrap; }
.marquee__item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); margin-left: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 数字滚动 */
.countup { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .marquee__track { animation: none !important; }
  .hotspot__pin::after { animation: none !important; }
}

/* ---------- 16. 灯箱（原生 dialog） ---------- */
dialog.lightbox { border: none; padding: 0; background: rgba(16,18,20,.94); max-width: 92vw; max-height: 92vh; border-radius: var(--r-card); overflow: hidden; }
dialog.lightbox::backdrop { background: rgba(16,18,20,.88); backdrop-filter: blur(6px); }
dialog.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; display: block; margin: 0 auto; }
dialog.lightbox .lightbox__close {
  position: fixed; top: 20px; right: 24px; z-index: 2;
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-size: 19px; color: #fff;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
dialog.lightbox .lightbox__close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }

/* ---------- 17. 法务页 / 通用页面 ---------- */
.page-narrow { max-width: 820px; }
.page-narrow h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; margin-bottom: 10px; }
.page-narrow h2 { font-size: 22px; margin: 44px 0 14px; }
.page-narrow h3 { font-size: 17px; margin: 30px 0 8px; }
.page-narrow p, .page-narrow li { color: var(--ink-2); }
.page-narrow ul { padding-left: 22px; }
.page-meta { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--peacock); margin-bottom: 34px; display: block; }
.legal-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); font-weight: 500; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { border-radius: var(--r-card); padding: 28px; background: var(--paper); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.contact-card h3 { font-size: 18px; margin-bottom: 12px; }
.contact-card p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 12.5px; letter-spacing: 0.03em; color: var(--ink-3); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-btn);
  background: var(--paper); font-size: 15.5px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--peacock); outline: none; box-shadow: 0 0 0 4px var(--peacock-tint); }

/* ---------- 18. 搜索 / 归档 ---------- */
.archive-head { padding: clamp(44px, 5vw, 72px) 0 36px; margin-bottom: 44px; }
.archive-head h1 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 300; margin-bottom: 14px; }
.archive-head p { color: var(--ink-2); max-width: 62ch; margin: 0; font-size: 17px; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1100px) {
  .hero__body { grid-template-columns: 1fr; }
  .hero__panel { max-width: 420px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .trustbar__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  /* 字标带上后缀后会变长，窄屏先收标记与字号，避免把工具区挤出视口 */
  .brand { gap: 10px; }
  .brand > .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 19px; letter-spacing: 0.05em; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease-out);
    margin-left: 0; box-shadow: var(--shadow-md);
  }
  .nav.is-open { max-height: 76vh; overflow-y: auto; }
  .nav__list { flex-direction: column; padding: 14px var(--pad-x) 22px; }
  .nav__panel {
    position: static; min-width: 0; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    border-left: 2px solid var(--line); border-radius: 0;
    padding: 8px 0 8px 18px; margin: 0 0 8px 16px;
    grid-template-columns: 1fr; gap: 0;
  }
  .topbar__list li:nth-child(n+3) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .promises { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp .gallery { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .brand > .brand__mark { width: 26px; height: 26px; }
  .brand .brand__name { font-size: 17px; letter-spacing: 0.04em; }
  .brand .brand__suffix { font-size: 0.5em; letter-spacing: 0.14em; }
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card__body { padding: 16px 16px 20px; }
  .card__title { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-icons { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .section-head--row { flex-direction: column; align-items: flex-start; }

  /* 顶栏：窄屏只留第一条，且不折行 */
  /* 窄屏顶栏：tagline 太长会把 WhatsApp 挤成两行，改为只留联系方式并居中 */
  .topbar { min-height: 0; }
  .topbar__inner { justify-content: center; padding-top: 7px; padding-bottom: 7px; }
  .topbar__list { display: none; }
  .topbar__wa { font-size: 12.5px; letter-spacing: 0.04em; }

  /* 缩略图保持规范 10 的 96x96 / 12px 间距，窄屏靠换行而不是缩小 */
  .gallery__thumb { width: 96px; height: 96px; }

  /* 吸底下单条：窄屏只留按钮。原先带缩略图 + 四行标题，高约 160px，
     会长期盖住正文（截图实测）。商品名在页内已有，无需重复。 */
  .sticky-buy__inner { min-height: 60px; gap: 12px; padding: 10px var(--pad-x); }
  .sticky-buy__thumb,
  .sticky-buy__name,
  .sticky-buy__price { display: none; }
  .sticky-buy__spacer { display: none; }
  .sticky-buy .btn { width: 100%; justify-content: center; }
}

/* ---------- 20. 商品描述正文插图 ---------- */
.entry-content { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.entry-content p { margin: 0 0 22px; max-width: 68ch; }
.entry-figure {
  margin: 36px 0; border-radius: var(--r-card); overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.entry-figure img {
  display: block; width: 100%; height: auto;
  object-fit: contain; background: var(--bone-3);
}
.entry-figure figcaption {
  font-size: 13px; color: var(--ink-3);
  padding: 14px 20px; background: var(--paper);
}

/* ---------- 21. 门店承诺条（深色） ---------- */
.pledge { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.pledge__item {
  padding: 28px 24px; text-align: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-card);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform 420ms var(--ease-out);
}
.pledge__item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.pledge__item svg { width: 26px; height: 26px; color: #8fd9cf; margin: 0 auto 14px; display: block; }
.pledge__item strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.pledge__item span { font-size: 14px; color: #c3c8cc; }

/* ---------- 22. WhatsApp 悬浮弹窗 ---------- */
.wa-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wa-widget {
  position: fixed;
  right: clamp(16px, 2.2vw, 30px);
  bottom: calc(clamp(16px, 2.2vw, 30px) + var(--wa-offset, 0px));
  z-index: 150;
  pointer-events: none;            /* 根容器不挡页面，只有子元素可点 */
  transition: bottom 360ms var(--ease-out);
}
.wa-widget > * { pointer-events: auto; }

/* 气泡与面板都是"贴在悬浮按钮正上方"的绝对定位层：
   关闭时完全不占布局空间（否则会把气泡顶到很远的地方） */
.wa-teaser,
.wa-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
}

/* PDP 吸底下单条出现时把整个组件抬起来（sticky-buy 高 74px / 窄屏 60px） */
body:has(.sticky-buy.is-on) .wa-widget { --wa-offset: 74px; }
@media (max-width: 860px) {
  body:has(.sticky-buy.is-on) .wa-widget { --wa-offset: 60px; }
}

/* ---- 主动气泡 ---- */
.wa-teaser {
  width: min(272px, calc(100vw - 32px));
  padding: 15px 34px 16px 17px;
  background: var(--paper);
  border-radius: 20px 20px 6px 20px;
  box-shadow: var(--shadow-md);
  transform: translateY(10px) scale(0.96);
  transform-origin: 100% 100%;
  opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--ease), transform 380ms var(--ease-out),
              visibility 0s linear 380ms;
}
.wa-teaser.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 280ms var(--ease), transform 420ms var(--ease-out),
              visibility 0s;
}
/* 指向按钮的小尾巴 */
.wa-teaser::after {
  content: ""; position: absolute; right: 22px; bottom: -6px;
  width: 14px; height: 14px; background: var(--paper);
  border-radius: 0 0 3px 0; transform: rotate(45deg);
}
.wa-teaser__title {
  margin: 0 0 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 16px; line-height: 1.2; color: var(--ink);
}
.wa-teaser__text { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.wa-teaser__close {
  position: absolute; top: 9px; right: 9px;
  width: 22px; height: 22px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--ink-3); cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.wa-teaser__close:hover { background: var(--bone-2); color: var(--ink); }

/* ---- 对话面板 ---- */
.wa-panel {
  width: min(376px, calc(100vw - 32px));
  max-height: calc(100vh - 140px);
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(0.94);
  transform-origin: 100% 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 240ms var(--ease), transform 420ms var(--ease-out),
              visibility 0s linear 420ms;
}
.wa-widget.is-open .wa-panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 240ms var(--ease), transform 460ms var(--ease-out), visibility 0s;
}

.wa-panel__head {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 16px 17px 18px;
  background: linear-gradient(145deg, var(--peacock) 0%, var(--peacock-deep) 100%);
  color: #fff;
  position: relative;
}
/* 顶部一道极淡的黄铜细光，呼应全站质感 */
.wa-panel__head::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 138, 74, 0.55), transparent);
}
/* 头像直接用品牌标记本身（它自带孔雀绿圆角底），不再套一层方框，避免图形互相打架 */
.wa-panel__avatar {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 13px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.wa-panel__avatar svg { width: 40px; height: 40px; display: block; }
.wa-panel__id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wa-panel__name {
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  line-height: 1.2; letter-spacing: 0.1px;
}
.wa-panel__sub {
  font-size: 11.5px; line-height: 1.3; color: rgba(255, 255, 255, 0.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-panel__close {
  margin-left: auto; flex-shrink: 0;
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  color: #fff; cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.wa-panel__close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }

.wa-panel__body {
  padding: 18px 16px 14px;
  background: var(--bone);
  display: flex; flex-direction: column; gap: 10px;
  max-height: min(46vh, 340px); overflow-y: auto; overscroll-behavior: contain;
}

/* 消息气泡 */
.wa-msg {
  max-width: 92%;
  padding: 11px 14px;
  background: var(--paper);
  border-radius: 4px 16px 16px 16px;
  box-shadow: var(--shadow-xs);
}
.wa-msg--ctx { align-self: flex-end; border-radius: 16px 4px 16px 16px; background: var(--peacock-tint); }
.wa-msg__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.wa-msg__text strong { color: var(--ink); font-weight: 600; }
.wa-msg__sku {
  display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: 0.3px;
  color: var(--peacock); font-weight: 500;
}

/* "正在输入"三点 */
.wa-typing { display: inline-flex; gap: 4px; align-items: center; height: 15px; margin-bottom: 2px; }
.wa-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
  opacity: 0.45; animation: wa-dot 1.25s infinite ease-in-out;
}
.wa-typing i:nth-child(2) { animation-delay: 0.16s; }
.wa-typing i:nth-child(3) { animation-delay: 0.32s; }
@keyframes wa-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}
/* 打字结束：隐藏三点，正文淡入 */
.wa-msg__text { opacity: 0; transition: opacity 320ms var(--ease); }
.wa-msg.is-ready .wa-msg__text { opacity: 1; }
.wa-msg.is-ready .wa-typing { display: none; }
.wa-msg--ctx .wa-msg__text { opacity: 1; }   /* 商品上下文气泡不做打字动画 */

/* 快捷选项 */
.wa-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.wa-chip {
  padding: 8px 13px; font: inherit; font-size: 12.5px; font-weight: 500;
  line-height: 1.2; color: var(--peacock);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-pill); cursor: pointer;
  transform: translateY(8px); opacity: 0;
  transition: transform 340ms var(--ease-out), opacity 280ms var(--ease),
              background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.wa-widget.is-open .wa-chip { transform: none; opacity: 1; }
.wa-widget.is-open .wa-chip:nth-child(2) { transition-delay: 60ms; }
.wa-widget.is-open .wa-chip:nth-child(3) { transition-delay: 120ms; }
.wa-widget.is-open .wa-chip:nth-child(4) { transition-delay: 180ms; }
.wa-chip:hover { background: var(--peacock); border-color: var(--peacock); color: #fff; }
.wa-chip:focus-visible { outline: 2px solid var(--peacock); outline-offset: 2px; }

/* 输入区 */
.wa-panel__foot {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px 14px; background: var(--bone);
  border-top: 1px solid var(--line-soft);
}
.wa-panel__input {
  flex: 1; min-width: 0; height: 44px; padding: 0 15px;
  font: inherit; font-size: 13.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-btn);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.wa-panel__input::placeholder { color: var(--ink-3); }
.wa-panel__input:focus {
  outline: none; border-color: var(--peacock);
  box-shadow: 0 0 0 3px rgba(15, 92, 99, 0.12);
}
.wa-panel__send {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border: 0; border-radius: var(--r-btn); cursor: pointer;
  background: var(--peacock); color: #fff;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.wa-panel__send:hover { background: var(--peacock-deep); transform: translateY(-1px); }
.wa-panel__send:active { transform: translateY(0); }

/* ---- 悬浮按钮 ---- */
.wa-fab {
  position: relative;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 16px;
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  background: linear-gradient(145deg, var(--peacock) 0%, var(--peacock-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-peacock);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out),
              padding 320ms var(--ease-out), gap 320ms var(--ease-out);
  /* 入场：从下方弹入 */
  animation: wa-fab-in 620ms var(--ease-out) 900ms both;
}
@keyframes wa-fab-in {
  from { transform: translateY(18px) scale(0.8); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(15, 92, 99, 0.45); }
.wa-fab__icon { display: grid; place-items: center; position: relative; z-index: 1; }
.wa-fab__label {
  position: relative; z-index: 1;
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.1px;
  transition: max-width 380ms var(--ease-out), margin-left 380ms var(--ease-out);
}
.wa-fab:hover,
.wa-fab:focus-visible { padding: 0 22px 0 17px; gap: 9px; }
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { max-width: 160px; }

/* 呼吸光圈（两圈错峰） */
.wa-fab__ring {
  position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid rgba(15, 92, 99, 0.5);
  animation: wa-ring 2.8s var(--ease-out) infinite;
  pointer-events: none;
}
.wa-fab__ring--2 { animation-delay: 1.4s; }
@keyframes wa-ring {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(1.42); opacity: 0; }
}
/* 面板打开时收了光圈，避免干扰 */
.wa-widget.is-open .wa-fab__ring { animation: none; opacity: 0; }

/* ---- 窄屏：面板贴到接近全宽 ---- */
@media (max-width: 600px) {
  .wa-widget { right: 14px; bottom: calc(14px + var(--wa-offset, 0px)); }
  .wa-panel { width: calc(100vw - 28px); max-height: calc(100vh - 130px); }
  .wa-teaser { width: calc(100vw - 82px); }
  .wa-panel__body { max-height: 40vh; }
  .wa-fab { height: 54px; padding: 0 15px; }
  .wa-fab:hover, .wa-fab:focus-visible { padding: 0 15px; gap: 0; }
  .wa-fab:hover .wa-fab__label { max-width: 0; }   /* 窄屏不长出文字，保持圆形小巧 */
}

/* ---- 尊重 reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
  .wa-fab__ring { animation: none; opacity: 0; }
  .wa-typing i { animation: none; opacity: 0.6; }
  .wa-panel, .wa-teaser, .wa-chip { transition-duration: 1ms; }
}

/* 输入为空时轻抖一下，提示"先写点东西" */
.wa-panel__input.is-shake { animation: wa-shake 340ms var(--ease); }
@keyframes wa-shake {
  0%, 100% { transform: translateX(0); }
  22%      { transform: translateX(-5px); }
  55%      { transform: translateX(4px); }
  80%      { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-panel__input.is-shake { animation: none; border-color: #c0554b; }
}
