/* EZ Auto — main stylesheet */
:root {
  --navy: #0b1b33;
  --navy2: #12294d;
  --blue: #1a56db;
  --blue-d: #1546b0;
  --amber: #f59e0b;
  --ink: #17233b;
  --gray: #5b6b84;
  --line: #e3e9f2;
  --bg: #f6f8fb;
  --card: #ffffff;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(11, 27, 51, .07);
  --shadow-h: 0 8px 28px rgba(11, 27, 51, .13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: break-word;
}
input, textarea, select { font-size: 16px; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  /* 2026-10-17 问题B：头部底部极轻阴影——与下方深色 hero 分离，双行读起来是「一个整体」 */
  box-shadow: 0 1px 0 rgba(11,27,51,.02), 0 10px 24px -14px rgba(11,27,51,.16);
}
.hd-in { display: flex; align-items: center; gap: 8px; height: 60px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; flex: none; }
/* 2026-10-17 问题A二批：logo 42px → 48px（BOSS 复看仍嫌小）；width auto 保比例 */
.logo-img { height: 48px; width: auto; display: block; }
.logo-img-foot { height: 34px; width: auto; display: block; margin-bottom: 8px; }
.hero-brand { font-size: 22px; font-weight: 700; letter-spacing: .4px; margin-bottom: 16px; color: #fff; }
.hero-brand span { font-weight: 500; opacity: .72; margin-left: 12px; }
.logo b { font-size: 18px; color: var(--navy); letter-spacing: .2px; }
.logo span { font-size: 12px; color: var(--gray); } /* P2-7: 11px → 12px 可读性 */
/* 2026-09-28 导航换行修复：桌面端（≥1025px）单行收纳 9 导航项 + 语言切换，禁止换行 */
@media (min-width: 1025px) {
  .nav { flex-wrap: nowrap; }
  .hd-in { flex-wrap: nowrap; }
}
/* 2026-10-16 方案C 补充修复：原先此处 `flex-wrap: wrap` 写在 L50-53 的
   ≥1025「禁止换行」媒体块之后，同权重后写覆盖 → 桌面 nowrap 实际失效（换行隐患根因之一）。
   导航收起为汉堡（≤1024）走 flex-direction: column，与 wrap 无关，故此处直接移除 wrap。 */
.nav { display: flex; gap: 0; margin-left: auto; min-width: 0; }
.nav a {
  padding: 8px 6px; border-radius: 8px; color: var(--ink);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #eef3fb; color: var(--blue); }
.nav a.active { color: var(--blue); background: #e8effc; }
/* ---------- 导航二级（进口指南 · 2026-09-24 方案乙） ---------- */
/* 一级项仍是 <a href="markets">，只多包一层 .nv-sub-wrap，.nav a 选择器不受影响。 */
.nv-sub-wrap { position: relative; display: flex; align-items: center; }
.nv-sub-wrap > a::after { content: "\25BE"; font-size: 10px; margin-left: 5px; opacity: .5; }
.nv-sub {
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 216px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15,29,60,.13);
  display: none; flex-direction: column; gap: 2px;
}
.nv-sub-wrap:hover .nv-sub, .nv-sub-wrap:focus-within .nv-sub { display: flex; }
.nv-sub a {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: 14.5px; white-space: normal; line-height: 1.35;
}
[dir="rtl"] .nv-sub { left: auto; right: 0; }
@media (max-width: 1180px) {
  /* <=1180 导航折叠为汉堡：二级改为静态缩进列表（触屏无 hover，必须常显）
     2026-10-16 方案C：阈值由 1024 上调 —— 实测 es/fr/pt 长标签语种 9 项一级导航
     需要 700-790px，在 1025-1180 宽度下放不下（原表现为换行/溢出），提前折叠更整洁。 */
  .nv-sub-wrap { flex-direction: column; align-items: stretch; }
  .nv-sub-wrap > a::after { content: none; }
  .nv-sub {
    position: static; display: flex; min-width: 0;
    margin: 0 0 4px 12px; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .nv-sub a { padding: 10px 16px; min-height: 40px; }
  [dir="rtl"] .nv-sub { margin: 0 12px 4px 0; }
}

/* 2026-10-16 方案C：语言切换由「7 链接条」改为「国旗+语言码」下拉（BOSS 拍板）。
   桌面：给一级导航腾出横向空间（解决换行）；移动端：第二行由整条链接收窄为单个按钮。
   开合由 main.js 切换 .open（与 .reg-menu 同模式），:focus-within 兜底键盘可达。 */
.lang-sw { position: relative; margin-left: 6px; display: flex; align-items: center; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 44px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.lang-btn .lang-flag { font-size: 24px; line-height: 1; }
.lang-btn .caret { font-size: 10px; opacity: .5; transition: transform .18s; }
.lang-sw.open .caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; min-width: 132px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 14px 34px rgba(15,29,60,.14); display: none; flex-direction: column; gap: 2px; }
.lang-sw.open .lang-menu, .lang-sw:focus-within .lang-menu { display: flex; }
/* 2026-10-17 五批①：面板收窄后内容居中（国旗+语言码正好居中，不再左贴留大空白） */
.lang-menu a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border-radius: 7px; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.lang-menu a .lang-flag { font-size: 24px; line-height: 1; }
.lang-menu a:hover { background: #eef3fb; }
.lang-menu a.active { background: var(--navy); color: #fff; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 15px; cursor: pointer; color: var(--ink); min-height: 44px; } /* 2026-09-02 第4项整改：汉堡触控目标 ≥44px（审计 P1-3 原 39px） */

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 80% -10%, #24468a 0%, var(--navy) 55%);
  color: #fff; padding: 40px 0 28px;
  /* 2026-08-22 BOSS反馈2次：原 100svh+垂直居中 导致「车易行」上方与「20+年」下方大片深蓝留白。
     72/64 → 40/28 再压缩，内容总高≈450px 仍在首屏内（CTA 不被裁切），底部保留 iOS 安全区避让 */
  padding-bottom: max(28px, calc(28px + env(safe-area-inset-bottom, 0px)));
}
.hero .wrap { width: 100%; }
.hero .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px;
  color: #ffd58a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.18; max-width: 820px; letter-spacing: -.5px; }
.hero h1 .hero-en { display: block; font-size: 38px; white-space: nowrap; letter-spacing: 0; }
.hero p.sub { margin: 20px 0 30px; font-size: 18px; color: #c6d4ea; max-width: 640px; }
/* 2026-09-21：hero 的 CTA 按钮改用 flex 容器。原 .btn-o 把 margin-left:12px 硬编码在类里，
   窄屏换行时第二行首个按钮会左缩进 12px（与容器左缘不齐）。容器用 gap 统一间距后，
   容器内 .btn 的 margin-left 归零即可；桌面端同行间距仍为 12px，视觉不变。 */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-cta .btn { margin-left: 0; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 15.5px; transition: .15s; border: none; cursor: pointer;
  min-height: 44px; line-height: 1.15; /* P0-3(2026-08-20): 触控目标 ≥44px */
}
.btn-p { background: var(--blue); color: #fff; }
.btn-p:hover { background: var(--blue-d); }
.btn-o { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); margin-left: 12px; }
.btn-o:hover { border-color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); padding: 18px 20px;
}
.stat b { display: block; font-size: 27px; color: #ffd58a; }
.stat span { font-size: 13.5px; color: #b9c8e0; }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: 31px; color: var(--navy); letter-spacing: -.3px; position: relative; padding-bottom: 14px; }
.sec h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 2px; background: var(--blue); }
[dir="rtl"] .sec h2::after { left: auto; right: 0; }
.sec .sub { color: var(--gray); margin: 10px 0 36px; max-width: 640px; }

/* brands（2026-08-31 P2-5 去双写：原 .brands/.newcar-grid 同挂一个元素，靠源码顺序覆盖已弃用，
   新车品牌网格统一由下方 .newcar-grid 自包含定义，HTML 只保留 newcar-grid 类） */
.brand-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 10px; text-align: center; font-weight: 700; color: var(--navy);
  font-size: 17px; box-shadow: var(--shadow); transition: .18s;
}
.brand-chip small { display: block; font-weight: 500; color: var(--gray); font-size: 12px; margin-top: 3px; }
.brand-chip:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* 首页「我们供应的车源」tab（二手车 / 新车） */
.src-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.src-tab {
  appearance: none; border: 1px solid var(--line); background: var(--card);
  color: var(--navy); font-weight: 700; font-size: 15px; padding: 10px 22px;
  border-radius: 999px; cursor: pointer; transition: .18s; box-shadow: var(--shadow);
}
.src-tab:hover { border-color: #cdddf5; transform: translateY(-2px); }
.src-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.src-panel { margin-top: 4px; }
.src-panel[hidden] { display: none; }

/* 新车品牌卡（LOGO + 品牌名）—— 自包含网格，不再依赖 .brands 双写 */
.newcar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-card {
  appearance: none; border: 1px solid var(--line); background: var(--card);
  border-radius: 14px; padding: 16px 10px 14px; overflow: hidden; cursor: pointer; text-align: center;
  box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column; align-items: center;
}
.brand-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }
.brand-card .brand-logo {
  width: 100%; height: 64px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.brand-card .brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.brand-card .brand-initial {
  width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.brand-card .bc-en { display: block; font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.25; }
.brand-card .bc-cn { display: block; font-weight: 500; color: var(--gray); font-size: 12px; margin-top: 2px; }
@media (max-width: 1024px) { .newcar-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .newcar-grid { grid-template-columns: repeat(3, 1fr); } .brand-card .brand-logo { height: 52px; } }

/* 加载 / 空状态 */
.loading, .empty { grid-column: 1 / -1; text-align: center; color: var(--gray); padding: 40px 0; font-size: 15px; }

/* car cards */
.cars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.car-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.car-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.car-img { height: 132px; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.car-img .ph { font-size: 26px; font-weight: 800; opacity: .9; letter-spacing: 1px; }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; color: #fff;
}
.badge.new { background: var(--ok); }
.badge.used { background: var(--amber); }
/* 已售红章（2026-08-24 后台 v11.0.6 配合）：图片右上角红色圆角章，白字半透明贴合图片 */
.sold-seal {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: rgba(217, 45, 32, .92); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 11px; border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  pointer-events: none; user-select: none;
}
/* 已售价格：划线置灰（卡片 + 详情页共用） */
.car-price b.sold, .cd-price b.sold {
  text-decoration: line-through; color: var(--gray);
}
.car-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-size: 16.5px; color: var(--navy); }
.car-specs { margin: 9px 0 12px; font-size: 13px; color: var(--gray); display: grid; gap: 3px; }
.car-price { margin-top: auto; }
.car-price small { color: var(--gray); font-size: 12px; }
.car-price b { display: block; font-size: 20px; color: var(--navy); }
.car-price .btn { width: 100%; text-align: center; margin-top: 10px; padding: 10px; font-size: 14px; }
.center { text-align: center; margin-top: 34px; }
.note-box {
  margin-top: 26px; background: #fff8ec; border: 1px solid #f3ddb0; color: #7c5a14;
  border-radius: 10px; padding: 13px 18px; font-size: 14px;
}

/* filters */
.filters { display: flex; gap: 10px; margin-bottom: 26px; }
.filters button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer;
}
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); position: relative; transition: .18s;
}
.step .n {
  width: 34px; height: 34px; border-radius: 999px; background: #e8effc; color: var(--blue);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px;
}
.step h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); }
.step:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why .card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: .18s;
}
.why .card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 7px; }
.why .card h3::before { content: "✓ "; color: var(--ok); }
.why .card p { font-size: 14px; color: var(--gray); }
.why .card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* markets */
.markets { display: flex; flex-wrap: wrap; gap: 10px; }
.mkt {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow);
}

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2 { font-size: 30px; }
.cta-band p { color: #c6d4ea; margin: 12px auto 26px; max-width: 560px; }

/* EZ Auto 动态 首页入口 */
.ezauto-band { background: #f3f6fb; padding: 44px 0; }
.ezauto-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 32px; box-shadow: var(--shadow); }
.ezauto-card .kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 6px; }
.ezauto-card h2 { color: var(--navy); font-size: 26px; margin: 0; padding-bottom: 0; }
.ezauto-card h2::after { display: none; }
.ezauto-card p { color: var(--gray); margin: 8px 0 0; max-width: 560px; font-size: 15px; line-height: 1.5; }
@media (max-width: 480px) { .ezauto-card { padding: 22px; } .ezauto-card h2 { font-size: 22px; } }

/* services */
.svc { display: grid; gap: 18px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 70px 1fr; gap: 20px;
}
.svc-card .num { font-size: 30px; font-weight: 800; color: #d7e2f5; }
.svc-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 7px; }
.svc-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 12px; }
.svc-card ul { list-style: none; display: grid; gap: 6px; }
.svc-card li { font-size: 14px; color: var(--ink); padding-left: 22px; position: relative; }
.svc-card li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
/* 首页服务预览区块（复用 .svc-card，整卡可点） */
.svc.home-preview { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .svc.home-preview { grid-template-columns: 1fr; } }
a.svc-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.svc-card:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(20,60,140,.12); }
.svc-card .svc-more { display: inline-block; margin-top: 6px; color: var(--blue); font-weight: 700; font-size: 14px; }
/* 服务页详情增厚段落（C 项内容增厚，仅服务页渲染，首页预览区块不受影响） */
.svc-card .svc-detail { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.svc-card .svc-detail h4 { margin: 16px 0 5px; font-size: 15px; font-weight: 700; color: var(--navy); }
.svc-card .svc-detail h4:first-child { margin-top: 0; }
.svc-card .svc-detail p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.78; color: var(--gray); max-width: 84ch; }
@media (max-width: 720px) {
  .svc-card .svc-detail h4 { font-size: 14.5px; }
  .svc-card .svc-detail p { font-size: 14px; line-height: 1.7; max-width: none; }
}

/* 页脚服务分段锚点 + 服务页 CTA 区块 */
.ft-svc { margin-top: 8px; display: grid; gap: 4px; }
.ft-svc a { font-size: 13px; color: var(--gray); text-decoration: none; }
.ft-svc a:hover { color: var(--blue); }
.svc-cta { text-align: center; max-width: 760px; margin: 0 auto; }
.svc-cta .sub { margin-bottom: 18px; }
.svc-cta-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.svc-cta-link {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 600; background: var(--card);
  transition: border-color .15s, color .15s;
}
.svc-cta-link:hover { border-color: var(--blue); color: var(--blue); }
/* 详情页右栏「相关服务」锚点区块（C 项 SEO 2026-09-05） */
.cd-svc { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cd-svc-t { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.cd-svc-links { display: flex; flex-direction: column; gap: 6px; }
.cd-svc-link { color: var(--blue); font-size: 14px; text-decoration: none; }
.cd-svc-link:hover { text-decoration: underline; }
/* 2026-09-21 SEO 施工单⑩a：详情页底部「按目的市场的进口指南」链接块
   （详情页 → 大区页内链闭环）。施工单原未定义这两个类，此处补齐。 */
.mkt-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cd-mkt-link {
  display: inline-block; padding: 9px 16px; border-radius: var(--radius);
  background: var(--bg); color: var(--blue); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; text-decoration: none; transition: .15s;
}
.cd-mkt-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
[dir="rtl"] .mkt-links { justify-content: flex-end; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
  min-width: 0; /* grid 单列收缩时防内容 min-content 撑宽溢出（M.2） */
}
.panel h3 { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
.panel p { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.panel ul { list-style: none; display: grid; gap: 9px; }
.panel li { padding-left: 24px; position: relative; font-size: 14.5px; }
.panel li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.muted-note { font-size: 13.5px; color: var(--gray); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 16px; }

/* trust block (about) */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.trust-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: .18s; min-width: 0;
}
.trust-card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 7px; }
.trust-card h3::before { content: "✓ "; color: var(--ok); }
.trust-card p { font-size: 14px; color: var(--gray); margin: 0; }
.trust-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }
.trust-certs { margin-top: 34px; }
.trust-certs h3 { font-size: 17px; color: var(--navy); margin-bottom: 14px; }
.trust-certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-cert {
  border: 2px dashed var(--line); border-radius: 10px; min-height: 110px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--card); padding: 16px; box-sizing: border-box;
}
.trust-cert-hint { font-size: 13px; color: var(--gray); }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 22px; box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--navy);
  padding: 17px 0; list-style: none; position: relative; padding-right: 30px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 21px; color: var(--blue); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 0 18px; color: var(--gray); font-size: 14.5px; }

.hint { font-size: 13px; color: var(--gray); }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 999px;
  background: #fff; border: 2.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 800;
}
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); }
.timeline li.done .dot::after { content: "✓"; }
.timeline li.now .dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(26,86,219,.15); }
.timeline li .t { font-weight: 600; font-size: 15px; color: var(--navy); }
.timeline li.pending .t { color: #9aa8bd; font-weight: 500; }
.timeline li.now .t { color: var(--blue); }
.searates-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; }

/* contact */
.ct-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
.form-grid input:not([type="checkbox"]):not([type="radio"]), .form-grid textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 16px; font-family: inherit; outline: none; background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--blue); }
.form-grid textarea { min-height: 110px; resize: vertical; }
/* P0-2(2026-08-20): 电话行 = 区号下拉 + 号码输入，移动端单行不折行 */
.phone-row { display: flex; gap: 8px; }
.phone-row .cc-sel {
  flex: 0 0 auto; max-width: 46%; min-width: 0;
  padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; outline: none; background: #fff; color: var(--ink);
}
.phone-row .cc-sel:focus { border-color: var(--blue); }
.phone-row input { flex: 1 1 auto; min-width: 0; }
/* P1-12(2026-08-20): 表单实时校验错误提示 + 提交 spinner + 成功 Modal */
.field-err { color: #dc2626; font-size: 12.5px; margin-top: 4px; }
.field-err[hidden] { display: none; }
.form-grid input.invalid, .form-grid textarea.invalid { border-color: #dc2626; }
.btn[disabled] { opacity: .6; cursor: wait; }
.spinner {
  display: inline-block; width: 15px; height: 15px; margin-left: 8px; vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.inq-modal {
  position: fixed; inset: 0; z-index: 300; background: rgba(10,22,42,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.inq-modal-card {
  background: #fff; border-radius: 14px; padding: 26px 30px; max-width: 360px; width: 100%;
  text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.25);
  font-size: 16px; color: var(--navy); line-height: 1.5;
}
.inq-modal-card .btn { margin-top: 16px; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 10px; }
.ct-item { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ct-item:last-child { border-bottom: none; }
.ct-item small { color: var(--gray); font-size: 12.5px; }
.ct-item b { color: var(--navy); font-size: 15px; }

/* privacy */
.prose { max-width: 780px; }
.prose p { margin-bottom: 16px; color: var(--ink); font-size: 15.5px; }

/* footer */
.site-footer { background: var(--navy); color: #b9c8e0; padding: 52px 0 30px; margin-top: 0; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 30px; }
.ft-grid b.t { color: #fff; display: block; margin-bottom: 12px; font-size: 15px; }
.ft-grid .lg { font-size: 19px; font-weight: 800; color: #fff; }
.ft-grid p { font-size: 13.5px; margin-top: 10px; max-width: 340px; }
.ft-grid ul { list-style: none; display: grid; gap: 8px; }
.ft-grid a { color: #b9c8e0; font-size: 14px; }
.ft-grid a:hover { color: #fff; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #b9c8e0;
}
.ft-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.ft-bottom a:hover { color: #ffd76a; }

/* back-to-top button */
.to-top {
  position: fixed; right: 22px; bottom: 210px; z-index: 59;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(17,34,68,.85); color: #ffd76a;
  border: 1px solid rgba(255,215,106,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; line-height: 1; cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, background .15s;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #112244; }

/* floating contact buttons */
.float-wrap {
  position: fixed; right: 22px; bottom: 140px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
  /* 2026-10-05 BOSS 反馈：WA/TG 两钮各按文字宽 → 参差不齐；改为 stretch 等宽（=较宽者），两边对齐 */
  align-items: stretch; width: max-content; min-width: 176px;
}
/* P2-14(2026-08-20): RTL 桌面端站点浮窗翻到左下 —— widget.js 按「RTL 时站点浮窗在左下」
   锚定 AI 客服 FAB 到右下（side-right），CSS 此前未翻转导致两者在右下重叠，此处补齐 */
[dir="rtl"] .float-wrap { right: auto; left: 22px; }
.wa-float, .tg-float {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 14.5px;
  padding: 13px 20px; border-radius: 999px; transition: .15s;
  min-height: 56px; /* P0-6(2026-08-20): 悬浮按钮触控目标 ≥56px */
}
.wa-float { background: #25d366; box-shadow: 0 6px 22px rgba(37,211,102,.45); }
.tg-float { background: #229ED9; box-shadow: 0 6px 22px rgba(34,158,217,.4); }
.wa-float:hover, .tg-float:hover { transform: scale(1.04); }
.wa-float svg, .tg-float svg { width: 21px; height: 21px; flex: none; }

/* footer social row */
.ft-social {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
}
.ft-social > span { color: #fff; font-size: 14px; font-weight: 600; margin-right: 4px; }
.ft-social a {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: .15s;
}
.ft-social a:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.ft-social svg { width: 20px; height: 20px; flex: none; }

/* contact page — 5 cards */
/* 2026-10-05 BOSS 终版拍板：左列=即时沟通/询价表单，右列=关注我们/公司信息，
   公司位置独立成卡横跨底部；stretch 让同行卡片等高、左右对称 */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  grid-template-areas: "im social" "form info" "map map"; }
.contact-cards .im-card { grid-area: im; }
.contact-cards .social-card { grid-area: social; }
.contact-cards .form-card { grid-area: form; }
.contact-cards .info-card { grid-area: info; }
.contact-cards .map-card { grid-area: map; }
.ct-co { display: grid; gap: 2px; }
.ct-co-en { color: var(--gray, #6b7280); font-size: 12.5px; font-weight: 500; }
.contact-map { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line, #e3e8ef); }
.contact-map h4 { font-size: 15px; margin: 0 0 10px; color: var(--navy, #1f2d3d); }
.map-box { width: 100%; min-height: 240px; border-radius: 12px; overflow: hidden; background: var(--bg-2, #f3f6fb); display: flex; align-items: center; justify-content: center; }
.map-box iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: 12px; }
.map-loading { color: var(--ink-2, #6b7280); font-size: 14px; }
.map-clickable { position: relative; cursor: pointer; transition: box-shadow .18s ease; }
.map-clickable:hover { box-shadow: 0 4px 18px rgba(31,45,61,.18); }
.map-clickable:focus-visible { outline: 2px solid var(--blue, #2f6fed); outline-offset: 2px; }
.map-zoom-btn { position: absolute; right: 8px; bottom: 8px; z-index: 2; pointer-events: none; background: rgba(255,255,255,.92); color: var(--navy, #1f2d3d); font-size: 12.5px; padding: 5px 9px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.map-overlay { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
#contact-map-small { width: 100%; height: 240px; }
#contact-map-large { width: 100%; height: 70vh; min-height: 420px; }
.map-hint { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2, #6b7280); }
.map-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.map-modal[hidden] { display: none; }
.map-modal-mask { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.map-modal-panel { position: relative; width: min(960px, 94vw); max-height: 90vh; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(15,23,42,.35); display: flex; flex-direction: column; }
.map-modal-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line, #e3e8ef); }
.map-modal-bar strong { font-size: 15px; color: var(--navy, #1f2d3d); }
.map-modal-ext { margin-left: auto; font-size: 13px; color: var(--blue, #2f6fed); text-decoration: none; }
.map-modal-ext:hover { text-decoration: underline; }
.map-modal-x { border: 0; background: #eef2f7; color: #475569; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; line-height: 1; cursor: pointer; }
.map-modal-x:hover { background: #e2e8f0; }
.map-modal-iframe { width: 100%; flex: 1; min-height: 60vh; border: 0; }
.big-btn {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px;
  font-weight: 700; font-size: 16px; margin-bottom: 12px; color: #fff;
  min-height: 44px; /* P0-3(2026-08-20): 触控目标 ≥44px */
}
.big-btn:last-child { margin-bottom: 0; }
.big-btn svg { width: 26px; height: 26px; flex: none; }
.big-btn.tg { background: #229ED9; }
.big-btn.wa { background: #25d366; }
.soc-icons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.soc-icons a {
  width: 56px; height: 56px; border-radius: 14px; background: #eef3fb;
  display: flex; align-items: center; justify-content: center; color: var(--navy); transition: .15s;
}
.soc-icons a:hover { transform: translateY(-2px); background: #e2ebfb; }
.soc-icons svg { width: 26px; height: 26px; flex: none; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rev-card p { font-size: 14.5px; color: var(--ink); margin-bottom: 14px; }
.rev-by { display: flex; align-items: center; gap: 10px; }
.rev-by b { font-size: 14.5px; color: var(--navy); }
.rev-by span { font-size: 13px; color: var(--gray); background: #eef3fb; padding: 3px 10px; border-radius: 999px; }
/* 2026-10-09 A 方案：评价聚合信任条 + 卡片星级行 / 身份行 */
.rev-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding: 12px 18px; background: #f7f9fc; border: 1px solid var(--line); border-radius: var(--radius); }
.rev-sum-score { font-size: 20px; color: var(--navy); }
.rev-sum-stars { color: #e6a23c; letter-spacing: 2px; font-size: 15px; }
.rev-sum-stars .dim, .rev-stars .dim { color: #d5dbe6; }
.rev-sum-n { font-size: 13px; color: var(--gray); }
.rev-stars { color: #e6a23c; letter-spacing: 2px; font-size: 13px; margin-bottom: 8px; }
.rev-meta { font-size: 12px; color: var(--gray); margin: 8px 0 0; }
/* 2026-10-20：跨语言显示时标注评价原文语言（真实评价，不翻译不编造） */
.rev-by .rev-lang { font-size: 11px; letter-spacing: .6px; padding: 2px 7px; background: #fff; border: 1px solid var(--line); color: var(--gray); font-weight: 600; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-photo { height: 200px; background: linear-gradient(135deg, #e9eef6, #dde7f3); color: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 13px; text-align: center; padding: 0 10px; }
/* 需求 #13 团队照片（后台上传，data URL 直显）；contain 保证横向名片式照片完整显示不裁切 */
.team-photo img.team-photo-img { width: 100%; height: 100%; object-fit: contain; background: #eef3fb; display: block; }
.team-body { padding: 18px 18px 20px; }
.team-body h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.team-langs { font-size: 12.5px; color: var(--gray); margin-bottom: 8px; line-height: 1.5; }
.team-langs-label { color: var(--navy); font-weight: 600; margin-right: 4px; }
.team-region { display: inline-block; font-size: 12px; color: var(--gray); background: #eef3fb; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.team-empty { text-align: center; color: var(--gray); padding: 50px 20px; font-size: 14px; }
.team-photo-empty { color: var(--gray); }
.team-body p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* cars stock count */
.stock-count { color: var(--navy); font-size: 15px; margin-bottom: 18px; }
.stock-count b { color: var(--blue); font-size: 17px; }

/* anti-fraud notice */
.note-box.scam {
  margin-top: 26px; background: #fdeceb; border-color: #f3b1ad; color: #8a2a23;
  display: flex; align-items: flex-start; gap: 8px;
}
.note-box.scam::before {
  content: "!"; flex: none; width: 22px; height: 22px; border-radius: 999px;
  background: #c0392b; color: #fff; font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin-top: 1px; font-size: 14px;
}

/* responsive */

@media (max-width: 1024px) {
  /* 中等宽度：导航折叠见上方 ≤1180 单列块（2026-10-16 阈值上调后此处仅保留版面类规则） */
  /* 主视觉字号略降 */
  .hero h1 { font-size: 36px; }
  .hero h1 .hero-en { font-size: 32px; }
  /* 详情页：右侧信息区在 1024 偏窄，改为单列（minmax(0,1fr) 允许列收缩，
     否则 P1-12 缩略图横向滚动条(nowrap)的 min-content 会把列撑宽导致横向溢出） */
  .cd-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cd-side { position: static; }
  .cd-hls { grid-template-columns: repeat(2, 1fr); }
  .cd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .stats, .steps, .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .about-grid, .ct-grid, .contact-cards, .reviews { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-areas: none; }
  .contact-cards .im-card, .contact-cards .social-card, .contact-cards .form-card, .contact-cards .info-card, .contact-cards .map-card { grid-area: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-certs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
  .ft-grid { grid-template-columns: 1fr; }
}

/* 2026-10-16 方案C：导航折叠单列块（阈值 1180，与上两块里的既有 1024 版规则幂等共存；
   只含导航/汉堡/语言三件套，不影响 hero 与栅格在 1025-1180 的既有表现）。 */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .burger { display: block; }
  .lang-sw { margin-left: auto; }
  /* 2026-10-17 问题D：汉堡模式单行收紧留白（60→56px），logo 42px 高在 481-600 窄档会撑溢，
     按 max-width 限高（height:auto 保比例，≈30px 高）——「比例协调、不横向溢出」。 */
  .hd-in { height: 56px; }
  .logo-img { height: auto; max-width: 185px; }
}

@media (max-width: 768px) {
  /* 平板竖屏：降低信息密度 */
  .newcar-grid { grid-template-columns: repeat(3, 1fr); }
  .cd-specs { grid-template-columns: repeat(2, 1fr); }
  /* P2-5：中文页 hero 内嵌英文标语 nowrap 会在 480–768 窄屏溢出，此处放开换行 */
  .hero h1 .hero-en { white-space: normal; overflow-wrap: break-word; }
  /* 触控区（P1-8 复核补强：可点目标 ≥44px——语言切换/筛选 chip/页签统一达标；原仅 ≤480，现覆盖至平板 768） */
  .nav a { padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
  .lang-menu a { min-height: 48px; }
  .filters button { min-height: 44px; padding: 10px 20px; }
  .src-tab { min-height: 44px; }
  .reg-toggle { padding: 10px 14px; min-height: 44px; }
}

@media (max-width: 480px) {
  .stats, .steps, .cars-grid, .why, .form-grid, .contact-cards, .reviews, .team-grid, .trust-grid, .trust-certs-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-areas: none; }
  .contact-cards .im-card, .contact-cards .social-card, .contact-cards .form-card, .contact-cards .info-card, .contact-cards .map-card { grid-area: auto; }
  .hero { padding: 32px 0 24px; padding-bottom: max(24px, calc(24px + env(safe-area-inset-bottom, 0px))); }
  .hero h1 { font-size: 28px; max-width: 100%; }
  .hero h1 .hero-en { font-size: 22px; white-space: normal; }
  .hero p.sub { max-width: 100%; }
  .btn-o { margin-left: 0; margin-top: 10px; }
  .svc-card { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .wa-float span, .tg-float span { display: none; }
  .wa-float, .tg-float { padding: 14px; }
  /* ===== 手机端头部单行紧凑（2026-10-17 问题D）：logo + burger(纯图标) + 询价 + 语言 ===== */
  /* 原为「logo+burger / 询价+语言」两行（白带空旷）；改单行 nowrap，logo 缩至 136px 仍清晰， */
  /* burger 文字隐藏（保留 aria-label），触控目标仍 ≥44px。 */
  .hd-in { flex-wrap: nowrap; height: 56px; min-height: 0; gap: 6px; padding: 0 12px; }
  .logo-img { max-width: 136px; height: auto; }
  .hd-right { order: 0; width: auto; min-width: 0; gap: 6px; margin-left: 0; }
  .lang-sw { margin-left: 0; }
  .burger { padding: 8px 9px; }
  .burger .burger-txt { display: none; }
  /* 语言切换（方案C 下拉）：单行右侧即 language 钮，下拉位置微调 */
  .lang-sw { overflow: visible; flex: none; max-width: 100%; }
  .lang-sw .lang-menu { top: calc(100% + 6px); }
  /* 手机端：全局 WhatsApp 浮窗并入 AI 抽屉，避免与 FAB 打架 */
  .float-wrap { display: none; }
  /* 返回顶部按钮与右下角 AI FAB 错开 */
  .to-top { right: 16px; bottom: 88px; }
  body.cookie-open .to-top { bottom: 150px; }
  /* 资讯栏目导航改为横向滑动，少占垂直空间 */
  .news-topic-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .news-topic-nav::-webkit-scrollbar { display: none; }
  .topic-link { flex-shrink: 0; padding: 10px 14px; }
}

/* anti-scrape honeypot — visually hidden, kept out of the tab order */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* language switcher — active state */
.lang-sw a.active { background: var(--navy); color: #fff; }
.lang-sw a.active:hover { background: var(--navy); }

/* ---------- news column ---------- */
.news-hero {
  background: radial-gradient(1100px 500px at 80% -10%, #24468a 0%, var(--navy) 55%);
  color: #fff; padding: 70px 0 54px;
}
.news-hero .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px;
  color: #ffd58a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.news-hero h1 { font-size: 38px; letter-spacing: -.4px; }
.news-hero p.sub { margin-top: 14px; font-size: 17px; color: #c6d4ea; max-width: 640px; }

.news-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.news-cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: .18s; color: inherit;
}
.news-cat:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.news-cat .ic { font-size: 22px; color: var(--blue); }
.news-cat h3 { color: var(--navy); font-size: 19px; margin: 10px 0 6px; }
.news-cat p { color: var(--gray); font-size: 14px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.news-img { height: 162px; background: var(--bg); overflow: hidden; display: block; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; font-size: 12px; }
.news-meta .tag { padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tag.cat { background: #e8effc; color: var(--blue); }
.tag.reg { background: #eef3fb; color: var(--gray); }
/* 内容关键词标签（2026-08-09 起替代原地区标签）。
   刻意比 .tag.cat 更淡：分类是主导航维度，关键词只是补充信息，
   浅灰底 + 深灰字，弱化权重且不引入深色块。 */
.tag.kw {
  background: #f2f4f7; color: #55606f; font-weight: 500;
  /* 关键词由人工录入，给个上限防止超长词把 meta 行撑开换行 */
  display: inline-block; max-width: 12em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-date { color: var(--gray); }
.news-body h3 { font-size: 16.5px; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.news-body h3 a { color: inherit; }
.news-body p { font-size: 13.5px; color: var(--gray); flex: 1; }
.news-more { margin-top: 12px; font-weight: 700; color: var(--blue); font-size: 14px; }

.news-detail .hero-img { width: 100%; max-width: 820px; display: block; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin: 22px auto; aspect-ratio: 16/9; /* P1-9(2026-08-20): 加载前占位防 CLS；2026-08-26: 与正文同宽 820px 居中，修复图片比正文宽的问题 */ }
.news-detail .prose { max-width: 820px; }
.news-detail .prose p { margin-bottom: 16px; font-size: 16px; color: var(--ink); }
/* 2026-08-26 动态资讯详情页（news-item?id=，客户端渲染）：此前 .hero-img 无宽度规则，
   AI 封面按原始像素宽渲染（1024px+），与正文 780px 宽度不一致；现与静态详情页统一为 820px 居中。
   2026-08-26 方案 B（BOSS 拍板）：标题/主图/正文收进同一 820px 居中列，修复主图居中 vs 标题/正文靠左导致的三列不齐 */
#news-item { max-width: 820px; margin: 0 auto; }
#news-item .hero-img { width: 100%; max-width: 820px; display: block; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin: 22px 0; aspect-ratio: 16/9; }
#news-item .prose { width: 100%; }
.news-source { font-size: 13.5px; color: var(--gray); margin-top: 12px; }
.news-source a { font-weight: 600; }
.news-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }

/* 2026-10-05 P1 内链织网：资讯详情页「同栏目关联资讯」服务端直出区块。
   刻意不复用 .news-related（那是三列 grid 且被列表页占用，h2 会变成 grid item），
   独立命名 .news-related-ssr / .news-rel-* 避免与既有规则耦合。
   视觉沿用 .news-card 语言（card 底色 + 圆角 + 悬浮抬升），保证与全站一致。 */
.news-related-ssr { max-width: 820px; margin: 34px auto 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.news-related-ssr h2 { font-size: 20px; color: var(--navy); margin: 0 0 16px; }
.news-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news-rel-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow); transition: .18s;
}
.news-rel-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.news-rel-thumb { flex: 0 0 78px; width: 78px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--bg); display: block; }
.news-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-rel-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.news-rel-t { font-size: 13.5px; line-height: 1.4; color: var(--navy); font-weight: 600; }
.news-rel-s { font-size: 12px; line-height: 1.5; color: var(--gray); }
@media (max-width: 900px) {
  .news-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .news-rel-grid { grid-template-columns: minmax(0, 1fr); }
}
.news-back { display: inline-block; margin-bottom: 16px; font-weight: 600; color: var(--blue); }

.news-view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.news-view-switch { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.vw-btn {
  font: inherit; font-size: 13px; line-height: 1; padding: 9px 14px;
  min-height: 44px; min-width: 44px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  transition: .15s;
}
.vw-btn:hover { border-color: var(--blue); }
.vw-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 资讯工具栏：搜索框（右对齐） */
.news-toolbar { display: flex; justify-content: flex-end; margin: 14px 0 6px; }
.news-search input {
  font: inherit; font-size: 16px; width: 100%; max-width: 320px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); outline: none;
}
.news-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }

/* 加载更多 */
.news-more-wrap { display: flex; justify-content: center; margin: 28px 0 8px; }

/* 分类页栏目导航：一行 5 个 pill，当前高亮 */
.news-topic-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.topic-link {
  font-size: 14px; padding: 8px 16px; border: 1px solid var(--blue);
  border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--card);
  transition: .15s;
}
.topic-link:hover { border-color: var(--blue); color: var(--blue); }
.topic-link.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 窄屏：搜索框占满，工具栏可换行 */
@media (max-width: 480px) {
  .news-toolbar { justify-content: stretch; }
  .news-search input { max-width: none; }
}

/* 列表视图：图左文右，单列 */
.news-grid.view-list { grid-template-columns: 1fr; }
.news-grid.view-list .news-card { flex-direction: row; align-items: stretch; }
/* SEO 2026-08-27：height:auto 下补 16/9 比例锁，防止图片加载时列表高度突变（CLS） */
.news-grid.view-list .news-img { height: auto; width: 180px; flex: 0 0 180px; aspect-ratio: 16 / 9; object-fit: cover; }
.news-grid.view-list .news-body { flex: 1; }
/* P1：窄屏下列表视图图片缩小，避免溢出破版 */
@media (max-width: 480px) {
  .news-grid.view-list .news-img { width: 110px; flex-basis: 110px; }
}

/* 紧凑视图：纯文字行，无图无摘要 */
.news-grid.view-compact { grid-template-columns: 1fr; }
.news-grid.view-compact .news-card {
  flex-direction: row; align-items: center;
  border: none; border-bottom: 1px solid var(--line);
  border-radius: 0; box-shadow: none; padding: 12px 2px;
}
.news-grid.view-compact .news-card:hover { transform: none; box-shadow: none; }
.news-grid.view-compact .news-img,
.news-grid.view-compact .news-body p,
.news-grid.view-compact .news-source,
.news-grid.view-compact .news-more,
.news-grid.view-compact .share-row { display: none; }
.news-grid.view-compact .news-body { padding-inline-start: 12px; padding-inline-end: 0; flex: 1; }
.news-grid.view-compact .news-body h3 { margin-bottom: 4px; font-size: 15.5px; }

@media (max-width: 1024px) {
  .news-grid, .news-cats, .news-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .news-grid, .news-cats, .news-related { grid-template-columns: 1fr; }
  .news-hero h1 { font-size: 30px; }
}

/* ---------- region selector ---------- */
.hd-right { display: flex; align-items: center; gap: 8px; flex: none; }
.reg-pick { position: relative; }
.reg-toggle { display: flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; border: none; padding: 8px 13px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; }
.reg-toggle svg { width: 16px; height: 16px; }
.reg-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #e4ebf3; border-radius: 12px; box-shadow: 0 10px 30px rgba(20,40,80,.14); padding: 6px; display: none; min-width: 190px; z-index: 70; }
.reg-menu.open { display: block; }
.reg-opt { display: block; width: 100%; text-align: left; background: none; border: none; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink); }
.reg-opt:hover { background: #f1f6fc; }
[dir="rtl"] .reg-menu { right: auto; left: 0; }

/* ---------- wishlist / 收藏 ---------- */
.wl-heart { font-size: 18px; line-height: 1; }
[data-wish].on .wl-heart { color: #e11d48; }
/* 2026-08-30：去掉 margin-top:auto，消除信息区与按钮间的巨大空白（BOSS 反馈中间太宽） */
.cd-wish { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin: 14px 0 0; color: var(--navy); border-color: var(--line); }
.cd-wish:hover { border-color: var(--blue); color: var(--blue); }
.cd-wish .wl-heart { transition: .15s; }
.wl-drawer { position: fixed; top: 74px; right: 16px; width: 320px; max-height: calc(100vh - 100px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(20,40,80,.18); z-index: 90; overflow: hidden; display: flex; flex-direction: column; }
.wl-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.wl-drawer-head b { font-size: 16px; color: var(--navy); }
.wl-close { background: none; border: none; font-size: 22px; color: var(--gray); cursor: pointer; line-height: 1; }
.wl-drawer-body { padding: 12px; overflow-y: auto; }
.wl-empty { color: var(--gray); font-size: 14px; text-align: center; padding: 20px 0; }
.wl-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: .15s; }
.wl-item:hover { background: #f6f9fd; }
.wl-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: #eef1f5; }
.wl-item span { font-size: 13.5px; line-height: 1.45; }
.wl-item b { color: var(--blue); font-size: 14px; }
@media (max-width: 480px) {
  .wl-drawer { right: 10px; left: 10px; width: auto; top: 66px; }
}

/* ---------- procurement standards by market ---------- */
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.std-row { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 16px 18px; }
.std-reg { font-weight: 700; color: var(--blue); font-size: 14px; display: block; margin-bottom: 6px; }
.std-row p { font-size: 14px; color: var(--gray); margin: 0; }
@media (max-width: 480px) { .standards { grid-template-columns: 1fr; } }

/* ---------- team direct links ---------- */
.team-links { display: flex; gap: 10px; margin-top: 12px; }
.team-wa, .team-tg, .team-email { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 13.5px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
.team-wa { background: #e9f9ef; color: #1c8a4d; }
.team-email { background: #eaf1fb; color: #2a6fd6; }
.team-tg { background: #e7f1fb; color: #2273c4; }
.team-wa svg, .team-tg svg, .team-email svg { width: 16px; height: 16px; }

/* privacy checkbox + share button (contact form / news detail) */
.privacy-row { margin-top: 4px; }
.privacy-lbl { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #555; line-height: 1.45; }
.privacy-lbl input { margin-top: 3px; flex: none; }
.privacy-lbl a { color: var(--navy); text-decoration: underline; }
.share-row { margin-top: 18px; }
.share-btn { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: background .15s, color .15s; display: inline-flex; align-items: center; text-decoration: none; line-height: 1.3; min-height: 44px; box-sizing: border-box; } /* 2026-09-02 第4项整改：列表页复制链接触控 ≥44px（审计原 94×36） */
.share-btn:hover { background: var(--navy); color: #fff; }
/* 相关文章区头部：标题左 + 「查看全部资讯」右（方案A 2026-08-22） */
.rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rel-more { font-size: 14.5px; font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; padding-bottom: 6px; }
/* 2026-08-22 动态资讯稿（news-item?id=）正文底部推荐区：与静态详情页 rel_block 视觉对齐 */
.news-rel { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.rel-more:hover { text-decoration: underline; }
[dir="rtl"] .rel-head { flex-direction: row-reverse; }
.share-channels { display: none; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.share-channels.open { display: flex; }
.sc { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.sc:hover { background: var(--navy); color: #fff; }
.sc-wa:hover { background: #25D366; border-color: #25D366; }
.sc-tg:hover { background: #229ED9; border-color: #229ED9; }
.sc-mail:hover { background: #555; border-color: #555; }
.lang-pick { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.lang-pick .lp { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.advisor-box { margin-top: 14px; }
.adv-card { background: #f3faf6; border: 1px solid #cfe9da; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.adv-card b { color: #1c8a4d; font-size: 13px; }
.adv-name { font-size: 18px; font-weight: 600; }
.adv-links { display: flex; gap: 10px; margin-top: 4px; }

/* ==========================================================================
   RTL / Arabic (dir="rtl" 由 build.py 输出在 <html> 上)
   --------------------------------------------------------------------------
   原则：flex / grid / 默认 text-align 由浏览器随 dir 自动镜像，这里 **不** 用
   flex-direction: row-reverse（那会二次翻转，把版面又转回 LTR）。
   只针对无法自动镜像的“物理属性”做修正：
     margin-left/right、padding-left/right、absolute 的 left/right、
     写死的 text-align、方向性箭头字符、字体与字距。
   ========================================================================== */

/* --- 1. 字体与排版基线：阿拉伯文需要更大行距，且必须清除字距（字距会打断连写） --- */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", "Al Bayan", Arial, sans-serif;
}
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .hero h1,
[dir="rtl"] .hero .kicker,
[dir="rtl"] .news-hero h1,
[dir="rtl"] .news-hero .kicker,
[dir="rtl"] .sec h2,
[dir="rtl"] .cta-band h2,
[dir="rtl"] .hero-brand,
[dir="rtl"] .logo b,
[dir="rtl"] .car-img .ph { letter-spacing: normal; }
/* 纯数字/价格/日期做双向隔离，避免与阿拉伯文混排时符号跑位 */
[dir="rtl"] .stat b,
[dir="rtl"] .car-price b,
[dir="rtl"] .car-specs span,
[dir="rtl"] .stock-count b,
[dir="rtl"] .news-date { unicode-bidi: isolate; }
/* hero 渐变光斑跟随阅读方向镜像 */
[dir="rtl"] .hero,
[dir="rtl"] .news-hero { background: radial-gradient(1100px 500px at 20% -10%, #24468a 0%, var(--navy) 55%); }

/* --- 2. 头部导航：auto 外边距需要左右互换，否则 nav 会被顶回 logo 一侧 --- */
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-sw { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .reg-opt { text-align: right; }

/* --- 3. hero / 按钮间距 --- */
[dir="rtl"] .hero-brand span { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .btn-o { margin-left: 0; margin-right: 12px; }

/* --- 4. 绝对定位角标：车卡「新车/二手」徽章 --- */
[dir="rtl"] .badge { left: auto; right: 10px; }

/* --- 5. 列表项目符号：padding 与 ::before 一起换边，箭头方向翻转 --- */
[dir="rtl"] .svc-card li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .svc-card li::before { content: "←"; left: auto; right: 0; }
[dir="rtl"] .panel li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .panel li::before { left: auto; right: 0; }

/* --- 6. FAQ 折叠面板的 +/- 指示器 --- */
[dir="rtl"] details.faq summary { padding-right: 0; padding-left: 30px; }
[dir="rtl"] details.faq summary::after { right: auto; left: 2px; }

/* --- 7. 时间线 --- */
[dir="rtl"] .timeline li { padding: 0 42px 26px 0; }
[dir="rtl"] .timeline li::before { left: auto; right: 12px; }
[dir="rtl"] .timeline .dot { left: auto; right: 2px; }

/* --- 8. 页脚社交行标题的收尾间距 --- */
[dir="rtl"] .ft-social > span { margin-right: 0; margin-left: 4px; }

/* --- 9. 蜜罐字段：RTL 下 left:-9999px 会撑出横向滚动条，必须改到右侧溢出 --- */
/*        （不用 overflow-x:hidden 兜底，那会让 sticky 头部失效）            */
[dir="rtl"] .hp-field { left: auto; right: -9999px; }

/* --- 10. 响应式下 auto 外边距的镜像修正 --- */
@media (max-width: 1024px) {
  [dir="rtl"] .lang-sw { margin-left: 0; margin-right: auto; }
}
@media (max-width: 480px) {
  [dir="rtl"] .btn-o { margin-right: 0; }
  /* 手机端两行头部：语言条在第二行右对齐，清掉 1024px 断点的 margin-right:auto，避免被推到左端 */
  [dir="rtl"] .lang-sw { margin-right: 0; }
}

/* --- 11. 键盘焦点可见性（全局，增强无障碍，仅 Tab 键盘焦点显示） --- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   阶段4：车源卡片图片 / 目标市场标签 / 车辆详情页
   ========================================================================== */

/* ---------- 车源卡片：主图与目标市场标签 ---------- */
/* grad 渐变底色已按契约废弃：有 main_image 铺图，无图走 .car-img-ph 中性占位 */
.car-img { overflow: hidden; text-decoration: none; }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-img-ph { background: linear-gradient(135deg, var(--navy), var(--navy2)); }
.car-body h3 a { color: var(--navy); text-decoration: none; }
.car-body h3 a:hover { color: var(--blue); }

.mk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mk-tag {
  font-size: 12px; line-height: 1.5; color: var(--blue);
  background: #eef3fd; border: 1px solid #d8e4fa;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
/* 卡片上的“查看详情”——白底卡片里不能用 .btn-o（那是深色底用的白字样式） */
.cd-link {
  display: block; width: 100%; text-align: center; margin-top: 8px;
  padding: 9px; font-size: 14px;
  background: #fff; color: var(--navy); border: 1.5px solid var(--line);
}
.cd-link:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 详情页：整体 ---------- */
.car-detail { padding-top: 34px; }
.cd-back { display: inline-block; margin-bottom: 20px; font-size: 14.5px; font-weight: 600; }
/* Task #43：示例车辆提示条（演示车兜底页顶部，6 语 i18n 文案） */
.demo-notice { margin: 0 0 16px; padding: 10px 14px; border: 1px solid #e3c565; background: #fff8e1; border-radius: 8px; color: #6b5200; font-size: 14px; line-height: 1.55; }
.cd-state { padding: 70px 0; text-align: center; color: var(--gray); font-size: 16px; }

/* 上半部：左图库 + 右信息卡 */
/* 2026-08-30：右侧信息卡改为固定 340px（BOSS 指示原 1fr 在宽屏下过度拉伸显空旷） */
.cd-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cd-left { min-width: 0; }
.cd-scroll { min-width: 0; }

/* ---------- 详情页：图库 ---------- */
.cd-main {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: #eef1f6; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.cd-main img { width: 100%; height: 100%; object-fit: cover; }
.cd-main { cursor: zoom-in; }
.cd-thumb { cursor: zoom-in; }
.cd-main-ph {
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 15px;
  background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff;
}
.cd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cd-thumb {
  width: 92px; height: 68px; padding: 0; cursor: pointer; overflow: hidden;
  border: 2px solid transparent; border-radius: 9px; background: #eef1f6;
  transition: .15s;
}
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd-thumb:hover { border-color: #c3d4ee; }
.cd-thumb.on { border-color: var(--blue); }

/* ---------- 详情页：车型摘要条 ---------- */
.cd-vehicle-summary { margin: 18px 0 22px; }
.cd-vehicle-name { font-size: 25px; line-height: 1.3; color: var(--navy); margin: 0 0 7px; }
/* 2026-09-04 方案 A：车型款型（model 全文，如「2026款 660Max华为乾崑ADS SE版」），第二行。 */
.cd-vehicle-edition { font-size: 16px; line-height: 1.35; color: var(--navy); font-weight: 600; margin: 0 0 6px; }
.cd-vehicle-meta { font-size: 15px; color: var(--gray); margin: 0; }

/* P1-11(2026-08-20): 关键参数前置条（图库下、车名上，横向紧凑概览） */
.cd-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.cd-strip-item {
  flex: 1 1 auto; min-width: 96px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.cd-strip-k { font-size: 12px; color: var(--gray); } /* P2-7: 11.5px → 12px */
.cd-strip-v { font-size: 14px; font-weight: 700; color: var(--navy); word-break: break-word; }

/* ---------- 详情页：右侧信息卡 ---------- */
.cd-side {
  position: sticky; top: 86px; align-self: stretch;
  display: flex; flex-direction: column;
  /* 2026-08-27：卡片超高时卡内滚动，保证询价/收藏等按钮任意视口可达（见问题2） */
  max-height: calc(100vh - 102px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
  will-change: transform;
}
.cd-head { position: relative; }
.cd-head .badge { position: static; display: inline-block; margin-bottom: 7px; }
.cd-head h1 { font-size: 23px; line-height: 1.3; color: var(--navy); }
/* 2026-09-04 方案 A：右栏 header 第二行款型（model 全文），与 h1 区分字号。 */
.cd-edition-head { font-size: 15px; line-height: 1.35; color: var(--navy); font-weight: 600; margin: 5px 0 0; }
.cd-year { color: var(--gray); font-size: 14.5px; margin-top: 3px; }
.cd-price { margin: 12px 0; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cd-price small { display: block; color: var(--gray); font-size: 12.5px; }
.cd-price b { display: block; font-size: 28px; color: var(--navy); line-height: 1.2; }
.cd-price-note { font-size: 12px; color: var(--gray); }
.cd-info { display: grid; gap: 6px; }
.cd-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.cd-k { color: var(--gray); flex: none; }
.cd-v { color: var(--ink); font-weight: 600; text-align: end; } /* P2-6: 逻辑属性 end，RTL 自动镜像为左对齐 */
.cd-markets { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.cd-markets .mk-tags { margin: 6px 0 0; }
.cd-wa { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; background: #25D366; color: #fff; border: none; border-radius: var(--radius); padding: 13px 26px; font-weight: 600; text-decoration: none; min-height: 44px; line-height: 1.15; box-sizing: border-box; }
.cd-wa:hover { background: #1ebe5a; }

/* ---------- 详情页：亮点 / 规格 / 车况 ---------- */
.cd-block { margin-top: 46px; }
.cd-block h2 { font-size: 23px; color: var(--navy); padding-bottom: 12px; position: relative; }
.cd-block h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 2px; background: var(--blue); }
[dir="rtl"] .cd-block h2::after { left: auto; right: 0; }

.cd-hls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.cd-hl {
  display: flex; align-items: center; gap: 10px; font-size: 14.5px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.cd-hl-ic {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #e7f6ec; color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}

.cd-specs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px;
  margin-top: 20px;
}
.cd-specs .cd-row {
  flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px;
}
[dir="rtl"] .cd-specs .cd-row { align-items: flex-end; }
.cd-specs .cd-row .cd-k { font-size: 12.5px; }
.cd-specs .cd-row .cd-v { text-align: start; font-size: 15px; } /* P2-6: 逻辑属性 start，RTL 自动镜像 */

.cd-cond-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.cd-cond-grid > div {
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--blue); border-radius: 10px; padding: 16px 18px;
}
[dir="rtl"] .cd-cond-grid > div { border-left: 1px solid var(--line); border-right: 3px solid var(--blue); }
.cd-cond-grid b { display: block; color: var(--navy); margin-bottom: 6px; font-size: 15px; }
.cd-cond-grid p { color: var(--gray); font-size: 14px; }

/* ---------- 详情页：底部 CTA ---------- */
.cd-cta {
  margin-top: 46px; text-align: center; padding: 34px 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-radius: var(--radius); color: #fff;
}
.cd-cta h2 { color: #fff; font-size: 24px; padding-bottom: 0; }
/* CTA 标题居中，去掉 .sec h2::after 那条左对齐蓝色下划线 */
.cd-cta h2::after { display: none; }
.cd-cta p { color: rgba(255,255,255,.8); margin: 8px 0 20px; }
.cd-cta .cd-wa { display: inline-block; width: auto; min-width: 240px; margin-top: 0; }
/* 2026-08-29 补缺：CTA 区 TG 按钮（静态模板 ct-tg-cta）——与 WA 同宽并排居中，
   .cd-tg 基础样式是 width:100%（通栏独占一行），此处覆盖为与 WA 对称的横排规格。 */
.cd-cta .cd-tg { display: inline-flex; width: auto; min-width: 240px; margin-top: 0; margin-left: 10px; vertical-align: middle; }

/* ---------- 详情页：VIN 行 ---------- */
.cd-vin { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 14px;
  background: #f3f7fc; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.cd-vin .cd-k { color: var(--gray); font-size: 13px; }
.cd-vin b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; color: var(--navy); word-break: break-all; overflow-wrap: anywhere; }
.cd-vin .cd-copy { margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--blue);
  border-radius: 8px; padding: 5px 12px; font-size: 13px; cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; /* P0-3(2026-08-20): 触控目标 ≥44px */ }
.cd-vin .cd-copy:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- 详情页：配置图标网格 ---------- */
.cd-opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.cd-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--navy); }
.cd-opt-ic { font-size: 19px; line-height: 1; }

/* ---------- 详情页：车损报告 ---------- */
.cd-report { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 16px;
  background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; }
.cd-report:hover { background: #ffedd5; }

/* ---------- 详情页：信任条 ---------- */
.cd-trust { background: linear-gradient(135deg, #eef6ff, #f6fbff); border: 1px solid #d6e8ff;
  border-radius: var(--radius); padding: 18px 22px; display: grid; gap: 10px; }
.cd-trust-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--navy); font-weight: 500; }

/* ---------- 详情页：公司名片 ---------- */
.cd-seller-card { margin-top: 18px; padding: 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); }
.cd-seller-card b { display: block; font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.cd-seller-card p { color: var(--gray); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }

/* ---------- 详情页：移动端吸底 CTA ---------- */
.cd-sticky-cta { display: none; }
/* Task74(2026-08-28): TG 吸底按钮 —— 隐藏由 hidden 属性控制，勿用内联 display:none（会覆盖 hidden=false 导致永不显示） */
.cd-sticky-cta.tg { background: #229ED9; margin-top: 8px; }
@media (max-width: 480px) {
  .cd-sticky-cta {
    display: flex; align-items: center; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 50; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px;
    padding: 15px; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
}

/* ---------- 详情页：底部询价条（2026-10-22）----------
   车详情页原有转化入口只有「加入询价单 + WhatsApp」，看车的人要自己跑去 /bulk-inquiry 才能提交。
   这里在页面流内加一条 sticky 底栏：WhatsApp / Telegram + 手机或邮箱 + 即刻提交（复用 /api/inquiry）。
   用 sticky 而非 fixed：不遮挡内容、不与旧移动端吸底 CTA 打架（挂载时旧 CTA 会被隐藏）。 */
.car-inq-bar {
  position: sticky; bottom: 0; z-index: 40; margin-top: 26px;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(15, 23, 42, .06);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
}
.car-inq-bar .cib-row { display: flex; align-items: center; gap: 8px; }
.cib-wa, .cib-tg {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px;
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}
.cib-wa { background: #25D366; }
.cib-tg { background: #229ED9; }
.cib-wa svg, .cib-tg svg { width: 20px; height: 20px; flex: none; }
.cib-input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy);
}
.cib-input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.cib-btn {
  flex: 0 0 auto; height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.cib-btn[disabled] { opacity: .6; cursor: default; }
/* Turnstile 行：访客在输入框有动作时才显示，平时不占空间 */
.cib-tsrow { margin-top: 10px; }
.cib-tsrow[hidden] { display: none; }
.car-detail.has-inq-bar .cd-sticky-cta { display: none !important; }
@media (max-width: 560px) {
  .cib-wa span, .cib-tg span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cib-wa, .cib-tg { padding: 0 10px; }
  .cib-btn { padding: 0 14px; }
  .car-inq-bar { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 车型页：首屏实拍图（2026-10-22）---------- */
.model-hero { margin: 20px 0 0; }
.model-hero > a { display: block; border-radius: var(--radius); overflow: hidden; background: #eef2f7; }
.model-hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.model-hero figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  padding: 10px 2px 0; font-size: 14px; color: var(--gray);
}
.model-hero .mh-price { font-weight: 700; color: var(--navy); }
.model-hero .mh-link { margin-left: auto; font-weight: 600; }
/* 移动端右侧留出 AI 客服浮窗的宽度，避免「查看这台车」被气泡压住（2026-10-22 实测 360px 下被遮） */
@media (max-width: 560px) { .model-hero .mh-link { margin-right: 56px; } }

/* ---------- 车型页：在售车源实拍卡（2026-10-22）---------- */
.model-stock-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin: 18px 0 8px;
}
.model-stock-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); overflow: hidden; text-decoration: none; color: var(--navy);
  transition: border-color .15s ease, transform .15s ease;
}
.model-stock-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.msc-img { display: block; aspect-ratio: 3 / 2; background: #eef2f7; }
.msc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msc-body { display: block; padding: 10px 12px 12px; }
.msc-body b { display: block; font-size: 14px; line-height: 1.4; margin-bottom: 4px; }
.msc-meta { display: block; font-size: 12.5px; color: var(--gray); }
.msc-price { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--navy); }

/* ---------- 详情页：响应式 ---------- */
@media (max-width: 1024px) {
  .cd-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cd-side { position: static; max-height: none; overflow: visible; }
  .cd-hls { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cd-hls, .cd-cond-grid { grid-template-columns: 1fr; }
  .cd-specs { grid-template-columns: repeat(2, 1fr); }
  .cd-head h1 { font-size: 21px; }
  .cd-price b { font-size: 27px; }
  .cd-thumb { width: 74px; height: 56px; }
  .cd-cta .cd-wa { min-width: 0; width: 100%; }
  /* 手机端 CTA 区：WA / TG 由并排改为上下堆叠（取消左边距，补上间距） */
  .cd-cta .cd-tg { min-width: 0; width: 100%; margin-left: 0; margin-top: 10px; }
  .car-detail { padding-bottom: 72px; }
  .cd-vehicle-name { font-size: 21px; }
  .cd-vehicle-meta { font-size: 14px; }
}

/* ---------- 详情页：图片灯箱 ---------- */
.cd-lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 14, 23, .94);
  display: flex; align-items: center; justify-content: center;
}
.cd-lightbox img {
  max-width: 92vw; max-height: 86vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.cd-lb-close, .cd-lb-nav {
  position: absolute; z-index: 101;
  background: rgba(255,255,255,.12); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: .15s;
}
.cd-lb-close:hover, .cd-lb-nav:hover { background: rgba(255,255,255,.25); }
.cd-lb-close {
  top: 18px; right: 18px; width: 44px; height: 44px; font-size: 28px; line-height: 1;
}
.cd-lb-nav {
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; font-size: 22px;
}
.cd-lb-prev { left: 18px; }
.cd-lb-next { right: 18px; }
.cd-lb-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0,0,0,.45);
  padding: 6px 14px; border-radius: 20px;
}
@media (max-width: 480px) {
  .cd-lb-nav { width: 40px; height: 40px; font-size: 18px; }
  .cd-lb-prev { left: 8px; }
  .cd-lb-next { right: 8px; }
  .cd-lb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 24px; }
}
/* P2-6: RTL 灯箱箭头翻转——交换左右位置 + 镜像箭头方向（›‹ 互为镜像） */
[dir="rtl"] .cd-lb-nav { transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .cd-lb-prev { left: auto; right: 18px; }
[dir="rtl"] .cd-lb-next { right: auto; left: 18px; }
@media (max-width: 480px) {
  [dir="rtl"] .cd-lb-prev { left: auto; right: 8px; }
  [dir="rtl"] .cd-lb-next { right: auto; left: 8px; }
}

/* ---------- 详情页：相关车型推荐 ---------- */
.cd-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px;
}
.cd-related-grid .car-card { margin: 0; }
.cd-related-empty {
  margin-top: 20px; padding: 22px;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--gray); font-size: 14.5px; text-align: center;
}
@media (max-width: 1024px) {
  .cd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cd-related-grid { grid-template-columns: 1fr; }
}

/* 2026-10-05 P1 内链织网：关联车源「服务端直出」卡片。
   与 news-rel-* 同款横向紧凑卡（拇指图 + 名称/规格/价格），3 列比原 4 列更适合横向卡。
   .cd-rel-ssr 由 functions/[lang]/car-detail-[vid].js 的 relatedCarsHtml 输出；
   刻意用独立 class 而非 :has() 选择器（Safari <15.4 不支持 :has，列数会失效）。
   main.js 的 loadRelatedCars 仍会用 .car-card 覆盖同一容器（无 JS 时才看到本卡）。 */
.cd-related-grid.cd-rel-ssr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-rel-card {
  display: flex; gap: 12px; align-items: flex-start; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow); transition: .18s;
}
.cd-rel-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.cd-rel-thumb {
  flex: 0 0 96px; width: 96px; height: 72px; position: relative; display: block;
  border-radius: 8px; overflow: hidden; background: var(--bg);
}
.cd-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-rel-thumb .ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 12px; color: var(--gray); }
.cd-rel-thumb .badge { position: absolute; top: 5px; left: 5px; }
.cd-rel-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cd-rel-t { font-size: 13.5px; line-height: 1.4; color: var(--navy); font-weight: 600; }
.cd-rel-s { font-size: 11.5px; line-height: 1.5; color: var(--gray); }
.cd-rel-p { font-size: 13px; color: var(--navy); font-weight: 700; }
.cd-rel-p small { font-weight: 400; color: var(--gray); margin-inline-end: 4px; }
@media (max-width: 1024px) {
  .cd-related-grid.cd-rel-ssr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cd-related-grid.cd-rel-ssr { grid-template-columns: minmax(0, 1fr); }
}

/* ===== FEATURE STUBS（并行 agent 各自替换自己的锚，勿删整块） ===== */
.cd-clean-badge { display: inline-flex; align-items: center; gap: 5px; margin: 10px 0 0; font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; }
.cd-clean-badge.ok { background: #e7f6ec; color: var(--ok); border: 1px solid #bfe6cb; }
.cd-clean-badge.warn { background: #fff4e5; color: #c2410c; border: 1px solid #fed7aa; }
.cd-count-badge { position: absolute; left: 12px; bottom: 12px; background: rgba(10,14,23,.6); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
[dir="rtl"] .cd-count-badge { left: auto; right: 12px; }
/* P2-4(2026-09-01)：Email 升级为蓝色实底主按钮 —— 与 WhatsApp 绿实底并列为「双主 CTA」，
   满足习惯邮件正式询价的 B 端买家（转化诊断 P1-13 呼应）。原浅蓝底降为次级。 */
.cd-email { display: block; width: 100%; text-align: center; margin-top: 8px; margin-left: 0; background: var(--blue); color: #fff; border: none; border-radius: var(--radius); padding: 13px 26px; font-weight: 600; text-decoration: none; min-height: 44px; line-height: 1.15; box-sizing: border-box; }
.cd-email:hover { background: var(--blue-d); }
.cd-freight { display: block; width: 100%; text-align: center; margin-top: 8px; margin-left: 0; color: var(--navy); border-color: var(--line); }
.cd-freight:hover { border-color: var(--blue); color: var(--blue); }
/* Task74(2026-08-28): 详情页 Telegram 询价按钮 —— 与 .cd-wa/.cd-email 同规格（padding 13px 26px / min-height 44px / width 100%） */
.cd-tg { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; background: #229ED9; color: #fff; border: none; border-radius: var(--radius); padding: 13px 26px; font-weight: 600; text-decoration: none; min-height: 44px; line-height: 1.15; box-sizing: border-box; }
.cd-tg:hover { background: #1b8ac4; }
.cd-tg svg { width: 20px; height: 20px; flex: none; }
/* P2-4(2026-09-01)：白卡（右栏 + 卖家卡）内的 TG 降为描边次级 —— 主 CTA 让位给 WA+Email 双主；
   深色 .cd-cta 区与手机吸底 .cd-sticky-cta.tg 仍保留蓝实底，不受此覆盖影响。 */
.cd-side .cd-tg, .cd-seller-card .cd-tg { background: #eef6fc; color: #229ED9; border: 1.5px solid #c5e2f5; }
.cd-side .cd-tg:hover, .cd-seller-card .cd-tg:hover { background: #e0eefb; border-color: #229ED9; }
.cd-price-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; background: #eef3fd; color: var(--blue); font-size: 12px; cursor: help; }
.cd-price-tip-pop { position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(240px, calc(100vw - 32px)); background: var(--navy); color: #fff; font-size: 12.5px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; opacity: 0; visibility: hidden; transition: .15s; z-index: 20; text-align: left; }
.cd-price-tip:hover .cd-price-tip-pop, .cd-price-tip:focus .cd-price-tip-pop { opacity: 1; visibility: visible; }
[dir="rtl"] .cd-price-tip-pop { text-align: right; }
.cd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cd-share-lbl { font-size: 13px; color: var(--gray); font-weight: 600; margin-right: 2px; }
.cd-share-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; cursor: pointer; min-height: 44px; box-sizing: border-box; } /* 2026-09-02 第4项整改：详情页打印/复制/分享触控 ≥44px（审计原 36-39px 高） */
.cd-share-btn:hover { border-color: var(--blue); color: var(--blue); }
.cd-pdf-modal { position: fixed; inset: 0; z-index: 120; background: rgba(10,14,23,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cd-pdf-modal iframe { width: min(900px, 92vw); height: 86vh; border: 0; border-radius: 10px; background: #fff; }
.cd-pdf-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 28px; line-height: 1; background: rgba(255,255,255,.14); color: #fff; border: none; border-radius: 50%; cursor: pointer; }
.cd-pdf-close:hover { background: rgba(255,255,255,.28); }
.cd-langsw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cd-langsw-item { font-size: 13.5px; color: var(--navy); text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; }
.cd-langsw-item:hover { border-color: var(--blue); color: var(--blue); }
.cd-skel { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 28px; align-items: start; }
.cd-skel-main { aspect-ratio: 4 / 3; border-radius: var(--radius); background: #eef1f6; animation: cdShimmer 1.2s infinite; }
.cd-skel-side { display: grid; gap: 14px; }
.cd-skel-line { height: 16px; border-radius: 8px; background: #eef1f6; animation: cdShimmer 1.2s infinite; }
.cd-skel-line.w90 { width: 90%; } .cd-skel-line.w70 { width: 70%; } .cd-skel-line.w80 { width: 80%; } .cd-skel-line.w60 { width: 60%; }
@keyframes cdShimmer { 0% { opacity: .55; } 50% { opacity: 1; } 100% { opacity: .55; } }
@media (max-width: 1024px) { .cd-skel { grid-template-columns: 1fr; } }
.cd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: thin; }
.cd-thumbs::-webkit-scrollbar { height: 6px; }
.cd-thumbs::-webkit-scrollbar-thumb { background: #cdd8e8; border-radius: 3px; }
.cd-thumb { flex: 0 0 auto; }

.cd-seller-rows { margin: 10px 0 14px; border-top: 1px solid var(--line); }
.cd-seller-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cd-seller-row .cd-k { color: var(--gray); }
.cd-seller-row b { color: var(--ink); text-align: end; } /* P2-6: 逻辑属性 end，RTL 自动镜像 */
.cd-seller-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-seller-acts .btn { flex: 1 1 auto; text-align: center; }
@media (max-width: 480px) { .cd-seller-row { font-size: 13px; } }
.cd-inq-sticky {
  margin-top: 16px;
  padding: 16px;
  background: #f6f9fd;
  border: 1px solid #e2eaf4;
  border-radius: 12px;
}
.cd-inq-sticky .cd-inq-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2d3d;
}
.cd-inq-sticky .cd-inq-price {
  margin-bottom: 12px;
  font-size: 13px;
  color: #5a6b7b;
}
.cd-inq-sticky .cd-inq-price b {
  font-size: 18px;
  color: #1f2d3d;
}
.cd-inq-sticky .btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .cd-inq-sticky { position: static; }
}
@media (min-width: 1024px) {
  .cd-inq-sticky { position: sticky; top: 84px; }
}
.cd-model-note { display: inline-block; margin: 6px 0 0; padding: 4px 10px; font-size: 12px; line-height: 1.4; color: #2b6cb0; background: #eaf2fb; border: 1px solid #cfe0f5; border-radius: 999px; }

/* ============ /cars 页：品牌/车型/价格/年份 侧边栏筛选（2026-08-19） ============ */
/* 桌面端（≥1200px）左侧边栏一条龙；<1200px 同一 DOM 变底部抽屉（body.cf-drawer-open 控制） */
.cars-layout { display: flex; align-items: flex-start; gap: 26px; }
.cars-main { flex: 1 1 auto; min-width: 0; }

/* cf-bar：抽屉开关按钮 + 已选条件条 */
.cf-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cf-open { display: none; align-items: center; gap: 8px; background: #0b63f6; color: #fff; border: none; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; /* P0-3(2026-08-20): 触控目标 ≥44px */ }
.cf-open:hover { background: #0952cc; }
.cf-open-count { background: #fff; color: #0b63f6; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; padding: 0 6px; }
.cf-open-count[hidden], .cf-active[hidden] { display: none; }
.cf-active { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { display: inline-flex; align-items: center; gap: 6px; background: #eaf2fb; border: 1px solid #c9dcff; color: #1a56c4; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.cf-chip i { font-style: normal; color: #7a8ba6; font-size: 14px; line-height: 1; }
.cf-chip:hover { border-color: #93b8f0; background: #dce9fb; }

/* 侧边栏本体（≥1200 常驻 sticky；<1200 底部抽屉，样式在下方 media 内覆盖） */
.cf-sidebar { width: 264px; flex: 0 0 264px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.cf-head { display: flex; justify-content: flex-end; margin: -4px -4px 6px 0; }
.cf-clear { background: none; border: none; color: #6b7a93; font-size: 13px; cursor: pointer; padding: 4px 6px; text-decoration: underline; min-height: 44px; min-width: 44px; /* P0-3(2026-08-20): 触控目标 ≥44px */ }
.cf-clear:hover { color: #d14343; }
.cf-group { margin-bottom: 16px; }
.cf-group:last-of-type { margin-bottom: 8px; }
.cf-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5a6b85; margin-bottom: 8px; }
.cf-opts { display: flex; flex-direction: column; gap: 6px; }
.cf-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; background: #f6f8fb; border: 1px solid #e8edf4; border-radius: 8px; font-size: 14px; color: #24344d; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.cf-opt:hover { border-color: #b9cdf0; background: #eef4ff; }
.cf-opt.on { background: #e6f0ff; border-color: #3b82f6; color: #0f4bb8; font-weight: 600; }
.cf-opt-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-opt-n { flex: 0 0 auto; min-width: 22px; text-align: center; font-size: 12px; color: #8a97ad; background: #fff; border: 1px solid #e3e9f2; border-radius: 999px; padding: 1px 7px; }
.cf-opt.on .cf-opt-n { background: #3b82f6; border-color: #3b82f6; color: #fff; }
/* 品牌搜索框（2026-08-24 新增：品牌几十上百个时的快速查找） */
.cf-search { display: block; width: 100%; padding: 10px 12px; margin-bottom: 8px; background: #f6f8fb; border: 1px solid #e8edf4; border-radius: 8px; font-size: 14px; color: #24344d; outline: none; transition: border-color .15s, background .15s; min-height: 44px; /* P0-3(2026-08-20): 触控目标 ≥44px */ }
.cf-search:focus { border-color: #3b82f6; background: #fff; }
.cf-search::placeholder { color: #98a5b8; }

/* 品牌首字母索引条（2026-08-24 新增：A-Z 快速定位） */
.cf-alpha { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 8px; }
.cf-alpha button { flex: 0 0 auto; min-width: 28px; min-height: 30px; padding: 0 5px; background: #f6f8fb; border: 1px solid #e8edf4; border-radius: 6px; font-size: 12px; color: #5a6b85; cursor: pointer; transition: border-color .15s, background .15s; }
.cf-alpha button:hover { border-color: #b9cdf0; background: #eef4ff; }
.cf-alpha button.on { background: #e6f0ff; border-color: #3b82f6; color: #0f4bb8; font-weight: 600; }
.cf-empty { padding: 10px 12px; font-size: 13px; color: #8a97ad; text-align: center; }

/* 抽屉遮罩（默认隐藏，<1200 生效） */
.cf-mask { display: none; }

/* 侧边栏模式下卡片网格更宽松（3 列；≤1560 视口 2 列防卡片过窄） */
@media (min-width: 1024px) {
  .cars-layout .cars-grid { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1440px) {
    .cars-layout .cars-grid { grid-template-columns: repeat(2, 1fr); }
  }
}

/* <1024px：侧边栏收起为底部抽屉 */
@media (max-width: 1023px) {
  .cars-layout { display: block; }
  .cf-open { display: inline-flex; }
  .cf-sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%;
    max-height: 78vh; border-radius: 18px 18px 0 0; border-bottom: none;
    transform: translateY(105%); transition: transform .28s ease;
    z-index: 210; padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px rgba(15, 23, 42, .18);
  }
  body.cf-drawer-open .cf-sidebar { transform: translateY(0); }
  body.cf-drawer-open { overflow: hidden; }
  .cf-mask { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.cf-drawer-open .cf-mask { opacity: 1; pointer-events: auto; }
  .cf-search { min-height: 46px; font-size: 15px; }
  .cf-alpha { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .cf-alpha button { flex: 0 0 auto; height: 34px; min-width: 30px; }
}

/* ---------- P2-15(2026-08-20): 俄语排版 —— 长词换行 + 标题两行截断 + 基准字号 ---------- */
html[lang="ru"] { overflow-wrap: break-word; word-break: break-word; }
html[lang="ru"] body { font-size: 15px; }
html[lang="ru"] .car-body h3,
html[lang="ru"] .news-body h3,
html[lang="ru"] .cd-vehicle-name,
html[lang="ru"] .news-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[lang="ru"] .car-body h3, html[lang="ru"] .news-body h3 { line-height: 1.4; }

/* ============ #7 批量询价（2026-08-21） ============ */
/* 顶部导航清单徽标（header 深色底，白描边圆钮） */
.inq-nav { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; color: var(--navy); border: 1.5px solid rgba(15,29,60,.30); border-radius: 50%; transition: border-color .15s, background .15s; text-decoration: none; } /* 2026-09-02 整改：触控 44px；2026-10-16 修复：原白描边+白图标在白底头部上完全不可见 → 改深色（方案C 附带） */
.inq-nav:hover { border-color: var(--navy); background: rgba(15,29,60,.06); }
.inq-nav svg { width: 17px; height: 17px; }
.inq-nav-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box; background: #ff5a1f; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 15px; text-align: center; border-radius: 999px; border: 1.5px solid #fff; }
[dir="rtl"] .inq-nav-count { right: auto; left: -5px; }
/* 2026-10-17 问题C-1：清单入口可见性——≥769px（桌面/平板）显示微标签「询价」，圆钮变胶囊；
   ≤768 保持图标 + 计数徽标（移动端空间优先，徽标有加车时即出现）。 */
.inq-nav-lbl { display: none; }
@media (min-width: 769px) {
  .inq-nav { width: auto; padding: 0 13px; border-radius: 999px; gap: 6px; }
  .inq-nav-lbl { display: inline; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; margin-inline-start: 1px; white-space: nowrap; }
}
/* 2026-10-17 问题C-2：「加入询价清单」按钮（列表卡片 / 详情页右栏 / 详情页 CTA 区共用）。
   契约见 main.js toggleInq/updateInqUI：.on 类 + 文本切换由 JS 驱动，此处只定样式。 */
.btn-inq { margin-left: 0; border: 1.5px solid rgba(15,29,60,.28); background: #fff; color: var(--navy); }
.btn-inq:hover { border-color: var(--navy); background: rgba(15,29,60,.05); color: var(--navy); }
.btn-inq.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-inq.on:hover { background: var(--navy2); border-color: var(--navy2); color: #fff; }
/* 详情页 CTA 区（深色底）：与 .cd-wa 同规格横排，白描边 */
/* 2026-10-17 四批（BOSS 拍板⑦）：CTA 首位加车钮改青色实底——青(#0d9488)居 WA 绿(#25D366)
   与 TG 蓝(#229ED9)之间，三钮形成 绿→青→蓝 的平滑过渡；白色描边款降级弃用。 */
.cd-cta .btn-inq { display: inline-block; width: auto; min-width: 240px; margin-top: 0; border: none; color: #fff; background: #0d9488; }
.cd-cta .btn-inq:hover { background: #0f766e; color: #fff; }
.cd-cta .btn-inq.on { background: #fff; color: var(--navy); }
.cd-cta .btn-inq.on:hover { background: #fff; color: var(--navy); }
@media (max-width: 720px) { .cd-cta .btn-inq { min-width: 0; width: 100%; } }

/* 卡片加车按钮：share-row 改 flex，与分享按钮并排紧凑显示 */
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inq-list-btn { flex: 1 1 auto; }
.inq-list-btn.on { background: #eaf6ee; border-color: #bfe3cd; color: #1c8a4d; font-weight: 600; }

/* 详情页加车按钮（.btn.btn-o 变体） */
.cd-inq { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin: 10px 0 0; color: var(--navy); border-color: var(--line); }
.cd-inq.on { background: #eaf6ee; border-color: #bfe3cd; color: #1c8a4d; }
.cd-inq:hover { border-color: var(--blue); }
/* P0-4 同类补修（复核发现）：白卡上的 .btn-o 深色字 + 实底描边——卖家卡「查看库存车源」+ 批量询价「清空清单」 */
#cd-seller-card .btn-o, #inq-clear { color: var(--navy); border-color: var(--line); }
#cd-seller-card .btn-o:hover, #inq-clear:hover { border-color: var(--blue); color: var(--blue); }
/* P0-4 同类补修·第三批（2026-10-18 线上 agent-browser 实测）：
   浅底上的 .btn-o 又发现两例——① 车型页 hero「批量询价」(.mp-head .mp-cta .btn-o，
   build.py:5366，~630 车型页 × 7 语全中招)；② 批量询价页「配件引导」(.bi-panel .btn-o，
   build.py:5069，7 语)。二者均为 白字+透明底+45%白边 落在 rgb(246,248,251)/#fff 上不可见。
   统一按次级钮规格重定（与 .btn-inq / .cd-side-cta .cd-freight 同规格）：
   白底 + navy 字 + navy 28% 描边；margin 双向清零覆盖 .btn-o 硬编码 12px 与 RTL 镜像。 */
.mp-head .mp-cta .btn-o,
.bi-panel .btn-o {
  background: #fff; color: var(--navy);
  border: 1.5px solid rgba(15,29,60,.28);
  margin-left: 0; margin-right: 0;
}
.mp-head .mp-cta .btn-o:hover,
.bi-panel .btn-o:hover { border-color: var(--navy); background: rgba(15,29,60,.05); color: var(--navy); }

/* ---------- 车详页卖家卡三按钮重定色（2026-10-02 BOSS 拍板甲方案） ----------
   问题：①「联系顾问」原为 a.btn.btn-p，被 §2「全站成交动作视觉统一」并入 WhatsApp 绿
            → 与卡片正下方 .cd-wa「WhatsApp 询价」同色，主次不分；
         ②「公司地址 / 查看在售车源」原为 .btn-o，而该类的设计场景是深色 hero
            （透明底 + 白字 + 白边）→ 落到白卡上等于无底色、边框不可见。
   做法：只在 .cd-seller-acts 作用域内重定观感，全局 .btn-p / .btn-o 一字不动
         （故不并入上方 #cd-seller-card .btn-o 规则——那条同时还管着批量询价的 #inq-clear）。
         · 联系顾问   = 品牌深蓝实心 #1a56db + 白字
         · 两个副按钮 = 浅灰底 #eef2f7 + 蓝字（对比度 5.33:1，达标）
   权重：#cd-seller-card .cd-seller-acts .xxx = (1,2,0)，
         高于 a.btn.btn-p (0,2,1)、#cd-seller-card .btn-o (1,1,0)、[dir="rtl"] .btn-o (0,1,1)。
         margin-left/right 归零是为覆盖 .btn-o 的硬编码 margin-left:12px 及其 RTL 镜像规则。
   ------------------------------------------------------------------------ */
#cd-seller-card .cd-seller-acts .btn-p {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
#cd-seller-card .cd-seller-acts .btn-p:hover {
  background: var(--blue-d);
  border-color: var(--blue-d);
}
#cd-seller-card .cd-seller-acts .btn-o {
  background: #eef2f7;
  border: 1.5px solid #dbe3ed;
  color: var(--blue);
  margin-left: 0;
  margin-right: 0;
}
#cd-seller-card .cd-seller-acts .btn-o:hover {
  background: #e2e9f2;
  border-color: #c3cfe0;
  color: var(--blue-d);
}

/* /bulk-inquiry 页：左清单面板 + 右表单 */
.bi-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.bi-hint { color: var(--gray); font-size: 13.5px; margin: 4px 0 14px; }
.bi-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bi-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.bi-car { flex: 1 1 auto; min-width: 0; font-size: 14px; color: var(--ink); line-height: 1.45; }
.bi-car small { display: block; color: var(--gray); font-size: 12px; }
.bi-price { color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.bi-remove { flex: none; background: none; border: 1px solid var(--line); color: var(--gray); border-radius: 8px; padding: 6px 11px; font-size: 12.5px; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s; }
.bi-remove:hover { border-color: #e11d48; color: #e11d48; }
.bi-count { margin: 12px 0 0; font-size: 13.5px; color: var(--gray); }
.bi-count b { color: var(--blue); font-size: 16px; }
.bi-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bi-empty { margin: 4px 0 0; color: var(--gray); font-size: 14px; text-align: center; padding: 26px 14px; border: 1px dashed #cdd8e8; border-radius: 10px; }
@media (max-width: 1024px) {
  .bi-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* 2026-09-02 第4项整改：删除 .inq-nav 36px 覆盖（本体已 44px），移动端保持触控达标 */
  .bi-item { flex-wrap: wrap; }
  .bi-remove { margin-left: auto; }
}

/* ============ #8 打印 / 存 PDF（2026-08-21） ============ */
.cd-print { cursor: pointer; }
@media print {
  @page { margin: 12mm; }
  body { background: #fff !important; }
  header.site-header, footer.site-footer, .cd-cta, .cd-share, .cd-langsw,
  .cd-sticky-cta, .cd-wish, .cd-inq, .cd-inq-sticky, .cd-print,
  #ez-cookie-bar, .aichat-root, .wl-drawer, .inq-modal, .cd-lightbox {
    display: none !important;
  }
  .cd-top { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  .cd-gallery, .cd-thumbs { break-inside: avoid; }
  a { color: inherit !important; text-decoration: none !important; }
}

/* ============ 品牌区商标免责声明（2026-09-07） ============ */
.brand-disclaimer {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #d8dde6;
  font-size: 12px;
  line-height: 1.7;
  color: #9aa3b2;
}
[dir="rtl"] .brand-disclaimer { text-align: right; }

/* ============ 市场内容层（SEO 方案 A · 2026-09-10） ============ */
/* 可见面包屑：中心页/大区页/国别页逐级可点，解决「无返回上级」问题（2026-09-10 BOSS 第3、4项） */
.crumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; margin:0 0 20px; color:#5a6678; }
.crumb a { color:#1f6feb; text-decoration:none; }
.crumb a:hover { text-decoration:underline; }
.crumb .crumb-sep { color:#b9c2cf; }
/* 2026-10-20 移动端修复：分隔符与它后面的项绑成一组，避免换行时「›」孤零零留在行尾 */
.crumb .crumb-step { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.crumb .crumb-cur { color:#16243a; font-weight:600; }
[dir="rtl"] .crumb-sep { display:inline-block; transform:scaleX(-1); }
.mkt-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:18px; margin-top:14px; }
.mkt-card { display:block; background:#fff; border:1px solid #e6eaf0; border-radius:14px; padding:20px 20px 16px;
  text-decoration:none; color:inherit; transition:box-shadow .18s, transform .18s, border-color .18s; }
.mkt-card:hover { box-shadow:0 8px 26px rgba(20,40,80,.10); transform:translateY(-2px); border-color:#c8d4e6; }
.mkt-card h3 { margin:0 0 8px; font-size:19px; color:#16243a; }
.mkt-card p { margin:0 0 12px; color:#5a6678; font-size:14px; line-height:1.65; }
.mkt-card .mkt-go { font-weight:600; color:#1f6feb; font-size:14px; }
.mkt-card .mkt-go.muted { color:#9aa3b2; font-weight:500; }
.mkt-card.mkt-soon { background:#f7f9fc; }
.mkt-facts { width:100%; border-collapse:collapse; margin:10px 0 14px; background:#fff;
  border:1px solid #e6eaf0; border-radius:12px; overflow:hidden; }
.mkt-facts th, .mkt-facts td { text-align:left; padding:13px 16px; border-bottom:1px solid #eef1f6;
  font-size:14px; line-height:1.7; vertical-align:top; }
.mkt-facts th { width:32%; background:#f7f9fc; color:#33415a; font-weight:600; white-space:normal; }
.mkt-facts tr:last-child th, .mkt-facts tr:last-child td { border-bottom:none; }
[dir="rtl"] .mkt-facts th, [dir="rtl"] .mkt-facts td { text-align:right; }
@media (max-width:560px){ .mkt-facts th { width:42%; } }

/* 诱饵页：35 国政策速查表（复用 .mkt-facts 基础表格样式，2026-09-18 SEO 方案 C） */
table.policy-table { font-size:14px; }
table.policy-table tr.mkt-region-row th { background:#eef2f6; color:#33415a; font-weight:700; text-align:left; white-space:normal; }
[dir="rtl"] table.policy-table tr.mkt-region-row th { text-align:right; }
table.policy-table td a { color:#0b5cab; text-decoration:none; }
table.policy-table td a:hover { text-decoration:underline; }
.cite-box { width:100%; min-height:88px; font:12px/1.6 monospace; padding:10px; border:1px solid #d7dde3;
  border-radius:8px; background:#fafbfc; resize:vertical; color:#33414d; box-sizing:border-box; }
@media (max-width:560px){
  table.policy-table { font-size:12.5px; }
  .policy-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* ── 35 国进口政策速查表入口卡片（/markets 页顶部，2026-09-18 补丁 B） ── */
.policy-cta { display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin:24px 0 6px; padding:18px 22px; background:#f3f6fb; border:1px solid #dbe4f0;
  border-radius:14px; text-decoration:none; transition:box-shadow .18s, transform .18s, border-color .18s; }
.policy-cta:hover { box-shadow:0 8px 26px rgba(20,40,80,.10); transform:translateY(-2px); border-color:#c8d4e6; }
.policy-cta-txt { display:flex; flex-direction:column; gap:5px; }
.policy-cta-txt strong { font-size:17px; color:#16243a; line-height:1.4; }
.policy-cta-txt span { font-size:14px; color:#5a6678; line-height:1.6; }
.policy-cta-go { flex:none; font-weight:600; color:#1f6feb; font-size:18px; line-height:1; }
@media (max-width:560px) { .policy-cta { flex-direction:column; align-items:flex-start; } }

/* ── 首页市场区块并排按钮行 + 浅底次级按钮（2026-09-18 补丁 C） ──
   注：不用 .btn-o（那是深色底白字描边样式，仅 hero 深色区可用，见本文件 993 行红线注释），
       浅底另立 .btn-s，配色与站内 .cd-link 保持一致。 */
.btn-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center; }
.btn-s { background:#fff; color:var(--navy); border:1.5px solid var(--line); }
.btn-s:hover { border-color:var(--blue); color:var(--blue); }

/* ── 国别页「买家评价」空态文案（2026-09-20 · 评价市场维度改造·前台侧） ──
   注：默认不启用——main.js 的 REV_SHOW_EMPTY = false 时，无评价的国别页整块保持隐藏
       （存量评价 market 为 NULL，若显示空态会让 245 个国别页立即多出空区块）。
       需要显示空态时把该常量置 true 即用本样式。
   注：.reviews / .rev-card / .rev-by 复用首页既有样式（含 1024px、480px 单列断点），本项不新增布局。 */
.rev-empty { font-size:14.5px; color:var(--gray); }
[dir="rtl"] .rev-empty { text-align:right; }

/* ---------- 配件中心页改版（2026-09-28 v11.8.0） ---------- */
.sp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.sp-hero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 10px; }
.sp-hero .sub { font-size: 16.5px; }
.sp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.sp-hero-img { border-radius: 16px; width: 100%; display: block; box-shadow: 0 18px 44px rgba(15,29,60,.16); }
.sp-anchors { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; position: sticky; top: 66px; z-index: 30; background: rgba(255,255,255,.96); padding: 10px 0; border-bottom: 1px solid var(--line); }
.sp-anchors a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); background: #fff; }
.sp-anchors a:hover { color: var(--blue); border-color: var(--blue); }
.sp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sp-cat { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.sp-cat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,29,60,.14); }
.sp-cat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.sp-cat .sp-cat-b { display: block; padding: 12px 14px 14px; }
.sp-cat b { display: block; font-size: 15.5px; color: var(--navy); }
.sp-cat p { margin: 6px 0 0; font-size: 13.5px; color: var(--gray); }
.sp-oem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ymm-box { margin: 14px 0; }
.ymm-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.ymm-row label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--gray); }
.ymm-row select, .ymm-row input { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.sp-inq-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 12px; }
@media (max-width: 900px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-cats { grid-template-columns: repeat(2, 1fr); }
  .sp-oem-grid, .sp-inq-grid { grid-template-columns: 1fr; }
  .sp-anchors { position: static; }
}
@media (max-width: 560px) { .sp-cats { grid-template-columns: 1fr; } }

/* SP_V1180 */

/* ============================================================================
   EZ Auto Global · 合并整改补丁 v1.0（六家方案精筛版）
   日期：2026-09-28
   用法：整段【追加】到 src/assets/style.css 文件末尾，然后重新构建、发布。
   范围：纯视觉层。不改路由、不改表单、不改链接地址、不改语言切换逻辑。
   安全：全部为「追加覆盖」，不删除、不移动任何现有规则。
   回滚：删除本段即可。
   说明：本段每个选择器都已在真实源码中确认真实存在；同一选择器只保留一份，
       冲突项已按实测效果择优（详见评审文件）。
   ============================================================================ */

/* ---------- §0 设计令牌（新增，不改动现有 --navy/--blue/... 等既有变量） ---------- */
:root {
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 16px; --fs-md: 17px;
  --fs-lg: 18px; --fs-xl: 21px; --fs-2xl: 27px;
  --lh-base: 1.6; --lh-loose: 1.7;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px;
  /* 语义色：2026-09-30 BOSS 拍板「甲」——改回品牌原色，让访客一眼认出平台
     （旧值 #0F7A6A/#0A6EA8 是为过 WCAG AA 调的暗色，实测访客认不出是 WhatsApp/Telegram）
     已知取舍：品牌原色白字对比度 WA 1.98:1 / TG 3.02:1，低于 AA 4.5:1 —— 属 BOSS 明确选择。
     缓解：这些按钮均为「大号加粗」（≥16px bold），满足大文本 3:1 对 TG 达标、WA 仍不达标。 */
  --c-wa: #25D366;          /* WhatsApp 品牌原色（BOSS 拍板甲） */
  --c-wa-hover: #1EBE5A;
  --c-tg: #229ED9;          /* Telegram 品牌原色 */
  --c-tg-hover: #1B8AC6;
  --c-orange: #C2410C;      /* 徽标橙 —— 白字 5.18:1 */
  --c-ink-soft: #5B6B84;    /* 次级文字 —— 白底 5.41:1（等同现有 --gray） */
  --c-badge-dark: #0B1B33;  /* 徽标深底 —— 白字 17.23:1 */
  --c-badge-green: #0B6B5F; /* 徽标绿底 —— 白字 6.40:1 */
  --c-line-soft: #E3E9F2;   /* 等同现有 --line */
  --c-price: #C0392B;       /* 价格红 —— 白底 5.44:1 */
}

/* ---------- §1 【P0 · 线上真缺陷】hidden 属性被 display 覆盖 ---------- */
/* 站内无全局 [hidden] 规则，而 .cd-tg / .big-btn / ≤480px 的 .cd-sticky-cta
   都设了 display:flex → 带 hidden 的按钮照样显示。
   实测：未配 Telegram 号时，移动端常驻一条 href="#" 的死链底栏（高 52px）。
   写法不可简化：必须用属性选择器，否则 JS 的 el.hidden=false 会失效。 */
[hidden] { display: none !important; }

/* ---------- §2 对比度修复 ---------- */
/* 实测：WhatsApp 白字 on #25D366 = 1.98:1（门槛 4.5）；Telegram 白字 on #229ED9 = 3.02:1
   仅换底色，按钮的文字、图标、href、target、rel 全部不动。 */

/* 成交按钮 + 主按钮：底色统一加深，文字保持白色
   注：a.btn.btn-p 原本是深蓝 #1a56db（白字 6.18:1，本就达标），
   并入本组属 BOSS 拍板的「全站成交动作视觉统一」决策。 */
.big-btn.wa,
a.btn.btn-p,
.cd-wa,
.wa-float,
.sc-wa:hover {
  background: var(--c-wa);
}
.big-btn.tg,
.cd-tg,
.cd-sticky-cta.tg,
.tg-float,
.sc-tg:hover {
  background: var(--c-tg);
}
.big-btn.wa:hover,
a.btn.btn-p:hover,
.wa-float:hover,
.cd-wa:hover { background: var(--c-wa-hover); }
.big-btn.tg:hover,
.tg-float:hover { background: var(--c-tg-hover); }

/* 【关键修正 · 不要简化】车辆详情侧栏 / 卖家卡里的 Telegram 是「幽灵按钮」：
   浅蓝底(#eef6fc) + 品牌蓝字(#229ED9) → 实测 2.76:1，本身就不达标。
   若只改背景色会变成「蓝底蓝字」（实测跌到 1.00:1，属回归）。
   正确做法：保持浅底，只把文字色加深到 #0A6EA8 → 复算 5.05:1。
   权重与原规则同为 (0,2,0)，靠源码顺序生效。 */
.cd-side .cd-tg,
.cd-seller-card .cd-tg {
  background: #EEF6FC;
  color: #0A6EA8;
  border: 1.5px solid #B9D9EE;
}
.cd-side .cd-tg:hover,
.cd-seller-card .cd-tg:hover {
  background: #E0EEFB;
  border-color: #0A6EA8;
}

/* 导航询盘徽标：原 白字 10.5px on #ff5a1f = 3.12:1，字号也仅 10.5px（双违规）
   → 底色改 #C2410C（白字 5.18:1），字号 10.5 → 12px，尺寸同步放大 */
.inq-nav-count {
  background: var(--c-orange);
  font-size: 12px;
  min-width: 19px;
  height: 19px;
  line-height: 17px;
  padding: 0 5px;
}

/* 车辆卡徽标：原 白字 on var(--amber) = 2.15:1（.badge.new 用 var(--ok) = 3.30:1，双违规）
   → 改深底白字，保留 New/Used 区分 */
.badge {
  background: var(--c-badge-dark);
  font-size: var(--fs-xs);
  padding: 4px 10px;
}
.badge.new  { background: var(--c-badge-green); }
.badge.used { background: var(--c-badge-dark); }

/* 筛选器计数：原 #8a97ad 12px on #fff = 2.95:1 → 改走 --gray（5.41:1） */
.cf-opt-n {
  color: var(--c-ink-soft);
  border-color: var(--c-line-soft);
}

/* 车辆详情「清白车况」ok 态：原 var(--ok)=#16a34a on #e7f6ec = 2.95:1 → 加深文字
   注：.cd-clean-badge.warn 现状 #c2410c on #fff4e5 = 4.77:1 已达标，本补丁【不改它】 */
.cd-clean-badge.ok {
  color: #0F5132;
  background: #DFF3E6;
  border-color: #BFE6CB;
}

/* 面包屑分隔符：原 #b9c2cf on #f6f8fb = 1.69:1，过淡 → #7B879B（3.41:1）
   注：真实类名是 .crumb / .crumb-sep（不是 .breadcrumb） */
.crumb .crumb-sep { color: #7B879B; }

/* ---------- §3 价格红字（BOSS 决策） ---------- */
/* 【只改子元素 b 的字色，绝不动 .car-price 容器的 margin】
   原因：.car-price{margin-top:auto} 负责把价格块顶到卡片底部，
   改容器会导致同排卡片按钮错位（实测 46px）。
   已售划线态 b.sold 权重更高，会继续保持灰色，不受本条影响。 */
.car-price b,
.cd-price b { color: var(--c-price); }

/* ---------- §4 触控目标 ≥44×44（WCAG 2.2 AA） ---------- */
/* 实测不达标项：.cf-alpha button 30×34、.cf-opt 352×36、cookie 按钮 81×31、
   cookie 隐私链接 84×19.5、.eml-link 160×17、.news-more 308×22.4、
   面包屑链接 38×22.4、.lang-sw a 40.7–42.6×44
   仅扩大可点区域，不改任何 href / onclick / 表单字段。 */

.cf-alpha button {
  min-width: 44px;
  min-height: 44px;
  font-size: var(--fs-sm);
}
.cf-opt {
  min-height: 44px;
  padding: 10px 12px;
}

/* 语言切换（2026-10-16 方案C 下拉版）：.lang-link 现位于 .lang-menu 内，
   保留 ≥44px 触控目标；按钮本体在基础样式已 min-height:44px。 */
.lang-menu a {
  min-width: 44px;
  min-height: 44px;
}

/* 行内文字链接：保持外观不变，仅把可点区域撑到 44px 高 */
.news-more,
.eml-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.cd-mkt-link { min-height: 44px; }
/* 只给「可点击」的 a.mkt 撑高度：首页有一批 <span class="mkt">（不可点、纯展示），
   给它们也加 min-height 只会把胶囊撑肥，没有任何收益。 */
a.mkt { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }

/* cookie 同意条：原样式由 cookie-consent.js 以 #ez-cookie-bar .cc-btn（权重 1,1,0）
   注入 <style>，且注入位置在样式表之后 → 必须用更高权重才压得住 */
#ez-cookie-bar button.cc-btn {
  min-height: 44px;
  padding: 12px 22px;
}
#ez-cookie-bar a.cc-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* 车辆卡标题链接【本单不加】：整张卡片本身已是 role="link" tabindex="0"
   （可点 / 可聚焦区域远大于 44px），再给内部标题链接撑高只会让每张卡长高约 22px。
   另外 .car-title 这个类在站点里不存在，原方案那句是空选择器。 */

/* ---------- §5 表单控件 ---------- */
/* 联系页 / 询盘表单控件提高到 48px 高、16px 字号。
   16px 同时可避开 iOS Safari 在聚焦时对 <16px 输入框的自动放大。
   注：只加样式，不碰字段名 / 字段数量 / 提交逻辑。 */
.form-grid input,
.form-grid textarea,
.form-grid select {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.form-grid label {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--gray);
}

/* ---------- §6 政策表：最小宽度 + 外层滚动 ---------- */
/* 站内模板结构是 <div class="policy-table-wrap"><table class="mkt-facts policy-table">，
   给 table 自身加 overflow 无效（表格元素不产生滚动容器），
   必须给 table 最小宽度、让外层 wrapper 承担滚动。
   实测：wrapper scrollW 520 > clientW 316 → 可横滑。 */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.policy-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- §7 配件品类卡片：移动端横向紧凑布局 ---------- */
/* 背景：现状 ≤560px 单列纵向卡片，图 357×268，一屏仅见 1 张。
   改为「图在左、字在右」，实测图 72×72、卡高 130。 */
@media (max-width: 640px) {
  .sp-cats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sp-cat {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 100px;
    padding: 14px;
  }
  .sp-cat img {
    width: 72px;
    height: 72px;
    aspect-ratio: auto;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 12px 0 0;
  }
  .sp-cat .sp-cat-b { padding: 0; }
  .sp-cat b { font-size: 14px; }
  .sp-cat p { font-size: 12.5px; }
}

/* ---------- §8 配件页锚点导航：移动端横向滚动 ---------- */
/* 【必须带 flex-wrap:nowrap】站内 .sp-anchors 现有 flex-wrap:wrap，
   若只加 overflow-x:auto 而不覆盖 flex-wrap，flex 项目照旧换行、
   容器永不产生横向溢出 → 完全不会滚动（且会把导航块撑高）。
   实测（375px、8 个锚点）：加 nowrap 后可横向滚动。 */
@media (max-width: 900px) {
  .sp-anchors {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sp-anchors::-webkit-scrollbar { display: none; }
  .sp-anchors a {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 44px;
  }
}

/* ---------- §9 移动端纵向节奏（只压移动端，桌面 72px 不动） ---------- */
/* 背景实测：.sec 移动端仍 padding:72px 0 → 每节吃掉 844px 视口的约 17%。 */
@media (max-width: 560px) {
  .sec { padding: 48px 0; }
  .sec .sub { margin: 8px 0 24px; }
  .sec h2 { font-size: 24px; }
  .cd-block { margin-top: 32px; }
}

/* ---------- §10 RTL 补全 ---------- */
/* 站内 [dir="rtl"] 规则已成体系（float-wrap / news-date / faq summary /
   cd-count-badge / mkt-facts 均已翻转），但配件区 .sp-* 确实缺失。
   本节全部使用逻辑属性或方向属性，不新增手工反向覆盖。 */
[dir="rtl"] .sp-hero-cta { flex-direction: row-reverse; }
[dir="rtl"] .sp-cats { direction: rtl; }
[dir="rtl"] .sp-cat { direction: rtl; }
[dir="rtl"] .sp-cat .sp-cat-b { text-align: right; }
[dir="rtl"] .sp-anchors { direction: rtl; }
[dir="rtl"] .sp-oem-grid { direction: rtl; }
[dir="rtl"] .sp-inq-grid { direction: rtl; }
[dir="rtl"] .car-price { text-align: right; }
@media (max-width: 640px) {
  [dir="rtl"] .sp-cat { flex-direction: row-reverse; }
  [dir="rtl"] .sp-cat img { margin: 0 0 0 12px; }
  [dir="rtl"] .sp-cat .sp-cat-b { text-align: right; }
}
@media (max-width: 560px) {
  [dir="rtl"] .sp-hero-cta { flex-direction: column; }
}

/* ---------- §11 无障碍补强 ---------- */
/* 实测：1663 行 CSS 中 prefers-reduced-motion 0 处、:focus-visible 仅 3 处。 */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .car-card:hover,
  .sp-cat:hover { transform: none; }
}

/* ===== 补丁结束。不含任何路由、表单字段、链接地址或事件逻辑的改动。 ===== */

/* ---------- §12 配件子页主图容器（配合 B1 模板改动） ---------- */
.sp-fig {
  max-width: 720px;
  margin: 0 auto 32px;
}
.sp-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow);
}
.sp-fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  text-align: center;
}
@media (max-width: 480px) {
  .sp-fig { max-width: 100%; margin-bottom: 24px; }
}

/* ---------- §12b B3 属性回归修正（2026-09-28 第 2 批上线后发现） ---------- */
/* B3 给 <img> 补 width/height 是为 CLS 预留。但 HTML 的 width/height 属性是以
   「表现提示（presentational hint）」形式落到 CSS 的 width/height 上，优先级最低
   但真实生效：凡 CSS 只定 width、未定 height 的元素，高度会被属性值钉死，
   渲染高度因此改变（不是只提供宽高比）。实测（1280px / iPhone 12）：
     .sp-cat img   带属性 366×600 → 摘掉 height 后 366×275（正确）
     .sp-hero-img  带属性 471×630 且 object-fit:fill → 画面拉伸；摘掉后 471×247（正确）
     .news-detail .hero-img 手机端 346×380 → 摘掉后 346×195（正确）
   修法：显式 height:auto，让宽高比仍由属性/源图决定，同时不被属性钉死。
   ⚠️ .sp-cat img 在 ≤640px 有 §7 的 height:72px（移动端紧凑布局），
      故本条用 min-width:641px 限定，**不得影响移动端**。 */
.sp-hero-img { height: auto; }
.news-detail .hero-img { height: auto; }
@media (min-width: 641px) {
  .sp-cat img { height: auto; }
}

/* ---------- §12c 移动端吸底栏内部 svg 尺寸（2026-09-29 实测补充） ---------- */
/* TG_SVG 是无 width/height 的内联 SVG。站内 .big-btn svg(26) / .cd-tg svg(20) /
   .ft-social svg(20) / .wa-float,.tg-float svg(21) 都有尺寸规则，唯独 .cd-sticky-cta
   没有 → 该 24×24 viewBox 的 SVG 在 flex 容器里长成 288×288，把移动端吸底栏
   撑到 318px（占 iPhone 12 视口 48%）并盖住正文。实测：本规则加上后吸底栏回到
   约 56px（与 WhatsApp 吸底栏等高）。只作用于柱内 svg，不碰 href / 结构 / 显隐。 */
.cd-sticky-cta svg { width: 20px; height: 20px; flex: none; }
/* ---------- §13 配件子页结构升级（配合 C1 模板改动） ---------- */
.sp-kv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.sp-kv > div {
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-sm);
  padding: 16px;
}
.sp-kv b { display: block; font-size: var(--fs-xl); line-height: 1.25; color: var(--navy); margin-bottom: 4px; }
.sp-kv small { display: block; font-size: var(--fs-xs); line-height: 1.5; color: var(--c-ink-soft); }

.sp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 32px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-sm);
}
.sp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  line-height: 1.55;
  background: #fff;
}
.sp-table caption {
  text-align: start;
  padding: 12px 16px;
  font-size: var(--fs-xs);
  color: var(--c-ink-soft);
  background: #F6F8FB;
  border-bottom: 1px solid var(--c-line-soft);
}
.sp-table th, .sp-table td {
  padding: 11px 16px;
  text-align: start;
  border-bottom: 1px solid var(--c-line-soft);
  vertical-align: top;
}
.sp-table thead th {
  background: #F6F8FB;
  color: var(--navy);
  font-weight: 600;
  font-size: var(--fs-xs);
  white-space: nowrap;
}
.sp-table tbody th { font-weight: 600; color: var(--navy); white-space: nowrap; }

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0 32px;
}
.sp-card {
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  padding: 24px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.sp-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); border-color: #C6D4EA; }
.sp-card h3 { font-size: var(--fs-lg); line-height: 1.4; color: var(--navy); margin: 0 0 8px; }
.sp-card p { font-size: var(--fs-sm); line-height: var(--lh-base); color: var(--ink); margin: 0; }

.sp-rel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.sp-rel li { padding: 0; }
.sp-rel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-sm);
  color: var(--navy);
  font-size: var(--fs-sm);
  line-height: 1.45;
  text-decoration: none;
}
.sp-rel a::after {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.sp-rel a:hover { background: #EEF4FF; border-color: #B9CDF0; }
[dir="rtl"] .sp-rel a::after { transform: rotate(135deg); }

.sp-faq {
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  background: #fff;
  padding: 0;
  margin: 0 0 12px;
  overflow: hidden;
}
.sp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 16px 24px;
  cursor: pointer;
  font-size: var(--fs-base);
  color: var(--navy);
  list-style: none;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.sp-faq[open] summary::after { transform: rotate(-135deg); }
.sp-faq[open] summary { border-bottom: 1px solid var(--c-line-soft); background: #FAFBFD; }
.sp-faq > p { padding: 16px 24px 0; font-size: var(--fs-base); line-height: var(--lh-base); }
.sp-faq > p:last-child { padding-bottom: 24px; }

.sp-cta {
  background: linear-gradient(180deg, #F6F8FB 0%, #EEF4FF 100%);
  border: 1px solid #C6D4EA;
  border-radius: var(--r-lg);
  padding: 32px 24px;
  margin: 32px 0 0;
}
.sp-cta h2 { font-size: var(--fs-2xl); line-height: 1.3; color: var(--navy); margin: 0 0 12px; padding: 0; }
.sp-cta h2::after { display: none; }
.sp-cta p { font-size: var(--fs-base); line-height: var(--lh-base); color: var(--ink); }
.sp-cta .big-btn { min-height: 54px; font-size: var(--fs-md); margin-top: 12px; }
@media (max-width: 480px) {
  .sp-cta { padding: 24px 16px; border-radius: var(--r-md); }
  .sp-cta h2 { font-size: var(--fs-xl); }
}

/* ---------- §14 移动端吸底双 CTA 重叠修复（2026-09-29 真机实测） ---------- */
/* 详情页有两条 position:fixed;bottom:0;z-index:50 的吸底栏（WA 与 TG），DOM 里 TG 在后
   → 整片压住 WA，手机端主成交入口点不到（elementFromPoint 最上层 = ct-tg-sticky）。
   L1227 原写的 .cd-sticky-cta.tg{margin-top:8px} 想往上叠，但 margin 对 fixed 定位无位移效果。
   改为 bottom 偏移：栏高 56px + 原意间距 8px = 64px。勿用 margin-top。
   同时把 .car-detail 底部留白从 72px（L1251，原按单栏预留）提到 136px，
   否则抬起来后最后一段内容仍被两条栏（56+64=120px）遮住。 */
@media (max-width: 480px) {
  .cd-sticky-cta.tg { bottom: 64px; }
  .car-detail { padding-bottom: 136px; }
}

/* ============================================================================
   §15 社媒图标行统一（2026-09-30 BOSS 拍板方案 C）
   
   背景：页脚 .ft-social 与联系页 .soc-icons 共用同一个 social_row() / socialHtml，
        原来是「单色 currentColor + 深底半透明白块」→ 页脚深底上糊成一片、认不出平台。
   
   做法：① 按 data-soc 上各自平台品牌色；② 两端两种形态（只用后代选择器区分，
        不改结构、不分叉 HTML）：
          · 页脚  = 方案一「品牌色圆徽 + 悬停出名字」（紧凑，深底上跳出来）
          · 联系页 = 方案二「图标 + 名称药丸」（不靠悬停，最直白）
        ③ 名称一律取 attr(aria-label) → 零新增数据、零新增 i18n。
   ============================================================================ */

/* 平台品牌色（收在自定义属性 --soc 上，两形态共用；未知平台回落中性灰） */
[data-soc="wa"] { --soc: #25D366; }
[data-soc="tg"] { --soc: #229ED9; }
[data-soc="fb"] { --soc: #1877F2; }
[data-soc="ig"] { --soc: #E4405F; }
[data-soc="tt"] { --soc: #111111; }
[data-soc="yt"] { --soc: #FF0000; }
[data-soc="li"] { --soc: #0A66C2; }

/* ---- 页脚 · 方案一：品牌色圆徽 + 悬停 tooltip ---- */
.ft-social a {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--soc, #64748b); color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.ft-social a:hover { background: var(--soc, #64748b); transform: translateY(-3px); filter: brightness(1.08); }
.ft-social a::after {
  content: attr(aria-label);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #0B1B33; color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.ft-social a:hover::after { opacity: 1; }

/* ---- 联系页 · 方案二：图标 + 名称药丸 ---- */
.soc-icons a {
  width: auto; height: 48px; padding: 0 18px; gap: 9px;
  border-radius: 999px;
  background: var(--soc, #64748b); color: #fff;
}
.soc-icons a:hover { background: var(--soc, #64748b); filter: brightness(1.08); }
.soc-icons a::after { content: attr(aria-label); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---- 悬浮按钮去重过渡（配合 main.js 的观察逻辑）----
   规则 A：滚到页脚可视区 → 淡出（页脚自带联系方式，不再三份同屏）
   规则 B：页内已有同款主 CTA（车详/配件报价）时，未滚过它之前先不出现 */
.float-wrap { transition: opacity .3s ease, transform .3s ease; }
.float-wrap.float-hide { opacity: 0; transform: translateY(10px); pointer-events: none; }

/* =========================
   EZ AUTO GLOBAL V2.0
   Visual Upgrade
   2026-10-04 · 追加式补丁，不重写任何既有规则
   红线：不改 URL/表单/事件/数据；仅视觉 + 新增模块
   ========================= */
/* ---------- V2.0-1. Hero 双栏（Phase 2 由 .hero-2col 包裹启用）---------- */
.hero-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 48px;
  align-items: start;
}
.hero-main { min-width: 0; }
.hero-2col .hero h1,
.hero-2col h1 { font-size: 38px; max-width: 100%; }
.hero-2col h1 .hero-en { font-size: 32px; white-space: normal; word-break: break-word; }
.hero-2col .hero p.sub { max-width: 100%; }
.hero-aside { min-width: 0; }
/* ---------- V2.0-2. Trust Bar（.stats/.stat 视觉升级，id 与 data-* 全部保留）---------- */
.hero .stats {
  margin-top: 40px;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero .stat {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.hero .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 138, .5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}
.hero .stat b {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  color: #ffd58a;
  letter-spacing: -.4px;
}
.hero .stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #c6d4ea;
}
/* ---------- V2.0-3. Vehicle Card 视觉升级（不改数据结构）---------- */
.cars-grid { gap: 20px; }
.car-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11, 27, 51, .06);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 27, 51, .16);
  border-color: #c3d6f5;
}
.car-img { height: 158px; }
.car-img .ph { font-size: 30px; letter-spacing: 1.5px; }
.car-body { padding: 18px 18px 20px; gap: 2px; }
.car-body h3 {
  font-size: 17.5px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}
.car-specs {
  margin: 10px 0 14px;
  font-size: 13px;
  color: var(--gray);
  display: grid;
  gap: 5px;
}
.car-specs > * { min-width: 0; overflow-wrap: anywhere; }
.car-price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.car-price small { color: var(--gray); font-size: 12px; }
.car-price b { display: block; font-size: 22px; color: var(--navy); font-weight: 800; letter-spacing: -.3px; }
/* ---------- V2.0-4. Export Process → 国际物流时间轴（保留 .steps/.step 与 data-content-key）---------- */
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: st;
  position: relative;
}
.step {
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11, 27, 51, .06);
  position: relative;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.step::after {
  content: "";
  position: absolute;
  top: 41px;
  inset-inline-start: 100%;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #c3d6f5, #e3e9f2);
}
.step:last-child::after { display: none; }
.step .n {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #2f7ae5);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(26, 86, 219, .28);
}
.step h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 7px; font-weight: 700; }
.step p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 27, 51, .15);
  border-color: #c3d6f5;
}
/* ---------- V2.0-5. Why Choose Us 卡片层级 ---------- */
.why { gap: 18px; }
.why .card {
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11, 27, 51, .06);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.why .card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.why .card p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.why .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 27, 51, .15);
  border-color: #c3d6f5;
}
/* ---------- V2.0-6. Global Markets 胶囊（.markets/.mkt 视觉，不动 HOME_REGION_CHIP_KEYS）---------- */
.markets { gap: 12px; }
.mkt {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(11, 27, 51, .05);
  transition: transform .16s, box-shadow .16s, border-color .16s, color .16s;
}
.mkt:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 10px 22px rgba(26, 86, 219, .14);
}
/* ---------- V2.0-7. Vehicle Search Card（视觉入口，零 form/JS/API）---------- */
.vsc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 18px 44px rgba(11, 27, 51, .16);
}
.vsc-t {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -.2px;
}
.vsc-s {
  font-size: 12.5px;
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.5;
}
.vsc-f { display: grid; gap: 12px; }
.vsc-row { display: grid; gap: 5px; min-width: 0; }
/* 2026-10-05 溢出修复：select 默认宽度=最长 option 文本，会把窄卡（320px 列）撑破；
   统一 width:100% + min-width:0，超出文本由控件自身裁切 */
.vsc-row > .vsc-v { min-width: 0; max-width: 100%; }
.vsc-row > .vsc-v select {
  width: 100%; min-width: 0; flex: 1 1 auto;
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-overflow: ellipsis; overflow: hidden;
  white-space: nowrap;
}
.vsc-row > label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.vsc-row > .vsc-v {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.vsc-row > .vsc-v::after {
  content: "›";
  margin-inline-start: auto;
  color: #9db3d4;
  font-size: 19px;
  line-height: 1;
}
.vsc-row > .vsc-v:hover { border-color: var(--blue); background: #f2f7ff; }
.vsc-a {
  display: block;
  margin-top: 18px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  text-align: center;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.vsc-a:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 86, 219, .26);
}
.vsc-n {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8a9bb5;
  text-align: center;
}
/* ---------- 类型二选一（二手车/新车）+ 初始锁定态（2026-10-05 BOSS 拍板）---------- */
.vsc-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vsc-type-btn {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.vsc-type-btn:hover { border-color: var(--blue); background: #f2f7ff; }
.vsc-type-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.vsc-type-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* 未选类型前：其余行与 CTA 禁用（视觉降透明 + 不可点）；选「二手车」后由 JS 移除 vsc-locked */
.vsc.vsc-locked .vsc-row:not(.vsc-type-row),
.vsc.vsc-locked .vsc-a {
  opacity: .5;
  pointer-events: none;
}
/* ---------- V2.0-8. 车型分类入口卡（只做入口，不过滤）---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(11, 27, 51, .06);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 27, 51, .15);
  border-color: var(--blue);
}
.cat-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #e8effc, #f2f7ff);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cat-card h3 { font-size: 16.5px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--gray); line-height: 1.55; }
/* ---------- V2.0-9. 响应式：1024 / 768 / 414 / 375 / 320 ---------- */
@media (max-width: 1024px) {
  .hero-2col { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .hero-2col .hero h1, .hero-2col h1 { font-size: 34px; }
  .hero-2col h1 .hero-en { font-size: 28px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 768px) {
  .hero-2col { grid-template-columns: 1fr; gap: 26px; }
  .hero-aside { order: 2; }
  .hero-main { order: 1; }
  .hero-2col .hero h1, .hero-2col h1 { font-size: 30px; }
  .hero-2col h1 .hero-en { font-size: 24px; }
  .hero .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .hero .stat b { font-size: 25px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vsc { padding: 20px 18px; }
}
@media (max-width: 480px) {
  .car-img { height: 132px; }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 414px) {
  .hero-2col .hero h1, .hero-2col h1 { font-size: 27px; }
  .hero-2col h1 .hero-en { font-size: 21px; }
  .hero .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero .stat { padding: 15px 16px; }
  .hero .stat b { font-size: 22px; }
  .hero .stat span { font-size: 11.5px; }
  .steps, .why { grid-template-columns: 1fr; }
  .car-body { padding: 16px 15px 18px; }
  .cat-card { padding: 20px 18px; }
}
@media (max-width: 360px) {
  .hero-2col .hero h1, .hero-2col h1 { font-size: 24px; }
  .hero-2col h1 .hero-en { font-size: 19px; }
  .hero .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .stat { padding: 13px 12px; border-radius: 13px; }
  .hero .stat b { font-size: 20px; }
  .hero .stat span { font-size: 11px; }
  .cat-grid, .steps, .why { grid-template-columns: 1fr; }
  .vsc-row > .vsc-v { font-size: 16px; padding: 10px 12px; }
  .car-img { height: 118px; }
  .car-body h3 { font-size: 16.5px; }
  .car-price b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-2col, .hero .stat, .car-card, .step, .why .card, .mkt, .cat-card, .vsc-a { transition: none; }
}
/* V2.0-11. Hero 品类标签（Phase 2 新增，深蓝底 pill） */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-tags span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #dbe6f7;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
}
@media (max-width: 414px) {
  .hero-tags { gap: 8px; margin-top: 18px; }
  .hero-tags span { padding: 5px 11px; font-size: 12px; }
}


/* EZ AUTO GLOBAL V2.0 Phase 3 i18n safety */
.hero *,
.vsc *,
.cat-card *,
.btn {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================================
   EZ AUTO GLOBAL V2.0 — Phase 4 视觉/移动端增强（仅追加，不改动既有规则）
   ============================================================ */

/* ---- P4-01 Hero 真实出口场景背景图（B2B 物流实拍，非广告/4S/豪车风）---- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; background: var(--navy);
}
.hero-ov {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(8,18,38,.94) 0%, rgba(8,18,38,.74) 44%, rgba(8,18,38,.34) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
@media (max-width: 768px) {
  .hero-ov { background: linear-gradient(180deg, rgba(8,18,38,.84) 0%, rgba(8,18,38,.72) 100%); }
}

/* ---- P4-03 Vehicle Search Card 视觉增强 + 信任行 ---- */
.vsc { border: 1px solid var(--line); box-shadow: 0 22px 54px rgba(11,27,51,.20); }
.vsc-t { letter-spacing: -.3px; }
.vsc-a { box-shadow: 0 10px 22px rgba(26,86,219,.22); }
.vsc-a:hover { box-shadow: 0 16px 34px rgba(26,86,219,.32); }
.vsc-trust {
  margin-top: 14px; padding-top: 13px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; line-height: 1.45; color: #8a9bb5;
}
.vsc-trust::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,.18);
}

/* ---- P4-04 home.stats 视觉强调（强化现有，不新建模块）---- */
.hero .stat { border-color: rgba(255,213,138,.28); }
.hero .stat::before {
  content: ""; display: block; width: 30px; height: 3px; border-radius: 2px;
  margin-bottom: 12px; background: linear-gradient(90deg, #ffd58a, #f5a311);
}
.hero .stat span { color: #d4e0f2; }

/* ---- P4-05 ezauto-band 视觉强化（保持 SEO 结构不变）---- */
.ezauto-band { background: linear-gradient(120deg, #eef3fb 0%, #e6eef9 100%); padding: 52px 0; }
.ezauto-card {
  position: relative; overflow: hidden;
  border: 1px solid #d8e3f3; box-shadow: 0 18px 44px rgba(11,27,51,.12);
}
.ezauto-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--blue), #2f7ae5);
}
.ezauto-card .btn { box-shadow: 0 10px 22px rgba(26,86,219,.22); }

/* ---- P4-06 AI Widget 移动端覆盖（仅 CSS，不动 widget.js；保留 RTL side-right）----
   既有 widget.js 在 ≤640px 已提供「全宽底部抽屉（100vw/80vh/bottom:0）+ 浮球圆形化」，
   以及 body.cookie-open 时浮球抬高 84px 的避让；但实测 cookie 条实际高度 > 84px，
   浮球会叠在同意条文字上。此处只修复这一点：把 cookie-open 时浮球抬到同意条之上。
   （不覆盖面板 width/bottom/max-height —— 避免破坏既有全宽抽屉设计。） */
@media (max-width: 640px) {
  body.cookie-open .aichat-root {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ---- P4-07 Cookie Banner 移动端覆盖（仅 CSS，不动 cookie-consent.js；保留 safe-area）----
   目标「降低高度、减少遮挡」：保持基线 row+wrap 布局（不改 flex-direction，避免按钮独占
   一行反而更高），只压缩 padding/gap/字号；按钮与隐私链接的 44px 触控高度保持不动。
   实测：基线 121px → 本补丁 ≤100px，且 safe-area 用加值形式保留。 */
@media (max-width: 480px) {
  #ez-cookie-bar {
    gap: 6px !important;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #ez-cookie-bar .cc-txt { text-align: center; font-size: 12.5px !important; line-height: 1.4; }
  #ez-cookie-bar .cc-btn { padding: 10px 18px !important; }
}
@media (max-width: 360px) {
  #ez-cookie-bar .cc-txt { font-size: 12px !important; }
  #ez-cookie-bar { padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ============================================================
   EZ AUTO GLOBAL V2.0 — Phase 5A（Search Card 品牌选择 + 加载失败重试）
   ============================================================ */

/* ---- 5A-02 Search Card Brand 原生 select（视觉与 .vsc-v 行一致，复用既有箭头）---- */
.vsc-row > .vsc-v-select { padding: 0; }
.vsc-row > .vsc-v-select select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 10px 0 10px 14px;
  font-family: inherit;
  font-size: 16px;           /* 16px：避免 iOS Safari 聚焦时自动放大 */
  line-height: 1.3;
  color: var(--navy);
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.vsc-row > .vsc-v-select select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 9px;
}
.vsc-row > .vsc-v-select::after { margin-inline-end: 12px; }   /* 复用 .vsc-v 的 › 箭头，右侧留白 */
[dir="rtl"] .vsc-row > .vsc-v-select select { text-align: right; padding: 10px 14px 10px 0; }

/* ---- 5A-04 加载失败重试按钮（首页三网格 + cars 页错误态共用）---- */
.load-retry-btn {
  display: inline-block;
  margin-top: 14px;
  min-height: 44px;          /* 触控目标 ≥44px（与全站口径一致） */
  padding: 10px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.load-retry-btn:hover { background: var(--blue-d); }
.load-retry-btn:disabled { opacity: .6; cursor: default; }

/* ===== V2.0 Phase 5C-04-02：推荐体验层（Recommendation Experience Layer）=====
   独立命名空间 .ez-rec* / .ez-recommendation，与既有 .cd-* / .car-* 完全隔离：
   本段只新增选择器，不修改任何既有规则，避免污染现有车详情页与列表页样式。
   颜色/圆角/阴影全部复用站点既有变量（--card/--line/--radius/--shadow/--blue），
   因此明暗主题自动跟随，无需另写配色。 */
.ez-recommendation { margin-top: 34px; }
/* 标题只调间距，字号字重继承全局 h2 → 与上方「相关车型」视觉一致 */
.ez-rec-title { margin: 0 0 4px; }
.ez-rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.ez-rec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: .18s;
}
.ez-rec-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.ez-rec-link { display: block; color: inherit; text-decoration: none; }
.ez-rec-photo { display: block; height: 150px; background: var(--line); overflow: hidden; }
.ez-rec-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ez-rec-nophoto { display: block; width: 100%; height: 100%; background: var(--line); }
.ez-rec-body { display: block; padding: 12px 14px 10px; }
.ez-rec-name { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ez-rec-meta { display: block; font-size: 13px; opacity: .75; margin-top: 4px; }
/* v1.1：badge + 分数同一行容器（新增，不改既有规则） */
.ez-rec-badges { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ez-rec-badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 1px 9px; }
.ez-rec-score {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 1px 10px;
}
/* 理由列表：✓ 前缀用伪元素，跨语言通用符号（不引入任何硬编码文案） */
.ez-rec-reasons { list-style: none; margin: 0; padding: 0 14px 14px; }
.ez-rec-reasons li { position: relative; padding-inline-start: 18px; font-size: 12.5px; line-height: 1.6; opacity: .85; }
.ez-rec-reasons li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .ez-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ez-rec-grid { grid-template-columns: minmax(0, 1fr); }
  .ez-rec-photo { height: 180px; }
}

@media (max-width: 480px) {
  .load-retry-btn { display: block; width: 100%; margin-inline: auto; }
  .vsc-row > .vsc-v-select select { padding-inline-start: 12px; }
}

/* ---------- 2026-10-05 vsc 类型三选一（二手车/新车/配件）+ 锁定态 ----------
   补齐 ff0ad51 漏写的按钮组/锁定态样式（上轮只改了 HTML 结构未落 CSS）。 */
.vsc-type { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; min-width: 0; }
.vsc-type-btn {
  flex: 1 1 0; min-width: 0; white-space: normal; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--navy); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 9px 6px; transition: border-color .15s, background .15s;
}
.vsc-type-btn:hover { border-color: var(--blue); }
.vsc-type-btn.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.vsc.vsc-locked .vsc-a,
.vsc.vsc-locked .vsc-f select {
  opacity: .45; pointer-events: none;
}
.vsc.vsc-locked .vsc-f select[disabled] { cursor: not-allowed; }

/* ---------- 三选一联系面板（品牌墙 / 配件入口共用，.ez-pick-*）---------- */
.ez-pick-modal {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 20, 40, .45); padding: 16px;
}
.ez-pick-card {
  position: relative; width: 320px; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-h); padding: 20px 18px;
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.ez-pick-x {
  position: absolute; inset-block-start: 8px; inset-inline-end: 10px;
  cursor: pointer; font: inherit; font-size: 20px; line-height: 1;
  color: var(--gray); background: none; border: 0; padding: 4px;
}
.ez-pick-x:hover { color: var(--ink); }
.ez-pick-t { font-size: 16px; color: var(--navy); }
.ez-pick-s { font-size: 12.5px; color: var(--gray); }
.ez-pick-btn {
  display: block; font: inherit; font-weight: 700; font-size: 14px;
  border-radius: 10px; padding: 11px 12px; text-decoration: none;
}
.ez-pick-btn.wa { color: #fff; background: #25d366; }
.ez-pick-btn.wa:hover { background: #1eb457; }
.ez-pick-btn.tg { color: #fff; background: #229ed9; }
.ez-pick-btn.tg:hover { background: #1b85b8; }
.ez-pick-btn.fm { color: var(--navy); background: var(--bg); border: 1.5px solid var(--line); }
.ez-pick-btn.fm:hover { border-color: var(--blue); }

/* 询价表单默示同意说明行（激进版：隐私勾选框已删） */
.privacy-note { font-size: 11.5px; color: var(--gray); margin-top: 8px; }
.privacy-note a { color: var(--gray); text-decoration: underline; }

/* 2026-10-12 E-E-A-T：About 实景图库 + 近期交付案例（照片与案例由 BOSS 实供，非网图） */
.about-gallery .ag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.about-gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about-gallery figcaption { padding: 10px 14px; font-size: 13.5px; line-height: 1.55; color: var(--gray); }
.ship-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ship-list li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 8px; padding: 12px 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.ship-cases .muted-note { margin-top: 14px; }
@media (max-width: 820px) { .about-gallery .ag-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .about-gallery .ag-grid { grid-template-columns: 1fr; } }

/* ── P2-02 车型页（/{lang}/model-<slug>）· 2026-10-13 ─────────────────────────
   复用站点 sec/wrap/faq/mkt-card/btn 既有组件；本节只补车型页专属件：
   徽章行 / CTA 行 / 车源表 / 参数 kv / 指南警示 / 底部 CTA 卡 / 关联卡价格行。 */
.mp-head { max-width: 880px; }
.mp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; padding: 0; list-style: none; }
.mp-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.mp-badge-hot { background: #e8effc; color: var(--blue); border-color: #c9d9f5; font-weight: 600; }
.mp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.mp-tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.mp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.mp-table th, .mp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.mp-table thead th { background: var(--bg); color: var(--gray); font-size: 12.5px; white-space: nowrap; }
.mp-table tbody tr:last-child td { border-bottom: 0; }
.mp-table td a { color: var(--blue); font-weight: 600; }
.mp-note { font-size: 13px; color: var(--gray); margin-top: 10px; }
.mp-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin: 18px 0 8px; }
.mp-kv .kv { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--ink); }
.mp-kv .kv b { display: block; font-size: 12.5px; color: var(--gray); font-weight: 600; margin-bottom: 2px; }
.mp-guide { margin: 6px 0 14px; }
.mp-guide h3 { margin: 18px 0 8px; font-size: 17px; color: var(--ink); }
.mp-guide ul { margin: 0 0 8px; padding-inline-start: 20px; }
.mp-guide li { margin: 5px 0; line-height: 1.65; }
.mp-warn { background: #fdf6e7; border: 1px solid #f2dfa8; color: #7a5b12; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; line-height: 1.6; margin: 8px 0 0; }
.mp-cta-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.mp-cta-card h2 { color: #fff; margin: 0 0 8px; }
.mp-cta-card p { color: #c6d2e4; margin: 0 0 16px; }
.mp-cta-card .mp-cta .btn { background: #fff; color: var(--navy); border: 0; }
.mp-rel-meta { display: block; font-size: 12.5px; color: var(--gray); margin-top: 4px; }
.mp-rel-price { display: block; margin-top: 6px; font-weight: 700; color: var(--ink); font-size: 14px; }
@media (max-width: 720px) { .mp-cta-card { padding: 20px; } .mp-head h1 { font-size: var(--fs-2xl); } }

/* ==========================================================================
   2026-10-17 二批整改（BOSS 10-17 反馈 1/3/5/6/9/10/11 · 主理人接手施工）
   ========================================================================== */

/* ---- ① 详情页右栏按钮区：统一容器（flex column + gap），次级钮统一描边 ----
   根因：各钮散落 margin-top（14/8/8/8/0）→「Telegram-邮件间距大、运费-加车贴死」；
   3 实底 + 2 白底描边且两描边规格不一（btn-o 浅灰 1px vs btn-inq 深色 1.5px）。 */
.cd-side-cta { display: flex; flex-direction: column; gap: 8px; }
.cd-side-cta > .cd-wa, .cd-side-cta > .cd-email, .cd-side-cta > .cd-tg,
.cd-side-cta > .cd-freight, .cd-side-cta > .btn-inq { margin-top: 0; }
/* 次级钮（测算运费/加入询价清单）统一：白底 + navy 1.5px 描边 + 同 hover */
.cd-side-cta .cd-freight {
  background: #fff; color: var(--navy);
  border: 1.5px solid rgba(15,29,60,.28); border-radius: var(--radius);
}
.cd-side-cta .cd-freight:hover { border-color: var(--navy); color: var(--navy); background: rgba(15,29,60,.05); }

/* ---- ③b 卡片「加入询价清单」圆形 + 钮（价位右上角）----
   BOSS 设计：明显的 + 号、悬停提示「加入批量询价清单」。契约不变
   （data-inq/data-t-*），updateInqUI 对 .inq-fab 只切 +/✓ 与 title。 */
.car-price { position: relative; }
/* 2026-10-17 四批（BOSS 反馈①）：+ 钮改到「价位右上角」——原垂直居中会落在询价钮旁
   （视觉像长在绿钮上）；改锚定价格块顶部右侧（黄框位），与价格同行。 */
.inq-fab {
  position: absolute; top: 0; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(15,29,60,.35); background: #fff; color: var(--navy);
  font-size: 21px; font-weight: 700; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; transition: background .15s, border-color .15s, color .15s;
}
.inq-fab::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; } /* 扩触控区 */
.inq-fab:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.inq-fab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 悬停提示（本地化文案走 data-t-add / data-t-added；触屏无 hover 不显示） */
.inq-fab::after {
  content: attr(data-t-add);
  position: absolute; bottom: calc(100% + 9px); right: -6px; z-index: 30;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 600;
  line-height: 1; padding: 7px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
  box-shadow: 0 6px 18px rgba(15,29,60,.22);
}
.inq-fab:hover::after, .inq-fab:focus-visible::after { opacity: 1; }
.inq-fab.on:hover::after, .inq-fab.on:focus-visible::after { content: attr(data-t-added); }
@media (hover: none) { .inq-fab::after { display: none; } }
[dir="rtl"] .inq-fab { right: auto; left: 0; }
[dir="rtl"] .inq-fab::after { right: auto; left: -6px; }
@media (max-width: 480px) { .inq-fab { width: 44px; height: 44px; font-size: 23px; } }

/* ---- ⑤ CTA 三按钮竖排（深色区不再挤一行）---- */
.cd-cta-btns { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-cta-btns > .cd-wa, .cd-cta-btns > .cd-tg, .cd-cta-btns > .btn-inq {
  width: 100%; max-width: 360px; min-width: 0; margin: 0; box-sizing: border-box;
}
/* 2026-10-17 五批②：.big-btn 自带 margin-bottom:12px，与容器 gap 叠加导致
   TG→邮件询价间距比其他钮多 12px（BOSS 实拍指出）。此处清零，间距全由 gap 统一。 */
.cd-cta-btns > .big-btn, .cd-side-cta > .big-btn { margin-bottom: 0; }

/* ---- ⑪ 页脚「联系方式」WhatsApp/Telegram 品牌色（此前纯文字无色）---- */
#ft-wa { color: #25D366; font-weight: 600; }
#ft-wa:hover { color: #2ee06f; text-decoration: underline; }
#ft-tg { color: #229ED9; font-weight: 600; }
#ft-tg:hover { color: #35b3ea; text-decoration: underline; }

/* ---- ⑨ 联系页「关注我们」药丸 3 列网格对齐 ----
   原 flex 自然宽度换行后参差（WA/IG 对齐、TG/TikTok/FB/YT 错位）——BOSS 反馈。 */
.soc-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.soc-icons a { width: 100%; box-sizing: border-box; justify-content: center; }

/* ==========================================================================
   2026-10-16 方案C（BOSS 拍板）：桌面双行头部 + 导航精致化
   —— 第一行：logo 与右侧工具（询价入口 / 语言下拉）；第二行：导航
      （15px、居中、悬停与当前项为下划线滑入）。
   —— 仅 ≥1181px 生效；≤1180 维持既有「折叠汉堡」行为（零变化）。
   —— 下划线用 ::before（::after 已被「进口指南」下拉的 ▾ caret 占用）。
   —— 一级项用「> 子代」限定，避免误伤二级菜单(.nv-sub)的字号与样式。
   2026-10-17 问题A/B 精修：logo 42px；上行 ≈55-64px、下行 ≈63px；
     两行间 hairline + 行距收紧，头部底部阴影（见 .site-header）与 hero 分离，
     两行读起来是「一个完整的头部块」而非两条白带。es 为宽度瓶颈：15px×9 项
     实测 ≈680px ≤ 容器 1136px，全语种单行不换行（dump-dom 断言保障）。
   ========================================================================== */
@media (min-width: 1181px) {
  .site-header .hd-in { flex-wrap: wrap; height: auto; gap: 0 8px; padding: 7px 0 0; }
  .site-header .hd-in .logo { order: 0; }
  .site-header .hd-in .hd-right { order: 1; margin-left: auto; }
  .site-header .hd-in .nav { order: 2; flex-basis: 100%; margin: 4px 0 0; padding: 4px 0 8px; border-top: 1px solid var(--line); justify-content: center; }
  .site-header .nav > a,
  .site-header .nav > .nv-sub-wrap > a { position: relative; font-size: 15px; padding: 9px 12px; }
  .site-header .nav > a:hover,
  .site-header .nav > .nv-sub-wrap > a:hover { background: none; color: var(--blue); }
  .site-header .nav > a.active,
  .site-header .nav > .nv-sub-wrap > a.active { background: none; color: var(--blue); }
  .site-header .nav > a::before,
  .site-header .nav > .nv-sub-wrap > a::before {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
    border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform .18s ease;
  }
  .site-header .nav > a:hover::before,
  .site-header .nav > .nv-sub-wrap > a:hover::before,
  .site-header .nav > a.active::before,
  .site-header .nav > .nv-sub-wrap > a.active::before { transform: scaleX(1); }
  [dir="rtl"] .site-header .hd-in .hd-right { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .site-header .nav > a::before,
  [dir="rtl"] .site-header .nav > .nv-sub-wrap > a::before { transform-origin: right; }
}

/* 2026-10-23 移动端点击区达标（BOSS 要求 · 落地页 9 条标准第 6 条「移动端操作丝滑」）：
   390px 视口实测：页脚栏目链接为 inline、padding 0 → 点击区仅 17px 高（远低于拇指标准）。
   汉堡导航本身已是 44px（无需改）；本次只补页脚列表链接 36px 最小点击区
   （页脚属页面末端次要导航，36px 兼顾紧凑与可点；不动桌面端、不碰行内文案链接）。 */
@media (max-width: 700px) {
  .site-footer .ft-grid li a { display: inline-flex; align-items: center; min-height: 36px; }
}
