/* ==========================================================================
   Qihang Motors · Shared stylesheet
   蓝色主视觉 + 白卡片，移动端优先（非洲客户以手机为主）
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* ---------- 品牌色（沿用 autohub 的赭红体系） ---------- */
  --primary: #c4442a;
  --primary-dark: #9d3320;
  --primary-lt: #d9613f;
  --primary-soft: #fdf1ed;
  --primary-grad: linear-gradient(135deg, #d9563b 0%, #c4442a 55%, #a8361f 100%);

  --navy: #14161a;
  --navy2: #2a2f38;
  --gold: #c4442a;
  --green: #14875c;
  --red: #c4442a;
  --blue: #1f4e8c;

  /* ---------- 背景与文字 ---------- */
  --bg: #fbfbf9;
  --bg-soft: #f4f4ee;
  --card: #ffffff;
  --surface-2: #f8f8f4;
  --line: rgba(20, 22, 26, .085);
  --line-2: rgba(20, 22, 26, .16);
  --text: #14161a;
  --text-2: #414852;
  --muted: #6f7783;
  --muted-2: #9aa1ab;

  /* ---------- 圆角与阴影 ---------- */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xs: 6px;

  --shadow-xs: 0 1px 2px rgba(20, 22, 26, .05);
  --shadow-sm: 0 2px 10px -2px rgba(20, 22, 26, .07);
  --shadow: 0 14px 40px -12px rgba(20, 22, 26, .16);
  --shadow-lg: 0 26px 70px -20px rgba(20, 22, 26, .22);
  --shadow-primary: 0 10px 26px -10px rgba(196, 68, 42, .5);
  --shadow-hover: 0 20px 50px -16px rgba(20, 22, 26, .2);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1280px;
  --font-num: "SF Mono", "Roboto Mono", Consolas, ui-monospace, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 2. Header ---------- */
header.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--navy); flex: none; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  display: block; background: linear-gradient(135deg, #d9563b 0%, #c4442a 55%, #a8361f 100%);
  box-shadow: 0 4px 12px -4px rgba(196,68,42,.55);
}
.logo .brand { letter-spacing: .3px; white-space: nowrap; }
.logo small { display: block; font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 600; margin-top: -2px; }

.nav-links { display: flex; gap: 20px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.nav-links a { padding: 6px 0; position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--primary); border-radius: var(--radius-sm);
}

.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: flex; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 2px; gap: 2px; }
.lang-btn { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 1px; color: var(--muted); transition: .15s; letter-spacing: .3px; }
.lang-btn:hover { color: var(--navy); background: #f2f1ee; }
.lang-btn.active { background: var(--navy); color: #fff; box-shadow: none; }
.lang-btn.active:hover { background: var(--navy); color: #fff; }

.burger { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); place-items: center; }
.burger span { display: block; width: 17px; height: 1.8px; background: var(--text); border-radius: var(--radius-sm); }
.burger span + span { margin-top: 4px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 61px 0 0; z-index: 99; background: #fff;
  padding: 16px 20px 40px; overflow-y: auto;
  display: none; border-top: 1px solid var(--line);
}
body.nav-open .mnav { display: block; animation: mnavIn .26s ease; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mnav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; font-size: 16px; font-weight: 600; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.mnav a.active { color: var(--primary); }
.mnav .mnav-cta { margin-top: 20px; display: grid; gap: 10px; }
.mnav .mnav-cta a { border: 0; padding: 0; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm); padding: 11px 22px; font-size: 14px; font-weight: 650;
  transition: .22s; white-space: nowrap;
}
.btn-primary { background: var(--primary-grad); color: #fff; border: 0; box-shadow: var(--shadow-primary); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--line-2); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f4f7ff; }
.btn-wa { background: #14875c; color: #fff; border: 0; box-shadow: 0 10px 26px -10px rgba(20, 135, 92, .5); }
.btn-wa:hover { filter: brightness(1.08); }
.btn-sm { padding: 7px 14px; font-size: 12.5px; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../../images/yard-1.webp");
  background-size: cover; background-position: 68% 56%;
  opacity: .9;
}
.hero > * { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, #fbfbf9 0%, #fbfbf9 24%, rgba(251,251,249,.96) 36%,
                    rgba(251,251,249,.72) 50%, rgba(251,251,249,.18) 66%, rgba(251,251,249,0) 80%),
    linear-gradient(to top, #fbfbf9 0%, rgba(251,251,249,0) 18%);
}

.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 76px 20px 110px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 750; line-height: 1.14; letter-spacing: -.03em; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { margin-top: 18px; color: var(--text-2); font-size: 16.5px; max-width: 560px; line-height: 1.75; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 26px; font-size: 15px; }
.hero-cta .btn-ghost { color: var(--text); border-color: var(--line-2); background: #fff; }
.hero-cta .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats { margin-top: 36px; display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stats .num { font-size: 28px; font-weight: 750; color: var(--primary); letter-spacing: -.02em; }
.hero-stats .lab { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.hero-car {
  position: absolute; right: 6%; bottom: 92px; font-size: 170px; z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 内页页头 */
.page-head {
  position: relative; color: var(--text); overflow: hidden;
  background: transparent; border-bottom: 0;
}
.page-head .wrap { padding: 46px 20px 52px; position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 750; letter-spacing: -.03em; color: var(--text); }
.page-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 680px; line-height: 1.75; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted-2); margin-bottom: 16px; flex-wrap: wrap; }
.crumb a:hover { color: var(--primary); }
.crumb span { opacity: .5; }

/* ---------- 5. Services strip ---------- */
.services {
  max-width: var(--maxw); margin: -44px auto 0; padding: 0 20px; position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; text-align: center; box-shadow: var(--shadow); transition: .25s;
}

.service-card .icon { display: none; }
.service-card .t { margin-top: 0; font-weight: 750; font-size: 13.5px; color: var(--navy); letter-spacing: 0; text-transform: none; }
.service-card .d { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 6. Section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px 16px; }
.section--alt { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.section--alt > .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.sec-head h2 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.6px; line-height: 1.15; }
.sec-head .sub { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 640px; }
.sec-head .more { font-size: 13.5px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.sec-head .more:hover { text-decoration: underline; }

.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px;
}

/* ---------- 7. Car cards ---------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 20px; }
.car-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.car-thumb { height: 184px; position: relative; background: #eef2fa; overflow: hidden; }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.car-card:hover .car-thumb img { transform: scale(1.055); }
.car-thumb .badge { position: absolute; top: 11px; left: 11px; }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 750; color: #fff; letter-spacing: .02em;
}
.badge-new { background: var(--primary); }
.badge-used { background: var(--gold); }
.badge-ev { background: var(--green); }
.badge-status { background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.badge-status.transit { background: #fff7e6; color: #a86b00; border-color: #f0d9a8; }
.badge-status.sold { background: #f2f4f7; color: var(--muted); }

.car-info { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.car-title { font-size: 16.5px; font-weight: 750; color: var(--navy); line-height: 1.35; }
.car-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.car-meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.car-meta span { background: #f0f2f6; padding: 3px 9px; border-radius: var(--radius-sm); white-space: nowrap; }
.car-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.car-price { color: var(--primary); font-size: 20px; font-weight: 850; line-height: 1.1; }
.car-price small { font-size: 11.5px; color: var(--muted); font-weight: 500; display: block; margin-top: 2px; }
.car-link { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.empty-tip { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- 8. Filter bar ---------- */
.filter-bar { display: flex; gap: 10px 10px; margin-bottom: 22px; flex-wrap: wrap; row-gap: 10px; }
.search-input {
  flex: 1 1 250px; min-width: 210px; background: var(--card); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 15px; font-size: 14px; outline: none; transition: .2s;
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 82, 240, .12); }
select.filter-select {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 34px 11px 13px; font-size: 13.5px; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: 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='%23667085' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select.filter-select:focus { border-color: var(--primary); }

.cat-tabs { display: flex; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.cat-tab { padding: 8px 0 11px; border-radius: 0; font-size: 13.5px; font-weight: 650; color: var(--muted); transition: .15s; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cat-tab:hover { color: var(--navy); }
.cat-tab.active { background: transparent; color: var(--navy); box-shadow: none; border-bottom-color: var(--primary); font-weight: 750; }


.filter-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.filter-count b { color: var(--text); font-size: 15px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  background: var(--primary-soft); color: var(--primary); border: 1px solid #cfdcff;
  padding: 4px 10px; border-radius: 999px;
}
.chip button { color: var(--primary); font-size: 14px; line-height: 1; opacity: .7; }
.chip button:hover { opacity: 1; }

/* ---------- 9. Trust / feature blocks ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-card {
  position: relative; text-align: left !important;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow); transition: .25s;
}
.trust-card:hover { border-color: var(--line-2); }
.trust-card .ic { display: none; } .trust-card .ic-old {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 21px;
}
.trust-card h3 { margin-top: 0; font-size: 15.5px; font-weight: 750; color: var(--navy); }
.trust-card::before {
  content: attr(data-n);
  display: block; font-family: var(--font-num); font-size: 11px; font-weight: 700;
  color: var(--primary); letter-spacing: 1px; margin-bottom: 10px;
}
.trust-card p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.gallery-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-4 figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef2fa; }
.gallery-4 img { width: 100%; height: 200px; object-fit: cover; transition: .4s; }
.gallery-4 figure:hover img { transform: scale(1.05); }
.gallery-4 figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  font-size: 12px; color: #fff; font-weight: 600;
  background: linear-gradient(to top, rgba(10, 20, 40, .82), transparent);
}

.promise-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  background: #f0f6ff; border: 1px solid #c9dcff; border-radius: var(--radius); padding: 20px;
}
.promise-bar div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #1d3a6e; font-weight: 600; line-height: 1.55; }
.promise-bar b { color: var(--green); font-size: 16px; flex: none; }

/* ---------- 10. Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 20px 24px;
}
.step:hover { border-color: var(--primary); }
.step .n {
  font-family: var(--font-num); font-size: 24px; font-weight: 800;
  color: var(--line-2); line-height: 1; letter-spacing: -.5px;
}
.step h4 { margin-top: 14px; font-size: 15px; font-weight: 750; color: var(--navy); line-height: 1.35; }
.step p { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.7; }

.flow { display: grid; gap: 0; }
.flow-item { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.flow-item:last-child { border-bottom: 0; }
.flow-item .t { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .06em; padding-top: 2px; }
.flow-item h4 { font-size: 16px; font-weight: 750; color: var(--navy); }
.flow-item p { margin-top: 6px; font-size: 13.8px; color: var(--muted); line-height: 1.75; }

/* ---------- 11. Info tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.info { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 560px; }
table.info th, table.info td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.info th { background: #f8fafc; font-weight: 750; color: var(--navy); font-size: 13px; white-space: nowrap; }
table.info tr:last-child td { border-bottom: 0; }
table.info td b { color: var(--navy); }
table.info .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 4px; text-align: left; font-size: 15px; font-weight: 700; color: var(--navy);
  transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q .pm { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 15px; font-weight: 700; transition: .3s; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .faq-q .pm { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 4px 18px; font-size: 14px; color: var(--muted); line-height: 1.85; max-width: 860px; }

/* ---------- 13. Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.case-card .ph { height: 190px; background: #eef2fa; overflow: hidden; position: relative; }
.case-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.case-card:hover .ph img { transform: scale(1.05); }
.case-flag {
  position: absolute; top: 11px; left: 11px; background: rgba(255, 255, 255, .95);
  border-radius: var(--radius-sm); padding: 4px 10px; font-size: 12.5px; font-weight: 750; color: var(--navy);
}
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 15.5px; font-weight: 750; color: var(--navy); line-height: 1.4; }
.case-meta { margin-top: 9px; display: flex; gap: 6px; flex-wrap: wrap; }
.case-meta span { font-size: 11.5px; background: #f0f2f6; color: var(--muted); padding: 3px 8px; border-radius: var(--radius-sm); }
.case-body p { margin-top: 10px; font-size: 13.2px; color: var(--muted); line-height: 1.7; flex: 1; }
.case-body .btn { margin-top: 14px; }

/* ---------- 14. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; font-size: 14px; outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 82, 240, .1); }
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: 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='%23667085' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.65; margin-top: 10px; }
.form-ok {
  display: none; padding: 13px 15px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600;
  background: #eafaf1; border: 1px solid #b7e7cd; color: #0d7a43; margin-top: 12px;
}
.form-ok.show { display: block; }

/* ---------- 15. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow); transition: .25s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.contact-card .icon { font-size: 24px; }
.contact-card .t { margin-top: 9px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.contact-card .v { margin-top: 5px; font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.5; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- 16. CTA strip ---------- */
.contact-strip { max-width: var(--maxw); margin: 30px auto 0; padding: 0 20px; }
.contact-box {
  background: var(--primary-grad);
  border-radius: var(--radius-lg); padding: 36px 40px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 22px; color: #fff;
  box-shadow: 0 24px 60px -22px rgba(196, 68, 42, .55);
}
.contact-box .btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-box .btn-white:hover { background: #fff5f2; }
.contact-box .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.contact-box .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.contact-box h3 { font-size: 21px; font-weight: 850; }
.contact-box p { color: #a9b4cc; margin-top: 7px; font-size: 13.8px; }
.contact-box .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 17. Footer ---------- */
footer.site-foot { border-top: 1px solid var(--line); margin-top: 52px; background: #fff; }
.foot-main { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { font-size: 13px; color: var(--muted); line-height: 1.75; max-width: 300px; }
.foot-social { margin-top: 14px; display: flex; gap: 8px; }
.foot-social a {
  width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); transition: .2s;
}
.foot-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.foot-social svg { width: 15px; height: 15px; }
.foot-col h5 { font-size: 13px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: .02em; }
.foot-col a, .foot-col p { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; line-height: 1.65; }
.foot-col a:hover { color: var(--primary); }
.foot-bot {
  border-top: 1px solid var(--line); padding: 16px 20px;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.foot-bot nav { display: flex; gap: 16px; }
.foot-bot a:hover { color: var(--primary); }

/* ---------- 18. Floating actions ---------- */
.float-actions {
  position: fixed; right: 16px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.fa-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 700; color: #fff;
  border: 1px solid rgba(255,255,255,.14); transition: .18s; letter-spacing: .2px;
}
.fa-btn:hover { filter: brightness(1.12); }
.fa-wa { background: #17703c; }
.fa-quote { background: var(--primary); }
.fa-btn svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 520px) {
  .fa-btn span { display: none; }
  .fa-btn { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .fa-btn svg { width: 23px; height: 23px; }
}

/* ---------- 19. Toast ---------- */
#toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #0d7a43; color: #fff; padding: 13px 26px; border-radius: var(--radius); font-size: 14px;
  font-weight: 650; opacity: 0; transition: .3s; z-index: 300; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  max-width: 88vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 20. Detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef2fa; }
.gallery-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-main .badge { position: absolute; top: 14px; left: 14px; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--text); display: grid;
  place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .16); font-size: 17px;
}
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(14, 26, 53, .72);
  color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; opacity: .72; transition: .2s; }
.gallery-thumbs img.on, .gallery-thumbs img:hover { border-color: var(--primary); opacity: 1; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel .code { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.panel h1 { margin-top: 8px; font-size: 23px; font-weight: 850; color: var(--navy); line-height: 1.3; }
.panel .subt { margin-top: 6px; font-size: 13px; color: var(--muted); }
.price-box { margin-top: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-main { font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.price-main small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: 14px; border: 1px solid var(--line); }
.kv div { background: #fff; padding: 11px 13px; }
.kv small { display: block; font-size: 11px; color: var(--muted); }
.kv b { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-top: 2px; display: block; }
.panel .acts { display: grid; gap: 9px; margin-top: 16px; }
.panel .acts .row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-top: 34px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 13px 18px; font-size: 14px; font-weight: 650; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--primary); border-bottom-color: var(--primary); }
.pane { display: none; padding-top: 22px; }
.pane.on { display: block; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-grid div { background: #fff; padding: 13px 16px; }
.spec-grid small { font-size: 11.5px; color: var(--muted); }
.spec-grid b { display: block; margin-top: 3px; font-size: 14px; font-weight: 700; color: var(--navy); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feature-list li { display: flex; gap: 8px; align-items: center; font-size: 13.2px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; }
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }

.report-box { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.score-ring { position: relative; width: 150px; height: 150px; margin: 0 auto 12px; display: grid; place-items: center; }
.score-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score-ring b { font-size: 34px; font-weight: 900; color: var(--primary); }
.score-ring b span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- 21. Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-box {
  background: #fff8e8; border: 1px solid #f0d9a8; border-radius: var(--radius);
  padding: 14px 16px; font-size: 13.2px; color: #7a5200; line-height: 1.7;
}
.tip { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.link-list { display: grid; gap: 8px; }
.link-list a { font-size: 13.5px; color: var(--primary); font-weight: 600; }
.link-list a:hover { text-decoration: underline; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 14px; font-size: 13.5px; }
  .foot-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-main .foot-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .hero h1 { font-size: 34px; }
  .hero-car { display: none; }
  .hero-inner { padding: 48px 20px 84px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .report-box { grid-template-columns: 1fr; }
  .spec-grid, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-right .btn-primary { display: none; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 4px 9px; font-size: 11.5px; }
  .nav { padding: 10px 16px; gap: 8px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 0; padding: 11px 12px; font-size: 13.5px; justify-content: center; }
  .logo { font-size: 16px; gap: 8px; }
  .logo .mark { width: 32px; height: 32px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14.5px; }
  .hero-stats { gap: 26px; }
  .hero-stats .num { font-size: 22px; }
  .section { padding: 40px 16px 12px; }
  .sec-head h2 { font-size: 21px; }
  .page-head h1 { font-size: 25px; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
  .service-card { padding: 15px 12px; }
  .service-card .t { font-size: 13.5px; }
  .service-card .d { font-size: 11.5px; }
  .trust-grid, .case-grid, .steps, .gallery-4 { grid-template-columns: 1fr; }
  .car-grid { grid-template-columns: 1fr; }
  .car-thumb { height: 200px; }
  .promise-bar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .spec-grid, .feature-list { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr 1fr; }
  .foot-main { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 20px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .contact-box { padding: 24px 20px; }
  .contact-box .btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-box .btn-white:hover { background: #fff5f2; }
.contact-box .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.contact-box .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.contact-box h3 { font-size: 18px; }
  .flow-item { grid-template-columns: 1fr; gap: 6px; }
  .flow-item .t { padding-top: 0; }
  .wrap { padding: 0 16px; }
  .panel { padding: 18px; }
  .price-main { font-size: 27px; }
  .tabs button { padding: 11px 13px; font-size: 13px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. Language switch ---------- */
body:not(.lang-zh) .zh { display: none !important; }
body.lang-zh .en { display: none !important; }
/* ---------- 列表分页 ---------- */
.list-footer{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.range-info{font-size:13px;color:var(--muted)}
.range-info b{color:var(--text);font-weight:700}
.pager-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.page-size{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.page-size select{border:1.5px solid var(--line);border-radius:8px;padding:6px 26px 6px 10px;font-size:12.5px;background:var(--card);cursor:pointer;outline:none;appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23667085' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 9px center}
.pager{display:flex;align-items:center;gap:5px}
.pager button{min-width:36px;height:36px;padding:0 10px;border-radius:9px;border:1.5px solid var(--line);background:var(--card);font-size:13.5px;font-weight:650;color:var(--muted);transition:.18s;display:inline-flex;align-items:center;justify-content:center}
.pager button:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}
.pager button.on{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 4px 12px rgba(22,82,240,.28)}
.pager button:disabled{opacity:.4;cursor:not-allowed}
.pager .dots{border:0;background:none;color:#b6bdc9;cursor:default;min-width:24px}
@media(max-width:640px){
  .list-footer{flex-direction:column;align-items:stretch;gap:12px}
  .pager-row{justify-content:space-between}
  .pager button{min-width:32px;height:32px;font-size:12.5px}
}
/* ==========================================================================
   库存页：左侧筛选栏 + 右侧结果
   ========================================================================== */
.inv-layout {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px; align-items: start;
}

/* ---------- 左栏 ---------- */
.inv-side {
  position: sticky; top: 84px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 24px;
  box-shadow: var(--shadow-sm);
}
.inv-side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text);
}
.inv-reset {
  font-size: 11.5px; font-weight: 650; color: var(--muted);
  letter-spacing: .04em; text-transform: none; padding: 3px 8px;
  border-radius: var(--radius-xs); transition: .15s;
}
.inv-reset:hover { color: var(--primary); background: var(--primary-soft); }

.inv-group { padding: 15px 0; border-bottom: 1px solid var(--line); }
.inv-group:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.inv-group h4 {
  font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 9px;
}

/* 左栏里的分类变成竖排列表 */
.inv-tabs { display: flex; flex-direction: column; gap: 2px; border: 0; padding: 0; }
.inv-tabs .cat-tab {
  display: block; width: 100%; text-align: left;
  padding: 7px 10px; border-radius: var(--radius-xs);
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  border: 0; margin: 0; transition: .15s;
}
.inv-tabs .cat-tab:hover { background: var(--surface-2); color: var(--text); }
.inv-tabs .cat-tab.active {
  background: var(--primary-soft); color: var(--primary);
  font-weight: 700; border-bottom-color: transparent;
}

/* 左栏表单控件占满宽度 */
.inv-side .filter-select {
  width: 100%; padding: 9px 32px 9px 11px; font-size: 13.5px;
  border-radius: var(--radius-xs); box-shadow: none;
}
.inv-side input.filter-select { padding-right: 11px; }

.inv-note {
  margin-top: 18px; padding: 14px;
  background: var(--bg-soft); border-radius: var(--radius-sm);
  font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
.inv-note a { display: inline-block; margin-top: 6px; color: var(--primary); font-weight: 700; }
.inv-note a:hover { text-decoration: underline; }

/* ---------- 右栏 ---------- */
.inv-main { min-width: 0; }
.inv-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.inv-toolbar-l { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.inv-toolbar .filter-count { margin: 0; }
.inv-sort { min-width: 190px; }

.inv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .inv-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 28px; }
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .inv-layout { grid-template-columns: 1fr; gap: 20px; }
  .inv-side { position: static; padding: 16px; }
  .inv-group { padding: 12px 0; }
  .inv-tabs { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .inv-tabs .cat-tab { width: auto; padding: 6px 12px; border: 1px solid var(--line); }
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 560px) {
  .inv-grid { grid-template-columns: 1fr; }
}
/* ---------- 首页搜索 ---------- */
.hero-search {
  display: flex; align-items: stretch; gap: 0;
  max-width: 720px; margin-top: 28px;
  background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 6px;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(196,68,42,.1); }



.hero-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hero-search button {
  flex: none; align-self: center; padding: 12px 26px; border-radius: var(--radius-sm);
  background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-primary); transition: .18s;
}
.hero-search button:hover { filter: brightness(1.06); }

.hero-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; font-size: 12.5px;
}
.hero-tags .ht-label { color: var(--muted-2); font-weight: 600; }
.hero-tags a {
  color: var(--text-2); background: rgba(255,255,255,.7);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; transition: .16s;
}
.hero-tags a:hover { color: var(--primary); border-color: var(--primary); background: #fff; }

@media (max-width: 640px) {
  .hero-search { max-width: none; }
  .hero-search button { padding: 10px 16px; font-size: 13px; }
  .hero-tags { font-size: 12px; }
}
/* CTA 条内的按钮：在赭红底上必须拉开对比 */
.contact-box .btn-primary {
  background: #fff; color: var(--primary);
  border: 0; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .38);
  font-weight: 750;
}
.contact-box .btn-primary:hover {
  background: #fff; filter: none; transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .45);
}
.contact-box .btn-white {
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: none;
}
.contact-box .btn-white:hover {
  background: rgba(255, 255, 255, .26); color: #fff;
  border-color: rgba(255, 255, 255, .8);
}
/* 筛选双列：品牌/年份、能源/舵向 并排 */
.inv-row2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
  border-bottom: 1px solid var(--line);
}
.inv-row2 .inv-group { border-bottom: 0; padding: 15px 0; }
.inv-row2 .inv-group h4 { font-size: 11px; letter-spacing: .04em; }
.inv-row2 .filter-select { padding: 9px 26px 9px 10px; font-size: 13px; }

/* 类型改成 2×2 */
.inv-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.inv-tabs .cat-tab {
  padding: 7px 8px; text-align: center; font-size: 13px;
  border: 1px solid var(--line); border-radius: var(--radius-xs);
}
.inv-tabs .cat-tab.active { border-color: var(--primary); }
/* 搜索框内的分段筛选 */
.hs-seg {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4px 14px; border-right: 1px solid var(--line);
  min-width: 0;
}
.hs-seg.hs-grow { flex: 1; border-right: 0; }
.hs-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 1px;
  pointer-events: none;
}
.hs-select {
  border: 0; background: none; outline: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text);
  padding: 2px 18px 2px 0; max-width: 100%;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236f7783' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.hero-search .hs-seg input {
  border: 0; outline: none; background: none; padding: 2px 0;
  font-size: 14px; color: var(--text); width: 100%;
}
.hero-search .hs-seg input::placeholder { color: var(--muted-2); font-weight: 400; }

@media (max-width: 900px) {
  .hero-search { flex-wrap: wrap; max-width: none; }
  .hs-seg { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 10px; }
  .hs-seg.hs-grow { flex: 1 1 100%; border-bottom: 0; }
  .hero-search button { flex: 1 1 100%; margin-top: 4px; }
}