/* ============================================================
   VASTOP — warm editorial + colour accents
   ============================================================ */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-sunken: #f2ece1;
  --surface-contrast: #e8dfd0;
  --text: #1b1a17;
  --text-secondary: #524f47;
  --text-muted: #6e6960;
  --border: #e3dacb;
  --border-strong: #9a9284;
  --accent: #c2542d;
  --accent-hover: #a64322;
  --accent-soft: #f8e6dd;
  --accent-2: #2f6b5e;
  --accent-3: #d9a03c;
  --accent-4: #3e6e8e;
  --on-accent: #fffaf5;
  --danger: #a03a2f;
  --dark-bg: #17191a;
  --dark-text: #f5f1e9;
  --dark-text-secondary: #b8b3a8;
  --dark-border: #33363a;

  --serif: "Iowan Old Style", Georgia, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1320px;
  --gutter: 32px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: 48px; line-height: 1.08; }
h2 { font-size: 34px; line-height: 1.14; letter-spacing: -0.015em; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lede { font-size: 19px; line-height: 1.6; color: var(--text-secondary); max-width: 62ch; }
.muted { color: var(--text-muted); font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.wordmark {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  flex: none;
}
.wordmark span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  padding: 8px 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--text); background: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---------- carousel ---------- */
.carousel {
  position: relative;
  height: clamp(440px, 58vh, 660px);
  overflow: hidden;
  background: var(--dark-bg);
}
.carousel-track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 12, 0.82) 0%, rgba(10, 12, 12, 0.55) 42%, rgba(10, 12, 12, 0.12) 72%, rgba(10, 12, 12, 0.28) 100%);
}
.slide-inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-bottom: 72px;
}
.slide-copy { max-width: 700px; color: #fdfaf4; }
.slide-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fdfaf4; opacity: 0.85; padding-left: 14px; position: relative; margin-bottom: 18px;
}
.slide-kicker::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 22px; background: var(--slide-tint, var(--accent));
}
.slide-title { color: #fdfaf4; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.06; }
.slide-sub { margin: 18px 0 28px; font-size: 18px; line-height: 1.55; color: rgba(253, 250, 244, 0.86); max-width: 52ch; }
.slide-copy .btn-primary { background: var(--slide-tint, var(--accent)); }
.slide-copy .btn-primary:hover { filter: brightness(0.92); }

.carousel-controls {
  position: absolute; right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 14px; z-index: 5;
}
.car-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(253, 250, 244, 0.45);
  background: rgba(20, 22, 22, 0.28); color: #fdfaf4;
  cursor: pointer; font-size: 16px; line-height: 1;
  transition: background 0.15s ease;
}
.car-btn:hover { background: rgba(20, 22, 22, 0.6); }
.car-dots { display: flex; gap: 8px; }
.car-dots button {
  width: 26px; height: 3px; border: 0; padding: 0;
  background: rgba(253, 250, 244, 0.4); cursor: pointer;
}
.car-dots button.is-active { background: #fdfaf4; }

/* ---------- side rail ---------- */
.side-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 55; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-right: 0;
  background: var(--surface);
  box-shadow: -6px 0 20px rgba(27, 26, 23, 0.06);
}
.rail-item {
  writing-mode: vertical-rl;
  padding: 20px 9px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease, color 0.15s ease;
}
.rail-item:last-child { border-bottom: 0; }
.rail-item:hover { background: var(--surface-sunken); color: var(--text); }
.rail-item.is-primary { background: var(--accent); color: var(--on-accent); }
.rail-item.is-primary:hover { background: var(--accent-hover); color: var(--on-accent); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 32px; margin-bottom: 36px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.section-head p { color: var(--text-muted); font-size: 15px; max-width: 46ch; }

/* ---------- category strip ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(27, 26, 23, 0.09); }
.cat-bar { height: 4px; background: var(--cat-tint, var(--accent)); }
.cat-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-sunken); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .cat-media img { transform: scale(1.04); }
.cat-media.is-empty {
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cat-tint, var(--accent)) 14%, #fff);
}
.cat-media.is-empty span {
  font-family: var(--serif); font-size: 20px;
  color: var(--cat-tint, var(--accent));
}
.cat-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 20px; }
.cat-meta {
  margin-top: auto; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
}
.cat-arrow { font-size: 15px; color: var(--cat-tint, var(--accent)); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 28px; }
/* 首页产品横向滑动带 */
.scroller {
  display: flex; gap: 28px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.scroller-item { flex: 0 0 calc((100% - 84px) / 4); scroll-snap-align: start; display: flex; }
.scroller-item > .card { width: 100%; }
.scroller-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 28px;
}
.scroller-navs { display: flex; gap: 8px; }
.scroller-nav {
  width: 38px; height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-radius: 999px;
  cursor: pointer; transition: border-color 0.15s ease, opacity 0.15s ease;
}
.scroller-nav:hover:not(:disabled) { border-color: var(--border-strong); }
.scroller-nav:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 1199px) { .scroller-item { flex-basis: calc((100% - 56px) / 3); } }
@media (max-width: 1023px) { .scroller-item { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 767px) {
  .scroller { gap: 16px; }
  .scroller-item { flex-basis: 82%; }
}

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 12px 24px rgba(27, 26, 23, 0.07); }
.card-media { aspect-ratio: 4 / 3; background: var(--surface-sunken); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; }
.card-price { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); }
.card-meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-muted); text-transform: uppercase;
}

/* ---------- hero (inner pages) ---------- */
.hero { padding: 64px 0 0; }
.hero-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding-bottom: 44px; }
.hero-kicker { grid-column: 1 / 3; }
.hero-title { grid-column: 3 / 10; }
.hero-sub { grid-column: 3 / 8; margin-top: 20px; }
.hero-proof {
  grid-column: 11 / 13; text-align: right;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-muted); line-height: 1.9;
}

/* ---------- page head ---------- */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--border); background: var(--surface); }
.page-head .lede { margin-top: 18px; }
.page-head-inner { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: end; }

/* ---------- spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 500; color: var(--text-muted); }
.spec-table td { font-variant-numeric: tabular-nums; }

/* ---------- rows / certs / markets ---------- */
.rows { border-top: 1px solid var(--border); }
.row-item { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.row-item h3 { font-size: 20px; }
.row-item p { color: var(--text-secondary); font-size: 16px; }

.cert-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 1200px) { .cert-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cert-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cert-list { grid-template-columns: 1fr; } }
.cert { background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.cert strong { font-size: 16px; font-weight: 600; }
.cert span { font-size: 13px; color: var(--text-muted); }
.cert code { font-family: var(--mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; }

/* ---------- factory photos ---------- */
.factory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.factory-shot { margin: 0; border: 1px solid var(--border); background: var(--surface); }
.factory-shot img { display: block; width: 100%; height: 260px; object-fit: cover; }
.factory-shot figcaption { padding: 10px 12px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ---------- certificate previews ---------- */
.cert-shot { display: block; border: 1px solid var(--border); background: #fff; margin-bottom: 10px; }
.cert-shot img { display: block; width: 100%; height: auto; }
.cert-open { align-self: flex-start; margin-top: auto; padding-top: 2px; font-size: 12px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.cert-note { flex: 1; margin-bottom: 10px; padding: 12px; background: rgba(0, 0, 0, 0.025); border-left: 2px solid var(--border); font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }

/* ---------- product description ---------- */
.pdp-body p { margin: 0 0 14px; max-width: 68ch; line-height: 1.65; color: var(--text-muted); }
.pdp-body p:last-child { margin-bottom: 0; }

/* ---------- why strip ---------- */
.why { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.015); }
.why-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.why-head h2 { margin: 8px 0 0; font-size: 26px; }
.why-head p { max-width: 44ch; margin: 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.why-card { background: var(--surface); padding: 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.why-card strong { font-size: 20px; letter-spacing: -0.01em; }
.why-card span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.why-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- category thumbs ---------- */
.range-thumb { width: 90px; height: 60px; flex: 0 0 90px; overflow: hidden; background: var(--border); }
.range-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cert-open:hover { color: var(--accent-hover); }

.markets { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 32px; }
.market { display: flex; flex-direction: column; gap: 6px; }
.market-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.market-bar { height: 3px; background: var(--border); position: relative; }
.market-bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.market:nth-child(3n+2) .market-bar i { background: var(--accent-2); }
.market:nth-child(3n+3) .market-bar i { background: var(--accent-3); }
.market-share { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

/* ---------- inquiry ---------- */
.inquiry-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); font-family: var(--sans); font-size: 16px; color: var(--text);
}
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--text-muted); }
.field .error { font-size: 13px; color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--accent); }
.form-success { border: 1px solid var(--accent-2); background: #eef4f0; padding: 24px; }
.form-success h3 { margin-bottom: 8px; }
.product-chip {
  display: inline-block; padding: 10px 14px;
  border: 1px dashed var(--border-strong); background: var(--accent-soft);
  font-size: 15px; line-height: 1.4;
}

/* ---------- pdp ---------- */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; padding: 44px 0 88px; }
.pdp-media { position: relative; background: var(--surface-sunken); border: 1px solid var(--border); aspect-ratio: 1 / 1; overflow: hidden; touch-action: pan-y; }
/* 主图左右切换 */
.pdp-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(27, 26, 23, 0.14);
  cursor: pointer; z-index: 2;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.pdp-nav:hover { background: #fff; border-color: var(--border-strong); }
.pdp-nav:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp-nav.prev { left: 14px; }
.pdp-nav.next { right: 14px; }
@media (max-width: 559px) {
  .pdp-nav { width: 34px; height: 34px; }
  .pdp-nav.prev { left: 8px; }
  .pdp-nav.next { right: 8px; }
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: 38px; }
.pdp-price { margin: 18px 0 0; font-size: 20px; font-weight: 500; color: var(--accent); }
.pdp-actions { margin: 26px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-facts { margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { border-top: 1px solid var(--border); padding-top: 10px; }
.fact span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.fact strong { font-size: 16px; font-weight: 500; }
.pdp-quote { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.pdp-quote .form-grid { grid-template-columns: 1fr 1fr; }
.pdp-quote .field input, .pdp-quote .field select { min-height: 44px; font-size: 15px; }
.pdp-media.is-empty {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(-45deg, var(--surface-sunken), var(--surface-sunken) 8px, #e8dfd0 8px, #e8dfd0 9px);
}
.pdp-media.is-empty span { font-family: var(--serif); font-size: 22px; color: var(--text-muted); background: var(--surface-sunken); padding: 10px 16px; text-align: center; }

/* ---------- quote band ---------- */
.quote-band {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 36px 0 0; border-top: 1px solid var(--border);
}
.quote-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-bg); color: var(--dark-text); padding: 64px 0 32px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dark-text-secondary); margin-bottom: 16px;
}
.site-footer a, .site-footer p, .site-footer li { color: var(--dark-text-secondary); font-size: 15px; }
.site-footer a:hover { color: var(--dark-text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-border);
  display: flex; justify-content: space-between; gap: 24px; font-size: 13px;
  color: var(--dark-text-secondary); flex-wrap: wrap;
}

/* ---------- legal ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--text-secondary); }
.prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; }
.prose a, .inline-link { color: var(--text); border-bottom: 1px solid var(--border-strong); }
.prose a:hover, .inline-link:hover { border-bottom-color: var(--accent); color: var(--accent); }
.notice { border: 1px solid var(--border-strong); background: var(--surface); padding: 16px 20px; margin: 0 0 32px; font-size: 15px; color: var(--text-secondary); }
.notice strong { color: var(--text); }

/* ---------- lang switch ---------- */
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted);
}
.lang-switch button {
  background: none; border: 0; padding: 6px 2px; font: inherit; color: inherit;
  cursor: pointer; border-bottom: 1px solid transparent;
}
.lang-switch button.is-active { color: var(--text); border-bottom-color: var(--accent); }
.lang-switch button:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .side-rail { display: none; }
  .container { max-width: 100%; }
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .hero-title { grid-column: 3 / 13; }
  .hero-sub { grid-column: 3 / 13; }
  .hero-proof { grid-column: 3 / 13; text-align: left; margin-top: 12px; }
  .inquiry-wrap { grid-template-columns: 1fr; gap: 36px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .page-head-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row-item { grid-template-columns: 160px 1fr; gap: 24px; }
  .slide-inner { padding-bottom: 56px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .header-inner { height: 64px; gap: 12px; }
  .site-nav { display: none; }
  .cta-desktop { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    list-style: none; cursor: pointer; font-size: 14px; font-weight: 600;
    padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav-panel {
    position: absolute; left: 0; right: 0; top: 60px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px; display: flex; flex-direction: column; max-height: 72vh; overflow-y: auto;
  }
  .mobile-nav-panel > a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .mobile-sub { padding-left: 0; }
  .mobile-sub > summary {
    list-style: none; cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 16px; display: flex; justify-content: space-between; align-items: center;
  }
  .mobile-sub > summary::-webkit-details-marker { display: none; }
  .mobile-sub > summary::after { content: "+"; font-family: var(--mono); color: var(--text-muted); }
  .mobile-sub[open] > summary::after { content: "–"; }
  .mobile-sub a { font-size: 15px !important; padding: 11px 0 11px 14px !important; color: var(--text-secondary); border-bottom: 1px solid var(--border); }

  .carousel { height: 68vh; min-height: 420px; }
  .slide-inner { padding-bottom: 84px; }
  .slide-copy { max-width: 100%; }
  .slide-title { font-size: 30px; }
  .slide-sub { font-size: 15px; margin: 14px 0 22px; }
  .carousel-controls { left: var(--gutter); right: auto; bottom: 20px; }
  .car-btn { width: 36px; height: 36px; }

  .section { padding: 52px 0; }
  .section-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pdp-quote .form-grid { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { margin-top: 52px; }
  .spec-table th { width: 44%; }
  .quote-band { flex-direction: column; align-items: flex-start; gap: 22px; }
  .quote-band-actions { width: 100%; }
  .quote-band-actions .btn { width: 100%; }
  .hero { padding-top: 36px; }
  .hero-intro { grid-template-columns: 1fr; gap: 14px; padding-bottom: 28px; }
  .hero-kicker, .hero-title, .hero-sub, .hero-proof { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .slide { transition: none; }
}

/* ---------- fixes: logo / mobile panel / rail overlap ---------- */
.wordmark img,
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.wordmark { line-height: 0; }

.mobile-nav-panel {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 70;
}

.carousel-controls { right: calc(var(--gutter) + 52px); }

@media (max-width: 1200px) {
  .carousel-controls { right: var(--gutter); }
}

@media (max-width: 767px) {
  .wordmark img,
  .logo img { height: 24px; }
  .carousel-controls { right: auto; }
}

/* ---------- fix: header brand logo ---------- */
.header-inner > a,
.header-inner > .brand,
a.brand {
  display: flex;
  align-items: center;
  flex: none;
  line-height: 0;
}
.header-inner > a img,
.header-inner > .brand img,
a.brand img {
  height: 30px !important;
  max-height: 30px;
  width: auto;
  display: block;
}

/* 移动菜单行高压缩，尽量一屏放下 */
@media (max-width: 767px) {
  .mobile-nav-panel > a { padding: 12px 0; font-size: 15px; }
  .header-inner > a img,
  .header-inner > .brand img,
  a.brand img { height: 26px !important; max-height: 26px; }
}

/* ---------- header fit ---------- */
.header-inner { gap: 18px; }
.site-nav { min-width: 0; gap: 0; }
.site-nav a { padding: 8px 10px; font-size: 14px; }
.header-actions { gap: 10px; }
@media (max-width: 1280px) {
  .site-nav a { padding: 8px 7px; font-size: 13px; }
  .header-inner { gap: 12px; }
}

/* ---------- 侧栏加强 + 头部 CTA 分工 ---------- */
.side-rail {
  width: 56px;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 8px;
  align-items: stretch;
}
.rail-item {
  writing-mode: vertical-rl;
  padding: 26px 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: 0 6px 18px rgba(27, 26, 23, 0.07);
  text-align: center;
}
.rail-item:last-child { border-bottom: 1px solid var(--border); }
.rail-item:hover { background: var(--surface-sunken); color: var(--text); border-color: var(--border-strong); }
.rail-item.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 22px rgba(194, 84, 45, 0.32);
  font-weight: 600;
}
.rail-item.is-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.rail-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 84, 45, 0.16);
}
.side-rail { position: fixed; }

/* ≥1200 由侧栏承担报价入口，头部按钮隐藏；<1200 侧栏隐藏，头部按钮回来 */
@media (min-width: 1200px) {
  .cta-desktop { display: none; }
}

/* ============================================================
   欧美工业 B2B 主题覆盖
   ============================================================ */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-sunken: #f4f5f6;
  --surface-contrast: #e9ebed;
  --text: #14181c;
  --text-secondary: #4a5259;
  --text-muted: #6b747c;
  --border: #e0e3e6;
  --border-strong: #9aa2a9;
  --accent: #0f4c81;
  --accent-hover: #0b3a63;
  --accent-soft: #e8eef4;
  --accent-2: #d9541e;
  --accent-3: #0f4c81;
  --on-accent: #ffffff;
  --dark-bg: #101418;
  --dark-text: #f4f6f7;
  --dark-text-secondary: #a9b1b8;
  --dark-border: #2a3138;
}

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; }
h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.3; }
body { font-size: 16.5px; }

.eyebrow {
  font-size: 11.5px; letter-spacing: 0.14em; font-weight: 600;
  color: var(--text-muted);
}
.section-head { border-bottom: 2px solid var(--text); }
.section-head p { max-width: 44ch; }

.btn { border-radius: 2px; font-weight: 600; letter-spacing: 0.01em; }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* 静态首屏 */
.hero-static { position: relative; height: clamp(440px, 56vh, 620px); overflow: hidden; background: var(--dark-bg); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(10,14,18,0.88) 0%, rgba(10,14,18,0.62) 48%, rgba(10,14,18,0.18) 100%);
}
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 660px; color: #fff; }
.hero-eyebrow {
  font-size: 11.5px; letter-spacing: 0.14em; font-weight: 600;
  text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 18px;
  padding-left: 12px; border-left: 3px solid var(--accent-2);
}
.hero-copy h1 { color: #fff; }
.hero-copy p {
  margin: 18px 0 30px; font-size: 17.5px; line-height: 1.58;
  color: rgba(255,255,255,0.82); max-width: 54ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 硬指标条 */
.metrics { background: var(--dark-bg); border-top: 1px solid var(--dark-border); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric {
  padding: 22px 0; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--dark-border); padding-left: 20px;
}
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric-key { font-size: 10.5px; letter-spacing: 0.14em; color: var(--dark-text-secondary); font-weight: 600; }
.metric-value { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }

/* 产品范围：行式清单 */
.range { border-top: 1px solid var(--border); }
.range-row {
  display: grid;
  grid-template-columns: 52px 1.1fr 2fr 130px;
  gap: 28px; align-items: baseline;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease, padding-left 0.12s ease;
}
.range-row:hover { background: var(--surface-sunken); padding-left: 16px; }
.range-num { font-size: 12px; font-weight: 600; color: var(--accent-2); letter-spacing: 0.06em; }
.range-name { font-size: 18px; font-weight: 600; }
.range-desc { font-size: 15px; color: var(--text-secondary); }
.range-count { font-size: 12px; color: var(--text-muted); text-align: right; letter-spacing: 0.04em; text-transform: uppercase; }

/* 行业 */
.industries-band { background: var(--surface-sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.industries { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border: 1px solid var(--border-strong);
  font-size: 14px; color: var(--text-secondary); background: #fff;
}

/* 认证徽标行 */
.cert-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--border); }
.cert-badge {
  padding: 18px 16px; display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border);
}
.cert-badge:last-child { border-right: 0; }
.cert-badge strong { font-size: 15px; font-weight: 700; }
.cert-badge code { font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.03em; word-break: break-all; }

/* CTA 带 */
.cta-band { background: var(--accent); color: #fff; padding: 56px 0; margin-top: 24px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,0.82); font-size: 16px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-primary:hover { background: #eef2f6; }
.cta-band .btn-outline-light { color: #fff; }

.link-arrow { font-weight: 600; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-hover); }

/* 卡片收敛：去圆角/去色条 */
.card { border-radius: 0; }
.card-price { color: var(--text); font-weight: 600; }
.card-meta { font-size: 10.5px; }
.cat-bar { display: none; }
.cat-card { border-radius: 0; }
.cat-card:hover { transform: none; box-shadow: none; border-color: var(--text); }
.cat-body h3 { font-family: var(--sans); font-weight: 600; }

@media (max-width: 1024px) {
  .range-row { grid-template-columns: 40px 1fr 110px; gap: 16px; }
  .range-desc { grid-column: 2 / -1; margin-top: 4px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 767px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--dark-border); padding: 16px 0 16px 0; }
  .metric:nth-child(odd) { padding-right: 12px; }
  .metric-value { font-size: 18px; }
  .range-row { grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 18px 0; }
  .range-thumb {
    display: block; grid-row: 1 / span 3; grid-column: 1; align-self: center;
    width: 64px; height: 46px; flex-basis: 64px;
  }
  .range-num { grid-column: 2; }
  .range-name { grid-column: 2; }
  .range-count { grid-column: 2; text-align: left; }
  .range-desc { grid-column: 2; margin-top: 0; }
  .industries { gap: 16px; }
  .cta-band { padding: 40px 0; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { width: 100%; }
  .hero-static { height: 68vh; min-height: 420px; }
  .hero-copy p { font-size: 15.5px; }
}

/* ---------- fix: 页脚 wordmark 行高被 line-height:0 压塌 ---------- */
.site-footer .wordmark {
  line-height: 1.5;
  display: block;
}
.site-footer .wordmark span {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

/* ---------- 修复：卡片缺图占位 ---------- */
.card-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: repeating-linear-gradient(
    -45deg, var(--surface-sunken), var(--surface-sunken) 8px, #e9ebed 8px, #e9ebed 9px
  );
}
.card-media.is-empty span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-sunken);
  padding: 6px 10px;
  text-align: center;
  line-height: 1.3;
}

/* ---------- 修复：768–1199 range 行计数列塌成 40px ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .range-row {
    grid-template-columns: 40px 1fr auto;
    gap: 10px 16px;
    align-items: center;
  }
  .range-num { grid-row: 1; grid-column: 1; align-self: start; }
  .range-name { grid-row: 1; grid-column: 2; }
  .range-count { grid-row: 1; grid-column: 3; text-align: right; padding-left: 12px; white-space: nowrap; }
  .range-desc { grid-row: 2; grid-column: 2 / -1; }
}

/* ---------- 修复：页脚与固定侧栏的安全距离（上轮遗漏，本次补上） ---------- */
@media (min-width: 1200px) {
  .site-footer .container {
    padding-right: calc(var(--gutter) + 88px);
  }
}


/* ---------- 询盘入口统一（patch22） ---------- */
#quote { scroll-margin-top: 96px; }
.inquiry-form .field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}
.inquiry-form .field-check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}
@media (max-width: 767px) {
  #quote { scroll-margin-top: 80px; }
}


/* ---------- pdp gallery ---------- */
.pdp-gallery { display: block; }
.pdp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pdp-thumb {
  width: 76px; height: 76px; padding: 0; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-sunken);
  overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: var(--border-strong); }
.pdp-thumb.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pdp-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .pdp-thumb { width: 62px; height: 62px; }
}

/* ---------- range 行加缩略图后的栅格（仅桌面生效） ---------- */
@media (min-width: 768px) {
  .range-row { grid-template-columns: 90px 40px 1fr 110px; }
  .range-thumb { grid-row: 1 / span 2; grid-column: 1; align-self: center; }
  .range-num { grid-row: 1; grid-column: 2; align-self: start; }
  .range-name { grid-row: 1; grid-column: 3; }
  .range-count { grid-row: 1; grid-column: 4; text-align: right; white-space: nowrap; }
  .range-desc { grid-row: 2; grid-column: 3 / -1; }
}

/* ---------- 手机端顶栏报价入口 ---------- */
.cta-short, .menu-bars { display: none; }
@media (max-width: 767px) {
  .cta-desktop {
    display: inline-flex; align-items: center;
    flex: 0 0 auto; min-width: 76px;
    padding: 9px 14px; font-size: 13px; letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .header-actions > * { flex: 0 0 auto; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .menu-label { display: none; }
  .menu-bars { display: inline-flex; align-items: center; }
  .mobile-nav summary { padding: 9px 10px; }
  .header-actions { gap: 8px; margin-left: auto; }

  /* 锚点跳转时给粘性顶栏留出空间 */
  #form, #details { scroll-margin-top: 84px; }
}
