/* ============================================================
   numread — 暗夜展柜 设计系统
   Canvas L0 #0d0d0d / S1 #161616 / S2 #1e1e1e / S3 #2a2a2a
   ============================================================ */
:root {
  --canvas: #0d0d0d;
  --surface-1: #161616;
  --surface-2: #1e1e1e;
  --surface-3: #2a2a2a;
  --border: #333333;
  --border-soft: #1e1e1e;
  --text-1: #f5f5f5;
  --text-2: #999999;
  --text-3: #666666;
  --text-4: #444444;
  --cta-bg: #e8e8e8;
  --cta-hover: #ffffff;
  --cta-text: #1a1a1a;
  --accent: #e8e8e8;

  --font-main: 'Inter', 'DM Sans', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', Consolas, monospace;

  --shadow-card: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-card-press: 0 1px 2px rgba(0,0,0,.2);
  --shadow-drawer: -4px 0 24px rgba(0,0,0,.5);

  --radius-btn: 6px;
  --radius-card: 12px;
  --radius-series: 16px;
  --radius-chip: 20px;
  --radius-input: 8px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--text-1);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(232,232,232,.25); color: #fff; }

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

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

/* ---------- 排版工具 ---------- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: .08em;
  color: var(--text-3); text-transform: uppercase;
}
.h-display { font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; color: var(--text-1); }
.h-hero    { font-family: var(--font-display); font-size: 64px; font-weight: 600; line-height: 1.05; letter-spacing: -.05em; color: var(--text-1); }
.h-lg      { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; color: var(--text-1); }
.h-md      { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--text-1); }
.h-sm      { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--text-1); }
.t-body    { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.t-sm      { font-size: 13px; color: var(--text-2); }
.t-caption { font-size: 11px; color: var(--text-3); letter-spacing: .01em; }
.price     { font-family: var(--font-mono); font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--accent); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 500;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cta-bg); color: var(--cta-text); }
.btn-primary:hover { background: var(--cta-hover); transform: scale(1.02); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled, .btn-primary.is-disabled { background: var(--border); color: var(--text-3); cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; border: 1px solid #444444; color: var(--text-2);
  padding: 11px 27px;
}
.btn-ghost:hover { border-color: #888; color: var(--text-1); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.link-accent {
  font-size: 14px; color: var(--accent); font-weight: 400;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .2s ease;
}
.link-accent:hover { border-color: var(--accent); }

/* ============================================================
   导航栏
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,13,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.04);
  transition: background .4s ease, border-color .4s ease;
}
.navbar.is-scrolled { background: rgba(13,13,13,.98); border-bottom-color: #2e2e2e; }
.navbar-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--text-1); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--text-2);
  transition: color .2s ease; position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--text-1); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cart-btn {
  position: relative; width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: background .2s ease;
}
.cart-btn:hover { background: var(--surface-2); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--text-4); color: var(--accent);
  border-radius: 9px; font-size: 11px; font-weight: 500;
  display: none; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.cart-count.is-visible { display: flex; }
@keyframes badge-bounce {
  0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); }
}
.cart-count.is-bounce { animation: badge-bounce .3s ease; }

.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center; color: var(--text-1);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(13,13,13,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-2);
  padding: 12px 24px 20px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 4px; font-size: 15px; color: var(--text-2);
  border-bottom: 1px solid var(--surface-2);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.is-active { color: var(--text-1); }

/* ============================================================
   首页轮播（70vh）
   ============================================================ */
.hero {
  position: relative; height: 70vh; min-height: 520px;
  background: var(--surface-2); overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-frame {
  position: absolute; inset: var(--nav-h) 0 0 0;
  display: flex; align-items: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.hero-frame.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-inner {
  max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 40% 60%; align-items: center; gap: 24px;
  height: 100%;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.hero-copy .eyebrow { color: var(--text-3); }
.hero-copy h1, .hero-copy h2 { font-family: var(--font-display); font-size: 64px; font-weight: 600; line-height: 1.05; letter-spacing: -.05em; color: var(--text-1); }
.hero-copy p { font-size: 16px; color: var(--text-2); line-height: 1.6; }
.hero-copy .btn { align-self: flex-start; margin-top: 8px; }
.hero-media { height: 82%; display: flex; align-items: center; justify-content: center; }
.hero-media img {
  max-height: 100%; max-width: 100%; width: auto; height: 100%; object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5));
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s ease;
}
.hero-nav:hover { background: rgba(255,255,255,.18); }
.hero-nav svg { width: 20px; height: 20px; }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 24px; height: 4px; border-radius: 2px; background: var(--text-4);
  transition: background .3s ease;
}
.hero-dot:hover { background: var(--text-3); }
.hero-dot.is-active { background: var(--accent); }

/* ============================================================
   Chip 分类条（sticky）
   ============================================================ */
.chip-bar {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}
.chip-bar-inner {
  max-width: 1400px; margin: 0 auto; padding: 16px 24px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.chip-bar-inner::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: var(--radius-chip);
  background: transparent; border: 1px solid var(--border);
  color: #888888; font-size: 13px; font-weight: 400;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.chip:hover { border-color: #555; color: #ccc; }
.chip.is-active { background: var(--surface-3); color: var(--text-1); border-color: #444; }

/* ============================================================
   产品网格与卡片
   ============================================================ */
.section { padding: 80px 0; }
.section-lg { padding: 120px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .h-lg { margin-top: 8px; }
.section-sub { color: var(--text-2); font-size: 14px; max-width: 560px; line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.is-filtering .product-card { display: none; }
.product-grid.is-filtering .product-card.is-match { display: block; }

.product-card {
  background: var(--surface-1); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease, opacity .5s ease;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px);
}
.product-card.is-inview { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--border); }
.product-card:active { transform: scale(.98); box-shadow: var(--shadow-card-press); }

.product-card-media {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2);
  position: relative; display: block;
}
.product-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease-out;
}
.product-card:hover .product-card-media img { transform: scale(1.03); }
.product-card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-cat { font-size: 11px; color: var(--text-3); letter-spacing: .02em; }
.product-card-name { font-size: 14px; font-weight: 500; color: var(--text-1); }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }

.quick-add {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-3); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.quick-add svg { width: 16px; height: 16px; }
.product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--cta-bg); color: var(--cta-text); }

/* ============================================================
   系列专题区
   ============================================================ */
.series-band { background: #1a1a1a; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.series-scroll {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.series-card {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--surface-1); border: 1px solid var(--border-soft);
  border-radius: var(--radius-series); overflow: hidden;
  transition: transform .25s ease-out, box-shadow .25s ease-out, border-color .25s ease;
}
.series-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--border); }
.series-card-media { height: 160px; overflow: hidden; background: var(--surface-2); }
.series-card-media img { width: 100%; height: 100%; object-fit: cover; }
.series-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.series-card-body .t-sm { line-height: 1.6; }

/* ============================================================
   品牌故事
   ============================================================ */
.story { background: var(--surface-1); border-top: 1px solid var(--border-soft); }
.story-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.story-logo { display: flex; align-items: center; gap: 12px; color: var(--text-1); }
.story-logo svg { width: 30px; height: 30px; }
.story-logo span { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.story p { font-size: 14px; color: var(--text-2); line-height: 1.9; }

/* ============================================================
   页脚
   ============================================================ */
.footer { background: var(--surface-1); border-top: 1px solid var(--border-soft); padding: 64px 0 0; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-2); line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s ease, border-color .2s ease;
}
.footer-social a:hover { color: var(--text-1); border-color: #555; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 13px; color: var(--text-2); transition: color .2s ease; }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text-3); }

/* ============================================================
   购物车抽屉
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 380px; max-width: 100vw;
  background: var(--surface-2);
  box-shadow: var(--shadow-drawer);
  border-radius: 16px 0 0 16px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--border-soft);
}
.cart-head h3 { font-size: 18px; font-weight: 500; color: var(--text-1); }
.cart-close { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: background .2s ease, color .2s ease; }
.cart-close:hover { background: var(--surface-3); color: var(--text-1); }
.cart-close svg { width: 18px; height: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { text-align: center; padding: 48px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.cart-empty svg { width: 40px; height: 40px; color: var(--text-4); }
.cart-empty p { font-size: 13px; color: var(--text-3); }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--surface-3); flex-shrink: 0; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-size: 13px; font-weight: 500; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.qty-control { display: flex; align-items: center; gap: 2px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 4px;
  background: var(--surface-3); color: var(--text-2);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.qty-btn:hover { background: var(--border); color: var(--text-1); }
.qty-num { font-family: var(--font-mono); font-size: 14px; color: var(--text-1); min-width: 28px; text-align: center; }
.cart-item-remove { width: 28px; height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: color .2s ease, background .2s ease; }
.cart-item-remove:hover { color: var(--text-1); background: var(--surface-3); }
.cart-item-remove svg { width: 15px; height: 15px; }
.cart-foot { border-top: 1px solid var(--border-soft); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font-size: 14px; color: var(--text-2); }
.cart-total strong { font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--text-1); }
.cart-note { font-size: 11px; color: var(--text-3); }

/* ============================================================
   面包屑 & 内页页头
   ============================================================ */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 48px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.page-hero .h-lg { margin-top: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--text-1); }
.breadcrumb .sep { color: var(--text-4); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ============================================================
   产品详情页
   ============================================================ */
.detail-layout {
  display: grid; grid-template-columns: 55% 1fr; gap: 48px;
  align-items: start;
}
.detail-media {
  background: var(--surface-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 4 / 3; position: sticky; top: calc(var(--nav-h) + 24px);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.detail-info .h-lg { font-size: 40px; }
.detail-tagline { font-size: 16px; color: var(--text-2); line-height: 1.7; }
.detail-price-row { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.detail-price-row .price { font-size: 24px; }
.detail-desc { color: var(--text-2); font-size: 14px; line-height: 1.8; }
.detail-features { display: flex; flex-direction: column; gap: 10px; }
.detail-features li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.detail-features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-3px); }
.detail-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-pick { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-btn); overflow: hidden; height: 46px; }
.qty-pick .qty-btn { background: transparent; border-radius: 0; width: 40px; height: 44px; }
.qty-pick .qty-num { min-width: 44px; font-size: 15px; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th { text-align: left; font-size: 12px; font-weight: 400; color: var(--text-3); padding: 14px 16px 14px 0; width: 32%; vertical-align: top; }
.spec-table td { font-size: 13px; color: var(--text-1); padding: 14px 0; line-height: 1.6; }

.detail-block { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.detail-block h3 { font-size: 16px; font-weight: 500; color: var(--text-1); }

/* ============================================================
   系列页
   ============================================================ */
.series-hero { position: relative; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); padding: calc(var(--nav-h) + 64px) 0 64px; }
.series-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.series-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.series-hero-copy .h-hero { font-size: 48px; }
.series-hero-media img { width: 100%; border-radius: var(--radius-series); border: 1px solid var(--border-soft); }

/* ============================================================
   文章
   ============================================================ */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--surface-1); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); overflow: hidden;
  transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px);
}
.article-card.is-inview { opacity: 1; transform: translateY(0); }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--border); }
.article-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card-body h3 { font-size: 16px; font-weight: 500; color: var(--text-1); line-height: 1.4; }
.article-card-body .t-sm { line-height: 1.6; flex: 1; }
.article-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-3); letter-spacing: .02em; }

.article-page { max-width: 720px; margin: 0 auto; }
.article-head { display: flex; flex-direction: column; gap: 16px; padding: calc(var(--nav-h) + 64px) 0 40px; }
.article-head .h-display { font-size: 40px; }
.article-cover { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface-2); margin-bottom: 40px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-content { display: flex; flex-direction: column; gap: 20px; padding-bottom: 64px; }
.article-content p { font-size: 15px; color: var(--text-2); line-height: 1.9; }
.article-content h3 { font-size: 20px; font-weight: 500; color: var(--text-1); margin-top: 16px; }
.article-content blockquote {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 20px;
  font-size: 15px; color: var(--text-1); line-height: 1.8;
}
.article-foot { border-top: 1px solid var(--border-soft); padding: 32px 0 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   表单页
   ============================================================ */
.form-wrap { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--text-2); }
.input, .textarea, .select {
  width: 100%; background: var(--surface-1);
  border: 1px solid var(--border); border-radius: var(--radius-input);
  padding: 12px 16px; font-size: 14px; color: var(--text-1);
  font-family: inherit; transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: #888;
  box-shadow: 0 0 0 3px rgba(232,232,232,.1);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); }
.checkbox-row input[type="checkbox"] { accent-color: var(--cta-bg); width: 16px; height: 16px; margin-top: 2px; }
.form-success {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 32px; text-align: center;
  display: none; flex-direction: column; gap: 12px; align-items: center;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 40px; height: 40px; color: var(--accent); }
.form-success h3 { font-size: 18px; font-weight: 500; color: var(--text-1); }

/* 结算 */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.order-summary {
  background: var(--surface-1); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); padding: 24px;
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: flex; flex-direction: column; gap: 16px;
}
.order-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }
.order-line strong { font-family: var(--font-mono); color: var(--text-1); font-weight: 500; }
.order-line.is-total { border-top: 1px solid var(--border-soft); padding-top: 14px; font-size: 14px; }
.order-line.is-total strong { font-size: 20px; font-weight: 600; }
.radio-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-input); font-size: 14px; color: var(--text-2); cursor: pointer; transition: border-color .2s ease; }
.radio-row:hover { border-color: #555; }
.radio-row input { accent-color: var(--cta-bg); }

/* ============================================================
   FAQ（客户服务）
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 15px; font-weight: 500; color: var(--text-1); text-align: left;
}
.faq-q svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 13px; color: var(--text-2); line-height: 1.8; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card {
  background: var(--surface-1); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease-out, border-color .2s ease;
}
.support-card:hover { transform: translateY(-2px); border-color: var(--border); }
.support-card svg { width: 22px; height: 22px; color: var(--accent); }
.support-card h3 { font-size: 16px; font-weight: 500; color: var(--text-1); }
.support-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; flex: 1; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1279px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { height: 60vh; }
  .hero-copy h1, .hero-copy h2 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .cart-drawer { width: 320px; }
  .detail-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr 320px; gap: 32px; }
  .article-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero { height: 50vh; min-height: 420px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; align-content: center; }
  .hero-media { display: none; }
  .hero-copy h1, .hero-copy h2 { font-size: 34px; }
  .hero-copy p { font-size: 14px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cart-drawer { width: 100vw; border-radius: 0; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-media { position: static; }
  .detail-info .h-lg { font-size: 30px; }
  .series-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .series-hero-copy .h-hero { font-size: 32px; }
  .article-list { grid-template-columns: 1fr; }
  .article-head .h-display { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .order-summary { position: static; }
  .support-grid { grid-template-columns: 1fr; }
  .quick-add { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .container, .container-narrow, .chip-bar-inner, .navbar-inner, .hero-inner { padding-left: 16px; padding-right: 16px; }
  .product-grid { gap: 12px; }
  .product-card-body { padding: 14px; }
  .h-display { font-size: 32px; }
  .page-hero { padding-top: calc(var(--nav-h) + 48px); }
}
