/* =========================================================
   恒港精品二手车 · 车源展示页样式（暗色展厅版）
   纯手写，无外部依赖；离线可打开
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #05080d;
  --bg-soft: #080c12;
  --panel: #0d141d;
  --panel-2: #111a25;
  --panel-3: #16202c;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #eef3fa;
  --text-2: #c2cddb;
  --muted: #8697aa;
  --muted-2: #5f7084;
  --accent: #ff5a1f;
  --accent-2: #ff8a5c;
  --accent-soft: rgba(255, 90, 31, .13);
  --blue: #3f9dff;
  --green: #35d69b;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, .9);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 70px;
  --maxw: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #22303f var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 88% -6%, rgba(255, 90, 31, .07), transparent 62%),
    radial-gradient(800px 600px at -8% 22%, rgba(63, 157, 255, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

/* 细颗粒质感 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(255, 90, 31, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #22303f; border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2f4155; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s, color .18s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(120deg, #ff7b45, #ff4d13);
  color: #180a04;
  font-weight: 700;
  box-shadow: 0 10px 26px -12px rgba(255, 90, 31, .9);
}
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(255, 90, 31, 1); filter: brightness(1.06); }
.btn-dark { background: #f4f7fb; color: #0a0f16; }
.btn-dark:hover { background: #fff; }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .28); color: var(--text); background: rgba(255, 255, 255, .07); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-danger {
  background: rgba(240, 68, 56, .12);
  border-color: rgba(240, 68, 56, .35);
  color: #ff9d94;
}
.btn-danger:hover { background: rgba(240, 68, 56, .2); color: #ffc4be; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.icon-btn svg { width: 18px; height: 18px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 13, .72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 1); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, #ff7b45, #ff4d13);
  color: #180a04;
  box-shadow: 0 10px 24px -12px rgba(255, 90, 31, 1);
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong { font-size: 16px; letter-spacing: .4px; color: #fff; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.header-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header-nav a {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .18s;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right .25s var(--ease);
}
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 80% 4%, rgba(63, 120, 255, .15), transparent 62%),
    radial-gradient(900px 560px at 6% 100%, rgba(255, 90, 31, .14), transparent 64%),
    #05080d;
  border-bottom: 1px solid var(--line);
}
.hero-aura {
  position: absolute;
  right: -8%;
  bottom: -22%;
  width: 880px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(255, 90, 31, .28), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .038) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse at 52% 42%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 52% 42%, #000 0%, transparent 74%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 660px;
  padding-top: 72px;
  padding-bottom: 78px;
}
.hero-copy { max-width: 600px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: 12.5px;
  color: var(--text-2);
  letter-spacing: .5px;
}
.m-stripes { display: inline-flex; gap: 2px; transform: skewX(-18deg); }
.m-stripes i { display: block; width: 4px; height: 13px; border-radius: 1px; }
.m-stripes i:nth-child(1) { background: #2f8fff; }
.m-stripes i:nth-child(2) { background: #7b3fe4; }
.m-stripes i:nth-child(3) { background: #ff3b30; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.14;
  letter-spacing: -1px;
  font-weight: 800;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ff9a63 0%, #ff5a1f 44%, #ffc46b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 18px;
  max-width: 30em;
  font-size: 15px;
  color: var(--muted);
}

.hero-search {
  max-width: 470px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hero-search-label {
  display: block;
  margin-bottom: 11px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .5px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-radius: 13px;
  background: #f6f8fb;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9);
}
.search-icon { width: 20px; height: 20px; flex: none; color: #6b7789; }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #0d131c;
}
.search-box input::placeholder { color: #98a2b3; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear {
  border: 0;
  background: #e8edf4;
  color: #4b5a6b;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.search-clear:hover { background: #dbe3ec; color: #16202c; }

.hero-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 12px;
  color: var(--muted-2);
}
.hero-hints button {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.hero-hints button:hover { background: var(--accent-soft); border-color: rgba(255, 90, 31, .4); color: #ffb894; }
.hero-note { margin-top: 14px; font-size: 11.5px; color: var(--muted-2); }

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 470px;
}
.stat { display: flex; flex-direction: column; gap: 1px; }
.stat strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat strong em { font-style: normal; color: var(--accent); font-size: 17px; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .3px; }

/* 车辆主视觉：实拍渲染铺满首屏 */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 36%;
  filter: saturate(1.05) contrast(1.03) brightness(.82);
  transform: scale(1.22);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #05080d 0%, rgba(5, 8, 13, .97) 22%, rgba(5, 8, 13, .84) 40%, rgba(5, 8, 13, .44) 62%, rgba(5, 8, 13, .3) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, .5) 0%, rgba(5, 8, 13, 0) 22%, rgba(5, 8, 13, 0) 58%, rgba(5, 8, 13, .95) 100%),
    rgba(5, 8, 13, .16);
}
.hero-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: rgba(255, 255, 255, .34);
  text-transform: uppercase;
}
.hero-caption b { color: rgba(255, 255, 255, .68); font-weight: 700; letter-spacing: 2px; }

/* ---------- 筛选栏 ---------- */
.toolbar-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(5, 8, 13, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.toolbar { padding-top: 15px; padding-bottom: 13px; }
.filter-line { display: flex; align-items: flex-start; gap: 14px; }
.filter-line + .filter-line { margin-top: 8px; }
.filter-label {
  flex: none;
  width: 34px;
  padding-top: 7px;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: .5px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: rgba(255, 255, 255, .24); color: #fff; }
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #180a04;
  font-weight: 700;
  box-shadow: 0 8px 20px -12px rgba(255, 90, 31, .9);
}
.chip.is-active em { color: rgba(24, 10, 4, .6); }

.toolbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.result-count { font-size: 13px; color: var(--muted); }
.result-count b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.sort-select { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); }
.sort-select select {
  height: 32px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c131b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238697aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text-2);
  font-size: 12.5px;
  appearance: none;
  cursor: pointer;
}
.sort-select select:hover { border-color: rgba(255, 255, 255, .2); }

/* ---------- 区块标题 ---------- */
.section-head { margin-bottom: 24px; }
.section-head h2 {
  position: relative;
  padding-left: 16px;
  font-size: 23px;
  letter-spacing: -.4px;
  font-weight: 800;
  color: #fff;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff9a63, #ff4d13);
  box-shadow: 0 0 16px rgba(255, 90, 31, .8);
}
.section-head p { margin-top: 8px; padding-left: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- 车源网格 ---------- */
.inventory { padding-top: 46px; padding-bottom: 10px; }
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111926 0%, #0c121a 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: cardIn .55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
  cursor: pointer;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 92, .9), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 31, .38);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 90, 31, .12);
}
.card:hover::after { opacity: 1; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0f16;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 8, 13, .18) 0%, transparent 32%, transparent 62%, rgba(5, 8, 13, .75) 100%);
  pointer-events: none;
}

.badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  backdrop-filter: blur(6px);
}
.badge-featured {
  background: linear-gradient(120deg, #ff8a5c, #ff4d13);
  color: #180a04;
  box-shadow: 0 6px 18px -6px rgba(255, 90, 31, .9);
}
.badge-sold {
  inset: 0;
  height: auto;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 13, .62);
  color: #fff;
  font-size: 21px;
  letter-spacing: 8px;
  z-index: 3;
}
.media-count {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(5, 8, 13, .6);
  backdrop-filter: blur(8px);
  color: #e8eef6;
  font-size: 11px;
  letter-spacing: .3px;
}
.media-count svg { width: 13px; height: 13px; }
.copy-cover {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(5, 8, 13, .58);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, background .2s;
}
.copy-cover svg { width: 15px; height: 15px; }
.card:hover .copy-cover, .copy-cover:focus-visible { opacity: 1; transform: translateY(0); }
.copy-cover:hover { background: var(--accent); border-color: var(--accent); color: #180a04; }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 17px 17px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
  min-height: 20px;
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border: 1px solid rgba(255, 90, 31, .22);
  border-radius: 5px;
  background: rgba(255, 90, 31, .1);
  color: #ffb08a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
}
.tag.is-muted { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--muted); }
.card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -.1px;
  color: #f2f6fb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--muted);
}
.card-specs li { display: inline-flex; align-items: center; }
.card-specs li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 7px;
  border-radius: 50%;
  background: #3b4c60;
}
.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}
.price { display: flex; align-items: baseline; gap: 2px; color: var(--accent-2); }
.price strong {
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #ffb185, #ff5a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price .unit { font-size: 12.5px; font-weight: 600; color: var(--accent-2); }
.price s {
  margin-left: 7px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.card-cta {
  flex: none;
  font-size: 12.5px;
  color: var(--muted);
  transition: color .18s, transform .18s;
}
.card:hover .card-cta { color: var(--accent-2); transform: translateX(2px); }

/* ---------- 空状态 ---------- */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 62px 20px 72px;
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .015);
}
.empty-icon { color: #46586d; }
.empty-icon svg { width: 64px; height: 64px; }
.empty h3 { margin-top: 14px; font-size: 18px; color: #fff; }
.empty p { margin-top: 6px; max-width: 30em; font-size: 13.5px; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- 店铺介绍 ---------- */
.about { padding-top: 58px; padding-bottom: 70px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: feat;
}
.feature {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #101823 0%, #0b1118 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease);
}
.feature:hover { border-color: rgba(255, 90, 31, .3); transform: translateY(-3px); }
.feature::before {
  counter-increment: feat;
  content: "0" counter(feat);
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 90, 31, .24);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 15px; font-size: 15.5px; color: #fff; }
.feature p { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* 诚信服务 · 10 大保障 */
.guarantee-layout {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.guarantee-side { display: flex; flex-direction: column; gap: 16px; }
.guarantee-side .feature { flex: 1; display: flex; flex-direction: column; }
.guarantee-side .feature::before { display: none; }
.guarantee-side .feature h3 { margin-top: 14px; }
.guarantee-side .feature p { margin-top: 6px; }

.guarantee-panel {
  position: relative;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(255, 90, 31, .12), transparent 62%),
    linear-gradient(180deg, #101823 0%, #0a1017 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guarantee-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.guarantee-head strong { font-size: 19px; letter-spacing: -.3px; color: #fff; }
.guarantee-head span {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent-2);
}
.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 13px 22px;
}
.guarantee-list li { display: flex; align-items: flex-start; gap: 10px; }
.guarantee-list .num {
  flex: none;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 90, 31, .35);
  border-radius: 50%;
  background: rgba(255, 90, 31, .08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.guarantee-list strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--text); }
.guarantee-list em { display: block; font-style: normal; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.shop-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 240px at 96% 0%, rgba(255, 90, 31, .14), transparent 62%),
    linear-gradient(180deg, #101823 0%, #0a1017 100%);
  box-shadow: var(--shadow);
}
.shop-main { display: flex; align-items: flex-start; gap: 18px; }
.shop-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  background: linear-gradient(140deg, #ff7b45, #ff4d13);
  color: #180a04;
  box-shadow: 0 16px 34px -16px rgba(255, 90, 31, .95);
}
.shop-avatar svg { width: 40px; height: 40px; }
.shop-info h3 { font-size: 19px; letter-spacing: -.2px; color: #fff; }
.shop-intro { margin-top: 7px; max-width: 48em; font-size: 13.5px; color: var(--text-2); }
.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 15px;
  font-size: 13px;
  color: var(--muted);
}
.shop-meta li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.shop-meta li > span, .shop-meta li > a { overflow-wrap: anywhere; }
.shop-meta svg { width: 15px; height: 15px; color: var(--muted-2); flex: none; }
.shop-meta b { color: #fff; font-weight: 600; }
.shop-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #04070b;
  color: var(--muted);
  padding: 46px 0 34px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
.footer-brand .brand-mark svg { width: 22px; height: 22px; }
.footer-brand strong { font-size: 16px; }
.footer-brand p { font-size: 11px; color: var(--muted-2); letter-spacing: 1px; text-transform: uppercase; }
.footer-contact p { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 2; }
.footer-contact p span:first-child { flex: none; white-space: nowrap; color: var(--muted-2); }
.footer-contact p span:last-child { overflow-wrap: anywhere; }
.footer-contact b { color: var(--text-2); font-weight: 500; }
.footer-contact a:hover { color: var(--accent-2); }
.footer-note {
  flex-basis: 100%;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}
.footer-copy { font-size: 12px; color: var(--muted-2); }

/* ---------- 手机底部条 ---------- */
.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 45;
  display: none;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(9, 14, 20, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 1);
}
.mobile-bar a, .mobile-bar button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mobile-bar svg { width: 17px; height: 17px; }
.mobile-bar-call {
  background: linear-gradient(120deg, #ff7b45, #ff4d13);
  color: #180a04;
}
.mobile-bar-chat { background: rgba(255, 255, 255, .07); color: var(--text); }

/* ---------- 通用弹层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .2s ease both;
}
.modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 940px;
  max-height: min(92vh, 920px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #0b1118;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: panelIn .34s var(--ease) both;
}
.modal-panel:focus { outline: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(5, 8, 13, .6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.modal-close:hover { background: rgba(255, 90, 31, .9); border-color: transparent; color: #180a04; }
.modal-close svg { width: 18px; height: 18px; }
.modal-close.is-static {
  position: static;
  background: rgba(255, 255, 255, .06);
  border-color: var(--line);
  color: var(--text-2);
  flex: none;
}
.modal-close.is-static:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: var(--line-strong); }

/* ---------- 车辆详情 ---------- */
.detail-panel { max-width: 1000px; overflow-y: auto; }
.gallery {
  position: relative;
  background: #04070b;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; transition: transform .45s var(--ease); }
.gallery-slide { flex: 0 0 100%; }
.gallery-slide img {
  width: 100%;
  height: clamp(230px, 34vw, 400px);
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(5, 8, 13, .55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.gallery-nav:hover { background: var(--accent); border-color: var(--accent); color: #180a04; }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-prev { left: 14px; transform: translateY(-50%) rotate(180deg); }
.gallery-next { right: 14px; }
.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(5, 8, 13, .6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none;
  width: 68px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #131c26;
  cursor: pointer;
  opacity: .5;
  transition: opacity .18s, border-color .18s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.is-active { border-color: var(--accent); opacity: 1; }

.detail-body { padding: 26px 30px 32px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.detail-title-wrap h2 { font-size: 24px; line-height: 1.35; letter-spacing: -.5px; color: #fff; }
.detail-sub { margin-top: 8px; font-size: 13px; color: var(--muted); }
.detail-price { flex: none; text-align: right; }
.detail-price .price { justify-content: flex-end; }
.detail-price .price strong { font-size: 32px; }
.detail-new { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-2); }
.detail-monthly { margin-top: 3px; font-size: 12px; color: var(--muted); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}
.spec { padding: 13px 15px; background: #0e151e; }
.spec dt { font-size: 11.5px; color: var(--muted-2); letter-spacing: .4px; }
.spec dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: #eef3fa; }

.detail-section { margin-top: 28px; }
.detail-section h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  letter-spacing: .3px;
  color: #fff;
}
.detail-section h3::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 90, 31, .8);
}
.detail-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-tags .tag { height: 25px; padding: 0 10px; font-size: 12px; }

/* 图片直链面板 */
.links-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #080d14;
  overflow: hidden;
}
.links-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #0c131b;
}
.links-head strong { font-size: 13.5px; color: #fff; }
.links-head span { font-size: 12px; color: var(--muted-2); }
.links-head .btn { margin-left: auto; height: 30px; padding: 0 12px; font-size: 12px; }
.link-list { max-height: 196px; overflow-y: auto; }
.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  font-size: 12px;
}
.link-item:last-child { border-bottom: 0; }
.link-item code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9fd0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
}
.link-item button {
  flex: none;
  height: 27px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.link-item button:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

/* 联系方式卡片 */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 90, 31, .22);
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(255, 90, 31, .18), transparent 60%),
    linear-gradient(120deg, #141c26, #0b1118);
}
.contact-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff7b45, #ff4d13);
  color: #180a04;
}
.contact-avatar svg { width: 23px; height: 23px; }
.contact-info { flex: 1; min-width: 0; }
.contact-info strong { font-size: 14px; color: #fff; }
.contact-info p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.contact-actions { display: flex; gap: 8px; flex: none; }
.contact-actions .btn { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- 管理面板 ---------- */
.admin-panel { max-width: 820px; max-height: min(92vh, 920px); }
.admin-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px 16px;
  border-bottom: 1px solid var(--line);
}
.admin-head h2 { font-size: 19px; color: #fff; }
.admin-head p { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.admin-head .modal-close { margin-left: auto; }
.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: #0a1017;
}
.admin-tab {
  position: relative;
  padding: 13px 4px;
  margin-right: 20px;
  border: 0;
  background: none;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}
.admin-tab:hover { color: var(--text-2); }
.admin-tab.is-active { color: #fff; font-weight: 700; }
.admin-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 90, 31, .8);
}
.admin-body { flex: 1; overflow-y: auto; padding: 20px 26px 30px; }
.admin-hint { margin-bottom: 14px; font-size: 12.5px; color: var(--muted); }
.admin-hint b { color: var(--accent-2); }

.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0e151e;
  transition: border-color .18s;
}
.admin-item:hover { border-color: rgba(255, 255, 255, .16); }
.admin-thumb {
  flex: none;
  width: 78px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #131c26;
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item-main { flex: 1; min-width: 0; }
.admin-item-main strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.admin-item-meta .price { font-size: 12px; }
.admin-item-meta .price strong { display: inline; font-size: 13px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 11px;
  background: rgba(53, 214, 155, .12);
  color: #63e2b0;
}
.status-pill.is-sold { background: rgba(255, 255, 255, .06); color: var(--muted); }
.admin-item-actions { display: flex; gap: 6px; flex: none; }
.admin-item-actions button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.admin-item-actions button:hover { border-color: var(--line-strong); color: #fff; background: rgba(255, 255, 255, .06); }
.admin-item-actions .danger:hover { border-color: rgba(240, 68, 56, .4); color: #ff9d94; background: rgba(240, 68, 56, .12); }

/* 表单 */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.field > label span { color: var(--accent); }
.field-hint { font-size: 11.5px; color: var(--muted-2); font-weight: 400; }
.field-hint b { color: var(--accent-2); }
.field input[type="text"],
.field input[type="number"],
.field input[type="month"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #080d14;
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #0a1018;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .14);
}
.field textarea { resize: vertical; min-height: 78px; line-height: 1.75; }
.field input::placeholder, .field textarea::placeholder { color: #4e5f73; }
.field select option { background: #0b1119; color: var(--text); }
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 26px;
  font-size: 13px;
  color: var(--text-2);
}
.checkbox-field input { width: 16px; height: 16px; accent-color: var(--accent); }
.checkbox-field label { font-size: 13px !important; font-weight: 400 !important; color: var(--text-2) !important; }

.image-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.image-preview figure {
  position: relative;
  width: 76px;
  height: 57px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #131c26;
  border: 1px solid var(--line);
}
.image-preview img { width: 100%; height: 100%; object-fit: cover; }

.form-errors {
  display: none;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(240, 68, 56, .35);
  border-radius: 10px;
  background: rgba(240, 68, 56, .1);
  color: #ffb4ab;
  font-size: 12.5px;
  line-height: 1.8;
}
.form-errors.is-visible { display: block; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-actions .grow { flex: 1; }

.note-box {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.85;
}
.note-box b { color: var(--text-2); }
.note-box + .note-box { margin-top: 10px; }
.backup-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.backup-list .btn { justify-content: flex-start; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 16px);
  max-width: min(88vw, 480px);
  padding: 11px 20px;
  border-radius: 999px;
  background: #eef3fa;
  color: #0a1017;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #ff4d4d; color: #fff; }

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 300;
  padding: 14px 18px;
  border-radius: 12px;
  background: #b42318;
  color: #fff;
  font-size: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { min-height: 600px; padding-top: 54px; padding-bottom: 60px; }
  .hero-photo { object-position: 74% 28%; }
  .hero-search { max-width: 560px; }
  .hero-stats { max-width: 560px; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .shop-card { flex-direction: column; align-items: stretch; }
  .shop-actions { flex-direction: row; }
  .shop-actions .btn { flex: 1; }
  .guarantee-layout { grid-template-columns: 1fr; }
  .guarantee-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .brand-text small { display: none; }
  .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .header-actions .icon-btn { width: 35px; height: 35px; }
  .header-actions .btn-sm { height: 35px; padding: 0 13px; font-size: 12.5px; gap: 5px; }
  .header-actions .btn-sm svg { width: 15px; height: 15px; }

  .hero-inner { min-height: 0; padding-top: 46px; padding-bottom: 52px; }
  .hero-photo { object-position: 72% 16%; filter: saturate(1.05) brightness(.82); }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(5, 8, 13, .5) 0%, rgba(5, 8, 13, .76) 34%, rgba(5, 8, 13, .96) 100%);
  }
  .hero-caption { display: none; }
  .hero h1 { font-size: 31px; letter-spacing: -.6px; margin-top: 16px; }
  .hero-desc { font-size: 13.5px; margin-top: 12px; }
  .hero-search { margin-top: 22px; padding: 16px; border-radius: 16px; }
  .search-box { height: 48px; }
  .hero-stats { gap: 26px; margin-top: 24px; padding-top: 18px; }
  .stat strong { font-size: 22px; }

  .toolbar { padding-top: 11px; padding-bottom: 9px; }
  .filter-line { gap: 8px; }
  .filter-label { width: 30px; padding-top: 6px; font-size: 11.5px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 30px; padding: 0 12px; font-size: 12.5px; }
  .toolbar-meta { margin-top: 10px; padding-top: 10px; }

  .inventory { padding-top: 30px; padding-bottom: 86px; }
  .section-head h2 { font-size: 20px; }
  .section-head p { font-size: 12.5px; }
  .car-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-body { padding: 13px 15px 15px; }
  .card-title { font-size: 15px; }
  .price strong { font-size: 23px; }
  .copy-cover { opacity: 1; transform: none; }

  .about { padding-top: 40px; padding-bottom: 30px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature { padding: 17px; display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; }
  .feature::before { font-size: 40px; top: 4px; right: 14px; }
  .feature-icon { grid-row: span 2; width: 40px; height: 40px; }
  .feature h3 { margin-top: 0; }
  .feature p { margin-top: 3px; }
  .guarantee-side { grid-template-columns: 1fr; gap: 10px; }
  .guarantee-panel { padding: 18px 16px 20px; }
  .guarantee-head { padding-bottom: 12px; margin-bottom: 14px; }
  .guarantee-head strong { font-size: 17px; }
  .guarantee-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 12px; }
  .guarantee-list .num { width: 25px; height: 25px; font-size: 10.5px; }
  .shop-card { padding: 20px; gap: 18px; border-radius: 20px; }
  .shop-avatar { width: 52px; height: 52px; border-radius: 15px; }
  .shop-avatar svg { width: 32px; height: 32px; }
  .shop-info h3 { font-size: 17px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-copy { margin-top: 4px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  .modal { padding: 0; align-items: stretch; }
  .modal-panel { max-width: none; max-height: none; height: 100%; border-radius: 0; border: 0; }
  .detail-panel { overflow-y: auto; }
  .gallery-slide img { height: 48vw; min-height: 210px; }
  .detail-body { padding: 18px 16px 34px; }
  .detail-head { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  .detail-price { text-align: left; }
  .detail-price .price { justify-content: flex-start; }
  .detail-price .price strong { font-size: 30px; }
  .detail-new { display: inline; margin-left: 8px; }
  .detail-title-wrap h2 { font-size: 19px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
  .spec { padding: 11px 13px; }
  .contact-card { flex-wrap: wrap; padding: 16px; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1; }
  .gallery-nav { width: 38px; height: 38px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }

  .admin-head { padding: 16px 16px 12px; }
  .admin-head p { display: none; }
  .admin-tabs { padding: 0 16px; }
  .admin-tab { margin-right: 16px; font-size: 13px; }
  .admin-body { padding: 16px 16px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-item { flex-wrap: wrap; }
  .admin-thumb { width: 64px; height: 48px; }
  .admin-item-actions { width: 100%; justify-content: flex-end; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
