/* =========================================================
   GLOBAL IT STORE PTE LTD — Global Stylesheet
   Restrained corporate · light theme · responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #B83A1E;          /* 主强调色：深砖红，白字对比 5.7:1（AA） */
  --brand-rgb: 184, 58, 30;  /* 同一色的 RGB 分量，供半透明叠色使用 */
  --brand-hover: #A33218;    /* 按钮悬停，比主色再暗一档 */
  --brand-ink: #96301A;      /* 品牌色系文字，白底对比 7.7:1（AAA） */
  --brand-soft: #F8EAE4;     /* 浅底：导航悬停、选中态 */
  --brand-soft-2: #F0DAD2;   /* 浅底加深：卡片/FAQ 悬停边框 */

  --ink: #12122B;
  --ink-2: #33334D;
  --muted: #6E6E8A;
  --line: #E8E8F2;
  --line-2: #F2F2F8;

  --bg: #FFFFFF;
  --surface: #F8F8FC;
  --surface-2: #F2F2F9;

  --mint: #0B7A57;
  --yellow: #B57E24;   /* 星级金：浅灰底 3.3:1，满足非文本 3:1 */

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(18, 18, 43, .04);
  --shadow-sm: 0 1px 3px rgba(18, 18, 43, .06);
  --shadow-md: 0 6px 18px -10px rgba(18, 18, 43, .18);
  --shadow-lg: 0 16px 36px -20px rgba(18, 18, 43, .22);
  --shadow-brand: 0 10px 22px -10px rgba(var(--brand-rgb), .38);

  /* 商品图区：统一浅灰底 + 深色线稿 */
  --art-bg: #F6F7F9;
  --art-line: #2B2B3D;

  --wrap: 1220px;
  --header-h: 74px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), .45);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: rgba(var(--brand-rgb), .18); }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--surface { background: var(--surface); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.sec-head__txt { max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand);
}

.sec-title {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.03em;
}

.sec-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-hover);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}

.link-arrow:hover { color: var(--brand); }

.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar__msg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.topbar__msg svg { width: 15px; height: 15px; color: var(--yellow); }

.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__links a { transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  /* 实色背景：backdrop-filter 会让内部 fixed 抽屉的渲染层错位，且纯色底上无视觉收益 */
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px -20px rgba(18, 18, 43, .4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

/* Logo —— 使用官方横版标志（assets/img/logo.png），不做任何重新绘制 */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: 40px;
  width: auto;
}

/* 页脚深色底用反白版 */
.logo--footer .logo__img { height: 46px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
}

.nav a {
  white-space: nowrap;
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}

.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--brand);
  transform: translateX(-50%);
}

/* 移动端导航内嵌搜索（桌面端隐藏） */
.nav__search {
  display: none;
  align-items: center;
  gap: 10px;
  height: 46px;
  margin-bottom: 8px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.nav__search svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }

.nav__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 15px;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 6px 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.search:focus-within {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}

.search svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }

.search input {
  width: 168px;
  border: 0;
  background: none;
  outline: none;
  font-size: 14px;
}

.search input::placeholder { color: #A0A0B8; }

.search__go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.search__go svg { width: 15px; height: 15px; color: #fff; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .2s, color .2s, transform .2s;
}

.icon-btn:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }

.lang-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}

.lang-btn:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform .3s var(--ease);
}

.cart-count.is-on { transform: scale(1); }

.menu-btn { display: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 80px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-2);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.hero__tag b {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero__title {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__desc {
  margin-top: 20px;
  max-width: 500px;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}

.hero__stat span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__device {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 3.25;
  border-radius: var(--r-lg);
  background: var(--art-bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}

/* Hero 主视觉下方的品牌带 */
.hero__caption {
  margin-top: 18px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
}

.hero__device svg { position: relative; z-index: 1; width: 100%; height: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  z-index: 2;
}

.float-card svg { width: 18px; height: 18px; }
.float-card small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }

.float-card--1 { top: 8%; left: -6%; animation-delay: -.6s; }
.float-card--2 { bottom: 16%; right: -7%; animation-delay: -2.4s; }
.float-card--3 { bottom: 4%; left: 4%; animation-delay: -4s; }

/* ---------- 8. Marquee / trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.trust__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--art-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust__icon svg { width: 21px; height: 21px; }

.trust__item b { display: block; font-size: 14px; color: var(--ink); font-weight: 800; }
.trust__item span { font-size: 12.5px; color: var(--muted); }

/* ---------- 9. Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 1px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  text-align: left;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.cat-card:hover {
  border-color: #D5D6E4;
  background: #FCFCFD;
}

.cat-card__icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--art-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.cat-card__icon svg { width: 24px; height: 24px; }

.cat-card:hover .cat-card__icon {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

.cat-card b {
  grid-column: 2;
  align-self: end;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.cat-card > span:not(.cat-card__icon) {
  grid-column: 2;
  align-self: start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- 9.5 品牌墙 ---------- */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 112px;
  max-width: 140px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.brand:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

/* ---------- 10. Product card ---------- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.p-card:hover {
  transform: translateY(-4px);
  border-color: #D8D9E6;
  box-shadow: var(--shadow-lg);
}

.p-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.15;
  background: var(--art-bg);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}

.p-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px 30px;
  transition: transform .5s var(--ease);
}

.p-art svg { width: 100%; height: auto; max-height: 100%; }

.p-card:hover .p-art { transform: scale(1.04); }

/* 实拍商品图（商品有 img 字段时用，否则退回线稿） */
.p-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .94);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.p-badge--hot { color: var(--ink); border-color: #D5D6E4; }
.p-badge--sale { color: var(--brand-ink); border-color: #E9C9BE; background: #FCF4F1; }
.p-badge--new { color: #0B7355; border-color: #C6EBDF; background: #F4FBF8; }

.p-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.p-cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--muted);
}

.p-name {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-name a:hover { color: var(--brand-ink); }

/* 卡片上的赠品小标签 */
.p-gift {
  align-self: flex-start;
  margin-top: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  color: #8A5A05;
  background: #FFF6E0;
  border: 1px solid #F0D8A6;
  white-space: nowrap;
}

.p-rate {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.p-rate svg { width: 13px; height: 13px; color: var(--yellow); }
.p-rate span { color: var(--muted); font-weight: 600; }

.p-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.p-price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.p-price s {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #A8A8BE;
  text-decoration-thickness: 1.5px;
}

/* 询价模式：价格位置显示「询价」（全站不公布价格） */
.p-price--ask {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--brand-ink);
}

.pd__price--ask { font-size: 26px; color: var(--brand-ink); }
.pd__pricenote { font-size: 13px; color: var(--muted); padding-bottom: 4px; }

/* 商品目录为空时的提示块 */
.catalog-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.catalog-empty__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--art-bg);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
}

.catalog-empty__icon svg { width: 26px; height: 26px; }
.catalog-empty b { font-size: 18px; color: var(--ink); }
.catalog-empty p { font-size: 14px; color: var(--muted); max-width: 430px; line-height: 1.65; }
.catalog-empty .btn { margin-top: 6px; }

/* 购物车（询价单）顶部说明 */
.cart-ask {
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}

.p-add {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  transition: background .25s, color .25s, border-color .25s;
}

.p-add svg { width: 17px; height: 17px; }
.p-add:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 11. Deals banner ---------- */
.deals {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #15152A;
  color: #fff;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.deals h2 {
  position: relative;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.03em;
}

.deals p {
  position: relative;
  margin-top: 14px;
  color: rgba(255, 255, 255, .72);
  max-width: 440px;
}

.deals__timer {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.timer-cell {
  min-width: 74px;
  padding: 12px 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}

.timer-cell b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.timer-cell span {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  font-weight: 700;
}

.deals__card {
  position: relative;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 24px;
}

.deals__card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.deals__thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 10px;
  flex-shrink: 0;
}

.deals__thumb svg { width: 100%; height: auto; }
.deals__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* 促销期文字（深色卡内） */
.deals__period {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .62);
  font-variant-numeric: tabular-nums;
}

/* 免运费小标（深色促销卡内） */
.deals__free {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.deals__card h3 { color: #fff; font-size: 16px; line-height: 1.35; }
.deals__card .p-price { color: #fff; font-size: 22px; margin-top: 4px; }
.deals__card .p-price s { color: rgba(255, 255, 255, .45); }

.deals__off {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 4px;
  background: #fff;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* 深色区块内的眉标 */
.deals .eyebrow { color: rgba(255, 255, 255, .55); }
.deals .eyebrow::before { background: rgba(255, 255, 255, .5); }

.deals__card .btn { margin-top: 20px; }

/* ---------- 12. Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc {
  padding: 28px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.svc__icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--art-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 16px;
}

.svc__icon svg { width: 23px; height: 23px; }
.svc h3 { font-size: 16px; margin-bottom: 8px; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- 12b. NozzleGuard 推广条 ---------- */
.ng {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--r-lg);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
}

.ng__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--brand-soft-2);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ng__icon svg { width: 26px; height: 26px; }

.ng__title { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.02em; }
.ng__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }

.ng__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.ng__meta li { display: flex; align-items: center; gap: 7px; }

.ng__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

.ng__act { display: grid; gap: 10px; justify-items: start; }
.ng__note { font-size: 12.5px; color: var(--muted); }

/* 窄屏：单列堆叠，按钮拉满整行 */
@media (max-width: 860px) {
  .ng { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .ng__icon { width: 44px; height: 44px; border-radius: 10px; }
  .ng__icon svg { width: 22px; height: 22px; }
  .ng__act { justify-items: stretch; }
  .ng__act .btn { width: 100%; }
  .ng__note { text-align: center; }
}

/* ---------- 13. Newsletter / CTA ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: center;
  color: var(--ink-2);
}

.newsletter h2 { color: var(--ink); font-size: clamp(22px, 2.4vw, 30px); }
.newsletter p { margin-top: 10px; color: var(--muted); max-width: 440px; }

.newsletter__form {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14.5px;
}

.newsletter__form input::placeholder { color: #9A9AB2; }

.newsletter__form button {
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}

.newsletter__form button:hover { background: var(--brand-hover); }

.newsletter__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 14. Footer ---------- */
.footer {
  background: #0D0D1F;
  color: rgba(255, 255, 255, .62);
  padding: 68px 0 0;
  margin-top: 84px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}


.footer__about {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer__reg {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .38);
  letter-spacing: .02em;
}

.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 800;
}

.footer__links { display: grid; gap: 11px; font-size: 14px; }
.footer__links a { transition: color .2s, transform .2s; display: inline-block; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }

/* 站外链接（NozzleGuard 子站）：补一个 ↗ 说明会跳出去 */
.footer__ext::after {
  content: "↗";
  margin-left: 5px;
  font-size: 11px;
  opacity: .55;
}

.socials { display: flex; gap: 10px; margin-top: 22px; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .75);
  transition: background .25s, color .25s, transform .25s;
}

.socials a:hover { background: var(--ink); color: #fff; border-color: transparent; }
.socials svg { width: 17px; height: 17px; }

.footer__contact { display: grid; gap: 14px; font-size: 14px; }

.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; margin-top: 3px; color: var(--brand); flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; }

.pay-icons span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}

/* 「店内」限定标记：挂在 VISA / MASTER 后面，字号更小、去掉字距，
   避免和品牌名抢注意力，同时一眼能看出「这张卡只能到店刷」 */
.pay-icons em {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .88);
}

/* ---------- 15. Cart drawer ---------- */
.mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 26, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.mask.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  width: min(430px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .42s var(--ease);
  box-shadow: -30px 0 70px -30px rgba(10, 10, 26, .45);
}

.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer__head h3 { font-size: 18px; display: flex; align-items: center; gap: 9px; }

.drawer__head .pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 800;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}

.cart-item:last-child { border-bottom: 0; }

.cart-item__thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--r-xs);
  background: var(--art-bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 8px;
}

.cart-item__thumb svg { width: 100%; height: auto; }

.cart-item__name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
}

.cart-item__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .2s;
}

.qty button:hover { background: var(--brand-soft); color: var(--brand-ink); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 800; }

.cart-item__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item__price { font-size: 15px; font-weight: 900; color: var(--ink); }

.cart-item__del {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-item__del:hover { color: var(--brand); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 300px;
  text-align: center;
  color: var(--muted);
}

.cart-empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 6px; }
.cart-empty b { color: var(--ink); font-size: 16px; }
.cart-empty p { font-size: 13.5px; max-width: 240px; }

.drawer__foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 9px;
  color: var(--muted);
}

.sum-row--total {
  margin: 14px 0 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 16px;
  color: var(--ink);
  font-weight: 800;
}

.sum-row--total b { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }

.free-ship-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin: 10px 0 6px;
}

.free-ship-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: width .4s var(--ease);
}

.free-ship-hint { font-size: 12px; color: var(--muted); }

/* ---------- 16. Toast ---------- */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastIn .35s var(--ease);
}

.toast svg { width: 17px; height: 17px; color: var(--mint); }
.toast.is-out { animation: toastOut .3s forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px) scale(.97); }
}

/* ---------- 17. Page hero (inner pages) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 52px 0 46px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.crumbs a:hover { color: var(--brand-ink); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

.page-head h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.035em;
}

.page-head p {
  margin-top: 12px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15.5px;
  text-wrap: pretty;
}

/* ---------- 18. Shop layout ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0 20px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 26px;
}

/* 移动端折叠筛选（桌面端隐藏按钮） */
.filters__toggle { display: none; }
.filters__body { display: grid; gap: 26px; }

.filter-block h4 {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 800;
}

.filter-list { display: grid; gap: 3px; }

.filter-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  transition: background .2s, color .2s;
}

.filter-list button span { font-size: 12px; color: var(--muted); font-weight: 700; }
.filter-list button:hover { background: var(--surface); }
.filter-list button.is-on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; }
.filter-list button.is-on span { color: var(--brand); }

.price-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.price-chips button {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}

.price-chips button:hover { border-color: var(--brand); color: var(--brand-ink); }
.price-chips button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.shop-count { font-size: 14px; color: var(--muted); }
.shop-count b { color: var(--ink); font-weight: 800; }

.sort-select {
  appearance: none;
  padding: 10px 38px 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E8A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 15px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 80px 20px;
  text-align: center;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
}

.empty-state svg { width: 52px; height: 52px; color: var(--line); }
.empty-state b { font-size: 17px; color: var(--ink); }
.empty-state p { font-size: 14px; color: var(--muted); }

/* ---------- 19. Product detail ---------- */
.pd {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  padding: 44px 0 10px;
  align-items: start;
}

.pd__gallery { position: sticky; top: calc(var(--header-h) + 20px); }

.pd__main {
  position: relative;
  aspect-ratio: 1 / .92;
  border-radius: var(--r-lg);
  background: var(--art-bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 48px;
  overflow: hidden;
}

.pd__main svg { display: block; width: 100%; height: auto; max-height: 100%; }
.pd__main img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 促销期徽标（详情页价格下方） */
/* 促销期 / 免运费 徽标（详情页价格下方） */
.pd__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pd__promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pd__promo svg { width: 14px; height: 14px; flex-shrink: 0; }

/* 免运费用绿色，和砖红的促销期区分开 */
.pd__promo--free {
  background: #F1F9F5;
  border-color: #CBE8DA;
  color: #0B7355;
}

/* 原厂保修提示（详情页价格下方，主机 / 灯泡期限不同时用） */
.pd__warranty {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.pd__warranty-ic {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--r-xs);
  background: #F1F9F5;
  color: var(--mint);
}
.pd__warranty-ic svg { width: 17px; height: 17px; }
.pd__warranty-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pd__warranty-txt b { font-size: 13.5px; color: var(--ink); }
.pd__warranty-txt span { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }

.pd__old {
  font-size: 15px;
  font-weight: 600;
  color: #A8A8BE;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.pd__thumbs { display: flex; gap: 10px; margin-top: 14px; }

.pd__thumbs button {
  width: 74px;
  height: 74px;
  border-radius: var(--r-xs);
  border: 2px solid transparent;
  padding: 6px;
  background: var(--surface);
  transition: border-color .2s, background .2s;
}

.pd__thumbs button.is-on { border-color: var(--brand); background: #fff; }
.pd__thumbs svg { width: 100%; height: 100%; }

.pd__info { padding-top: 6px; }

.pd__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.pd__title {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -.035em;
}

.pd__short { margin-top: 14px; font-size: 15.5px; color: var(--muted); line-height: 1.65; }

.pd__rate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.stars { display: flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; color: var(--yellow); }

.pd__price-box {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}

.pd__price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pd__old { font-size: 15px; color: #A8A8BE; text-decoration: line-through; }
.pd__save {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 11.5px;
  font-weight: 700;
}

.pd__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 20px;
}

.pd__stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(0, 196, 140, .15);
}

.pd__buy {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pd__qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  height: 52px;
  overflow: hidden;
}

.pd__qty button { width: 44px; height: 100%; font-size: 18px; font-weight: 700; transition: background .2s; }
.pd__qty button:hover { background: var(--surface); }
.pd__qty span { min-width: 34px; text-align: center; font-weight: 800; }

.pd__buy .btn { height: 52px; }

/* 搭配加购：NozzleGuard（仅打印机详情页） */
.pd__bundle {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1.5px dashed var(--brand-soft-2);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFFBFB 0%, #FFF7F5 100%);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pd__bundle:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .28);
}
.pd__bundle-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--brand-soft-2);
  color: var(--brand);
}
.pd__bundle-ic svg { width: 20px; height: 20px; }
.pd__bundle-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pd__bundle-txt b { font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
.pd__bundle-txt span { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pd__bundle-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.pd__bundle-go svg { width: 14px; height: 14px; transition: transform .18s ease; }
.pd__bundle:hover .pd__bundle-go svg { transform: translateX(3px); }

/* 厂商赠品（客户须自行到品牌官网登记，门店不代发） */
.pd__gift {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1.5px solid #F0D8A6;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFFDF7 0%, #FFF7E6 100%);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pd__gift:hover {
  border-color: #E0AE3E;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .28);
}
.pd__gift-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #F0D8A6;
  color: #A97410;
}
.pd__gift-ic svg { width: 20px; height: 20px; }
.pd__gift-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.pd__gift-txt b { font-size: 14px; color: #8A5A05; letter-spacing: -.01em; }
.pd__gift-txt > span { font-size: 12.5px; line-height: 1.5; color: #7C6A42; }

/* 赠品清单 */
.pd__gift-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pd__gift-list li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #6B4E12;
}
.pd__gift-list li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  top: 0;
  font-size: 12px;
  font-weight: 800;
  color: #D2A03A;
}
.pd__gift-txt .pd__gift-perk { font-weight: 700; color: #A97410; }

.pd__gift-txt .pd__gift-by { font-weight: 700; color: #A97410; }
.pd__gift-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  align-self: center;
  font-size: 13px;
  font-weight: 700;
  color: #A97410;
  white-space: nowrap;
}
.pd__gift-go svg { width: 14px; height: 14px; transition: transform .18s ease; }
.pd__gift:hover .pd__gift-go svg { transform: translateX(3px); }

.pd__perks {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.perk { display: flex; gap: 13px; align-items: flex-start; }

.perk__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.perk__icon svg { width: 18px; height: 18px; }
.perk b { display: block; font-size: 14px; color: var(--ink); font-weight: 800; }
.perk span { font-size: 13px; color: var(--muted); }

/* Specs */
.specs-block { margin-top: 68px; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}

.specs-table tr:nth-child(odd) { background: var(--surface); }
.specs-table th,
.specs-table td { padding: 15px 22px; text-align: left; font-size: 14px; }

.specs-table th {
  width: 32%;
  color: var(--muted);
  font-weight: 600;
}

.specs-table td { color: var(--ink); font-weight: 700; }

/* Tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

.tabs button {
  position: relative;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s;
}

.tabs button.is-on { color: var(--ink); }
.tabs button.is-on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}

/* ---------- 20. About ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 20px 0 10px;
}

.about-hero h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.about-hero p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.about-visual {
  position: relative;
  border-radius: var(--r-lg);
  aspect-ratio: 1 / .86;
  background: #15152A;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 30px;
}

.about-visual__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.about-tile {
  padding: 22px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.about-tile b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.about-tile span { font-size: 12.5px; color: rgba(255, 255, 255, .62); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.value {
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s var(--ease);
}

.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.value__num {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: .06em;
  flex-shrink: 0;
  padding-top: 3px;
}

.value h3 { font-size: 16.5px; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }

.tl-item {
  display: grid;
  grid-template-columns: 120px 28px 1fr;
  gap: 20px;
  padding-bottom: 34px;
}

.tl-year {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.02em;
  text-align: right;
  padding-top: 2px;
}

.tl-line { position: relative; display: flex; justify-content: center; }

.tl-line::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: -34px;
  width: 2px;
  background: var(--line);
}

.tl-item:last-child .tl-line::before { display: none; }

.tl-dot {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

.tl-body h3 { font-size: 16px; margin-bottom: 6px; }
.tl-body p { font-size: 14px; color: var(--muted); }

/* ---------- 21. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding: 44px 0 10px;
}

.contact-cards { display: grid; gap: 14px; }

.c-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}

.c-card:hover { border-color: var(--brand-soft-2); box-shadow: var(--shadow-sm); }

.c-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--art-bg);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.c-card__icon svg { width: 21px; height: 21px; }
.c-card h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; font-weight: 800; }
.c-card b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 800; line-height: 1.45; }
.c-card p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* 业务联系人：姓名 + 邮箱成对排列，窄屏自动换行 */
.c-people { display: grid; gap: 7px; }
.c-people li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; }
.c-people__name { font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.c-people__mail {
  font-size: 13.5px;
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}
.c-people__mail:hover { color: var(--brand); }

/* ---------- 21b. Payment details ---------- */
.pay-panel {
  padding: 30px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pay-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.pay-panel__head h2 { font-size: 22px; margin-top: 8px; }
.pay-panel__head p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 62ch; }

.pay-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pay-panel__badge svg { width: 16px; height: 16px; flex-shrink: 0; }

.pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 14px;
}

.pay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color .2s, background .2s;
}

.pay-row:hover { border-color: var(--brand-soft-2); }
.pay-row--hl { grid-column: 1 / -1; background: var(--brand-soft); border-color: var(--brand-soft-2); }

.pay-row__k {
  flex: 0 0 auto;
  min-width: 92px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-row__v {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pay-row__v--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  letter-spacing: .03em;
}

.pay-copy {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.pay-copy:hover { color: var(--brand-ink); border-color: var(--brand-soft-2); background: var(--brand-soft); }
.pay-copy:active { transform: scale(.94); }
.pay-copy svg { width: 15px; height: 15px; }

/* 「银行转账信息随发票提供」提示条 */
.pay-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.pay-request__txt b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 800; }
.pay-request__txt p { font-size: 13px; color: var(--muted); margin-top: 4px; max-width: 64ch; line-height: 1.6; }

.pay-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.pay-note {
  display: flex;
  gap: 9px;
  max-width: 68ch;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.pay-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }

.form-card {
  padding: 34px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form-card h2 { font-size: 22px; }
.form-card > p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.field textarea { resize: vertical; min-height: 132px; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}

.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.faq-item[open] { border-color: var(--brand-soft-2); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  transition: transform .25s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Map placeholder */
.map-box {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* 门店信息块 */
.map-pin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}



.map-pin__badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 4px;
}

.map-pin__badge svg { width: 20px; height: 20px; }

.map-pin__t {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.map-pin__d {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.map-pin__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}


/* ---------- 21c. 转盘抽奖（打印机详情页） ---------- */
.spin {
  margin-top: 56px;
  padding: 40px 38px 38px;
  border: 1px solid var(--brand-soft-2);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 88% 0%, #FFF3EE 0%, rgba(255, 243, 238, 0) 58%),
    linear-gradient(180deg, #FFFCFB 0%, #FFFFFF 62%);
  overflow: hidden;
}

.spin__head { max-width: 640px; }
.spin__title {
  margin: 10px 0 10px;
  font-size: 27px;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.spin__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.spin__stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 30px;
}

.spin__wheelbox {
  position: relative;
  width: 100%;
  max-width: 380px;
  cursor: pointer;
  filter: drop-shadow(0 16px 30px rgba(184, 58, 30, .16));
}
.spin__wheel { display: block; width: 100%; height: auto; }

#spinRotor {
  transform-box: view-box;
  transform-origin: 200px 200px;
  will-change: transform;
}

.spin__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spin__panel-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}
.spin__panel-top > div { display: flex; flex-direction: column; gap: 3px; }
.spin__panel-top b { font-size: 14px; color: var(--ink); }
.spin__panel-top span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.spin__gift {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.spin__gift svg { width: 19px; height: 19px; }

.spin__rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.spin__rules li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.spin__rules li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}

.spin__panel .btn { height: 52px; font-size: 15px; }

/* 中奖结果 */
.spin__win {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1.5px dashed var(--brand-soft-2);
}
.spin__win-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.spin__code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.spin__code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px dashed var(--brand-soft-2);
  border-radius: 10px;
  padding: 8px 14px;
}
.spin__copy {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease;
}
.spin__copy:hover { border-color: var(--brand); color: var(--brand); }

.spin__prize {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.spin__win-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.spin__ok {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0B7355;
  background: #F1F9F5;
  border: 1px solid #CDEBDF;
  border-radius: 999px;
  padding: 6px 12px;
}
.spin__ok svg { width: 14px; height: 14px; }
.spin__ok--off {
  color: #9A6B16;
  background: #FBF6EC;
  border-color: #EEDFC4;
}

/* 「此券仅限购买 XX 使用」 */
.spin__scope {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #8A2C15;
  background: #FBEFE9;
  border-radius: 8px;
  padding: 6px 10px;
}
.spin__scope svg { width: 14px; height: 14px; flex-shrink: 0; }

/* 「另一类还能再转一次」提示 */
.spin__more {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #FFF9F2;
  border: 1px dashed #F0DAD2;
  font-size: 12.5px;
  color: var(--ink-2);
}
.spin__more-link {
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.spin__more-link:hover { color: var(--brand-ink); }
.spin__acts { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }

/* 购物车里的优惠券行 */
.cart-voucher {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #F1F9F5;
  border: 1px solid #CDEBDF;
}
.cart-voucher__ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  color: #0B7355;
}
.cart-voucher__ic svg { width: 16px; height: 16px; }
.cart-voucher__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cart-voucher__txt b { font-size: 12.5px; color: #0B7355; }
.cart-voucher__txt span { font-size: 12px; color: var(--ink-2); }
.cart-voucher__txt code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: .04em;
}
.cart-voucher__x {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.cart-voucher__x:hover { color: var(--brand); }

/* 券与询价单品类不符时：变灰，提醒但不误导 */
.cart-voucher.is-off {
  background: #FBF6EC;
  border-color: #EEDFC4;
}
.cart-voucher.is-off .cart-voucher__ic { color: #9A6B16; }
.cart-voucher.is-off .cart-voucher__txt b { color: #9A6B16; }

/* ---------- 22. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }

  /* 转盘是「点击才有反馈」的交互件：如果被压成 0.01ms，
     客户点了会以为坏了（轮盘不动、要等 4.7 秒才出结果）。
     这里保留一段短动画，既有反馈又不晃眼。 */
  #spinRotor { transition-duration: 1.4s !important; }
}

/* ---------- 23. Responsive ---------- */
/* 宽版横标占用更多横向空间，搜索框提前收窄，避免导航被挤压 */
@media (max-width: 1220px) {
  .search input { width: 130px; }
}

@media (max-width: 1080px) {
  .hero__grid { gap: 36px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .search input { width: 120px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 66px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s;
  }

  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }

  .nav a { padding: 13px 16px; border-radius: var(--r-sm); font-size: 15.5px; }
  .nav a.is-active::after { display: none; }

  .menu-btn { display: grid; }
  .search { display: none; }
  .nav__search { display: flex; }

}

@media (max-width: 940px) {
  .hero { padding: 44px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 8px; }
  .hero__device { width: min(100%, 420px); }
  .hero__stats { gap: 26px; flex-wrap: wrap; }
  .float-card--1 { left: -2%; }
  .float-card--2 { right: -2%; }

  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .deals { grid-template-columns: 1fr; padding: 38px 30px; }
  .newsletter { grid-template-columns: 1fr; padding: 38px 30px; }
  .section { padding: 60px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }

  .shop-layout { grid-template-columns: 1fr; gap: 26px; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-list button { width: auto; border: 1px solid var(--line); padding: 8px 14px; }
  .filter-list button span { display: none; }
  .filter-list button.is-on { border-color: transparent; }

  .pd { grid-template-columns: 1fr; gap: 32px; }
  .pd__gallery { position: static; }

  /* 转盘：窄屏单列，转盘居中 */
  .spin { padding: 30px 24px 28px; }
  .spin__stage { grid-template-columns: 1fr; gap: 28px; }
  .spin__wheelbox { margin-inline: auto; max-width: 320px; }
  .spin__win { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .spin__win-r { align-items: flex-start; }
  .spin__acts { justify-content: flex-start; }
  .about-hero { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }

  /* 转盘：手机上进一步收窄 */
  .spin { margin-top: 40px; padding: 26px 18px 24px; border-radius: var(--r-lg); }
  .spin__title { font-size: 22px; }
  .spin__desc { font-size: 13.5px; }
  .spin__wheelbox { max-width: 270px; }
  .spin__code code { font-size: 19px; padding: 7px 12px; }
  .spin__acts { width: 100%; }
  .spin__acts .btn { flex: 1 1 100%; }
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }

  /* 赠品条：手机上按钮换行到底部，避免挤成两行字 */
  .pd__gift { flex-wrap: wrap; padding: 13px 14px; }
  .pd__gift-go { width: 100%; justify-content: flex-end; margin-top: 2px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brands { gap: 8px; }
  .brand { flex: 1 1 90px; max-width: none; padding: 10px 6px; font-size: 13px; }

  /* 窄屏 Hero：缩小浮动标签，避免遮挡主视觉 */
  .hero__visual { min-height: 0; }
  .hero__device { width: min(86%, 320px); margin-inline: auto; }
  .float-card { font-size: 11px; padding: 8px 11px; gap: 7px; border-radius: 10px; }
  .float-card svg { width: 14px; height: 14px; }
  .float-card--3 { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  /* 付款标签换行后每行要居中，否则左对齐会和居中的版权文字对不齐 */
  .pay-icons { justify-content: center; }
  .newsletter__form { flex-direction: column; border-radius: var(--r-md); }
  .newsletter__form input { padding: 12px 16px; }
  .newsletter__form button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .tl-item { grid-template-columns: 74px 20px 1fr; gap: 12px; }
  .tl-year { font-size: 16px; }
  .p-name { font-size: 14px; }
  .p-price { font-size: 17px; }
  .p-body { padding: 13px 13px 15px; }
  .header__actions { gap: 8px; }
  .lang-btn { padding: 0 12px; }
  /* 横版标志在窄屏等比收窄，否则会挤到右侧按钮 */
  .logo__img { height: 32px; }
  .logo--footer .logo__img { height: 40px; }
  .pd__buy { gap: 10px; }
  .pd__buy .btn--primary { flex: 1 1 auto; }
  .pd__buy .btn--dark { flex: 1 1 100%; }
  .deals__timer { flex-wrap: wrap; }
  .timer-cell { min-width: 64px; }
  /* 付款信息：窄屏单列，标签与数值上下排 */
  .pay-panel { padding: 22px; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-row { flex-wrap: wrap; gap: 4px 10px; }
  .pay-row__k { min-width: 0; flex: 1 1 100%; }
  .pay-row__v { flex: 1 1 auto; }
  .pay-request { flex-direction: column; align-items: flex-start; }
  .pay-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 32px; }
  .p-grid { gap: 10px; }
  .p-add { width: 34px; height: 34px; }
  .hero__stats { gap: 18px; }
  /* 两列时 "Sim Lim Square #03-77" 会断在连字符处，改单列避免数字被拆开 */
  .trust__inner { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .logo__img { height: 29px; }
  /* 公告条在 360px 下会断成两行（"免运费" 的 "费" 掉行），缩字号+收紧间距保持单行 */
  .topbar { font-size: 12px; }
  .topbar__msg { gap: 6px; }
  .topbar__msg svg { width: 13px; height: 13px; flex: none; }
  /* 联系人邮箱在 360px 下放不进同一行，统一改成姓名在上、邮箱在下，两行才整齐 */
  .c-people li { display: grid; gap: 1px; }
  /* 付款标签有 4 个且文字变长（GIRO TRANSFER / BANK TRANSFER），
     360px 下三个并排会顶出容器，缩字号+收紧内边距让一行放得下 */
  .pay-icons { gap: 6px; }
  .pay-icons span { padding: 4px 7px; font-size: 9px; letter-spacing: .03em; gap: 4px; }
  .pay-icons em { font-size: 8px; padding: 1px 4px; }
}

/* ---------- 20. Mobile filter collapse ---------- */
@media (max-width: 940px) {
  .filters { position: static; gap: 0; }
  .filters__toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }
  .filters__toggle svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); }
  .filters__toggle .filters__chev {
    margin-left: auto;
    transition: transform .25s var(--ease);
  }
  .filters.is-open .filters__toggle .filters__chev { transform: rotate(180deg); }
  .filters__body { display: none; margin-top: 16px; }
  .filters.is-open .filters__body { display: grid; }
  .filters__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
  }
}
