/* =====================================================
   ZOTour Auto 昭途 — 全站设计体系 v2
   对标 zotourcar.com：深海军蓝 #0B1F3A + 品牌蓝 + Plus Jakarta Sans
   ===================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #122a4e;
  --navy-3: #1b3a68;
  --primary: #2458e6;
  --primary-dark: #1a44bb;
  --primary-soft: #e9efff;
  --accent: #f97316;
  --accent-soft: #ffedd5;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #16233b;
  --muted: #64748b;
  --line: #e4e9f2;
  --line-2: #d3dbe9;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --red: #dc2626;
  --red-bg: #fee2e2;
  --blue-bg: var(--primary-soft);
  /* 2026-10-06 样式收敛：原先散落在各规则里的字面值统一成变量（语义见各用途注释） */
  --teal: #0d9488;            /* 增程徽章 / 青色系 */
  --teal-bg: #ccfbf1;
  --teal-text: #0f766e;
  --wechat: #07c160;          /* 微信品牌绿（悬浮联系组件） */
  --wechat-dark: #06ad56;
  --img-bg: #0d2038;          /* 图片占位底色（卡片/图廊/灯箱共用） */
  --bg-soft: #fbfcff;         /* 卡片内的浅底分区（cc-foot/d-contact/spec-cell） */
  --bg-hover: #f7faff;        /* 行 hover / page-hero 渐落点 */
  --focus-ring: 0 0 0 3px rgba(36, 88, 230, .12);  /* 表单控件 focus 光圈，全站统一 */
  --radius: 16px;
  --radius-s: 11px;
  --shadow-1: 0 1px 2px rgba(11, 31, 58, .05), 0 4px 16px rgba(11, 31, 58, .06);
  --shadow-2: 0 2px 6px rgba(11, 31, 58, .07), 0 14px 38px rgba(11, 31, 58, .12);
  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans Arabic', sans-serif;
}

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

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

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

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

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

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

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

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

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

/* ---------- 首页浏览面板：按品牌 + 按车身类型 ---------- */
.browse-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-1);
  padding: 28px 32px 32px;
  display: grid; grid-template-columns: 1.12fr 1fr; gap: 32px;
}
.browse-col { min-width: 0; }
.browse-col + .browse-col {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 32px;
}
.browse-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.browse-head h2 { margin: 0; font-size: 19px; font-weight: 800; }

.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 12px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.brand-logo {
  width: 100%; aspect-ratio: 1.35; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px 10px; overflow: hidden; white-space: nowrap;
  font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: .01em;
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}
/* 品牌车标：等比缩放居中，长宽差距大（如 BYD 长条字标 / AITO 竖标）也不溢出 */
.brand-logo img {
  display: block; max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
}
.brand-tile:hover .brand-logo,
.brand-tile:focus-visible .brand-logo {
  transform: translateY(-3px); background: #fff;
  border-color: var(--line-2); box-shadow: var(--shadow-2);
}
.brand-name {
  max-width: 100%; font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.bodytype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 8px; align-items: start; }
.bodytype-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  text-align: center; color: var(--text); padding-top: 6px;
}
.bodytype-tile .bti-svg { color: var(--navy); transition: transform .18s, color .18s; }
.bodytype-tile:hover .bti-svg, .bodytype-tile:focus-visible .bti-svg { transform: translateY(-3px); color: var(--primary); }
.bodytype-tile span { font-size: 13px; font-weight: 600; color: var(--muted); transition: color .18s; }
.bodytype-tile:hover span, .bodytype-tile:focus-visible span { color: var(--primary); }

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

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

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

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

/* ---------- 展示页 ---------- */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--bg-hover) 100%); border-bottom: 1px solid var(--line); padding: 38px 0 30px; }
.page-hero h1 { margin: 0 0 6px; font-size: 31px; font-weight: 800; }
.page-hero p { margin: 0; color: var(--muted); }

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

.filter-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 22px 0; box-shadow: var(--shadow-1);
}
.filter-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr 1.1fr auto; gap: 12px; }
.add-cell { display: flex; align-items: flex-end; }
.add-cell .btn { white-space: nowrap; }
.filter-row2 { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input, .field select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 12px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: var(--focus-ring); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.seg button, .seg a { border: none; background: #fff; padding: 8px 16px; font-size: 13px; color: var(--muted); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; transition: background .15s, color .15s; }
.seg button:hover:not(.active), .seg a:hover:not(.active) { background: var(--bg); color: var(--text); }
.seg button.active, .seg a.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.count-line { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.count-line b { color: var(--text); }

/* ---------- 车辆卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.car-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.cc-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; background: var(--img-bg); }
.cc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-body { padding: 16px 18px 6px; }
.cc-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.cc-title h3 { margin: 0; font-size: 17px; }
.cc-title a { color: inherit; text-decoration: none; transition: color .15s; }
.cc-title a:hover { color: var(--primary); }
/* 标题链接拉伸铺满整卡：任意位置点击进入详情，底部操作区通过 z-index 保持可点 */
.cc-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.cc-sub { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.cc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 700;
}
.cc-price { display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 0 4px; }
.cc-price .prc { color: var(--primary); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cc-price .prc small { font-size: 12px; color: var(--muted); font-weight: 500; display: block; }
.cc-price .qty { text-align: end; }
.cc-price .qty b { font-size: 17px; }
.cc-price .qty span { display: block; font-size: 12px; color: var(--muted); }
.cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-top: 1px solid var(--line); margin-top: auto; background: var(--bg-soft);
  position: relative; z-index: 1;
}
.cc-actions { display: flex; align-items: center; gap: 14px; }
.cc-details { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }
.cc-details:hover { text-decoration: underline; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }
.pill-grey { background: #f1f4f9; color: var(--muted); }
.pill-blue { background: var(--primary-soft); color: var(--primary-dark); }
.pill-teal { background: var(--teal-bg); color: var(--teal-text); }
.pill-red { background: var(--red-bg); color: var(--red); }

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

/* 精选徽章（2026-10-01）：卡片右上角原先是资源编号 NO.xxx，改为「精选」标记。
   用品牌蓝实心，避免与左上的橙色「燃油」在视觉上撞色。 */
.badge-featured {
  top: 10px; inset-inline-end: 10px; background: var(--primary);
  box-shadow: 0 2px 10px rgba(36, 88, 230, .38);
}
.badge-no { top: 10px; inset-inline-end: 10px; background: rgba(11, 31, 58, .45); }
.badge-photo { bottom: 10px; inset-inline-end: 10px; }
.badge-title {
  position: absolute; bottom: 10px; inset-inline-start: 14px; z-index: 2;
  color: #fff; font-size: 19px; font-weight: 800; text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

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

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

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

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

.gal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gal-thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  border: none; padding: 0; background: var(--img-bg); outline: 1px solid var(--line);
  opacity: .8; transition: opacity .18s, outline-color .18s, transform .18s;
}
.gal-thumb:hover, .gal-thumb:focus-visible { opacity: 1; transform: translateY(-2px); }
.gal-thumb.active { opacity: 1; outline: 2px solid var(--primary); outline-offset: -2px; }
.gal-thumb .vname {
  position: absolute; bottom: 6px; inset-inline-start: 8px; z-index: 2;
  color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.note-line { font-size: 12px; color: var(--muted); margin-top: 12px; }

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

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

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

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

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

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

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

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

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

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

/* ---------- 报价单文档（A4） ---------- */
.doc-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; margin: 22px 0;
}
.doc-toolbar .sp { margin-inline-start: auto; }
.doc-langinfo { font-size: 13px; color: var(--muted); }
.doc-langinfo b { color: var(--text); }
.paper {
  max-width: 860px; margin: 0 auto 40px; background: #fff;
  padding: 52px 58px; box-shadow: var(--shadow-2); border-radius: 6px;
}
.paper-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--navy); padding-bottom: 18px; }
.paper-head .co b { font-size: 17px; }
.paper-head .co div { font-size: 12px; color: var(--muted); line-height: 1.7; }
.paper-title { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 2px; margin: 26px 0 6px; }
.paper-subtitle { text-align: center; color: var(--muted); font-size: 12.5px; margin-bottom: 22px; }
.doc-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; font-size: 13px; margin-bottom: 24px; }
.doc-meta .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.doc-meta .lb { color: var(--muted); }
.doc-meta .vl { font-weight: 700; }
.doc-sec-title { font-size: 14.5px; font-weight: 800; margin: 22px 0 10px; padding-inline-start: 10px; border-inline-start: 3px solid var(--primary); }
.doc-buyer { background: var(--bg); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.doc-buyer .row { display: flex; gap: 10px; }
.doc-buyer .lb { color: var(--muted); min-width: 84px; }
.doc-vehicle { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.doc-vehicle .img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; position: relative; }
.doc-vspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; font-size: 13px; }
.doc-vspecs .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.doc-vspecs .lb { color: var(--muted); }
.doc-vspecs .vl { font-weight: 700; }
table.doc-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc-tbl th, .doc-tbl td { border: 1px solid var(--line); padding: 9px 12px; text-align: start; }
.doc-tbl th { background: var(--bg); font-weight: 700; white-space: nowrap; }
.doc-tbl .num { text-align: end; white-space: nowrap; }
.doc-tbl .total td { background: var(--primary-soft); font-weight: 800; font-size: 14px; }
.doc-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; font-size: 13px; }
.doc-terms .row { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.doc-terms .lb { color: var(--muted); white-space: nowrap; }
.doc-terms .vl { font-weight: 600; text-align: end; }
.doc-note { font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 10px 14px; margin-top: 12px; }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.sig-box { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 13px; }
.sig-box b { display: block; margin-bottom: 6px; }
.sig-line { margin-top: 46px; border-top: 1px solid var(--muted); padding-top: 6px; color: var(--muted); }
.paper-foot { margin-top: 26px; }

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

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

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

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

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

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { grid-template-columns: 1fr 1fr 1fr; }
  .add-cell { grid-column: 1 / -1; }
  .energy-tiles, .svc-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .dcard { position: static; }
  .spec-grid2 { grid-template-columns: repeat(2, 1fr); }
  .tab-gallery { grid-template-columns: repeat(2, 1fr); }
  .browse-panel { grid-template-columns: 1fr; gap: 26px; padding: 24px 26px 28px; }
  .browse-col + .browse-col {
    border-inline-start: none; padding-inline-start: 0;
    border-top: 1px solid var(--line); padding-top: 24px;
  }
}
@media (max-width: 768px) {
  .dcard h1 { font-size: 21px; }
  .d-price .prc-num { font-size: 25px; }
  .d-price .fx b { font-size: 16px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .hero-stats, .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr; }
  .energy-tiles, .svc-grid, .why-grid { grid-template-columns: 1fr; }
  .sh-nav { display: none; }
  .sf-inner { grid-template-columns: 1fr; }
  .paper { padding: 30px 22px; overflow-x: auto; /* 费用表等内容驱动宽度超屏时，纸面内横向滚动，不顶破页面 */ }
  .doc-vehicle { grid-template-columns: 1fr; }
  .doc-meta { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .qc-search input { width: 100%; }
  .doc-terms, .doc-buyer { grid-template-columns: 1fr; }
  .rows-grid { grid-template-columns: 1fr; }
  .d-ctas { grid-template-columns: 1fr; }
  .d-facts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .d-fact { padding: 9px 10px; }
  .gal-btn { width: 36px; height: 36px; }
  .d-tabpanel { padding: 16px 16px 20px; }
  .browse-panel { padding: 20px 18px 24px; border-radius: 18px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .bodytype-grid { grid-template-columns: repeat(3, 1fr); }
  .bodytype-tile .bti-svg { width: 56px; height: 56px; }

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

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