/* ==========================================================================
   AutoParts Global — Design System
   Palette & geometry derived from the novalumen theme used by shop.ai2mart.com
   ========================================================================== */

:root {
  --dusk-white: #F6F2F4;
  --night-indigo: #241B36;
  --night-2: #1E1730;
  --night-3: #2E2445;
  --amber-glow: #E8A33D;
  --amber-glow-deep: #C9871F;
  --amber-glow-soft: rgba(232, 163, 61, .25);
  --amber-glow-strong: rgba(232, 163, 61, .55);
  --pomegranate: #C4396B;
  --pomegranate-soft: rgba(196, 57, 107, .14);
  --ink-violet: #4B3B63;
  --moon-grey: #8B8698;
  --surface: #FFFFFF;
  --surface-soft: #FBF9FA;
  --border: rgba(75, 59, 99, .16);
  --border-strong: rgba(75, 59, 99, .32);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --ease-glow: cubic-bezier(.22, .8, .28, 1);
  --ease-arc: cubic-bezier(.25, .6, .35, 1);

  --shadow-card: 0 14px 28px rgba(36, 27, 54, .09);
  --shadow-panel: 0 18px 36px rgba(36, 27, 54, .13);
  --shadow-modal: 0 24px 70px rgba(0, 0, 0, .25);
  --shadow-amber: 0 10px 24px rgba(232, 163, 61, .35);

  --header-h: 84px;
  --util-h: 38px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --max-w: 1340px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--night-indigo);
  background: var(--dusk-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }

/* 内联图标安全网：任何嵌在文本容器中的 svg 默认锁定为 1em 尺寸，
   避免缺少显式尺寸时膨胀为容器宽度 */
svg { width: 1em; height: 1em; flex-shrink: 0; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.18; letter-spacing: -.015em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Utility bar ---------- */
.utilbar {
  background: var(--night-2);
  color: rgba(246, 242, 244, .78);
  font-size: 12.5px;
  height: var(--util-h);
  display: flex;
  align-items: center;
}
.utilbar .wrap { display: flex; align-items: center; gap: 18px; }
.utilbar-left { display: flex; align-items: center; gap: 16px; flex: 1 1 auto; min-width: 0; }
.utilbar-right { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.util-link {
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s var(--ease-glow);
  white-space: nowrap;
}
.util-link .lbl { white-space: nowrap; }
.util-link:hover { color: var(--amber-glow); }
.util-link.amber { color: var(--amber-glow); font-weight: 600; }
.util-sep { color: rgba(246, 242, 244, .22); }
.util-promo { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.util-promo .flag { font-size: 14px; line-height: 1; }
.util-promo b { color: var(--amber-glow); font-weight: 700; }
.util-promo .txt {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Language / currency picker ---------- */
.picker { position: relative; }
.picker-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: var(--radius-pill);
  color: inherit; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 255, 255, .07);
  transition: background .2s var(--ease-glow), color .2s var(--ease-glow);
}
.picker-btn:hover { background: rgba(232, 163, 61, .2); color: var(--amber-glow); }
.picker-btn .chev { width: 10px; height: 10px; opacity: .7; }
.picker-menu {
  position: absolute; right: 0; top: calc(100% + 9px);
  min-width: 232px; max-height: 340px; overflow-y: auto;
  background: var(--surface); color: var(--night-indigo);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-modal);
  border: 1px solid var(--border);
  padding: 7px; z-index: 400;
  opacity: 0; visibility: hidden; transform: translateY(-7px) scale(.98);
  transition: all .22s var(--ease-glow);
}
.picker-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.picker-menu::-webkit-scrollbar { width: 6px; }
.picker-menu::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.picker-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--moon-grey); font-weight: 700; padding: 8px 10px 4px;
}
.picker-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 13.5px; text-align: left;
  transition: background .16s var(--ease-glow);
}
.picker-item:hover { background: var(--dusk-white); }
.picker-item.active { background: rgba(232, 163, 61, .16); font-weight: 700; }
.picker-item .flag { font-size: 16px; line-height: 1; }
.picker-item .label { flex: 1; min-width: 0; }
.picker-item .sub { color: var(--moon-grey); font-size: 12px; font-weight: 500; }
.picker-item.active .sub { color: var(--amber-glow-deep); }
.picker-check { opacity: 0; color: var(--amber-glow-deep); flex-shrink: 0; }
.picker-item.active .picker-check { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease-glow);
}
.site-header.stuck { box-shadow: 0 6px 22px rgba(36, 27, 54, .09); }
.header-main {
  display: flex; align-items: center; gap: 22px;
  height: var(--header-h);
}

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(140deg, var(--night-indigo) 0%, var(--night-3) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(36, 27, 54, .28);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 72% 22%, var(--amber-glow-strong), transparent 62%);
}
.brand-mark svg { width: 23px; height: 23px; position: relative; z-index: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.03em; color: var(--night-indigo);
}
.brand-tag {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-glow-deep); font-weight: 700;
}

/* Search */
.header-search { flex: 1; position: relative; max-width: 640px; }
.search-box {
  display: flex; align-items: center;
  background: var(--dusk-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 5px 0 16px; height: 46px;
  transition: border-color .22s var(--ease-glow), box-shadow .22s var(--ease-glow), background .22s;
}
.search-box:focus-within {
  border-color: var(--amber-glow);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--amber-glow-soft);
}
.search-cat {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--ink-violet);
  padding-right: 12px; margin-right: 4px;
  border-right: 1px solid var(--border); flex-shrink: 0;
  max-width: 150px;
}
.search-cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-input {
  flex: 1; border: none; background: none; outline: none;
  font-size: 14px; min-width: 0;
}
.search-input::placeholder { color: var(--moon-grey); }
.search-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--night-indigo); color: var(--dusk-white);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .2s var(--ease-glow), transform .2s var(--ease-glow);
}
.search-btn:hover { background: var(--amber-glow); color: var(--night-indigo); transform: scale(1.06); }

/* Search suggestions */
.search-sug {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal); border: 1px solid var(--border);
  padding: 8px; z-index: 350; max-height: 420px; overflow-y: auto;
  display: none;
}
.search-sug.open { display: block; }
.sug-head {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--moon-grey); font-weight: 700; padding: 8px 10px 5px;
}
.sug-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 8px 10px; border-radius: var(--radius-sm); text-align: left;
  transition: background .16s var(--ease-glow);
}
.sug-item:hover { background: var(--dusk-white); }
.sug-thumb {
  width: 42px; height: 42px; border-radius: 9px; flex-shrink: 0;
  background: var(--dusk-white); display: grid; place-items: center;
  font-size: 20px;
}
.sug-info { min-width: 0; flex: 1; }
.sug-name {
  font-size: 13.5px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sug-meta { font-size: 12px; color: var(--moon-grey); }
.sug-price { font-weight: 700; font-size: 13.5px; color: var(--night-indigo); flex-shrink: 0; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.hact {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  width: 54px; height: 54px; border-radius: var(--radius);
  color: var(--ink-violet); font-size: 10px; font-weight: 600;
  transition: background .2s var(--ease-glow), color .2s var(--ease-glow);
}
.hact:hover { background: var(--dusk-white); color: var(--night-indigo); }
.hact svg { width: 21px; height: 21px; }
.hact-badge {
  position: absolute; top: 6px; right: 8px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--pomegranate); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 18px;
  text-align: center; border: 2px solid var(--surface);
  font-family: var(--font-body);
}
.hact-badge.zero { display: none; }
.hact-badge.pulse { animation: badgePulse .5s var(--ease-glow); }
@keyframes badgePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.42); }
  100% { transform: scale(1); }
}

.burger { display: none; }

/* ---------- Nav ---------- */
.site-nav { border-top: 1px solid var(--border); background: var(--surface); }
.nav-inner { display: flex; align-items: center; gap: 4px; height: 48px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--ink-violet);
  white-space: nowrap;
  transition: background .2s var(--ease-glow), color .2s var(--ease-glow);
}
.nav-link:hover, .nav-item:hover .nav-link { background: var(--dusk-white); color: var(--night-indigo); }
.nav-link.hot { color: var(--pomegranate); }
.nav-link .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pomegranate); flex-shrink: 0;
  animation: dotBlink 1.8s ease-in-out infinite;
}
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: .32; } }
.nav-spacer { flex: 1; }
.nav-ship {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-violet);
  padding: 6px 13px; border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, .13);
}
.nav-ship svg { width: 15px; height: 15px; color: var(--amber-glow-deep); }

/* Mega menu */
.mega {
  position: absolute; left: 0; top: calc(100% + 6px);
  width: min(920px, 92vw);
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal); border: 1px solid var(--border);
  padding: 22px; z-index: 340;
  display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 22px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .24s var(--ease-glow);
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber-glow-deep); font-weight: 700; margin-bottom: 10px;
}
.mega-link {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin: 0 -8px; border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-violet);
  transition: background .16s var(--ease-glow), color .16s;
}
.mega-link:hover { background: var(--dusk-white); color: var(--night-indigo); }
.mega-link .cnt { margin-left: auto; font-size: 11.5px; color: var(--moon-grey); font-family: var(--font-mono); }
.mega-promo {
  background: linear-gradient(150deg, var(--night-indigo), var(--night-3));
  border-radius: var(--radius); padding: 18px; color: var(--dusk-white);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.mega-promo::after {
  content: ''; position: absolute; width: 150px; height: 150px;
  right: -50px; bottom: -60px; border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow-strong), transparent 68%);
}
.mega-promo-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.22; }
.mega-promo-sub { font-size: 12.5px; color: rgba(246, 242, 244, .72); margin-top: 5px; }
.mega-promo-btn {
  position: relative; z-index: 1; margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber-glow); color: var(--night-indigo);
  padding: 8px 15px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 700; align-self: flex-start;
}

/* ===== 汽车配件上下游 Mega Menu =====
   一级标签（左栏，按 上游/中游/下游 分组）→ 二级列 → 三级链接 + 右侧预览 */
.mega-catalog {
  width: min(1180px, calc(100vw - 96px));
  padding: 0;
  grid-template-columns: 250px 1fr;
  gap: 0;
  overflow: hidden;
  max-height: min(78vh, 660px);
}
/* 桥接 6px 间隙，避免悬停闪烁 */
.mega-catalog::before {
  content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}

/* --- 左栏：一级标签 --- */
.mega-rail {
  background: var(--surface-soft);
  border-right: 1px solid var(--border);
  padding: 10px 8px;
  min-height: 0; overflow-y: auto;
}
.mega-rail::-webkit-scrollbar { width: 4px; }
.mega-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.mega-rail-group + .mega-rail-group { margin-top: 8px; }
.mega-rail-label {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 9px 4px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--moon-grey); font-weight: 700;
}
.mega-rail-desc { display: none; }
.stage-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.stage-dot.up   { background: #378ADD; }
.stage-dot.mid  { background: var(--amber-glow); }
.stage-dot.down { background: #1D9E75; }

.mega-tab {
  width: 100%; display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius-sm); text-align: left;
  font-family: inherit; font-size: 12.5px; color: var(--ink-violet);
  transition: background .16s var(--ease-glow), color .16s;
}
.mega-tab:hover { background: var(--dusk-white); color: var(--night-indigo); }
.mega-tab.active { background: var(--night-indigo); color: var(--dusk-white); font-weight: 600; }
.mega-tab-emoji { font-size: 15px; line-height: 1; flex-shrink: 0; }
.mega-tab-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-tab-cnt {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 10px;
  color: var(--moon-grey); background: var(--dusk-white);
  padding: 1px 6px; border-radius: var(--radius-pill);
}
.mega-tab.active .mega-tab-cnt { background: rgba(246, 242, 244, .16); color: var(--dusk-white); }

/* --- 右侧：面板 --- */
.mega-panels { position: relative; min-height: 0; overflow-y: auto; }
.mega-panel { display: none; padding: 16px 18px; }
.mega-panel.active { display: block; }

.mega-panel-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 11px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mega-panel-emoji { font-size: 18px; line-height: 1; }
.mega-panel-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--night-indigo); }
.mega-panel-stage {
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  padding: 2px 8px; border-radius: var(--radius-pill);
}
.mega-panel-stage.stage-up   { background: #E6F1FB; color: #0C447C; }
.mega-panel-stage.stage-mid  { background: var(--amber-glow-soft); color: var(--amber-glow-deep); }
.mega-panel-stage.stage-down { background: #E1F5EE; color: #085041; }
.mega-panel-all {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--amber-glow-deep);
}
.mega-panel-all svg { width: 14px; height: 14px; }
.mega-panel-all:hover { color: var(--night-indigo); }

.mega-body { display: grid; grid-template-columns: 1fr 226px; gap: 18px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px; align-content: start; }
.mega-col { min-width: 0; }
.mega-col-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--amber-glow-deep); font-weight: 700;
  margin-bottom: 6px; padding-bottom: 5px;
  border-bottom: 1px dashed var(--border);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mega-col-title .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--moon-grey); }
.mega-col-title:hover { color: var(--night-indigo); }
.mega-link {
  display: block; padding: 3px 7px; margin: 0 -7px;
  border-radius: var(--radius-sm); font-size: 12.5px; color: var(--ink-violet);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: background .14s var(--ease-glow), color .14s;
}
.mega-link:hover { background: var(--dusk-white); color: var(--night-indigo); }

/* --- 预览区 --- */
.mega-preview {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--night-indigo), var(--night-3));
  border-radius: var(--radius); padding: 15px;
  color: var(--dusk-white);
  display: flex; flex-direction: column;
}
.mega-preview::after {
  content: ''; position: absolute; width: 130px; height: 130px;
  right: -46px; bottom: -54px; border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow-strong), transparent 68%);
}
.mega-preview-kicker {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .05em; color: rgba(246, 242, 244, .7);
}
.mega-preview-title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  line-height: 1.28; margin-top: 8px;
}
.mega-preview-stats {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 12px; font-size: 11.5px; color: rgba(246, 242, 244, .66);
}
.mega-preview-stats b { color: var(--amber-glow); font-family: var(--font-mono); font-weight: 700; margin-right: 5px; }
.mega-cta {
  position: relative; z-index: 1; margin-top: auto; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--amber-glow); font-size: 12.5px; font-weight: 700;
}
.mega-cta svg { width: 15px; height: 15px; }
.mega-cta:hover { color: var(--dusk-white); }

/* --- 会员中心导航入口 --- */
.nav-link.member {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--amber-glow);
  color: var(--amber-glow-deep) !important;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 6px 13px;
}
.nav-link.member:hover { background: var(--amber-glow-soft); color: var(--night-indigo) !important; }
.nav-link.member svg { width: 15px; height: 15px; }

/* --- B2B 小下拉 --- */
.mega.mega-sm {
  width: 296px; padding: 10px;
  display: block;
  grid-template-columns: none;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 12px; border-radius: var(--radius);
  transition: background .16s var(--ease-glow);
}
.mega-item:hover { background: var(--dusk-white); }
.mega-item-ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--amber-glow-soft); color: var(--amber-glow-deep);
  display: grid; place-items: center;
}
.mega-item-ico svg { width: 17px; height: 17px; }
.mega-item-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-item-t { font-size: 13px; font-weight: 700; color: var(--night-indigo); }
.mega-item-d { font-size: 11.5px; color: var(--moon-grey); line-height: 1.45; }

/* Mobile nav drawer */
.mnav-b2c {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--amber-glow), #F2B75E);
  color: var(--night-indigo) !important;
  font-weight: 800;
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.mobile-nav {
  position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw);
  background: var(--surface); z-index: 500;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .32s var(--ease-arc), visibility .32s var(--ease-arc);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-modal);
  will-change: transform;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
}
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 10px 12px 24px; }
.mnav-group-title {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--moon-grey); font-weight: 700; padding: 14px 10px 6px;
}
.mnav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; color: var(--ink-violet);
}
.mnav-link:hover { background: var(--dusk-white); }
.mnav-link .cnt { margin-left: auto; font-size: 12px; color: var(--moon-grey); }

.overlay {
  position: fixed; inset: 0; background: rgba(30, 23, 48, .5);
  backdrop-filter: blur(2px); z-index: 450;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease-glow);
}
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; font-family: var(--font-body);
  transition: all .22s var(--ease-glow); white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-amber {
  background: var(--amber-glow); color: var(--night-indigo);
  box-shadow: var(--shadow-amber);
}
.btn-amber:hover { background: var(--amber-glow-deep); transform: translateY(-2px); }
.btn-dark { background: var(--night-indigo); color: var(--dusk-white); }
.btn-dark:hover { background: var(--night-3); transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--night-indigo); background: var(--surface); }
.btn-outline:hover { border-color: var(--night-indigo); background: var(--dusk-white); }
.btn-ghost { color: var(--ink-violet); padding: 8px 14px; }
.btn-ghost:hover { background: var(--dusk-white); color: var(--night-indigo); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 15px; font-size: 12.5px; }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Section headings ---------- */
.section { padding: 54px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px;
}
.section-eyebrow {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-glow-deep); font-weight: 700; margin-bottom: 7px;
}
.section-title { font-size: 30px; font-weight: 700; }
.section-sub { font-size: 14px; color: var(--moon-grey); margin-top: 6px; }
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--amber-glow-deep);
  flex-shrink: 0; padding-bottom: 4px;
  transition: gap .2s var(--ease-glow);
}
.section-link:hover { gap: 11px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--night-2) 0%, var(--night-indigo) 52%, #34264E 100%);
  color: var(--dusk-white);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(232, 163, 61, .22), transparent 46%),
    radial-gradient(circle at 8% 88%, rgba(196, 57, 107, .18), transparent 44%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 244, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 244, .5) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 72%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px; align-items: center;
  padding: 68px 0 74px;
}
/* grid 子项默认 min-width:auto，会被 nowrap 内容撑破轨道 —— 必须显式归零 */
.hero-inner > * { min-width: 0; }
.hero-visual, .hero-card, .hero-globe-wrap, .ship-track, .globe-legend { min-width: 0; max-width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, .16);
  border: 1px solid rgba(232, 163, 61, .38);
  font-size: 12px; font-weight: 600; margin-bottom: 22px;
  color: var(--amber-glow);
}
.hero-badge .pill {
  background: var(--amber-glow); color: var(--night-indigo);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.06;
}
.hero-title .accent {
  background: linear-gradient(102deg, var(--amber-glow), #F5C46E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
  font-size: 16px; color: rgba(246, 242, 244, .76);
  margin-top: 20px; max-width: 520px; line-height: 1.68;
}
.hero-cta { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 34px; margin-top: 40px;
  padding-top: 26px; border-top: 1px solid rgba(246, 242, 244, .14);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--amber-glow); line-height: 1.1;
}
.hero-stat .lbl { font-size: 12px; color: rgba(246, 242, 244, .62); margin-top: 3px; }

/* Hero right visual */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(246, 242, 244, .07);
  border: 1px solid rgba(246, 242, 244, .16);
  border-radius: var(--radius-xl);
  padding: 22px; backdrop-filter: blur(10px);
  min-width: 0; overflow: hidden;
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.hero-card-title {
  font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.hero-card-title svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--amber-glow); }
.hero-card-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: #5FBD74; font-weight: 600;
}
.hero-card-live .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #5FBD74;
  animation: dotBlink 1.6s ease-in-out infinite;
}
.globe-legend {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
  max-height: 64px; overflow: hidden;
}
.globe-chip {
  font-size: 11px; padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(246, 242, 244, .1); color: rgba(246, 242, 244, .82);
  border: 1px solid rgba(246, 242, 244, .12);
}
.globe-chip.on { background: rgba(232, 163, 61, .2); border-color: rgba(232, 163, 61, .42); color: var(--amber-glow); }

.ship-track { margin-top: 16px; }
.ship-track-bar {
  height: 6px; border-radius: 3px; background: rgba(246, 242, 244, .14); overflow: hidden;
}
.ship-track-fill {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--amber-glow), #F5C46E);
  animation: trackGrow 2.4s var(--ease-arc) forwards;
}
@keyframes trackGrow { to { width: 86%; } }
.ship-track-meta {
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: rgba(246, 242, 244, .64); margin-top: 8px;
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  margin: -26px 0 0; position: relative; z-index: 5;
  box-shadow: var(--shadow-card);
}
.trust-item {
  background: var(--surface); padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
}
.trust-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(232, 163, 61, .14); color: var(--amber-glow-deep);
  display: grid; place-items: center;
}
.trust-ico svg { width: 21px; height: 21px; }
.trust-item .t { font-size: 13.5px; font-weight: 700; }
.trust-item .d { font-size: 12px; color: var(--moon-grey); margin-top: 1px; }

/* ---------- Category rail ---------- */
.cat-rail {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.cat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 14px;
  text-align: center; position: relative; overflow: hidden;
  transition: all .26s var(--ease-glow);
}
.cat-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--amber-glow); transform: scaleX(0);
  transition: transform .26s var(--ease-glow);
}
.cat-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-card);
  border-color: rgba(232, 163, 61, .45);
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-emoji { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.cat-name { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.cat-count { font-size: 11.5px; color: var(--moon-grey); margin-top: 4px; font-family: var(--font-mono); }

/* ---------- Product grid & card ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.prod-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: all .26s var(--ease-glow);
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-panel);
  border-color: rgba(232, 163, 61, .4);
}
.prod-media {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--surface-soft), var(--dusk-white));
  display: grid; place-items: center; overflow: hidden;
}
.prod-emoji {
  font-size: 66px; line-height: 1;
  transition: transform .34s var(--ease-arc);
  filter: drop-shadow(0 8px 14px rgba(36, 27, 54, .14));
}
.prod-card:hover .prod-emoji { transform: scale(1.13) rotate(-4deg); }
.prod-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.pflag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 9px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.pflag.sale { background: var(--pomegranate); color: #fff; }
.pflag.new { background: var(--night-indigo); color: var(--dusk-white); }
.pflag.hot { background: var(--amber-glow); color: var(--night-indigo); }
.pflag.oem { background: rgba(75, 59, 99, .12); color: var(--ink-violet); }

.prod-wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--ink-violet);
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(36, 27, 54, .13);
  transition: all .2s var(--ease-glow);
}
.prod-wish svg { width: 16px; height: 16px; }
.prod-wish:hover { color: var(--pomegranate); transform: scale(1.1); }
.prod-wish.on { color: var(--pomegranate); }
.prod-wish.on svg { fill: currentColor; }

.prod-quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; gap: 7px;
  opacity: 0; transform: translateY(10px);
  transition: all .26s var(--ease-glow);
}
.prod-card:hover .prod-quick { opacity: 1; transform: translateY(0); }
.quick-btn {
  flex: 1; height: 38px; border-radius: var(--radius-pill);
  background: rgba(36, 27, 54, .93); color: var(--dusk-white);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; font-weight: 700;
  transition: background .2s var(--ease-glow);
  backdrop-filter: blur(6px);
}
.quick-btn:hover { background: var(--amber-glow); color: var(--night-indigo); }
.quick-btn svg { width: 15px; height: 15px; }
.quick-btn.icon-only { flex: 0 0 38px; }

.prod-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.prod-brand {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-glow-deep); font-weight: 800; margin-bottom: 5px;
}
.prod-name {
  font-size: 14px; font-weight: 600; line-height: 1.38; color: var(--night-indigo);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 38px;
  transition: color .2s;
}
.prod-card:hover .prod-name { color: var(--amber-glow-deep); }
.prod-fit {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: var(--moon-grey); margin-top: 7px;
}
.prod-fit svg { width: 13px; height: 13px; flex-shrink: 0; }
.prod-fit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-rate { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11.5px; }
.stars { display: inline-flex; gap: 1px; color: var(--amber-glow); }
.stars svg { width: 12px; height: 12px; }
.stars .empty { color: rgba(75, 59, 99, .22); }
.prod-rate .rv { color: var(--moon-grey); }
.prod-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: auto; padding-top: 12px; flex-wrap: wrap;
}
.prod-price {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--night-indigo); letter-spacing: -.02em;
}
.prod-was { font-size: 12.5px; color: var(--moon-grey); text-decoration: line-through; }
.prod-off {
  font-size: 11px; font-weight: 800; color: var(--pomegranate);
  background: var(--pomegranate-soft); padding: 2px 7px; border-radius: var(--radius-pill);
}
.prod-ship {
  font-size: 11.5px; color: #4C9A63; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; margin-top: 7px;
}
.prod-ship svg { width: 13px; height: 13px; }
.prod-moq { font-size: 11.5px; color: var(--moon-grey); font-family: var(--font-mono); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 9px 18px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700; color: var(--ink-violet);
  background: var(--surface); border: 1px solid var(--border);
  transition: all .2s var(--ease-glow);
}
.tab:hover { border-color: var(--border-strong); }
.tab.active {
  background: var(--night-indigo); color: var(--dusk-white);
  border-color: var(--night-indigo);
}

/* ---------- Deal banner ---------- */
.deal-banner {
  background: linear-gradient(125deg, var(--night-indigo) 0%, #3A2A57 58%, var(--night-indigo) 100%);
  border-radius: var(--radius-xl); padding: 44px 48px;
  color: var(--dusk-white); position: relative; overflow: hidden;
}
.deal-banner::before {
  content: ''; position: absolute; width: 400px; height: 400px;
  right: -110px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, .3), transparent 66%);
}
.deal-banner::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  left: -90px; bottom: -170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 57, 107, .26), transparent 68%);
}
.deal-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: center; }
.deal-title { font-size: 33px; font-weight: 700; line-height: 1.14; }
.deal-sub { font-size: 14.5px; color: rgba(246, 242, 244, .74); margin-top: 12px; }
.countdown { display: flex; gap: 11px; margin-top: 22px; }
.cd-unit {
  background: rgba(246, 242, 244, .1); border: 1px solid rgba(246, 242, 244, .16);
  border-radius: var(--radius); padding: 10px 14px; text-align: center; min-width: 66px;
}
.cd-num {
  font-family: var(--font-mono); font-size: 24px; font-weight: 700;
  color: var(--amber-glow); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lbl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 242, 244, .58); margin-top: 5px; }
.deal-side { display: flex; flex-direction: column; gap: 11px; }
.deal-side-item {
  display: flex; align-items: center; gap: 13px;
  background: rgba(246, 242, 244, .08); border: 1px solid rgba(246, 242, 244, .13);
  border-radius: var(--radius); padding: 14px 16px;
}
.deal-side-item .ico {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: rgba(232, 163, 61, .18); color: var(--amber-glow);
  display: grid; place-items: center;
}
.deal-side-item .ico svg { width: 19px; height: 19px; }
.deal-side-item .t { font-size: 13.5px; font-weight: 700; }
.deal-side-item .d { font-size: 12px; color: rgba(246, 242, 244, .62); }

/* ---------- Vehicle finder ---------- */
.ymm-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 30px 32px;
  box-shadow: var(--shadow-card);
}
.ymm-title {
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.ymm-title svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--amber-glow-deep); }
.ymm-sub { font-size: 13.5px; color: var(--moon-grey); margin-top: 6px; }
.ymm-selects {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 11px; margin-top: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--moon-grey); font-weight: 700;
}
.select, .input {
  height: 46px; padding: 0 14px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--surface-soft);
  font-size: 14px; width: 100%; outline: none;
  transition: border-color .2s var(--ease-glow), box-shadow .2s var(--ease-glow);
  -webkit-appearance: none; appearance: none;
}
.select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8698' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
  padding-right: 36px;
}
.select:focus, .input:focus {
  border-color: var(--amber-glow); background: var(--surface);
  box-shadow: 0 0 0 4px var(--amber-glow-soft);
}
.ymm-result {
  margin-top: 18px; padding: 15px 18px; border-radius: var(--radius);
  background: rgba(232, 163, 61, .1); border: 1px solid rgba(232, 163, 61, .3);
  font-size: 13.5px; display: none;
}
.ymm-result.show { display: block; }
.ymm-result b { color: var(--amber-glow-deep); }

/* ---------- Global reach map ---------- */
.reach-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.region-list { display: flex; flex-direction: column; gap: 9px; }
.region-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: all .22s var(--ease-glow);
}
.region-row:hover { border-color: rgba(232, 163, 61, .45); transform: translateX(5px); }
.region-flag { font-size: 20px; line-height: 1; width: 26px; text-align: center; }
.region-name { font-size: 13.5px; font-weight: 700; flex: 1; }
.region-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--moon-grey); }
.region-meta { font-size: 11.5px; color: #4C9A63; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-2); color: rgba(246, 242, 244, .74); margin-top: 56px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1.4fr; gap: 34px;
  padding: 54px 0 40px;
}
.footer-brand .brand-name { color: var(--dusk-white); }
.footer-desc { font-size: 13px; margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.soc {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(246, 242, 244, .08); color: rgba(246, 242, 244, .8);
  display: grid; place-items: center;
  transition: all .2s var(--ease-glow);
}
.soc:hover { background: var(--amber-glow); color: var(--night-indigo); }
.soc svg { width: 17px; height: 17px; }
.footer-col-title {
  font-size: 12px; font-weight: 800; color: var(--dusk-white);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px;
}
.footer-link {
  display: block; font-size: 13px; padding: 5px 0;
  color: rgba(246, 242, 244, .66);
  transition: color .18s, transform .18s var(--ease-glow);
}
.footer-link:hover { color: var(--amber-glow); transform: translateX(4px); }
.footer-news-title { font-size: 14px; font-weight: 700; color: var(--dusk-white); }
.footer-news-sub { font-size: 12.5px; margin-top: 6px; }
.news-form { display: flex; gap: 8px; margin-top: 13px; }
.news-input {
  flex: 1; height: 42px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(246, 242, 244, .18);
  background: rgba(246, 242, 244, .07); color: var(--dusk-white);
  font-size: 13px; outline: none; min-width: 0;
}
.news-input::placeholder { color: rgba(246, 242, 244, .42); }
.news-input:focus { border-color: var(--amber-glow); }
.news-btn {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--amber-glow); color: var(--night-indigo);
  display: grid; place-items: center;
  transition: transform .2s var(--ease-glow);
}
.news-btn:hover { transform: scale(1.08); }
.pay-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.pay-chip {
  font-size: 10.5px; font-weight: 700; padding: 5px 10px;
  border-radius: var(--radius-sm); background: rgba(246, 242, 244, .09);
  color: rgba(246, 242, 244, .72); letter-spacing: .02em;
  border: 1px solid rgba(246, 242, 244, .1);
}
.footer-bottom {
  border-top: 1px solid rgba(246, 242, 244, .1);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; right: 24px; bottom: 24px; z-index: 600;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--night-indigo); color: var(--dusk-white);
  padding: 13px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-modal); font-size: 13.5px; font-weight: 600;
  animation: toastIn .34s var(--ease-arc);
  pointer-events: auto; max-width: 380px;
}
.toast.out { animation: toastOut .3s var(--ease-glow) forwards; }
.toast .ico { color: var(--amber-glow); flex-shrink: 0; }
.toast .ico svg { width: 19px; height: 19px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px) scale(.94); } }

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--moon-grey); padding: 18px 0;
}
.crumb a:hover { color: var(--amber-glow-deep); }
.crumb .sep { opacity: .45; }
.crumb .cur { color: var(--night-indigo); font-weight: 600; }

/* ---------- Page head ---------- */
.page-head {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 30px 0 34px;
}
.page-title { font-size: 32px; font-weight: 700; }
.page-sub { font-size: 14px; color: var(--moon-grey); margin-top: 7px; max-width: 720px; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 258px 1fr; gap: 30px; align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + var(--util-h) + 16px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 6px 0; max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.filter-group { border-bottom: 1px solid var(--border); padding: 15px 18px; }
.filter-group:last-child { border-bottom: none; }
.filter-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; font-size: 13px; font-weight: 800; margin-bottom: 11px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--night-indigo);
}
.filter-head svg { width: 15px; height: 15px; color: var(--moon-grey); transition: transform .22s var(--ease-glow); }
.filter-group.collapsed .filter-head svg { transform: rotate(-90deg); }
.filter-group.collapsed .filter-body { display: none; }
.check {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 0; font-size: 13.5px; cursor: pointer;
  color: var(--ink-violet);
  transition: color .16s;
}
.check:hover { color: var(--night-indigo); }
.check input { display: none; }
.check .box {
  width: 17px; height: 17px; border-radius: 5px; flex-shrink: 0;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  display: grid; place-items: center;
  transition: all .18s var(--ease-glow);
}
.check .box svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.check input:checked + .box { background: var(--amber-glow); border-color: var(--amber-glow); }
.check input:checked + .box svg { opacity: 1; color: var(--night-indigo); }
.check .cnt { margin-left: auto; font-size: 11.5px; color: var(--moon-grey); font-family: var(--font-mono); }

.range-row { display: flex; align-items: center; gap: 9px; }
.range-row .input { height: 40px; padding: 0 11px; font-size: 13px; }

.shop-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 15px 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 20px;
}
.result-count { font-size: 13.5px; color: var(--moon-grey); }
.result-count b { color: var(--night-indigo); }
.toolbar-spacer { flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, .16); color: var(--amber-glow-deep);
  font-size: 12px; font-weight: 700;
}
.chip button { display: grid; place-items: center; color: inherit; }
.chip svg { width: 13px; height: 13px; }
.active-chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }

/* ---------- Product detail ---------- */
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + var(--util-h) + 20px); }
.pdp-main {
  aspect-ratio: 1 / 1; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--surface-soft), var(--dusk-white));
  border: 1px solid var(--border);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.pdp-emoji { font-size: 168px; line-height: 1; filter: drop-shadow(0 18px 30px rgba(36, 27, 54, .18)); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 13px; }
.pdp-thumb {
  aspect-ratio: 1/1; border-radius: var(--radius); border: 1.5px solid var(--border);
  background: var(--surface); display: grid; place-items: center; font-size: 26px;
  transition: all .2s var(--ease-glow);
}
.pdp-thumb:hover, .pdp-thumb.on { border-color: var(--amber-glow); background: rgba(232, 163, 61, .09); }

.pdp-brand {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-glow-deep); font-weight: 800;
}
.pdp-title { font-size: 30px; font-weight: 700; margin-top: 9px; line-height: 1.24; }
.pdp-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 13px; font-size: 12.5px; color: var(--moon-grey); }
.pdp-meta .sku { font-family: var(--font-mono); }
.pdp-price-box {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.pdp-price { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -.025em; }
.pdp-was { font-size: 15px; color: var(--moon-grey); text-decoration: line-through; }
.pdp-save { font-size: 12.5px; font-weight: 800; color: var(--pomegranate); background: var(--pomegranate-soft); padding: 4px 11px; border-radius: var(--radius-pill); }

.pdp-block { margin-top: 22px; }
.pdp-block-title {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--moon-grey); font-weight: 800; margin-bottom: 10px;
}
.opt-row { display: flex; gap: 9px; flex-wrap: wrap; }
.opt {
  padding: 9px 17px; border-radius: var(--radius); border: 1.5px solid var(--border);
  background: var(--surface); font-size: 13.5px; font-weight: 600;
  transition: all .2s var(--ease-glow);
}
.opt:hover { border-color: var(--border-strong); }
.opt.on { border-color: var(--amber-glow); background: rgba(232, 163, 61, .12); font-weight: 700; }

.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  background: var(--surface); overflow: hidden;
}
.qty button {
  width: 42px; height: 46px; display: grid; place-items: center;
  color: var(--ink-violet); transition: background .18s;
}
.qty button:hover { background: var(--dusk-white); color: var(--night-indigo); }
.qty button svg { width: 16px; height: 16px; }
.qty .val {
  width: 52px; text-align: center; font-weight: 700; font-size: 15px;
  font-family: var(--font-mono); border: none; background: none; outline: none;
}
.pdp-buy { display: flex; gap: 11px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1; min-width: 140px; height: 52px; }

.fit-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fit-table th, .fit-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.fit-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--moon-grey); font-weight: 800; }
.fit-table tr:last-child td { border-bottom: none; }
.fit-table tbody tr:hover { background: var(--surface-soft); }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.spec-row {
  display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.spec-key { color: var(--moon-grey); min-width: 130px; flex-shrink: 0; }
.spec-val { font-weight: 600; }

/* ---------- Cart drawer ---------- */
/* 注意：position:fixed 元素不受 body 的 overflow-x:hidden 约束，
   因此离屏位移必须用 transform 且配合 visibility，避免撑大页面滚动宽度 */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 92vw);
  background: var(--surface); z-index: 520;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .34s var(--ease-arc), visibility .34s var(--ease-arc);
  display: flex; flex-direction: column; box-shadow: var(--shadow-modal);
  will-change: transform;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.cart-title { font-size: 18px; font-weight: 700; }
.cart-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-violet); }
.cart-close:hover { background: var(--dusk-white); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; padding: 56px 20px; }
.cart-empty .e { font-size: 54px; margin-bottom: 14px; }
.cart-empty .t { font-size: 16px; font-weight: 700; }
.cart-empty .d { font-size: 13.5px; color: var(--moon-grey); margin: 7px 0 20px; }

.cart-line {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 13px;
  padding: 14px 0; border-bottom: 1px solid var(--border); align-items: start;
}
.cart-line-thumb {
  width: 68px; height: 68px; border-radius: var(--radius);
  background: var(--dusk-white); display: grid; place-items: center; font-size: 30px;
}
.cart-line-name {
  font-size: 13.5px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-line-sku { font-size: 11.5px; color: var(--moon-grey); font-family: var(--font-mono); margin-top: 3px; }
.cart-line-ctl { display: flex; align-items: center; gap: 11px; margin-top: 9px; }
.mini-qty {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: var(--radius-pill); overflow: hidden;
}
.mini-qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-violet); }
.mini-qty button:hover { background: var(--dusk-white); }
.mini-qty span { width: 30px; text-align: center; font-size: 13px; font-weight: 700; font-family: var(--font-mono); }
.cart-remove { font-size: 12px; color: var(--moon-grey); text-decoration: underline; }
.cart-remove:hover { color: var(--pomegranate); }
.cart-line-price { font-weight: 700; font-size: 14.5px; text-align: right; white-space: nowrap; }

.cart-foot { border-top: 1px solid var(--border); padding: 18px 22px calc(18px + var(--safe-bottom)); background: var(--surface-soft); }
.cart-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; color: var(--ink-violet); }
.cart-row.total {
  font-size: 18px; font-weight: 700; color: var(--night-indigo);
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 13px;
}
.cart-note {
  font-size: 11.5px; color: var(--moon-grey); margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
}
.cart-note svg { width: 14px; height: 14px; flex-shrink: 0; color: #4C9A63; }

/* ---------- Checkout / misc pages ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 30px 32px;
}
.panel + .panel { margin-top: 22px; }
.panel-title { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-row { margin-bottom: 14px; }

.step-bar { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 10px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dusk-white); color: var(--moon-grey); font-size: 13px; font-weight: 800;
  border: 1.5px solid var(--border); flex-shrink: 0;
}
.step.on .step-dot { background: var(--amber-glow); color: var(--night-indigo); border-color: var(--amber-glow); }
.step.done .step-dot { background: var(--night-indigo); color: var(--dusk-white); border-color: var(--night-indigo); }
.step-label { font-size: 13px; font-weight: 700; color: var(--moon-grey); }
.step.on .step-label, .step.done .step-label { color: var(--night-indigo); }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 14px; min-width: 24px; }

/* ==========================================================================
   B2C 车主零售专区
   ========================================================================== */

/* --- 导航高亮入口（醒目） --- */
.nav-link.b2c {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--amber-glow) 0%, #F2B75E 100%);
  color: var(--night-indigo) !important;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  box-shadow: 0 2px 12px rgba(232, 163, 61, .42);
}
.nav-link.b2c:hover { background: linear-gradient(135deg, #F2B75E 0%, var(--amber-glow) 100%); }
.nav-link.b2c svg { width: 15px; height: 15px; }
.nav-b2c-tag {
  background: var(--night-indigo); color: var(--amber-glow);
  font-size: 9.5px; font-weight: 800; letter-spacing: .07em;
  padding: 2px 6px; border-radius: var(--radius-pill);
}

/* --- B2C Hero --- */
.b2c-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1A1329 0%, var(--night-indigo) 48%, #3A2A58 100%);
  color: var(--dusk-white);
  padding: 62px 0 66px;
}
.b2c-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 163, 61, .28), transparent 44%),
    radial-gradient(circle at 4% 92%, rgba(196, 57, 107, .2), transparent 42%);
}
.b2c-hero-lines {
  position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 244, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 244, .5) 1px, transparent 1px);
  background-size: 58px 58px;
}
.b2c-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center;
}
.b2c-hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, .16); border: 1px solid rgba(232, 163, 61, .4);
  font-size: 12px; font-weight: 600; margin-bottom: 20px; color: var(--amber-glow);
}
.b2c-hero-badge .pill {
  background: var(--amber-glow); color: var(--night-indigo);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.b2c-hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 50px); line-height: 1.1; letter-spacing: -.01em;
}
.b2c-hero-title .accent { color: var(--amber-glow); }
.b2c-hero-desc {
  margin-top: 18px; font-size: 15px; line-height: 1.68;
  color: rgba(246, 242, 244, .72); max-width: 560px;
}
.b2c-hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.b2c-ghost { background: rgba(246, 242, 244, .09); border-color: rgba(246, 242, 244, .26); color: #F6F2F4; }
.b2c-hero-stats {
  display: flex; gap: 30px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(246, 242, 244, .14); flex-wrap: wrap;
}
.b2c-hero-stat .num {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--amber-glow); line-height: 1.1;
}
.b2c-hero-stat .lbl { font-size: 11.5px; color: rgba(246, 242, 244, .62); margin-top: 3px; }

/* Hero 右侧热选卡 */
.b2c-hero-card {
  background: rgba(246, 242, 244, .07);
  border: 1px solid rgba(246, 242, 244, .16);
  border-radius: var(--radius-lg); padding: 18px;
}
.b2c-hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(246, 242, 244, .12);
}
.b2c-hero-card-title { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.b2c-hero-card-title svg { width: 15px; height: 15px; color: var(--amber-glow); }
.b2c-hero-card-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(246, 242, 244, .6); }
.b2c-hero-card-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #4C9A63; }
.b2c-mini {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 8px; margin: 0 -8px; border-radius: var(--radius-sm);
  transition: background .16s var(--ease-glow);
}
.b2c-mini:hover { background: rgba(246, 242, 244, .08); }
.b2c-mini-emoji { font-size: 20px; flex-shrink: 0; }
.b2c-mini-body { flex: 1; min-width: 0; }
.b2c-mini-name {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--dusk-white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.b2c-mini-meta { display: block; font-size: 11px; color: rgba(246, 242, 244, .5); margin-top: 2px; }
.b2c-mini-price { text-align: right; flex-shrink: 0; }
.b2c-mini-price b { display: block; font-size: 13px; color: var(--amber-glow); font-family: var(--font-mono); }
.b2c-mini-price s { font-size: 11px; color: rgba(246, 242, 244, .42); }
.b2c-hero-card-all {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(246, 242, 244, .12);
  font-size: 12.5px; font-weight: 700; color: var(--amber-glow);
}
.b2c-hero-card-all svg { width: 14px; height: 14px; }

/* 卖点条 */
.b2c-usp-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.b2c-usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border-radius: var(--radius-lg); overflow: hidden;
  margin: -30px 0 0; position: relative; z-index: 5; box-shadow: var(--shadow-card);
}
.b2c-usp { background: var(--surface); padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.b2c-usp-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(232, 163, 61, .14); color: var(--amber-glow-deep);
  display: grid; place-items: center;
}
.b2c-usp-ico svg { width: 21px; height: 21px; }
.b2c-usp .t { font-size: 13.5px; font-weight: 700; }
.b2c-usp .d { font-size: 12px; color: var(--moon-grey); margin-top: 3px; line-height: 1.5; }

/* 保养套餐 */
.b2c-kits-sec { background: var(--surface-soft); }
.b2c-kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.b2c-kit {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; flex-direction: column;
  transition: all .24s var(--ease-glow);
}
.b2c-kit:hover { border-color: var(--amber-glow); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.b2c-kit-top { display: flex; align-items: center; justify-content: space-between; }
.b2c-kit-emoji { font-size: 26px; }
.b2c-kit-save {
  background: var(--pomegranate); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em;
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.b2c-kit-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-top: 12px; color: var(--night-indigo); }
.b2c-kit-count { font-size: 11.5px; color: var(--moon-grey); margin-top: 4px; font-family: var(--font-mono); }
.b2c-kit-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border);
}
.b2c-kit-price b { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--amber-glow-deep); }
.b2c-kit-price s { display: block; font-size: 11.5px; color: var(--moon-grey); }

/* DIY 指南 */
.b2c-diy-sec { background: var(--surface-soft); }
.b2c-diy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.b2c-diy-card {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 17px 18px;
  transition: all .22s var(--ease-glow);
}
.b2c-diy-card:hover { border-color: var(--amber-glow); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.b2c-diy-emoji { font-size: 22px; flex-shrink: 0; }
.b2c-diy-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink-violet); line-height: 1.4; }
.b2c-diy-arrow { color: var(--amber-glow-deep); flex-shrink: 0; }
.b2c-diy-arrow svg { width: 16px; height: 16px; }

/* 转化条 */
.b2c-final {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--night-indigo), var(--night-3));
  border-radius: var(--radius-lg); padding: 34px 36px;
  color: var(--dusk-white);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
}
.b2c-final::after {
  content: ''; position: absolute; width: 240px; height: 240px;
  right: -70px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow-strong), transparent 68%);
}
.b2c-final > div { position: relative; z-index: 1; }
.b2c-final-title { font-family: var(--font-display); font-size: 25px; font-weight: 700; }
.b2c-final-sub { font-size: 13.5px; color: rgba(246, 242, 244, .7); margin-top: 7px; max-width: 520px; }
.b2c-final-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.b2c-final-b2b { font-size: 12px; color: rgba(246, 242, 244, .6); }
.b2c-final-b2b b { color: var(--amber-glow); }

/* B2C 会员权益入口 */
.b2c-member {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 32px;
  flex-wrap: wrap;
}
.b2c-member-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--night-indigo); margin-top: 6px; }
.b2c-member-sub { font-size: 13.5px; color: var(--moon-grey); margin-top: 7px; max-width: 560px; line-height: 1.6; }
.b2c-member-tiers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.b2c-member-tier {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 15px; border-radius: var(--radius);
  border: 1px solid var(--border); border-left: 3px solid var(--tier);
  background: var(--surface-soft);
}
.b2c-member-tier b { font-size: 12.5px; font-weight: 700; color: var(--tier); }
.b2c-member-tier span { font-size: 11px; color: var(--moon-grey); font-family: var(--font-mono); }
.b2c-member-tier em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--amber-glow-deep); }

/* 首页 B2C 横幅 */
.b2c-banner {
  display: flex; align-items: center; gap: 26px;
  background: linear-gradient(120deg, var(--night-indigo) 0%, #3A2A58 62%, #4A3268 100%);
  border-radius: var(--radius-lg); padding: 26px 30px;
  color: var(--dusk-white); position: relative; overflow: hidden;
  transition: transform .24s var(--ease-glow), box-shadow .24s var(--ease-glow);
}
.b2c-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-modal); }
.b2c-banner::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  right: -80px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow-strong), transparent 66%);
}
.b2c-banner-badge {
  flex-shrink: 0; position: relative; z-index: 1;
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--amber-glow), #F2B75E);
  color: var(--night-indigo); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(232, 163, 61, .45);
}
.b2c-banner-body { flex: 1; position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; }
.b2c-banner-eyebrow {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--amber-glow); margin-bottom: 6px;
}
.b2c-banner-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.b2c-banner-sub { font-size: 13px; color: rgba(246, 242, 244, .72); margin-top: 6px; }
.b2c-banner-cta {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-glow); color: var(--night-indigo);
  padding: 11px 20px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 800;
}
.b2c-banner-cta svg { width: 16px; height: 16px; }

/* ==========================================================================
   会员中心（B2C 个人 / B2B 企业）
   ========================================================================== */

.mem-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1A1329 0%, var(--night-indigo) 46%, #40295E 100%);
  color: var(--dusk-white);
  padding: 58px 0 62px;
}
.mem-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 163, 61, .26), transparent 44%),
    radial-gradient(circle at 6% 94%, rgba(127, 119, 221, .22), transparent 44%);
}
.mem-hero-lines {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 242, 244, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 244, .5) 1px, transparent 1px);
  background-size: 56px 56px;
}
.mem-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.mem-hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--radius-pill);
  background: rgba(232, 163, 61, .16); border: 1px solid rgba(232, 163, 61, .4);
  font-size: 12px; font-weight: 600; margin-bottom: 20px; color: var(--amber-glow);
}
.mem-hero-badge .pill {
  background: var(--amber-glow); color: var(--night-indigo);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.mem-hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.01em;
}
.mem-hero-desc {
  margin-top: 16px; font-size: 15px; line-height: 1.68;
  color: rgba(246, 242, 244, .72); max-width: 620px;
}
.mem-switch {
  display: inline-flex; gap: 4px; margin-top: 28px;
  background: rgba(246, 242, 244, .08);
  border: 1px solid rgba(246, 242, 244, .18);
  border-radius: var(--radius-pill); padding: 4px;
}
.mem-switch-btn {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  color: rgba(246, 242, 244, .72);
  font-size: 13.5px; font-weight: 700;
  padding: 9px 20px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s var(--ease-glow);
}
.mem-switch-btn:hover { color: var(--dusk-white); }
.mem-switch-btn.on {
  background: linear-gradient(135deg, var(--amber-glow), #F2B75E);
  color: var(--night-indigo);
  box-shadow: 0 2px 12px rgba(232, 163, 61, .4);
}

/* --- 等级卡片 --- */
.mem-tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mem-tier {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 18px 18px;
  display: flex; flex-direction: column;
  transition: all .24s var(--ease-glow);
}
.mem-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--tier); }
.mem-tier-bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tier); }
.mem-tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mem-tier-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--tier);
}
.mem-tier-from { font-size: 11px; color: var(--moon-grey); font-family: var(--font-mono); }
.mem-tier-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.mem-badge {
  font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: var(--radius-pill);
  background: var(--dusk-white); color: var(--ink-violet);
  border: 1px solid var(--border);
}
.mem-perk-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mem-perk-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-violet); line-height: 1.45; }
.mem-perk-list svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--tier); }

/* --- 积分计算器 --- */
.mem-calc-sec { background: var(--surface-soft); }
.mem-calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface);
}
.mem-calc-left { padding: 30px 32px; }
.mem-calc-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 6px; color: var(--night-indigo); }
.mem-calc-sub { font-size: 13px; color: var(--moon-grey); margin-top: 7px; line-height: 1.6; }
.mem-calc-label {
  display: block; margin-top: 22px; margin-bottom: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--moon-grey);
}
.mem-calc-input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 17px; font-weight: 700;
  color: var(--night-indigo); background: var(--surface);
}
.mem-calc-input:focus { outline: none; border-color: var(--amber-glow); box-shadow: 0 0 0 3px var(--amber-glow-soft); }
.mem-calc-quick { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.mem-quick {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-pill); padding: 6px 13px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--ink-violet); cursor: pointer;
  transition: all .18s var(--ease-glow);
}
.mem-quick:hover { border-color: var(--amber-glow); color: var(--amber-glow-deep); }

.mem-calc-right {
  background: linear-gradient(150deg, var(--night-indigo), var(--night-3));
  color: var(--dusk-white); padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.mem-result-tier { display: flex; align-items: baseline; gap: 10px; }
.mem-result-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(246, 242, 244, .55); }
.mem-result-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--tier); }
.mem-result-next { font-size: 12.5px; color: rgba(246, 242, 244, .68); margin-top: 10px; }
.mem-result-next b { color: var(--amber-glow); }
.mem-result-grid { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.mem-result-grid span {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--amber-glow);
  background: rgba(232, 163, 61, .14);
  border: 1px solid rgba(232, 163, 61, .3);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.mem-result-perks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.mem-result-perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: rgba(246, 242, 244, .82); line-height: 1.45; }
.mem-result-perks svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--amber-glow); }

/* --- 赚取 / 兑换 / 权益 网格 --- */
.mem-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mem-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mem-cell, .mem-perk-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; flex-direction: column; gap: 7px;
  transition: all .22s var(--ease-glow);
}
.mem-cell:hover, .mem-perk-card:hover { border-color: var(--amber-glow); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mem-cell-emoji { font-size: 24px; line-height: 1; }
.mem-cell-name { font-size: 13px; font-weight: 700; color: var(--night-indigo); }
.mem-cell-meta { font-size: 12px; color: var(--moon-grey); }
.mem-cell em { font-style: normal; font-size: 11px; color: var(--moon-grey); }
.mem-perk-card { flex-direction: row; align-items: center; gap: 13px; }
.mem-perk-name { font-size: 13.5px; font-weight: 600; color: var(--ink-violet); }

/* --- B2B 准入流程 --- */
.mem-steps-sec { background: var(--surface-soft); }
.mem-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mem-step {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.mem-step-no {
  position: absolute; right: 16px; top: 14px;
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  color: var(--dusk-white); line-height: 1;
}
.mem-step-emoji { font-size: 24px; }
.mem-step-text { font-size: 13.5px; font-weight: 600; color: var(--ink-violet); line-height: 1.5; position: relative; z-index: 1; }

/* --- 底部 CTA --- */
.mem-final {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--night-indigo), var(--night-3));
  border-radius: var(--radius-lg); padding: 34px 36px;
  color: var(--dusk-white);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.mem-final::after {
  content: ''; position: absolute; width: 240px; height: 240px;
  right: -70px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow-strong), transparent 68%);
}
.mem-final > div, .mem-final > a { position: relative; z-index: 1; }
.mem-final-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; max-width: 620px; line-height: 1.35; }
.mem-final-sub { font-size: 13px; color: rgba(246, 242, 244, .68); margin-top: 8px; }
.mem-final-sub a { color: var(--amber-glow); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-rail { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 560px; }
  .reach-grid { grid-template-columns: 1fr; gap: 26px; }
  /* 注意：.nav-inner 不能加 overflow-x:auto —— 会裁剪掉 mega 下拉面板 */
  .nav-inner { gap: 2px; }
  .nav-link { padding: 8px 10px; }
  .nav-ship { display: none; }
  .mega-catalog { width: min(980px, calc(100vw - 48px)); grid-template-columns: 208px 1fr; }
  .mega-cols { gap: 8px 14px; }
  .mega-body { grid-template-columns: 1fr; }
  .mega-preview { display: none; }
  .b2c-kit-grid, .b2c-diy-grid { grid-template-columns: repeat(2, 1fr); }
  .mem-tier-grid, .mem-grid-4, .mem-steps { grid-template-columns: repeat(2, 1fr); }
  .mem-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .util-promo .txt { display: none; }
  /* 移动端工具条：仅保留国家/语言/货币选择器，隐藏次要链接 */
  .utilbar .wrap { gap: 8px; padding: 0 12px; }
  .utilbar-right { gap: 6px; }
  .utilbar-right .util-link,
  .utilbar-right .util-sep { display: none; }
  .picker-btn { padding: 4px 7px; font-size: 12px; }
  .picker-btn .lbl { max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-search { display: none; }
  .site-nav { display: none; }
  .burger { display: flex; }
  .header-main { gap: 12px; }
  .brand { flex: 1; }
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-rail { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(320px, 88vw);
    z-index: 520; border-radius: 0; transform: translateX(-100%);
    visibility: hidden; overflow-y: auto;
    transition: transform .32s var(--ease-arc), visibility .32s var(--ease-arc);
    max-height: none; will-change: transform;
  }
  .filters.open { transform: translateX(0); visibility: visible; }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery { position: static; }
  .deal-inner { grid-template-columns: 1fr; gap: 26px; }
  .ymm-selects { grid-template-columns: repeat(2, 1fr); }
  .ymm-selects .btn { grid-column: 1 / -1; }
  .mega { display: none; }
  .b2c-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .b2c-usp-grid { grid-template-columns: repeat(2, 1fr); }
  .b2c-banner { flex-wrap: wrap; gap: 18px; }
  .b2c-final { padding: 28px 26px; }
  .mem-calc { grid-template-columns: 1fr; }
  .mem-hero { padding: 44px 0 48px; }
  .mem-final { padding: 28px 26px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 38px 0; }
  .b2c-kit-grid, .b2c-diy-grid, .b2c-usp-grid { grid-template-columns: 1fr; }
  .b2c-hero { padding: 40px 0 46px; }
  .b2c-hero-stats { gap: 22px; }
  .b2c-banner-badge { width: 50px; height: 50px; border-radius: 13px; font-size: 14px; }
  .b2c-banner-title { font-size: 19px; }
  .mem-tier-grid, .mem-grid-4, .mem-grid-3, .mem-steps { grid-template-columns: 1fr; }
  .mem-calc-left, .mem-calc-right { padding: 24px 22px; }
  .mem-switch { width: 100%; }
  .mem-switch-btn { flex: 1; justify-content: center; padding: 9px 12px; font-size: 12.5px; }
  .section-title { font-size: 23px; }
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-rail { grid-template-columns: repeat(2, 1fr); }
  .header-actions .hact span { display: none; }
  .hact { width: 46px; height: 46px; }
  .hero-inner { padding: 44px 0 50px; }
  .hero-stats { gap: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 38px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .pdp-title { font-size: 23px; }
  .pdp-emoji { font-size: 110px; }
  .pdp-price { font-size: 28px; }
  .spec-list { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .deal-banner { padding: 30px 24px; }
  .deal-title { font-size: 24px; }
  .toast-wrap { right: 12px; left: 12px; bottom: 12px; }
  .prod-quick { opacity: 1; transform: none; }
  .quick-btn span { display: none; }
  .step-label { display: none; }
  .panel { padding: 22px 20px; }
  .ymm-panel { padding: 22px 20px; }
}
@media (max-width: 460px) {
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
