/* =====================================================
   ZOTour Auto 昭途 — 全站设计体系 v2
   协调的海军蓝、低饱和品牌蓝与暖色强调 + Plus Jakarta Sans
   ===================================================== */

:root {
  --navy: #172d47;
  --navy-2: #203b5a;
  --navy-3: #2d5074;
  --primary: #285f9e;
  --primary-dark: #1d4b80;
  --primary-soft: #eaf1f8;
  --accent: #a85316;
  --accent-soft: #fbefe3;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #203247;
  --muted: #596b7d;
  --line: #e0e6ec;
  --line-2: #cbd5df;
  --green: #167047;
  --green-bg: #e5f4eb;
  --amber: #956000;
  --amber-bg: #fff3d9;
  --red: #b33030;
  --red-bg: #fbeaea;
  --blue-bg: var(--primary-soft);
  /* 2026-10-06 样式收敛：原先散落在各规则里的字面值统一成变量（语义见各用途注释） */
  --teal: #14776e;            /* 增程徽章 / 青色系 */
  --teal-bg: #e1f3ef;
  --teal-text: #11665e;
  --wechat: #07c160;          /* 微信品牌绿（悬浮联系组件） */
  --wechat-dark: #06ad56;
  --img-bg: #172d47;          /* 图片占位底色（卡片/图廊/灯箱共用） */
  --bg-soft: #fafbfd;         /* 卡片内的浅底分区（cc-foot/d-contact/spec-cell） */
  --bg-hover: #f0f4f8;        /* 行 hover / page-hero 渐落点 */
  --focus-ring: 0 0 0 3px rgba(40, 95, 158, .12);  /* 表单控件 focus 光圈，全站统一 */
  --radius: 16px;
  --radius-s: 11px;
  --shadow-1: 0 1px 2px rgba(11, 31, 58, .05), 0 4px 16px rgba(11, 31, 58, .06);
  --shadow-2: 0 2px 6px rgba(11, 31, 58, .07), 0 14px 38px rgba(11, 31, 58, .12);
  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- 全站滚动条：隐藏（2026-10-01 用户拍板：全部参考首页隐藏） ----------
   这是浏览器（OS）的滚动条，不是页面元素，只能隐藏、不能删 DOM。
   规则原先只在 hero.css（仅首页加载），现上移到全站基础层，首页不再有特例。
   代价：页面仍可正常滚动（滚轮 / 触摸板 / 键盘 / 空格 / Home End），
   只是看不到「当前位置」的指示条。 */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
h1, h2, h3, h4 { letter-spacing: -0.015em; }

:is(a, button, select, input, textarea, [tabindex]):focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sh-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 20px;
  /* 2026-10-08 导航栏恢复：三列栅格（logo | 居中导航 | 右侧工具）。
     2026-10-03~10-07 期间曾是 auto 1fr 两列（导航删除态） */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 66px;
}
.logo { display: flex; align-items: center; gap: 10px; justify-self: start; }
/* 2026-10-08 导航栏恢复：样式照抄 Nuxt 版 assets/css/main.css 87-99 行 */
.sh-nav { display: flex; gap: 4px; justify-self: center; }
.sh-nav a {
  padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.sh-nav a:hover { background: var(--bg); color: var(--primary); }
.sh-nav a.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
/* 窄屏导航换行到第二行，避免 6 个导航项溢出 */
@media (max-width: 1200px) {
  .sh-inner { height: auto; grid-template-columns: 1fr auto; padding-block: 10px; row-gap: 2px; }
  .sh-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; flex-wrap: wrap; }
}
/* 2026-10-08 商标图片：深海军蓝字需白底衬片（透明页头浮在深色 Hero 上也可读；
   白色实底页头上衬片与背景融为一体）。旧 .logo-mark/.logo-txt 规则保留以便回滚。 */
.logo-img {
  height: 34px; width: auto; display: block;
  background: #fff; padding: 4px 12px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(11, 31, 58, .12);
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 10%, var(--navy-3) 60%, var(--primary) 130%);
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 31, 58, .28);
}
.logo-txt b { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
/* 副标题单行截断：西/法/俄/葡等长文案不得换行撑破 66px 页头（2026-09-30 西语界面挤压修复） */
.logo-txt { min-width: 0; }
.logo-txt span {
  display: block; font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px;
}
.sh-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
/* 2026-10-25 页头全局搜索（参考 kazavto.com）：白底胶囊 + 品牌蓝放大镜；窄屏隐藏（导航 6 项 + CTA 已占满） */
.sh-search {
  display: flex; align-items: center; width: 216px; height: 36px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.sh-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(40, 95, 158, .18); }
.sh-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font: inherit; font-size: 13px; color: var(--text);
  padding-inline: 15px 6px;
}
.sh-search input::placeholder { color: var(--muted); opacity: .85; }
.sh-search button {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  margin-inline-end: 3px; border: none; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); cursor: pointer;
  transition: background .15s, color .15s;
}
.sh-search button:hover { background: var(--primary); color: #fff; }
@media (max-width: 1100px) { .sh-search { display: none; } }
.lang-select {
  appearance: none; border: 1px solid var(--line-2); border-radius: 9px;
  padding-inline: 12px 30px; min-width: 124px; text-align: start;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  font-size: 13px; height: 38px;
}
[dir='rtl'] .lang-select { background-position: left 10px center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; padding: 11px 22px;
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(40, 95, 158, .28); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 22px rgba(40, 95, 158, .36); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); box-shadow: 0 6px 18px rgba(11, 31, 58, .25); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(168, 83, 22, .3); }
.btn-accent:hover { filter: brightness(.95); }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
/* 禁用态：此前全站按钮没有 disabled 样式，禁用与可用看起来一样 */
.btn:disabled, .btn[disabled] {
  opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; filter: none;
}

/* ---------- Hero（官网首页） ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(79, 139, 255, .28), transparent 60%),
    radial-gradient(800px 380px at 8% 112%, rgba(249, 115, 22, .14), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 78px 0 66px; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 420px at 30% 0%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.22; margin: 0 0 14px; max-width: 720px; font-weight: 800; }
.hero p.hero-sub { font-size: 17px; opacity: .85; margin: 0 0 30px; max-width: 640px; }
.hero-search { display: flex; gap: 10px; max-width: 560px; margin-bottom: 22px; }
.hero-search input {
  flex: 1; border: none; border-radius: 11px; padding: 13px 16px; font-size: 15px; outline: none;
  box-shadow: 0 8px 24px rgba(2, 8, 20, .3);
}
.hero-search input:focus-visible { outline: 3px solid rgba(79, 139, 255, .8); outline-offset: 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.hero-stat {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 18px 22px;
  backdrop-filter: blur(4px);
}
.hero-stat b { display: block; font-size: 30px; font-weight: 800; }
.hero-stat span { font-size: 13px; opacity: .8; }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section.alt { background: #fff; }
/* 首页锚点板块（2026-10-03 支撑页并入首页；/cars 列表同日改回独立页，#cars 不再存在于首页）：
   旧支撑页地址 302 到这些锚点，吸顶页头高 66px，留出呼吸空间防止板块标题被盖住 */
#service-network, #brand-authorization, #about, #faq { scroll-margin-top: 80px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: 27px; margin: 0 0 6px; font-weight: 800; }
.sec-head p { margin: 0; color: var(--muted); font-size: 14px; }
/* 「查看全部」入口（2026-10-06 重设计）：从纯文字链接升级为品牌蓝实体按钮。
   颜色/圆角/阴影/动效全部复用 .btn-primary 的 token 语言，保证与全站按钮一致；
   白字使用深品牌蓝背景，保证文字对比度。 */
.sec-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: 10px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(40, 95, 158, .28);
  transition: transform .18s, box-shadow .18s, background .18s;
}
.sec-link .uicon { transition: transform .18s; }
.sec-link:hover { background: var(--primary-dark); box-shadow: 0 8px 22px rgba(40, 95, 158, .36); }
.sec-link:hover .uicon { transform: translateX(3px); }
.sec-link:active { background: #183f6c; transform: translateY(1px); box-shadow: 0 3px 10px rgba(40, 95, 158, .3); }
.sec-link:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .sec-link, .sec-link .uicon { transition: none; }
  .sec-link:hover .uicon { transform: none; }
}

/* ---------- 区块内 Tab 条（2026-10-25 参考 kazavto.com 车源板块；首页精选区能源筛选用） ---------- */
.sec-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 22px; }
.sec-tab {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 6px 15px; font-size: 13px; color: var(--text); text-decoration: none;
  transition: border-color .12s, background .12s, color .12s;
}
.sec-tab:hover { border-color: var(--primary); color: var(--primary); }
.sec-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.sec-tab-n {
  font-size: 11.5px; font-weight: 700; line-height: 1.5;
  padding: 0 8px; border-radius: 999px;
  background: var(--bg); color: var(--muted);
}
.sec-tab.active .sec-tab-n { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- 首页热门品牌 + 按车身类型（2026-11-08 参考 kazavto.com 改版） ---------- */
.browse-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.browse-head h2 { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy); }

.hot-brand-section { padding-top: 36px; }
.hot-brand-block {
  background: #f3f6fb; border: 1px solid #e8eef7; border-radius: 24px;
  padding: 30px 32px 34px;
}
.hot-brand-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.hot-brand-heading h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.hot-brand-heading p { margin: 7px 0 0; font-size: 13.5px; color: var(--muted); }
.hot-brand-head .sec-link { flex: none; margin-bottom: 3px; }

.hot-brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hb-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; min-width: 0; padding: 20px 12px 16px;
  background: #fff; border: 1px solid #e6ecf6; border-radius: 16px;
  text-decoration: none; box-shadow: 0 1px 2px rgba(11, 31, 58, .03);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hb-card:hover, .hb-card:focus-visible {
  transform: translateY(-3px); border-color: #c9d9f6; box-shadow: 0 10px 26px rgba(11, 31, 58, .1);
}
/* 车标：固定画框 + 等比 contain；底层永远有黑色品牌名兜底，img 盖在其上，
   抓取失败先重试一次、仍失败移除 img —— 不留破图图标、不留空白。 */
.hb-logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 64px; margin-bottom: 4px; overflow: hidden;
}
.hb-logo img {
  position: relative; z-index: 1; display: block;
  max-width: 78%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.hb-logo-text {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 10px; text-align: center; line-height: 1.3;
  font-size: 16px; font-weight: 800; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* 默认隐藏：图片还在加载时不能让兜底文字透出来，否则品牌名显示两遍；
     只有 img 被降级移除（或本来就没配 logo）时才由 .is-fallback 打开。 */
  visibility: hidden;
}
.hb-logo.is-fallback .hb-logo-text,
.brand-logo.is-fallback .hb-logo-text { visibility: visible; }
.hb-card .brand-name {
  max-width: 100%; font-size: 15px; font-weight: 700; color: var(--navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hb-count { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.hb-count b { font-size: 13.5px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hb-card.is-empty .hb-count { opacity: .72; }

/* 品牌目录页 /brands 沿用同一套「固定画框 + 黑字兜底」 */
.brand-logo {
  position: relative;
  width: 100%; aspect-ratio: 1.35; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px 10px; overflow: hidden; white-space: nowrap;
  font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: .01em;
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}
/* 品牌车标：等比缩放居中，长宽差距大（如 BYD 长条字标 / AITO 竖标）也不溢出 */
.brand-logo img {
  position: relative; z-index: 1; display: block;
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.brand-logo .hb-logo-text { font-size: 15px; }
.brand-name {
  max-width: 100%; font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 车身类型：品牌区下方一条紧凑白卡，图标随容器自动折列 */
.bodytype-block {
  background: #fff; border: 1px solid #e8eef7; border-radius: 24px;
  box-shadow: none; margin-top: 18px; padding: 30px 32px 34px;
}
.bodytype-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 14px 8px; align-items: start; }
.bodytype-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; color: var(--text); padding-top: 6px;
}
.bodytype-tile .bti-svg { color: var(--navy); transition: transform .18s, color .18s; }
.bodytype-tile:hover .bti-svg, .bodytype-tile:focus-visible .bti-svg { transform: translateY(-3px); color: var(--primary); }
.bodytype-tile span { font-size: 13px; font-weight: 600; color: var(--muted); transition: color .18s; }
.bodytype-tile:hover span, .bodytype-tile:focus-visible span { color: var(--primary); }

.energy-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.energy-tile {
  border-radius: var(--radius); padding: 26px 24px; color: #fff; min-height: 110px;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .18s, box-shadow .18s;
}
.energy-tile:hover, .energy-tile:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.energy-tile b { font-size: 18px; }
.energy-tile span { font-size: 13px; opacity: .85; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--bg); border-radius: var(--radius); padding: 26px; transition: transform .18s, box-shadow .18s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.svc-card .ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; margin-bottom: 14px;
}
.svc-card h3 { margin: 0 0 8px; font-size: 16px; }
.svc-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 为什么选择我们：首页与关于页共用 why-item（编号条目），内容词条化（2026-10-01 文案对齐原站） */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { padding: 4px 2px; }
.why-item .num { color: var(--primary); font-weight: 800; font-size: 15px; }
.why-item h3 { margin: 6px 0 8px; font-size: 16px; }
.why-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  border-radius: 22px; color: #fff; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 27px; font-weight: 800; }
.cta-banner p { margin: 0; opacity: .85; }

/* ---------- 展示页 ---------- */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--bg-hover) 100%); border-bottom: 1px solid var(--line); padding: 38px 0 30px; }
.page-hero h1 { margin: 0 0 6px; font-size: 31px; font-weight: 800; }
.page-hero p { margin: 0; color: var(--muted); }
/* 2026-10-11 页头眉题（设计稿 v3 元素，当前仅服务网络页使用） */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0 0 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-1); }
.stat-card b { display: block; font-size: 26px; font-weight: 800; }
.stat-card span { font-size: 13px; color: var(--muted); }

.filter-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 22px 0; box-shadow: var(--shadow-1);
}
.filter-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr 1.1fr auto; gap: 12px; }
.add-cell { display: flex; align-items: flex-end; }
.add-cell .btn { white-space: nowrap; }
/* 第二行筛选：输入框 / 排序下拉带 label（高约 62px），右侧按钮、视图切换、
   「数据更新于」都必须与**控件底边**对齐 —— 用 align-items: flex-end 统一基线。
   早期写 align-items: center 时，按钮靠 align-self: flex-end 贴底，而
   .seg 与 .updated-at 仍走居中，二者相对控件底边分别悬空约 13px / 22px。 */
.filter-row2 { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input, .field select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 12px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: var(--focus-ring); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.seg button, .seg a { border: none; background: #fff; padding: 8px 16px; font-size: 13px; color: var(--muted); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; transition: background .15s, color .15s; }
.seg button:hover:not(.active), .seg a:hover:not(.active) { background: var(--bg); color: var(--text); }
.seg button.active, .seg a.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.count-line { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.count-line b { color: var(--text); }

/* ---------- 车辆资源页：autohome 式布局（2026-10-15） ----------
   左侧品牌导航（字母分组 + 车型数）+ 主区横向筛选 chips；
   视觉沿用现有令牌（白卡/细线/圆角/品牌蓝），交互仍是同一个 GET 表单。 */
/* 2026-10-15 宽容器（2026-10-16 二次放宽）：仅 cars 页挂 container-wide。
   上限 1840px：1920 屏两侧仅剩 40px 空白，<1840 视口撑满减 40px 内边距；
   卡片列数按视口分级（保证卡宽 ≥~280px 下限）：<1480 三列 / ≥1480 四列 /
   ≥1880 五列；窄屏与全局 .container 行为一致。回滚删掉这三段即可。 */
.container-wide { max-width: 1840px; }
@media (min-width: 1480px) {
  .container-wide .card-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1880px) {
  .container-wide .card-grid { grid-template-columns: repeat(5, 1fr); }
}
.cars-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 50px; }
.cars-side {
  position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 12px;
}
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side-head > span { font-size: 13px; font-weight: 800; }
.side-all { font-size: 12px; color: var(--muted); text-decoration: none; padding: 3px 10px; border-radius: 999px; }
.side-all:hover { color: var(--primary); }
.side-all.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.side-letter { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .08em; padding: 8px 6px 3px; }
.side-brand {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; border: none; background: transparent; border-radius: 8px;
  padding: 7px 8px; font-size: 13px; color: var(--text); cursor: pointer;
  text-align: start; transition: background .12s, color .12s;
}
.side-brand:hover { background: var(--bg); }
.side-brand.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
/* 2026-10-16 品牌行 Logo：20px 方图（白底衬透明 PNG）+ 细边；无 Logo 回退首字母占位块 */
.side-logo {
  flex: none; width: 20px; height: 20px; border-radius: 5px;
  object-fit: contain; background: #fff; border: 1px solid var(--line);
}
.side-logo-ph {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted); background: var(--bg);
}
.side-brand .side-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-count { flex: none; font-size: 11px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.side-brand.active .side-count { background: #fff; color: var(--primary); }
.cars-main { min-width: 0; }
.chip-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.chip-row:last-of-type { border-bottom: none; }
.chip-label { flex: 0 0 62px; font-size: 12px; color: var(--muted); font-weight: 600; padding-top: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 4px 13px; font-size: 12.5px; color: var(--text); cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
/* 关键词框是唯一可伸缩项：基准压到 160px，让右侧按钮/视图切换/「数据更新于」
   在 1100px 这类中等宽度仍能留在同一行（原 220px 基准会把它挤到下一行）。 */
.filter-row2 .field.grow { flex: 1 1 160px; min-width: 160px; }
/* 按钮与 .field 的控件同高（约 36.8px）；flex-end 后自然与输入框底边齐平 */
.filter-row2 .side-actions { display: flex; gap: 8px; align-self: flex-end; }
/* 视图切换（卡片/表格）：分段项自身 1px 边框让整块比 .btn-sm 高 2px，内部文字
   被顶高约 0.9px。这里把描边改成 **outline**（不占布局、也不被 overflow: hidden
   裁剪），并让分段项的盒模型与 .btn-sm 完全一致：
     · 固定高 36.8px（= 7×2 padding + 22.8 内容区），
     · display: inline-flex + align-items: center（与 .btn 同一套文字居中算法），
     · line-height: normal（与 .btn 同值，13px Plus Jakarta Sans 实算 23.79px）。
   这三项必须成套使用：只改其中一项会残留 0.9px 文字基线偏移
   （line-height 写死 22.8px 或 normal 都试过，偏差依旧）。 */
.filter-row2 .seg {
  align-self: flex-end;
  border: none;
  outline: 1px solid var(--line-2);
  outline-offset: -1px;
}
.filter-row2 .seg a {
  height: 36.8px;
  padding: 0 16px;
  line-height: normal;
  align-items: center;
}
/* 「数据更新于」是纯文本（自然高 19px）：给它一个与 .btn-sm 等高的行盒
   （实测按钮 36.8px = padding 7×2 + 行高 22.8），底对齐后文字中心正好落在
   按钮文字的同一条水平线上。用 36px 会残留约 0.6px 基线偏移。 */
.filter-row2 .updated-at {
  margin-inline-start: auto; font-size: 12px; color: var(--muted);
  line-height: 35.4px; white-space: nowrap; flex: 0 0 auto;
}

/* ---------- 车辆卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.car-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.cc-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; background: var(--img-bg); }
.cc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-body { padding: 16px 18px 6px; }
.cc-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.cc-title h3 { margin: 0; font-size: 17px; }
/* 2026-11-08：完整车名 = 品牌 + 车型，落在卡片标题行。
   车图上的品牌+车型水印由用户决定隐藏（django.css .page-home/.page-cars .badge-title{display:none}），
   所以不能再靠图片叠加来表达品牌。
   ⚠️ 用户要求「显示字体保持一致」：.cc-brand 只作语义/测试钩子，不设任何差异化样式，
   font/color 全部继承 h3，品牌与车型同为 17px 主标题，仅靠模板里的空格分隔。 */
.cc-title .cc-brand { font: inherit; color: inherit; }
.cc-title a { color: inherit; text-decoration: none; transition: color .15s; }
.cc-title a:hover { color: var(--primary); }
/* 标题链接拉伸铺满整卡：任意位置点击进入详情，底部操作区通过 z-index 保持可点 */
.cc-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.cc-sub { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.cc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 700;
}
/* 供应链行（2026-10-25 参考 kazavto.com「贸易条款 · 交货地」）：口岸 + 交期，弱化的元信息样式 */
.cc-supply { display: flex; gap: 6px 14px; flex-wrap: wrap; margin: -2px 0 10px; }
.cc-supply-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.cc-supply-item .uicon { color: var(--primary); opacity: .85; }
.cc-price { display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 0 4px; }
.cc-price .prc { color: var(--primary); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cc-price .prc small { font-size: 12px; color: var(--muted); font-weight: 500; display: block; }
.cc-price .qty { text-align: end; }
.cc-price .qty b { font-size: 17px; }
.cc-price .qty span { display: block; font-size: 12px; color: var(--muted); }
.cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-top: 1px solid var(--line); margin-top: auto; background: var(--bg-soft);
  position: relative; z-index: 1;
}
.cc-actions { display: flex; align-items: center; gap: 14px; }
.cc-details { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }
.cc-details:hover { text-decoration: underline; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }
.pill-grey { background: #f1f4f9; color: var(--muted); }
.pill-blue { background: var(--primary-soft); color: var(--primary-dark); }
.pill-teal { background: var(--teal-bg); color: var(--teal-text); }
.pill-red { background: var(--red-bg); color: var(--red); }

.badge {
  position: absolute; font-size: 11.5px; font-weight: 700; color: #fff;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px);
  background: rgba(11, 31, 58, .55);
}
/* 能源类型徽章按动力形式上色：燃油=橙 / 纯电=绿 / 混动=蓝 / 增程=青。
   实心色块压在实拍照片上比半透明深色更好认，也拉开了四种动力的区分度。 */
.badge-energy { top: 10px; inset-inline-start: 10px; }
.badge-energy.is-ice { background: var(--accent); }
.badge-energy.is-bev { background: var(--green); }
.badge-energy.is-hev { background: var(--primary); }
.badge-energy.is-erev { background: var(--teal); }
.badge-energy.is-ice, .badge-energy.is-bev,
.badge-energy.is-hev, .badge-energy.is-erev { box-shadow: 0 2px 8px rgba(11, 31, 58, .24); }

/* 精选徽章（2026-10-01）：卡片右上角原先是资源编号 NO.xxx，改为「精选」标记。
   用品牌蓝实心，避免与左上的橙色「燃油」在视觉上撞色。 */
.badge-featured {
  top: 10px; inset-inline-end: 10px; background: var(--primary);
  box-shadow: 0 2px 10px rgba(40, 95, 158, .38);
}
.badge-no { top: 10px; inset-inline-end: 10px; background: rgba(11, 31, 58, .45); }
.badge-photo { bottom: 10px; inset-inline-end: 10px; }
/* 图片上的「品牌 · 车型」水印（2026-11-08）：
   原先白字 + 阴影压在白色车身上（比亚迪元UP）几乎看不见，被当成没渲染。
   改为深色字 + 半透明浅底片，任何底图对比度稳定；品牌用灰色小字前缀与车型区分。 */
.badge-title {
  position: absolute; bottom: 10px; inset-inline-start: 10px; z-index: 2;
  display: inline-flex; align-items: baseline; gap: 6px;
  max-width: calc(100% - 104px); padding: 5px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 10px rgba(11, 31, 58, .16);
}
.badge-title .bt-brand { flex: none; font-size: 11px; font-weight: 700; color: #5a6a80; }

/* ---------- 表格视图 ---------- */
.tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-1); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 980px; }
.tbl th {
  text-align: start; padding: 12px 14px; background: var(--bg); color: var(--muted);
  font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line);
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg-hover); }
.tbl .strong { font-weight: 700; }

/* ---------- 车辆表格视图：照片列（2026-10-17）----------
   展示方式与决策：
   · 尺寸桌面 96×64（3:2 略偏宽，贴合汽车横向比例）；td 上下 padding 各 12px，
     行高恒为 88px —— 有无图片都一样，表格纵向不跳动；
   · 结构 = `.tbl-photo-stack` 内「示意图垫底 + 实拍图绝对定位叠加」：
       - 有照片：实拍图（.ct-img，object-fit: cover 裁切填满，不拉伸变形）盖在示意图上；
       - 加载失败：img 的 onerror 直接 remove 自己 → 示意图露出（无破图图标）；
       - 没照片：只有示意图，按能源类型着色，与卡片视图同一套占位；
   · 对齐：单元格与列头都水平居中（.col-photo text-align: center），
     垂直居中继承 .tbl td 的 vertical-align: middle；
   · 列宽固定 124px（96 图 + 两侧 padding），不参与弹性拉伸 ——
     桌面靠表格 min-width 保证不挤压其它列；窄屏由 .tbl-wrap 横向滚动，
     列宽与对齐保持不变，内容不被压扁。 */
/* 单元格：line-height: 0 消除 inline 行盒的基线间隙，
   否则 td 会比 64px 图框高出 ~7px，图片在行内偏上（实测偏差 -2.9px）。 */
.tbl-cars .col-photo { width: 124px; text-align: center; line-height: 0; }
.tbl-photo {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: content-box;            /* width/height 指内容区，1px 边框在外，图框才是 96×64 */
  width: 96px; height: 64px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg);
  text-decoration: none; vertical-align: middle;
  transition: transform .15s, box-shadow .15s;
}
.tbl-photo:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
/* 叠层容器：示意图与实拍图共用一个 96×64 画框 */
.tbl-photo-stack { position: relative; display: block; width: 96px; height: 64px; }
/* 示意图（car_thumb 根节点）填满画框，圆角交给外层 .tbl-photo */
.tbl-photo-stack > .car-thumb {
  position: absolute; inset: 0; width: 96px; height: 64px;
  border-radius: 0; border: none;
}
.tbl-photo-stack .car-thumb .badge-title { display: none; }
.tbl-photo-stack .car-thumb svg { width: 94%; height: 94%; }
/* 实拍图叠在上层（.ct-img 已是 position:absolute inset:0 + object-fit:cover，
   见 components.css；这里补齐尺寸声明，避免继承到卡片视图的比例） */
.tbl-photo-stack .ct-img { width: 96px; height: 64px; object-fit: cover; z-index: 2; }

/* =====================================================
   车辆详情页（对标 zotourcar.com/zh/cars/10）
   ===================================================== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 20px 0 0; font-size: 13px; color: var(--muted);
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 5px; transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .5; user-select: none; }
.breadcrumb .cur { color: var(--text); font-weight: 700; }

.detail-layout {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(370px, 470px);
  gap: 28px; margin-top: 18px; align-items: start;
}

/* 图廊 */
.gal-main {
  position: relative; display: block; width: 100%;
  border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10;
  cursor: zoom-in; border: 1px solid var(--line); background: var(--img-bg);
  box-shadow: var(--shadow-2); padding: 0;
}
.gal-main:focus-visible { outline-offset: -3px; }
.gal-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .94); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 8, 20, .3);
  transition: transform .18s, background .18s;
}
.gal-btn:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.gal-prev { inset-inline-start: 14px; }
.gal-next { inset-inline-end: 14px; }
.gal-count {
  position: absolute; bottom: 12px; inset-inline-start: 14px; z-index: 3;
  background: rgba(2, 8, 20, .58); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700; padding: 4px 12px; backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}
.gal-zoom {
  position: absolute; bottom: 12px; inset-inline-end: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 10px; border: none;
  background: rgba(2, 8, 20, .58); color: #fff; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.gal-main:hover .gal-zoom, .gal-main:focus-visible .gal-zoom { opacity: 1; }

/* 图片数量由后台决定（1..8 张），列数自适应：少图不留空槽，多图一行排 4 个 */
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 12px; }
.gal-thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: none; padding: 0; background: var(--img-bg); outline: 1px solid var(--line);
  opacity: .8; transition: opacity .18s, outline-color .18s, transform .18s;
}
.gal-thumb:hover, .gal-thumb:focus-visible { opacity: 1; transform: translateY(-2px); }
.gal-thumb.active { opacity: 1; outline: 2px solid var(--primary); outline-offset: -2px; }
/* 图片名称由后台逐张录入，长短不一：底部加渐变遮罩保证任何底图上都可读 */
.gal-thumb::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 42%;
  background: linear-gradient(to top, rgba(4, 14, 30, .72), rgba(4, 14, 30, 0));
  pointer-events: none;
}
.gal-thumb .vname {
  position: absolute; bottom: 6px; inset-inline: 8px; z-index: 2;
  color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start;
}
.note-line { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* 右侧信息卡 */
.dcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow-1);
  position: sticky; top: 86px;
}
.dcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dcard-no { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.dcard h1 { margin: 12px 0 4px; font-size: 25px; line-height: 1.3; font-weight: 800; }
.dcard .sub { margin: 0; color: var(--muted); font-size: 14px; }
.d-price {
  margin-top: 16px; border-radius: 14px; padding: 14px 18px 12px;
  background: linear-gradient(130deg, var(--navy) 20%, var(--navy-3) 115%);
  color: #fff;
}
/* 双币并列：标签在上、数字在下，两端对齐基线，避免长汇率文案把整行挤断 */
.d-price .prc-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: 8px 14px;
}
.d-price .prc { min-width: 0; }
.d-price .prc-label,
.d-price .fx-label {
  display: block; margin-bottom: 2px;
  font-size: 11.5px; font-weight: 700; line-height: 1.3;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.d-price .prc-num {
  display: block; font-size: 29px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.12; white-space: nowrap;
}
.d-price .prc-num .cur {
  margin-inline-start: 6px; vertical-align: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
}
.d-price .fx { text-align: end; }
.d-price .fx b {
  display: block; font-size: 18px; font-weight: 800;
  letter-spacing: -.01em; line-height: 1.2; white-space: nowrap;
}
.d-price .fx-rate {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 3px 10px;
  margin: 11px 0 0; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .8);
}
.d-price .fx-rate-pair { display: inline-flex; align-items: center; gap: 6px; }
.d-price .fx-rate-pair .uicon { color: rgba(255, 255, 255, .7); }
.d-price .fx-rate-asof { color: rgba(255, 255, 255, .62); }
.d-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.d-fact { background: var(--bg); border-radius: 12px; padding: 11px 13px; min-width: 0; }
.d-fact .lb { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.d-fact .vl { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.d-contact {
  margin-top: 16px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 9px; background: var(--bg-soft);
}
.d-contact .tt { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.d-contact .row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; min-width: 0; }
.d-contact .row .uicon { color: var(--primary); }
.d-contact .row .lb { color: var(--muted); white-space: nowrap; }
.d-contact .row a { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-contact .row a:hover { color: var(--primary); }
/* 行内可点击动作（展开二维码 / 复制链接） */
.d-contact .row .d-contact__act {
  border: none; background: none; padding: 0; font: inherit; font-weight: 700;
  color: var(--primary); cursor: pointer; text-align: start;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.d-contact .row .d-contact__act:hover { text-decoration: underline; }
.d-contact .row .d-contact__act:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.d-contact__status { color: var(--muted); font-size: 12px; }
.d-contact__qr { display: flex; justify-content: flex-start; padding: 2px 0 2px 24px; }
.d-contact__qr[hidden] { display: none; }
.d-contact__qr img {
  width: 146px; height: 146px; display: block; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.d-contact__tip { font-size: 12.5px; font-weight: 700; color: var(--green); }

/* Tabs */
.d-tabs { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-1); overflow: hidden; }
.d-tabbar { display: flex; gap: 2px; padding: 6px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.d-tabbar::-webkit-scrollbar { display: none; }
.d-tab {
  border: none; background: none; padding: 13px 18px 11px; font-size: 14.5px; font-weight: 600;
  color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  white-space: nowrap; transition: color .15s, border-color .15s;
}
.d-tab:hover { color: var(--text); }
.d-tab.active { color: var(--primary); border-color: var(--primary); font-weight: 800; }
.d-tabpanel { padding: 22px 24px 26px; }

.spec-grid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec-cell {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; background: var(--bg-soft);
  transition: border-color .15s, background .15s;
}
.spec-cell:hover { border-color: var(--line-2); background: #fff; }
.spec-ico {
  width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none;
}
.spec-cell .lb { font-size: 12px; color: var(--muted); font-weight: 600; }
.spec-cell .vl { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rows-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.rows-grid .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.rows-grid .lb { color: var(--muted); white-space: nowrap; }
.rows-grid .vl { font-weight: 700; text-align: end; }
.tab-note {
  margin-top: 16px; font-size: 12.5px; color: var(--muted);
  background: var(--bg); border-radius: 10px; padding: 10px 14px;
  display: flex; gap: 8px; align-items: flex-start;
}
.tab-note .uicon { color: var(--primary); margin-top: 2px; }

.tab-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tg-item {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); padding: 0; background: var(--img-bg); cursor: zoom-in;
  transition: transform .18s, box-shadow .18s;
}
.tg-item:hover, .tg-item:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tg-item .vname {
  position: absolute; bottom: 6px; inset-inline-start: 8px; z-index: 2;
  color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

/* 相关车源 */
.related-head { margin-top: 44px; }

/* 移动端底部购买条 */
.sticky-buy { display: none; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 95; background: rgba(4, 10, 24, .92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: lb-fade .22s ease;
}
@keyframes lb-fade { from { opacity: 0; } }
.lb-stage {
  width: min(1020px, 96vw); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  position: relative; background: var(--img-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lb-pop .25s ease;
}
@keyframes lb-pop { from { transform: scale(.96); opacity: 0; } }
.lb-stage .gal-btn { width: 46px; height: 46px; }
.lb-close {
  position: absolute; top: 18px; inset-inline-end: 18px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.lb-close:hover { background: rgba(255, 255, 255, .25); }
.lb-count {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(2, 8, 20, .6); color: #fff; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}
/* 视图名（实拍图 / 外观 / 正侧…）由 zotour.js 写入 data-slide-label */
.lb-count [data-slide-label]:not(:empty)::before { content: ' · '; }

/* ---------- 报价中心 ---------- */
.qc-head { display: flex; align-items: center; gap: 14px; margin: 24px 0 16px; flex-wrap: wrap; }
.qc-head h1 { margin: 0; font-size: 24px; font-weight: 800; }
.qc-count { font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.qc-search { margin-inline-start: auto; position: relative; }
.qc-search input {
  width: 300px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; outline: none; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.qc-search input:focus { border-color: var(--primary); box-shadow: var(--focus-ring); }
.muted-line { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* 报价单列表：列表整体框成清晰面板 + 行内车辆示意图 */
.qc-page .tbl-wrap {
  border-color: var(--line-2);
  box-shadow: 0 0 0 1px rgba(11, 31, 58, .1), var(--shadow-1);
}
.qc-model { display: flex; align-items: center; gap: 12px; }
.qc-thumb {
  flex: 0 0 auto; display: block; width: 88px; height: 56px;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2);
  background: var(--bg);
  transition: transform .15s, box-shadow .15s;
}
.qc-thumb:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }
.qc-model-txt { min-width: 0; }
.nw, .pill, .tbl .btn { white-space: nowrap; }

/* ---------- 报价单文档（A4） ---------- */
/* 单据工具条：居中悬浮胶囊（返回 | 语言 | 打印），滚动时吸附顶部 */
.doc-toolbar {
  position: sticky; top: 10px; z-index: 40;
  display: flex; align-items: center; gap: 2px;
  width: fit-content; margin: 18px auto 14px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 7px; box-shadow: var(--shadow-1);
}
.doc-tool {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--text);
  padding: 8px 13px; border-radius: 999px;
  transition: background .15s ease;
}
.doc-tool:hover { background: var(--bg); }
.doc-tool svg { flex: none; }
.doc-tool-primary { background: var(--primary); color: #fff; }
.doc-tool-primary:hover { background: var(--primary); filter: brightness(1.08); }
.doc-tool-sep { width: 1px; height: 18px; background: var(--line); flex: none; }
.doc-tool-lang { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.doc-langinfo { display: inline-flex; align-items: center; color: var(--muted); }
.doc-toolbar .lang-select { border-radius: 999px; padding: 6px 10px; font-size: 13px; min-width: 0; }
.paper {
  max-width: 860px; margin: 0 auto 40px; background: #fff;
  padding: 52px 58px; box-shadow: var(--shadow-2); border-radius: 6px;
}
.paper-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--navy); padding-bottom: 18px; }
.paper-head .co b { font-size: 17px; }
.paper-head .co div { font-size: 12px; color: var(--muted); line-height: 1.7; }
.paper-title { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 2px; margin: 26px 0 6px; }
.paper-subtitle { text-align: center; color: var(--muted); font-size: 12.5px; margin-bottom: 22px; }
.doc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; font-size: 13px; margin-bottom: 24px; }
.doc-meta .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.doc-meta .lb { color: var(--muted); }
.doc-meta .vl { font-weight: 700; }
.doc-sec-title { font-size: 14.5px; font-weight: 800; margin: 22px 0 10px; padding-inline-start: 10px; border-inline-start: 3px solid var(--primary); }
.doc-buyer { background: var(--bg); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.doc-buyer .row { display: flex; gap: 10px; }
.doc-buyer .lb { color: var(--muted); min-width: 84px; }
.doc-vehicle { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.doc-vehicle .img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; position: relative; }
.doc-vspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; font-size: 13px; }
.doc-vspecs .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.doc-vspecs .lb { color: var(--muted); }
.doc-vspecs .vl { font-weight: 700; }
table.doc-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc-tbl.doc-colors { margin-top: 8px; table-layout: fixed; overflow-wrap: anywhere; }
.doc-tbl th, .doc-tbl td { border: 1px solid var(--line); padding: 9px 12px; text-align: start; }
.doc-tbl th { background: var(--bg); font-weight: 700; white-space: nowrap; }
.doc-tbl.doc-colors th { white-space: normal; }
.doc-tbl .num { text-align: end; white-space: nowrap; }
.doc-tbl .total td { background: var(--primary-soft); font-weight: 800; font-size: 14px; }
.doc-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-size: 13px; }
.doc-terms .row { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.doc-terms .lb { color: var(--muted); white-space: nowrap; }
.doc-terms .vl { font-weight: 600; text-align: end; }

/* ---------- 报价单文档：条件带 + 多车型卡片（2026-10-25 价格表式报价） ---------- */
.doc-cond {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px;
  background: var(--primary-soft, #eef2ff); border-radius: 10px;
  padding: 10px 16px; margin: 4px 0 20px; font-size: 12.5px; color: var(--muted);
}
.doc-cond b { color: var(--text); font-weight: 700; }
.doc-cond .cur {
  font-weight: 800; letter-spacing: .5px; color: var(--primary);
  border: 1px solid currentColor; border-radius: 999px; padding: 1px 10px;
}
.doc-card {
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px 18px 12px; margin-bottom: 12px; background: #fff;
  break-inside: avoid; page-break-inside: avoid;
}
.doc-card-head { display: flex; align-items: baseline; gap: 14px; }
.doc-card-head .no { font-size: 21px; font-weight: 800; color: var(--primary); line-height: 1; }
.doc-card-head .name { flex: 1; min-width: 0; }
.doc-card-head .name b { font-size: 15.5px; font-weight: 800; }
.doc-card-head .name .sub { color: var(--muted); font-size: 12.5px; margin-inline-start: 10px; }
.doc-card-head .price { text-align: end; white-space: nowrap; }
.doc-card-head .price b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.doc-card-head .price b small { font-size: 12px; color: var(--muted); font-weight: 700; }
.doc-card-head .price > span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.doc-card-body { display: grid; grid-template-columns: 168px 1fr; gap: 18px; margin-top: 12px; align-items: center; }
.doc-card-body .img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; position: relative; background: var(--bg); }
.doc-card-note {
  margin-top: 10px; font-size: 12.5px; color: var(--muted);
  background: var(--bg); border-radius: 8px; padding: 7px 12px;
}
@media (max-width: 640px) {
  .doc-card-head { flex-wrap: wrap; }
  .doc-card-head .price { margin-inline-start: 35px; text-align: start; }
  .doc-card-body { grid-template-columns: 1fr; }
}

.doc-note { font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 10px 14px; margin-top: 12px; }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.sig-box { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 13px; }
.sig-box b { display: block; margin-bottom: 6px; }
.sig-line { margin-top: 46px; border-top: 1px solid var(--muted); padding-top: 6px; color: var(--muted); }
.paper-foot { margin-top: 26px; }

/* ---------- 询价 ---------- */
.inq-wrap { max-width: 660px; margin: 30px auto 60px; }
.inq-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-1); }
.inq-card h1 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.inq-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.form-field { margin-bottom: 15px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; outline: none; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary); box-shadow: var(--focus-ring);
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.success-panel { text-align: center; padding: 40px 20px; }
.success-panel .ok {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--green-bg); color: var(--green); font-size: 30px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(4, 10, 24, .58); backdrop-filter: blur(3px); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card {
  background: #fff; border-radius: 18px; width: min(520px, 100%);
  max-height: 90vh; overflow: auto; padding: 26px; box-shadow: 0 30px 80px rgba(2, 8, 20, .35);
  animation: lb-pop .22s ease;
}
.modal-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.modal-card .sub { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.modal-close { position: sticky; float: right; top: 0; border: none; background: none; font-size: 20px; color: var(--muted); line-height: 1; }
.modal-close:hover { color: var(--text); }

/*
 * 弹窗「头部固定 / 正文滚动 / 底部固定」
 * [data-modal-body] 是四个弹窗共用的结构钩子，但 qf-card / af-card 布局里它一直是空的 div：
 * 没有 flex 收缩规则 → 高度等于内容高度 → 内部 .qf-body / .af-body 的 `flex:1 1 auto; overflow:auto`
 * 失去高度参照，永远不触发滚动，正文把卡片撑破，footer 被顶到视口外
 * （2026-10-01 实测 1440×900：合同弹窗 footer 落在 y≈1538，报价 / 车源弹窗同样看不到「保存」）。
 * 这三行让收缩链完整：card → body → form → .xx-body。
 * ⚠️ 不含 .modal-card（询价弹窗）：它是整体 `overflow:auto` 地滚，套上 overflow:hidden 反而会裁掉内容。
 */
.qf-card > [data-modal-body],
.af-card > [data-modal-body] {
  display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #b9c5d8; margin-top: 64px; }
.sf-inner { max-width: 1240px; margin: 0 auto; padding: 48px 20px 0; display: grid; grid-template-columns: 1.25fr .9fr 1fr 1.15fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; font-weight: 800; }
.site-footer p, .site-footer a { font-size: 13.5px; opacity: .9; }
.site-footer a { display: flex; align-items: center; gap: 7px; padding: 3px 0; width: fit-content; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .sf-rows { display: flex; flex-direction: column; gap: 4px; }
.sf-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding: 16px 0; text-align: center; font-size: 12.5px; opacity: .75; }

/* ---------- RTL（阿拉伯语） ---------- */
[dir='rtl'] body { font-family: 'Plus Jakarta Sans', 'Segoe UI', 'Noto Sans Arabic', 'PingFang SC', sans-serif; }
[dir='rtl'] .doc-meta .row, [dir='rtl'] .doc-vspecs .row, [dir='rtl'] .doc-terms .row { flex-direction: row-reverse; }
[dir='rtl'] .doc-terms .vl { text-align: start; }
[dir='rtl'] .sh-inner { flex-direction: row; }
[dir='rtl'] .hero-search { flex-direction: row-reverse; }
[dir='rtl'] .icon-flip { transform: scaleX(-1); }
[dir='rtl'] .d-fact .vl { text-align: end; }
[dir='rtl'] .d-price .fx { text-align: start; }
[dir='rtl'] .d-contact .row a { text-align: start; }
[dir='rtl'] .spec-cell .vl, [dir='rtl'] .spec-cell > div { min-width: 0; }

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { grid-template-columns: 1fr 1fr 1fr; }
  .add-cell { grid-column: 1 / -1; }
  /* 车辆资源页：窄屏收起左侧栏，品牌导航横排铺开 */
  .cars-layout { grid-template-columns: 1fr; }
  .cars-side { position: static; max-height: none; }
  .cars-side .side-letter { display: none; }
  .cars-side .side-head { margin-bottom: 10px; }
  .cars-side .side-brand { width: auto; display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
  .cars-side .side-brand:hover { border-color: var(--primary); }
  .cars-side .side-brand.active { border-color: var(--primary); }
  .energy-tiles, .svc-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .dcard { position: static; }
  .spec-grid2 { grid-template-columns: repeat(2, 1fr); }
  .tab-gallery { grid-template-columns: repeat(2, 1fr); }
  .hot-brand-block { padding: 26px 24px 28px; border-radius: 20px; }
  .hot-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bodytype-block { padding: 20px 24px 24px; }
  /* 四组页脚（2026-10-25）：平板两列排布，640px 以下再收到单列 */
  .sf-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dcard h1 { font-size: 21px; }
  .d-price .prc-num { font-size: 25px; }
  .d-price .fx b { font-size: 16px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .hero-stats, .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr; }
  .energy-tiles, .svc-grid, .why-grid { grid-template-columns: 1fr; }
  .sh-nav { display: none; }
  .sf-inner { grid-template-columns: 1fr; }
  .paper { padding: 30px 22px; overflow-x: auto; /* 费用表等内容驱动宽度超屏时，纸面内横向滚动，不顶破页面 */ }
  .doc-vehicle { grid-template-columns: 1fr; }
  .doc-meta { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .qc-search input { width: 100%; }
  .doc-terms, .doc-buyer { grid-template-columns: 1fr; }
  .rows-grid { grid-template-columns: 1fr; }
  .d-ctas { grid-template-columns: 1fr; }
  .d-facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .d-fact { padding: 9px 10px; }
  .gal-btn { width: 36px; height: 36px; }
  .d-tabpanel { padding: 16px 16px 20px; }
  .hot-brand-section { padding-top: 26px; }
  .hot-brand-block { padding: 20px 16px 22px; border-radius: 18px; }
  .hot-brand-head { align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .hot-brand-heading h2 { font-size: 21px; }
  .hot-brand-heading p { font-size: 12px; max-width: 210px; }
  .hot-brand-head .sec-link { padding: 8px 12px; font-size: 12.5px; border-radius: 8px; gap: 5px; }
  .hot-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 10px; }
  .hb-card { padding: 16px 8px 14px; border-radius: 14px; }
  .hb-logo { height: 52px; }
  .hb-card .brand-name { font-size: 14px; }
  .bodytype-block { padding: 18px 14px 20px; border-radius: 16px; }
  .bodytype-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 4px; }
  .bodytype-tile .bti-svg { width: 48px; height: 48px; }
  .bodytype-tile span { font-size: 12px; }

  /* 底部购买条 */
  .sticky-buy {
    display: flex; align-items: center; gap: 12px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(11, 31, 58, .1);
  }
  .sticky-buy .sp-price { min-width: 0; }
  .sticky-buy .sp-price b { display: block; font-size: 17px; font-weight: 800; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .sp-price span { font-size: 11px; color: var(--muted); }
  .sticky-buy .btn { flex: none; }
  .has-sticky-buy { padding-bottom: 74px; }
  .site-footer { margin-top: 40px; }
}

/* ---------- 打印（报价单 A4） ---------- */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .doc-toolbar, .no-print, .back-link, .sticky-buy { display: none !important; }
  .paper {
    box-shadow: none; border-radius: 0; max-width: 100%;
    padding: 0; margin: 0;
  }
  @page { size: A4; margin: 14mm 12mm; }
}

/* ---------- 2026-10-25 P0 转化包：WhatsApp / 车源对比 / 采购流程 ----------
   2026-11-08：Hero 下方的「信任条」按用户要求整体下线，模板与样式一并删除。 */

/* WhatsApp 悬浮球（cfab 第三个按钮）：品牌绿 #25D366，与微信绿 (#07C300) 深浅可辨 */
.cfab__btn--whatsapp { background: #25d366; }
.cfab__btn--whatsapp:hover { background: #1da851; box-shadow: 0 12px 26px rgba(37, 211, 102, .38); }

/* 询价页采购四步 */
.inq-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 24px; }
.inq-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--text); min-width: 0;
}
.inq-step b {
  flex: none; font-size: 15px; font-weight: 800; color: var(--primary);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
  .inq-steps { grid-template-columns: repeat(2, 1fr); }
}
