/* site/src/style.css — 深色科技营销主题（mobile-first，全站单一内容轨道 1200px）
   设计体系：
   - 深空蓝黑底（--bg）+ 细网格纹理 + 霓虹青强调（--brand）；卡片 = 深表面 + hairline + 深阴影
   - 区块节奏：网格底区块为主；营销区块标题居中对称（.section--center）
   - 卡片 hover：微升 + 青描边 + 光晕 + 图片 zoom；全站 :focus-visible 青焦点环
   - 无"套娃"二级限宽：卡片内内容通栏，左右边缘 = 容器边缘（1160px 内容轨） */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/InterVariable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+032A, U+20AC, U+2122;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  /* 波兰语字符（ą ę ł ń ó ś ź ż）等 */
  src: url('./fonts/InterVariable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #070b14;
  --surface: #0e1524;
  --surface-2: #141d31;
  --ink: #e6edf7;
  --ink-soft: #9fb0c7;
  --ink-mute: #64748b;
  --line: rgba(148, 163, 184, 0.16);
  --brand: #22d3ee;
  --brand-deep: #0e7490;
  --accent: #fbbf24;
  --danger: #fb7185;
  --glow: rgba(34, 211, 238, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.35);
  --maxw: 1200px;
  --h2: clamp(22px, 3.5vw, 30px);
  --dur: 150ms;
  --dur-slow: 300ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  /* 细网格纹理：双层 1px 线 4% 透明，56px 格，fixed 不随滚 */
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
}

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

h1, h2, h3 { text-wrap: balance; }

/* 价格与规格表数字对齐 */
.card-price strong, .product-price strong, .specs td {
  font-variant-numeric: tabular-nums;
}

.container { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: 20px; }

.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;
}

/* ---------- 可访问性：全站青焦点环 ---------- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 100;
  background: var(--brand); color: #04141a; padding: 8px 14px; border-radius: var(--radius-sm);
  transition: top var(--dur);
}
.skip-link:focus { top: 8px; }

/* ---------- SVG 图标通用 ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- 页头（深玻璃）---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 12px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink); font-weight: 800;
}
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  color: #04141a; border-radius: var(--radius-sm); font-size: 18px;
  box-shadow: 0 0 16px var(--glow);
}
.brand-name { letter-spacing: -0.02em; }

.site-nav { position: relative; }
/* 桌面顶栏：移动端默认隐藏，≥960px 显示 */
.nav-top { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
/* 桌面悬停下拉：opacity+translate 渐显（矮窗限高可滚） */
.has-sub { position: relative; }
.has-sub > .nav-link { padding: 8px 4px; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; z-index: 45;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); min-width: 180px; padding: 8px;
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur), transform var(--dur), visibility var(--dur);
  max-height: 70vh; overflow-y: auto;
}
.has-sub:hover > .nav-dropdown, .has-sub:focus-within > .nav-dropdown {
  visibility: visible; opacity: 1; transform: translateY(0);
}
.nav-dropdown .nav-sub { display: block; padding: 7px 10px; border-radius: 8px; }
.nav-dropdown .nav-sub:hover { background: rgba(34, 211, 238, 0.08); color: var(--ink); }
/* 移动菜单：同渐显机制 */
.mobile-menu {
  position: fixed; inset: 64px 0 auto 0; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 12px 20px 24px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur), transform var(--dur), visibility var(--dur);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.nav-link { display: inline-block; padding: 8px 4px; font-weight: 600; text-decoration: none; color: var(--ink-soft); transition: color var(--dur); }
.nav-link:hover { color: var(--brand); }
.nav-group { margin-top: 14px; }
.nav-group-title {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-mute); margin-bottom: 6px;
}
.nav-sub { display: block; padding: 6px 0; color: var(--ink-soft); text-decoration: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur), box-shadow var(--dur), background-color var(--dur), border-color var(--dur), color var(--dur);
}
.btn:active { transform: translateY(1px); }
/* 主操作：霓虹青实底 + 深色文字 + 光晕 */
.btn-primary {
  background: var(--brand); color: #04141a;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover { background: #5ee2ef; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
/* 页头促销按钮：琥珀描边科技感 */
.btn-cta {
  background: rgba(251, 191, 36, 0.12); color: var(--accent);
  border-color: rgba(251, 191, 36, 0.4);
}
.btn-cta:hover { background: var(--accent); color: #1a1305; box-shadow: 0 4px 18px rgba(251, 191, 36, 0.35); }

/* ---------- 区块体系 ----------
   .section          默认网格底（--bg），44px 垂直节奏（桌面 56px）
   .section--center  营销区块：h2 与导语水平居中，左右对称
   所有区块内容统一到 .container 单轨道（1200px，内容 1160px），无二级限宽
------------------------------------------------ */
.section { padding-block: 44px; }
.section h2 {
  font-size: var(--h2);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.section { padding-block: 44px; }
.section--center, .section--center h2, .section--center h3 { text-align: center; }
.section--center p { max-width: 56ch; margin-inline: auto; }
.section-head p { color: var(--ink-soft); margin: 0 auto 24px; max-width: 56ch; }
.subhead { margin: 36px 0 16px; font-size: 20px; }

/* 面包屑：深表面并入 page-hero，合并为顶部单块（底部发丝线由 page-hero 提供） */
.breadcrumbs { background: var(--surface); padding: 12px 0; }
nav.breadcrumbs + .page-hero { padding-top: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li { color: var(--ink-soft); font-size: 14px; }
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-mute);
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero（深空 + 青光晕 + 网格叠加）---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 78% -12%, var(--glow), transparent 60%),
    linear-gradient(180deg, #0b1322 0%, var(--bg) 100%);
  padding-block: 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px;
  color: var(--brand); margin: 0 0 12px;
}
.hero h1 { font-size: clamp(26px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; }
.hero h1 strong { color: var(--brand); }
.hero p { color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.hero a.btn-ghost { color: var(--ink); border-color: var(--line); }
.hero a.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-stats {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 22px; color: var(--ink); font-weight: 800; }
.hero-stats li span { color: var(--ink-mute); font-size: 13px; }
.hero-media img {
  aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-media figcaption { color: var(--ink-mute); font-size: 13px; margin-top: 8px; }

/* ---------- Trust strip（深表面区块）---------- */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: 1fr; gap: 16px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon { color: var(--brand); }
.trust-item b { display: block; font-weight: 700; font-size: 16px; }

/* ---------- 数据条（stat-strip：图标 + 数值 + 标签，页面间数值各不相同） ---------- */
.stat-strip { padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); }
.stat-strip .container { display: grid; grid-template-columns: 1fr; gap: 14px; }
.stat-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.stat-item .icon { color: var(--brand); flex-shrink: 0; }
.stat-item b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-item span { color: var(--ink-mute); font-size: 13px; }

/* ---------- 品牌模型对比表（compare-table） ---------- */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-align: left;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare-table { min-width: 560px; }
.compare-table th, .compare-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.compare-table thead th {
  background: var(--surface); color: var(--ink-mute);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(34, 211, 238, 0.05); }
.compare-table th[scope="row"] a { color: var(--ink); font-weight: 700; text-decoration: none; }
.compare-table th[scope="row"] a:hover { color: var(--brand); }
.compare-table td { color: var(--ink-soft); }
.compare-table tr.is-top th, .compare-table tr.is-top td { background: rgba(34, 211, 238, 0.06); }
.compare-table tr.is-top th a { color: var(--brand); }
.row-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 2px 8px;
}

/* ---------- 卡片通用（深表面 + hairline + 深阴影 + hover 微升/青描边/光晕）---------- */
.product-card, .review, .brand-card, .flavor-card, .contact-card {
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
a.brand-card:hover, a.flavor-card:hover, a.contact-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--glow), var(--shadow);
  border-color: var(--brand);
}

/* ---------- 商品网格（移动端即两列）---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.product-grid > h2 { grid-column: 1 / -1; }
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.card-media {
  aspect-ratio: 1; background: var(--surface-2);
  display: grid; place-items: center; overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) ease;
}
.product-card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--danger); color: #1f0a12; font-weight: 800; font-size: 13px;
  padding: 4px 10px; border-radius: 999px;
}
.card-rank {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(7, 11, 20, 0.85); color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 800; font-size: 13px;
  padding: 4px 10px; border-radius: 999px;
}
.card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 0; font-weight: 600; }
.card-title { font-size: 15px; line-height: 1.3; margin: 0; font-weight: 700; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.card-meta { color: var(--ink-soft); font-size: 13px; margin: 0; }
.card-price { margin: 4px 0 8px; }
.card-price s { color: var(--ink-mute); font-size: 13px; margin-right: 8px; }
.card-price strong { font-size: 19px; color: var(--ink); font-weight: 800; }
.card-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.card-actions .btn { text-align: center; padding: 8px 10px; font-size: 14px; }

/* ---------- 品牌 / 口味卡 ---------- */
.brand-grid, .flavor-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.brand-card, .flavor-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
/* 字母字标瓦片（替代动物 emoji） */
.brand-initial {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.18));
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 20px; font-weight: 800; color: var(--brand);
}
.brand-card b, .flavor-card b { font-size: 16px; font-weight: 700; }
.brand-card span, .flavor-card span { color: var(--ink-soft); font-size: 13px; }
.flavor-card .icon { color: var(--brand); }

.top-flavors { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px 24px; margin: 12px 0 0; }
.top-flavors li { color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
/* 排名数字 chip：前三金银铜色，其余 muted */
.flavor-rank {
  display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 8px; font-size: 12px; font-weight: 800;
  background: var(--surface-2); color: var(--ink-mute); border: 1px solid var(--line);
}
.flavor-rank.top-1 { background: rgba(251, 191, 36, 0.14); color: #fde68a; border-color: rgba(251, 191, 36, 0.4); }
.flavor-rank.top-2 { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.4); }
.flavor-rank.top-3 { background: rgba(217, 119, 6, 0.14); color: #fdba74; border-color: rgba(217, 119, 6, 0.4); }

/* 带边框卡片区块：卡片外缘对齐标准内容轨道（1160px），不超出左右内容边 */
.discount .container, .faq .container {
  width: calc(min(100%, var(--maxw)) - 40px);
}

/* ---------- 折扣区（深色琥珀卡 + 阶梯档位卡：2 列 → 桌面 4 列，最高档高亮）---------- */
.discount .container {
  background: linear-gradient(135deg, #1a1408, #171106);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  text-align: center;
}
.discount h2 { margin-bottom: 8px; }
.discount-tiers {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 24px 0 4px;
}
.discount-tier {
  position: relative;
  background: rgba(10, 14, 24, 0.6);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.tier-qty { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.tier-off { font-size: 28px; font-weight: 800; color: var(--danger); line-height: 1.2; font-variant-numeric: tabular-nums; }
/* 最高档：更深底 + 琥珀描边 + 光晕，徽章骑在上缘 */
.discount-tier.is-featured {
  background: #0a0e18;
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25), 0 8px 32px rgba(251, 191, 36, 0.12);
}
.discount-tier.is-featured .tier-qty { color: var(--ink-soft); }
.discount-tier.is-featured .tier-off {
  color: var(--accent); font-size: 32px;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.45);
}
.tier-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #1a1305;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.discount-cta { margin-top: 20px; }
.discount-cta .btn { min-width: 180px; display: inline-block; }

/* ---------- 评价区（深卡 + SVG 星级）---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 0; text-align: left;
}
.review-stars { display: flex; gap: 2px; margin: 0 0 8px; color: var(--accent); }
.review-stars .icon { width: 15px; height: 15px; }
.review-stars .is-empty { color: var(--ink-mute); }
.review p { margin: 0 0 8px; }
.review footer { color: var(--ink-soft); font-size: 14px; }

/* ---------- FAQ（深卡 + 原生 details 手风琴，零 JS）---------- */
.faq .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}
.faq-list { margin: 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px; color: var(--ink);
  transition: background-color var(--dur), color var(--dur);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(34, 211, 238, 0.05); color: var(--brand); border-radius: var(--radius-sm); }
.faq-chevron {
  flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-mute); border-bottom: 2px solid var(--ink-mute);
  transform: rotate(-45deg); transition: transform var(--dur);
}
.faq-item[open] .faq-chevron { transform: rotate(45deg); border-color: var(--brand); }
.faq-item[open] summary { color: var(--brand); }
.faq-a { padding: 0 4px 16px; }
.faq-a p { margin: 0; color: var(--ink-soft); }

/* ---------- 文章（卡片网格 + 推荐位） ---------- */
.guides h2 { margin-bottom: 12px; }
.guides .section-head p, .guides .container > p { color: var(--ink-soft); }
.article-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.article-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.article-title { font-size: 17px; line-height: 1.35; margin: 0; }
.article-title a { color: var(--ink); text-decoration: none; }
.article-title a:hover { color: var(--brand); }
.article-summary { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.article-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.article-actions .btn { padding: 8px 14px; font-size: 13px; }
.rec-intro { color: var(--ink-soft); margin-bottom: 18px; }
.article-kicker {
  color: var(--ink-mute); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px;
}
.article-kicker a { color: var(--brand); }

/* ---------- 页面 hero（深表面顶栏，面包屑并入其中）---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 36px; }
.page-hero h1 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 8px; }
.page-hero p { color: var(--ink-soft); margin: 0; max-width: 60ch; }

/* /sklep/ 页：移除整块 hero 后，h1 收成紧凑标题行（保留语义，去掉重视觉） */
.page-title-row { padding: 24px 0 0; }
.page-title-row h1 { font-size: clamp(24px, 4vw, 34px); margin: 0; }

/* ---------- 商品详情 ---------- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.product-media { margin: 0; }
.product-media img {
  aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius); width: 100%;
}
.product-media figcaption { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
.product-brand { text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 0; font-weight: 600; }
.product-info h1 { font-size: clamp(24px, 4vw, 34px); margin: 6px 0; }
.product-flavor-count { color: var(--ink-soft); margin: 0 0 12px; }
.product-price { margin: 12px 0; }
.product-price s { color: var(--ink-mute); margin-right: 10px; }
.product-price strong { font-size: 30px; font-weight: 800; }
.product-desc { color: var(--ink-soft); }
.product-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.specs th { color: var(--ink-soft); font-weight: 600; width: 45%; }

.flavor-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.flavor-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  transition: border-color var(--dur), color var(--dur), background-color var(--dur);
}
.flavor-chip:hover { border-color: var(--brand); color: var(--brand); }
.flavor-chip.is-active {
  background: var(--brand); border-color: var(--brand); color: #04141a; font-weight: 700;
}

/* ---------- 联系（深卡 + SVG 图标）---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.contact-card .icon { width: 30px; height: 30px; color: var(--brand); }
.contact-card b { font-size: 15px; font-weight: 700; }
.contact-card span:not([aria-hidden]) { color: var(--ink-soft); }

/* ---------- 404 ---------- */
.not-found .container {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.not-found .btn { min-width: 180px; }

/* ---------- 退货政策（文字型页：保持左对齐阅读节奏）---------- */
/* ---------- 退货政策（条款卡片网格 + 居中节奏） ---------- */
.returns-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin-top: 28px; text-align: left;
}
.returns-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
}
.returns-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.returns-card .icon { color: var(--brand); }
.returns-card h3 { font-size: 16px; margin: 0; }
.returns-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.returns-card-link {
  margin-top: auto; color: var(--brand); font-weight: 600; font-size: 14px; text-decoration: none;
}
.returns-card-link:hover { text-decoration: underline; }

/* ---------- 页脚（最深一档，仅版权/链接条）---------- */
.site-footer { background: #050a14; color: var(--ink-soft); padding-block: 24px; margin-top: 40px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-bar {
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-mute);
  text-align: center;
}
.footer-bar p { margin: 0; }
.footer-bar a { color: var(--ink-mute); }
.footer-bar a:hover { color: var(--brand); }

.age-note {
  position: sticky; bottom: 0; z-index: 40;
  background: rgba(5, 10, 20, 0.96); color: var(--ink-soft); text-align: center;
  font-size: 13px; padding: 8px 20px;
  border-top: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}

/* ---------- 响应式断点 ---------- */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card-body { padding: 16px; gap: 6px; }
  .card-title { font-size: 17px; }
  .card-meta { font-size: 14px; }
  .card-price strong { font-size: 22px; }
  .card-actions { flex-direction: row; gap: 8px; }
  .card-actions .btn { flex: 1; padding: 10px 12px; font-size: 15px; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .top-flavors { grid-template-columns: repeat(2, 1fr); }
  .brand-grid, .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .returns-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .section { padding-block: 56px; }

  .discount-tiers { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-grid, .flavor-grid { grid-template-columns: repeat(4, 1fr); }
  .top-flavors { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .returns-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-strip .container { grid-template-columns: repeat(4, 1fr); }

  /* 桌面导航：显示顶栏 + 下拉，隐藏汉堡与移动菜单（base 已 display:none，无需 !important） */
  .nav-toggle { display: none; }
  .mobile-menu { visibility: hidden; }
  .nav-top {
    display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
  }
  .nav-top .nav-link { padding: 8px 10px; }
  .header-inner { gap: 24px; }

  .trust-strip .container { grid-template-columns: repeat(3, 1fr); }
  .footer-bar { flex-direction: row; justify-content: center; gap: 8px; }

  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .product-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
