/* ============================================================
   鼎力机械 · 前台组件
   Header / Hero / Product / Filter / PDP / Footer / Mobile bar
   ============================================================ */

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 36px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; }
.topbar__list li { display: flex; align-items: center; gap: 6px; }
.topbar__list svg { width: 14px; height: 14px; opacity: .7; }
.topbar a:hover { color: var(--brand); }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-2); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--brand);
  border-radius: var(--r-sm);
  font-size: 17px; font-weight: 800; color: var(--ink);
  letter-spacing: -.04em;
}
.logo__text { display: grid; line-height: 1.15; }
.logo__cn { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.logo__en {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface-2); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__phone {
  display: flex; align-items: center; gap: 9px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.header__phone svg { width: 20px; height: 20px; color: var(--brand-600); }
.header__phone span { display: grid; line-height: 1.25; }
.header__phone b {
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.header__phone i { font-style: normal; font-size: 11px; color: var(--ink-400); }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: var(--r-sm);
  place-items: center;
  border: 1px solid var(--line);
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
}

/* ---------- 移动抽屉 ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--surface);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
}
.drawer__close svg { width: 22px; height: 22px; }
.drawer__body { overflow-y: auto; padding: 8px var(--gutter) 24px; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.drawer__link small { font-size: 12px; color: var(--ink-400); font-weight: 400; }
.drawer__link.is-active { color: var(--brand-600); }
.drawer__foot {
  display: grid;
  gap: 10px;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.drawer__tel {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-num);
  font-size: 20px; font-weight: 700;
}
.drawer__tel svg { width: 20px; height: 20px; color: var(--brand-600); }

body.is-locked { overflow: hidden; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(10, 12, 16, .93) 0%, rgba(10, 12, 16, .74) 42%, rgba(10, 12, 16, .18) 100%),
    linear-gradient(0deg, rgba(10, 12, 16, .55) 0%, transparent 45%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  min-height: clamp(520px, 74vh, 720px);
  padding-block: clamp(56px, 8vw, 88px);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 100px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .06);
}
.hero__tag b { color: var(--brand); font-weight: 600; }

.hero h1 { margin-top: 22px; max-width: 780px; }
@media (max-width: 1200px) { .hero h1 { max-width: none; } }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero__desc {
  margin-top: 18px;
  max-width: 46ch;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.8;
  color: rgba(255, 255, 255, .8);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero__stat b i { font-style: normal; font-size: .55em; margin-left: 2px; color: var(--brand); }
.hero__stat span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* 首屏右侧库存速览 */
.stock-card {
  background: rgba(14, 16, 20, .66);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32);
}
.stock-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .66);
}
.stock-card__head i {
  font-style: normal;
  display: inline-flex; align-items: center; gap: 6px;
  color: #4ADE80;
}
.stock-card__head i::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .22);
}
.stock-card ul { display: grid; gap: 2px; margin-top: 6px; }
.stock-card li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}
.stock-card li:last-child { border-bottom: 0; }
.stock-card img {
  width: 44px; height: 34px;
  object-fit: cover;
  border-radius: 3px;
}
.stock-card__name { font-size: 13px; font-weight: 500; }
.stock-card__sub { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.stock-card__price {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; gap: 34px; }
  .stock-card { display: none; }
  .hero__media img { object-position: 62% 52%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, rgba(10, 12, 16, .78) 42%, rgba(10, 12, 16, .95) 100%);
  }
}
@media (max-width: 560px) {
  .hero__stats { gap: 18px 28px; }
  .hero__stat b { font-size: 22px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ---------- 快速选型 ---------- */
.quickpick {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}
.quickpick__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.quickpick .field > label { font-size: 11.5px; color: var(--ink-400); font-weight: 500; letter-spacing: .02em; }
.quickpick .select { border-color: var(--line); }
.quickpick .btn { min-height: 44px; }
@media (max-width: 900px) {
  .quickpick__card { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .quickpick__card .btn { grid-column: 1 / -1; }
  .quickpick { margin-top: -28px; }
}

/* ---------- 品牌墙 ---------- */
.brandwall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brandwall a {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 84px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.brandwall a:hover { background: var(--brand-050); }
.brandwall b { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.brandwall span { font-size: 11px; color: var(--ink-400); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .brandwall { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 产品网格 ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 1200px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 列表页有侧栏，列数单独控制 */
.catalog .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .catalog .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog .grid-products { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-products { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--sh-2);
  transform: translateY(-3px);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.card__fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--sh-1);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.card:hover .card__fav { opacity: 1; }
.card__fav svg { width: 16px; height: 16px; }

.card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.card__brand {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.card__title {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.card__title a:hover { color: var(--brand-600); }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.card__meta svg { width: 13px; height: 13px; opacity: .55; }

.card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card__price b {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.card__price b i { font-style: normal; font-size: 13px; font-weight: 600; margin-right: 1px; }
.card__price small { font-size: 12px; color: var(--ink-400); }
.card__price em {
  font-style: normal;
  margin-left: auto;
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* ---------- 吨位选型 ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }

.cat {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  overflow: hidden;
}
.cat:hover { border-color: var(--brand); background: var(--brand-050); }
.cat__range {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.cat__range i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--ink-400); margin-left: 3px; }
.cat__name { font-size: 15px; font-weight: 600; }
.cat__desc { font-size: 12.5px; color: var(--ink-500); line-height: 1.6; }
.cat__no {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--ink-300);
}

/* ---------- 服务保障 ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
.feat {
  background: var(--surface);
  padding: 26px 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.feat__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-050);
  color: var(--brand-600);
}
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 16px; font-weight: 600; }
.feat p { font-size: 13px; line-height: 1.7; color: var(--ink-500); }

/* ---------- 实景画廊 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface-3);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 12, 16, .6), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery a:hover::after { opacity: 1; }
.gallery figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--dur) var(--ease);
}
.gallery a:hover figcaption { opacity: 1; transform: none; }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .g-wide { grid-column: span 2; }
}

/* ---------- 询价横幅 ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { color: rgba(255, 255, 255, .72); margin-top: 14px; max-width: 40ch; }
.cta-band__points { display: grid; gap: 10px; margin-top: 26px; }
.cta-band__points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
}
.cta-band__points svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

.quote-form {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  color: var(--ink);
  box-shadow: var(--sh-3);
}
.quote-form h3 { font-size: 19px; font-weight: 700; }
.quote-form > p { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
.quote-form .fields { display: grid; gap: 12px; margin-top: 18px; }
.quote-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form .agree {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--ink-500); line-height: 1.6;
}
.quote-form .agree input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--brand-600); }
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .quote-form .row2 { grid-template-columns: 1fr; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: #0C0E11; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 5vw, 64px);
}
.footer__brand .logo__en { color: rgba(255, 255, 255, .38); }
.footer__brand p { margin-top: 16px; max-width: 34ch; line-height: 1.8; }
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: var(--brand); }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 9px; line-height: 1.6; }
.footer__contact svg { width: 15px; height: 15px; margin-top: 3px; opacity: .55; flex: none; }
.footer__tel {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.footer__bottom a:hover { color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__main { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 移动端底部固定条 ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar a.is-primary { background: var(--brand); color: var(--ink); font-weight: 600; }
@media (max-width: 1080px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 54px; }
}

/* ---------- 内页头部 ---------- */
.page-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 4vw, 48px);
}
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-400);
}
.crumb a:hover { color: var(--ink); }
.crumb svg { width: 12px; height: 12px; opacity: .5; }
.page-head h1 { margin-top: 12px; }
.page-head p { margin-top: 10px; max-width: 62ch; color: var(--ink-500); font-size: 14.5px; }

/* ---------- 产品列表页 ---------- */
.catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
@media (max-width: 1023px) { .catalog { grid-template-columns: 1fr; } }

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px 16px 16px;
}
.filter-group { padding-block: 14px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; margin-bottom: 11px;
}
.filter-group h4 span { font-size: 11px; color: var(--ink-400); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-700);
  background: var(--surface);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ink-300); }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 500;
}
.chip.is-on:hover { background: var(--ink); }

.filter-toggle { display: none; }
@media (max-width: 1023px) {
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 130;
    max-height: 82vh;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    transform: translateY(101%);
    transition: transform .32s var(--ease);
    box-shadow: var(--sh-3);
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .filters.is-open { transform: none; }
  .filters__head {
    position: sticky; top: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0 10px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    font-size: 15px; font-weight: 600;
  }
}
.filters__head { display: none; }
.filters__mask {
  position: fixed; inset: 0; z-index: 125;
  background: rgba(10, 12, 16, .42);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.filters__mask.is-on { opacity: 1; visibility: visible; }

.result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.result-bar__count { font-size: 13.5px; color: var(--ink-500); }
.result-bar__count b { color: var(--ink); font-family: var(--font-num); font-size: 15px; }
.result-bar .spacer { margin-left: auto; }
.result-bar .select { min-height: 36px; width: auto; min-width: 132px; font-size: 13px; padding-block: 6px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.active-filters .badge { height: 28px; padding: 0 10px; gap: 6px; }
.active-filters button { display: inline-flex; }
.active-filters svg { width: 12px; height: 12px; }

/* ---------- 空状态 / 分页 ---------- */
.empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 72px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  color: var(--ink-500);
  font-size: 14px;
}
.empty svg { width: 40px; height: 40px; opacity: .3; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager span {
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-family: var(--font-num);
}
.pager a:hover { border-color: var(--ink); }
.pager .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-disabled { opacity: .4; }

/* ---------- 产品详情 ---------- */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}
@media (max-width: 1023px) { .pdp { grid-template-columns: 1fr; } }

.pdp__gallery { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1023px) { .pdp__gallery { position: static; } }

.pdp__main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
}
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; max-width: 460px; }
.pdp__thumbs button {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
  background: var(--surface-3);
}
.pdp__thumbs button.is-on { border-color: var(--brand); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pdp h1 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.pdp__sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-500); }

.price-box {
  margin-top: 22px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.price-box__label { font-size: 12px; color: var(--ink-400); }
.price-box__value {
  display: flex; align-items: baseline; gap: 6px; margin-top: 4px;
}
.price-box__value b {
  font-family: var(--font-num);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.price-box__value b i { font-style: normal; font-size: 16px; font-weight: 600; }
.price-box__value small { font-size: 12.5px; color: var(--ink-500); }
.price-box__note { font-size: 12px; color: var(--ink-500); margin-top: 6px; }

.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@media (max-width: 480px) { .pdp__actions { grid-template-columns: 1fr; } }

.pdp__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pdp__facts div { background: var(--surface); padding: 12px 14px; }
.pdp__facts dt { font-size: 11.5px; color: var(--ink-400); }
.pdp__facts dd {
  margin: 3px 0 0;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
}

.seller {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.seller__avatar {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-050);
  color: var(--brand-600);
  font-weight: 700;
  font-size: 16px;
}
.seller b { font-size: 14px; display: block; }
.seller span { font-size: 12px; color: var(--ink-500); }
.seller__tel {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-600);
}

/* 参数表：移动端横向滚动 + 首列吸附 */
.spec-wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.spec-table { min-width: 100%; font-size: 13.5px; }
.spec-table th, .spec-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec-table thead th {
  background: var(--surface-2);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-500);
}
.spec-table tbody th {
  font-weight: 500;
  color: var(--ink-500);
  background: var(--surface);
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--line);
  min-width: 128px;
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td { font-family: var(--font-num); }
.spec-table .is-hl { background: var(--brand-050); }
@media (max-width: 767px) {
  .spec-table { font-size: 12.5px; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .spec-table tbody th { min-width: 104px; }
}
.spec-hint { display: none; font-size: 12px; color: var(--ink-400); margin-top: 8px; }
@media (max-width: 767px) { .spec-hint { display: flex; align-items: center; gap: 5px; } }

/* 详情内容区 */
.prose { max-width: 68ch; }
.prose h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.prose p { margin-bottom: 12px; color: var(--ink-700); line-height: 1.85; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; color: var(--ink-700); line-height: 1.75; }
.prose li::before {
  content: "";
  position: absolute; left: 3px; top: 10px;
  width: 5px; height: 5px;
  background: var(--brand);
  border-radius: 1px;
}

/* ---------- 提示条 ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 84px;
  z-index: 200;
  transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

/* ---------- 数据表格（分期方案等） ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.data-table { font-size: 14px; min-width: 680px; }
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table thead th {
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: .02em;
}
.data-table td { color: var(--ink-700); }
.data-table td b { color: var(--ink); font-weight: 600; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .is-hl td { background: var(--brand-050); }
.data-table td:first-child { color: var(--ink); }
@media (max-width: 767px) {
  .data-table { font-size: 13px; min-width: 600px; }
  .data-table th, .data-table td { padding: 12px 13px; }
}

/* ---------- 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.steps__no {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.steps p { font-size: 13px; line-height: 1.7; color: var(--ink-500); }

/* ---------- 数字行 ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-block: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 767px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stats-row > div { padding: 26px 6px; background: var(--ink); }
.stats-row b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stats-row b i { font-style: normal; font-size: .45em; margin-left: 3px; color: var(--brand); }
.stats-row span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }

/* ---------- 关于页 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 10px;
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r);
}
.about-media img:first-child { grid-row: span 2; height: 100%; }
@media (max-width: 560px) {
  .about-media { grid-template-rows: 130px 130px; }
}

.timeline { display: grid; gap: 0; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline b {
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-600);
}
.timeline h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline p { font-size: 13px; color: var(--ink-500); line-height: 1.7; }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 64px 1fr; gap: 12px; }
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.contact-card__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-050);
  color: var(--brand-600);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 13px; color: var(--ink-500); font-weight: 500; }
.contact-card b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.contact-card b.sm { font-size: 15px; font-family: var(--font); font-weight: 600; }
.contact-card p { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }

.map-box {
  position: relative;
  margin-top: 16px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, #EEF0F3 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #EEF0F3 0 1px, transparent 1px 34px),
    var(--surface-2);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
}
.map-box__pin {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--brand);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  margin: 0 auto 10px;
}
.map-box__pin svg { width: 18px; height: 18px; transform: rotate(45deg); }
.map-box p { font-size: 13px; color: var(--ink-500); }
.map-box b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }

/* ---------- 简易试算器 ---------- */
.calc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } }
.calc [data-calc-out] {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-500);
}
.calc [data-calc-out] b { font-size: 17px; color: var(--ink); }
