/* ==========================================================================
   BACO 巴克 中国 · 站点样式
   工业目录式排版：细线、方角、青色强调、参数表优先。
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-cyan-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--tint-cyan-55);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.3em; }

hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--c-white);
  color: var(--c-navy);
  border: 2px solid var(--c-cyan);
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--w-max), 100%); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { width: min(var(--w-narrow), 100%); margin-inline: auto; padding-inline: var(--pad); }

.mono { font-family: var(--font-mono); font-size: 0.92em; }
.muted { color: var(--c-muted); }
.small { font-size: 0.86rem; }
.nowrap { white-space: nowrap; }

/* ---------- 顶部通知条 / 页头 ---------- */

.utility {
  background: var(--c-navy-deep);
  color: var(--c-utility-text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 4px;
}
.utility a { color: var(--c-utility-link); text-decoration: none; }
.utility a:hover { color: var(--c-white); text-decoration: underline; }
.utility .u-right { display: flex; gap: 18px; align-items: center; }
.utility .u-dot { color: var(--c-cyan); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--speed) ease;
}
.site-header.is-stuck { box-shadow: 0 6px 18px var(--shadow-header); }
.header-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: var(--header-h);
  width: min(1480px, 100%);
  margin-inline: auto;
}

.brand-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 232px;
  background: var(--c-cyan);
  padding: 14px 22px;
}
.brand-block a { display: block; }
.brand-block img { width: 136px; height: auto; }
.brand-block .brand-cn {
  display: block;
  margin-top: 6px;
  text-align: center;
  color: var(--c-white);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.header-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1 1 auto;
  padding-inline: 28px 20px;
  gap: 20px;
}
.nav-main { display: flex; align-items: stretch; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-link:hover { color: var(--c-navy); border-bottom-color: var(--c-cyan); }
.nav-link.is-active { color: var(--c-navy); border-bottom-color: var(--c-cyan); }

.nav-sub {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 70;
  min-width: 280px;
  padding: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-lift);
  display: none;
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { display: block; }
.nav-sub a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.nav-sub a:hover { background: var(--c-paper); color: var(--c-navy); }
.nav-sub .n { color: var(--c-muted); font-size: 0.78rem; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.search-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.search-link:hover { border-color: var(--c-cyan); color: var(--c-navy); }
.search-link svg { width: 16px; height: 16px; }

.nav-mobile-only { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c-line-strong);
  background: var(--c-white);
  color: var(--c-ink);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .header-nav { padding-inline: 16px; }
  .nav-link { padding-inline: 10px; font-size: 0.88rem; }
  .brand-block { flex-basis: 190px; }
}
@media (max-width: 900px) {
  .utility .u-left { display: none; }
  .brand-block { flex-basis: 150px; padding: 10px 12px; }
  .brand-block img { width: 108px; }
  .brand-block .brand-cn { font-size: 0.62rem; letter-spacing: 0.12em; }
  .header-nav { display: none; }
  .header-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-lift);
    padding: 10px var(--pad) 22px;
    gap: 0;
  }
  .nav-main { flex-direction: column; }
  .nav-mobile-only { display: flex; }
  .nav-item { flex-direction: column; }
  .nav-link { padding: 14px 2px; border-bottom: 1px solid var(--c-line); }
  .nav-sub { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav-sub a { padding: 6px 2px; }
  .header-tools { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; align-self: center; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .utility { display: none; }
  .brand-block { flex-basis: 128px; }
  .brand-block img { width: 92px; }
  .brand-block .brand-cn { display: none; }
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  background: var(--c-cyan);
  color: var(--c-on-cyan);
  border: 1px solid var(--c-cyan);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--speed), color var(--speed), border-color var(--speed);
}
.btn:hover { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }
.btn-alt {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
}
.btn-alt:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--tint-white-55);
}
.btn-ghost:hover { background: var(--c-white); color: var(--c-navy); border-color: var(--c-white); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 0.84rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--tint-navy-28);
}
.text-link:hover { border-bottom-color: var(--c-cyan); color: var(--c-cyan-deep); }

/* ---------- 通用版块 ---------- */

.section { padding-block: clamp(48px, 6vw, 84px); }
.section-tight { padding-block: clamp(32px, 4vw, 52px); }
.section-gray { background: var(--c-paper); border-block: 1px solid var(--c-line); }
.section-ink { background: var(--c-ink); color: var(--c-ink-soft); }
.section-ink h2, .section-ink h3 { color: var(--c-white); }
.section-ink a { color: var(--c-sky-light); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.section-head .sh-main { max-width: 760px; }
.section-head p { margin: 8px 0 0; color: var(--c-muted); max-width: 62ch; }
.section-head .sh-aside { flex: 0 0 auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--c-navy);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--c-cyan);
}
.section-ink .kicker { color: var(--c-sky-light); }

.page-head {
  padding-block: clamp(30px, 4vw, 54px);
  background:
    linear-gradient(180deg, var(--tint-cyan-07), var(--tint-cyan-00) 70%),
    var(--c-white);
  border-bottom: 1px solid var(--c-line);
}
.page-head h1 { margin-bottom: 10px; }
.page-head p { max-width: 72ch; color: var(--c-muted); font-size: 1.05rem; }
.page-head .ph-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--c-muted); font-size: 0.86rem; }

.breadcrumb { padding-top: 18px; font-size: 0.82rem; color: var(--c-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--c-line-strong); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-navy); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--c-ink); font-weight: 700; }

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--tint-navy-05) 1px, transparent 1px),
    linear-gradient(180deg, var(--tint-navy-05) 1px, transparent 1px),
    linear-gradient(180deg, var(--c-hero-paper), var(--c-white) 75%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  border-bottom: 1px solid var(--c-line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 76px);
}
.hero-copy { max-width: 660px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--c-navy); }
.hero .lead { max-width: 60ch; font-size: 1.06rem; color: var(--c-body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--c-line);
}
.hero-stats div {
  flex: 1 1 110px;
  padding: 14px 18px 0 0;
}
.hero-stats .n {
  display: block;
  color: var(--c-navy);
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero-stats .label { font-size: 0.78rem; color: var(--c-muted); letter-spacing: 0.04em; }

.hero-visual { position: relative; min-height: 360px; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hero-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.08;
  padding: 18px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.hero-tile:nth-child(1) { grid-column: span 2; aspect-ratio: 2.2; background: var(--c-white); border-top: 4px solid var(--c-cyan); }
.hero-tile:nth-child(1) img { filter: none; max-height: 86%; width: auto; }
.hero-tile:nth-child(1)::after {
  content: "BACO · Industrial Control & Signaling";
  position: absolute;
  left: 18px;
  bottom: 12px;
  color: var(--c-muted);
  font-family: var(--font-head);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}
.hero-tile img { max-height: 100%; width: auto; object-fit: contain; }
.hero-badge {
  position: absolute;
  right: -12px;
  bottom: -12px;
  z-index: 2;
  padding: 12px 16px;
  background: var(--c-cyan);
  color: var(--c-on-cyan);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: 190px;
}
.hero-badge span { display: block; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.04em; }
@media (max-width: 900px) { .hero-badge { right: 0; bottom: 0; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 560px; }
  .hero-tile:nth-child(1) { aspect-ratio: 2.4; }
}

/* ---------- 分类卡 ---------- */

.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-cyan);
  text-decoration: none;
  color: var(--c-body);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}
.family-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--c-line-strong); border-top-color: var(--c-navy); color: var(--c-body); }
.family-card .fc-count {
  color: var(--c-navy);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.family-card h3 { margin: 8px 0 6px; font-size: 1.18rem; }
.family-card .fc-en { color: var(--c-muted); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.family-card p { margin: 12px 0 16px; font-size: 0.9rem; color: var(--c-muted); }
.family-card .fc-arrow { margin-top: auto; color: var(--c-navy); font-weight: 700; font-size: 0.85rem; }
@media (max-width: 1000px) { .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .family-grid { grid-template-columns: 1fr; } }

/* 系列网格 */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.series-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--c-white);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  transition: background var(--speed);
}
.series-card:hover { background: var(--c-paper); color: var(--c-navy); }
.series-card .sc-main { min-width: 0; }
.series-card .sc-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.96rem; }
.series-card .sc-en { display: block; color: var(--c-muted); font-size: 0.72rem; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.series-card .sc-count { flex: 0 0 auto; color: var(--c-navy); font-size: 0.78rem; font-weight: 700; }
@media (max-width: 900px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .series-grid { grid-template-columns: 1fr; } }

/* ---------- 数字条 ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--tint-white-14);
}
.stat-band div { padding: 22px 20px; border-right: 1px solid var(--tint-white-14); }
.stat-band div:last-child { border-right: 0; }
.stat-band .n { display: block; color: var(--c-cyan); font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.stat-band .label { font-size: 0.8rem; color: var(--c-ink-label); }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } .stat-band div:nth-child(2) { border-right: 0; } }

/* ---------- 优势 / 应用 ---------- */

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.why-card {
  padding: 22px 22px 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--c-muted); font-size: 0.92rem; }
.why-card .src { display: block; margin-top: 12px; color: var(--c-muted); font-size: 0.72rem; letter-spacing: 0.04em; }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.app-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}
.app-chip span { color: var(--c-muted); font-family: var(--font-body); font-weight: 400; font-size: 0.7rem; }
.app-chip:hover { border-color: var(--c-cyan); color: var(--c-navy); }
@media (max-width: 1000px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 资料卡 ---------- */

.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-body);
  transition: box-shadow var(--speed), transform var(--speed);
}
.doc-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); color: var(--c-body); }
.doc-card .dc-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 18px;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}
.doc-card .dc-cover img { max-height: 150px; width: auto; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.doc-card .dc-cover .pdf-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 140px;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.doc-card .dc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.doc-card h3 { font-size: 1rem; margin-bottom: 4px; }
.doc-card .dc-en { color: var(--c-muted); font-size: 0.76rem; margin-bottom: 8px; }
.doc-card p { color: var(--c-muted); font-size: 0.86rem; }
.doc-card .dc-meta { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.tag-cyan { background: var(--tint-cyan-08); border-color: var(--tint-cyan-35); color: var(--c-navy); }
.tag-warn { background: var(--c-warn-bg); border-color: var(--c-warn-border); color: var(--c-warn); }
@media (max-width: 1000px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- 文章 / 知识 ---------- */

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-body);
  transition: border-color var(--speed), box-shadow var(--speed);
}
.article-card:hover { border-color: var(--c-cyan); box-shadow: var(--shadow); color: var(--c-body); }
.article-card .ac-kicker { color: var(--c-navy); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; }
.article-card h3 { font-size: 1.02rem; margin: 8px 0; }
.article-card p { color: var(--c-muted); font-size: 0.88rem; }
.article-card .ac-more { margin-top: auto; padding-top: 12px; color: var(--c-navy); font-size: 0.82rem; font-weight: 700; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }

.prose { max-width: 76ch; }
.prose h2 { margin-top: 2.2em; padding-top: 0.6em; border-top: 1px solid var(--c-line); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--c-cyan);
  background: var(--c-paper);
  color: var(--c-muted);
}
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.article-aside .aside-box { padding: 18px; border: 1px solid var(--c-line); background: var(--c-paper); }
.article-aside h3 { font-size: 0.95rem; }
.article-aside ul { list-style: none; padding: 0; margin: 0; }
.article-aside li { margin: 0; border-top: 1px solid var(--c-line); }
.article-aside li:first-child { border-top: 0; }
.article-aside a { display: block; padding: 9px 0; font-size: 0.85rem; text-decoration: none; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--c-ink); color: var(--c-footer-text); font-size: 0.88rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-block: 48px 36px; }
.site-footer h3 { color: var(--c-white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--c-footer-link); text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer-brand img { width: 120px; background: var(--c-cyan); padding: 10px 12px; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; padding: 5px 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
  border-top: 1px solid var(--tint-white-12);
  font-size: 0.76rem;
  color: var(--c-footer-muted);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 产品总览 / 分类 / 系列 ---------- */

.overview-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--c-line);
  margin-top: 26px;
}
.overview-band div { padding: 16px 18px; border-right: 1px solid var(--c-line); }
.overview-band div:last-child { border-right: 0; }
.overview-band .n { display: block; color: var(--c-navy); font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.overview-band .l { font-size: 0.78rem; color: var(--c-muted); }
@media (max-width: 700px) { .overview-band { grid-template-columns: repeat(2, 1fr); } .overview-band div:nth-child(2) { border-right: 0; } }

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.category-nav a {
  padding: 7px 13px;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  font-size: 0.84rem;
  background: var(--c-white);
}
.category-nav a:hover, .category-nav a.is-active { border-color: var(--c-cyan); color: var(--c-navy); background: var(--tint-cyan-06); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.toolbar .tb-left { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toolbar label { font-size: 0.82rem; color: var(--c-muted); }
.toolbar input[type="search"], .toolbar input[type="text"], .toolbar select {
  font: inherit;
  font-size: 0.88rem;
  padding: 8px 11px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-ink);
}
.toolbar input[type="search"] { min-width: min(280px, 60vw); }
.toolbar .count { font-size: 0.8rem; color: var(--c-muted); }
.toolbar .count strong { color: var(--c-ink); }

.series-block { margin-top: 34px; }
.series-block > .sb-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 2px solid var(--c-ink);
}
.series-block > .sb-head h2 { font-size: 1.25rem; margin: 0; }
.series-block > .sb-head .sb-en { color: var(--c-muted); font-size: 0.76rem; }
.series-block > .sb-head .sb-count { color: var(--c-navy); font-size: 0.8rem; font-weight: 700; }

/* 型号表 */
.model-table-wrap { width: 100%; }
.model-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.model-table thead th {
  position: sticky;
  top: calc(var(--header-h) + 1px);
  z-index: 5;
  background: var(--c-paper);
  color: var(--c-muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--c-line-strong);
  white-space: nowrap;
}
.model-table tbody td { padding: 9px 10px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.model-table tbody tr:hover { background: var(--c-paper-alt); }
.model-table .mt-img { width: 54px; }
.model-table .mt-img img, .model-table .mt-img .noimg {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.model-table .mt-img .noimg { display: block; background: var(--c-paper); }
.model-table .mt-model { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.model-table .mt-model a { color: var(--c-ink); text-decoration: none; }
.model-table .mt-model a:hover { color: var(--c-navy); text-decoration: underline; }
.model-table .mt-name { color: var(--c-muted); min-width: 12em; }
.model-table .mt-spec { color: var(--c-body); white-space: nowrap; }
.model-table .mt-link { text-align: right; white-space: nowrap; }
.model-table .mt-link a { font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--c-navy); }
.model-table .mt-link a:hover { text-decoration: underline; }
.model-table tr.is-hidden { display: none; }

.table-empty { padding: 28px 18px; border: 1px dashed var(--c-line-strong); color: var(--c-muted); text-align: center; }

.model-scroll { display: block; }
@media (max-width: 900px) {
  .model-table thead th { position: static; }
  .model-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .model-table { min-width: 720px; }
}

/* ---------- 产品详情 ---------- */

.product-top { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding-block: 26px 30px; align-items: start; }
.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 26px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
}
.product-media img { max-height: 320px; width: auto; object-fit: contain; }
.product-media .noimg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 240px;
  border: 1px dashed var(--c-line-strong);
  color: var(--c-muted);
  font-size: 0.82rem;
  text-align: center;
}
.product-media .noimg strong { font-family: var(--font-mono); font-size: 1.1rem; color: var(--c-ink); }
.product-media .pm-note { position: absolute; left: 10px; bottom: 8px; font-size: 0.66rem; color: var(--c-muted); }

.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 4px; overflow-wrap: anywhere; }
.product-info .pi-model { font-family: var(--font-mono); color: var(--c-navy); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.product-info .pi-en { color: var(--c-muted); font-size: 0.95rem; margin: 8px 0 14px; }
.product-info .pi-tag { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.product-info .pi-tag span { padding: 4px 9px; background: var(--c-paper); border: 1px solid var(--c-line); font-size: 0.76rem; color: var(--c-body); }
.product-info .pi-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.8rem; color: var(--c-muted); margin-bottom: 18px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-actions .btn { min-height: 42px; }
.product-cat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.product-cat a { font-size: 0.78rem; color: var(--c-navy); text-decoration: none; border-bottom: 1px solid var(--tint-navy-25); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: 40px; }
.detail-main > section { margin-bottom: 38px; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.detail-aside .aside-cta { padding: 20px; background: var(--c-paper); border: 1px solid var(--c-line); border-top: 4px solid var(--c-cyan); }
.detail-aside .aside-cta h2 { font-size: 1.05rem; }
.detail-aside .aside-cta p { font-size: 0.86rem; color: var(--c-muted); }
.detail-aside .aside-cta .btn { width: 100%; margin-top: 10px; }
.detail-aside .aside-src { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--c-line); font-size: 0.78rem; color: var(--c-muted); }
.detail-aside .aside-src a { overflow-wrap: anywhere; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--c-paper); color: var(--c-muted); font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.06em; }
.spec-table tbody th { width: 26%; color: var(--c-ink); font-weight: 700; }
.spec-table tbody td { color: var(--c-body); }
.spec-table .sv-en { display: block; color: var(--c-muted); font-family: var(--font-mono); font-size: 0.78rem; }
.spec-table .sv-zh { display: block; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-note { margin-top: 10px; font-size: 0.78rem; color: var(--c-muted); }
.source-list { list-style: none; padding: 0; margin: 0; font-size: 0.84rem; }
.source-list li { padding: 8px 0; border-top: 1px solid var(--c-line); margin: 0; overflow-wrap: anywhere; }
.source-list li:first-child { border-top: 0; }
.kb-table td { font-size: 0.84rem; }
.kb-table .conf { color: var(--c-muted); font-size: 0.74rem; }
.kb-empty { padding: 16px 18px; background: var(--c-paper); border: 1px solid var(--c-line); color: var(--c-muted); font-size: 0.86rem; }

.notice {
  padding: 12px 16px;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-cyan);
  background: var(--c-paper);
  font-size: 0.84rem;
  color: var(--c-muted);
}
.notice strong { color: var(--c-ink); }
.notice-warn { border-left-color: var(--c-warn-strong); background: var(--c-warn-bg); color: var(--c-warn); }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  text-decoration: none;
  color: var(--c-body);
}
.related-card:hover { border-color: var(--c-cyan); color: var(--c-body); }
.related-card img, .related-card .noimg { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--c-line); background: var(--c-white); flex: 0 0 auto; }
.related-card .noimg { background: var(--c-paper); }
.related-card .rc-model { display: block; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--c-ink); overflow-wrap: anywhere; }
.related-card .rc-name { display: block; font-size: 0.76rem; color: var(--c-muted); }
@media (max-width: 1000px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { position: static; } }
@media (max-width: 800px) { .product-top { grid-template-columns: 1fr; } .product-media { min-height: 240px; } .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- 应用 ---------- */

.app-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.app-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-body);
}
.app-card:hover { border-color: var(--c-cyan); color: var(--c-body); }
.app-card .ac-en { color: var(--c-muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.app-card h3 { margin: 6px 0 8px; font-size: 1.08rem; }
.app-card p { color: var(--c-muted); font-size: 0.9rem; }
.app-card .ac-series { margin-top: auto; padding-top: 12px; font-size: 0.76rem; color: var(--c-navy); }
@media (max-width: 760px) { .app-list { grid-template-columns: 1fr; } }

/* ---------- 表单 ---------- */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--c-ink); }
.field label .req { color: var(--c-danger); }
.field input, .field textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-ink);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.74rem; color: var(--c-muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.form-status { font-size: 0.86rem; }
.form-status.ok { color: var(--c-ok); }
.form-status.err { color: var(--c-danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.contact-card { padding: 20px; border: 1px solid var(--c-line); background: var(--c-paper); }
.contact-card h2 { font-size: 1.05rem; }
.contact-card .cc-row { padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 0.88rem; }
.contact-card .cc-row:first-of-type { border-top: 0; }
.contact-card .cc-row span { display: block; color: var(--c-muted); font-size: 0.72rem; letter-spacing: 0.04em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 搜索 ---------- */

.search-page { padding-block: 34px 70px; }
.search-box { display: flex; gap: 10px; max-width: 760px; }
.search-box input {
  flex: 1;
  font: inherit;
  font-size: 1.05rem;
  padding: 13px 15px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
}
.search-box button { min-height: 50px; }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-hints button {
  font: inherit;
  font-size: 0.8rem;
  padding: 5px 10px;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-muted);
  cursor: pointer;
}
.search-hints button:hover { border-color: var(--c-cyan); color: var(--c-navy); }
.search-meta { margin: 22px 0 10px; font-size: 0.84rem; color: var(--c-muted); }
.search-results { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-line); }
.search-results li { margin: 0; border-bottom: 1px solid var(--c-line); }
.search-results a { display: block; padding: 13px 4px; text-decoration: none; color: var(--c-body); }
.search-results a:hover { background: var(--c-paper-alt); color: var(--c-body); }
.search-results .sr-model { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--c-navy); }
.search-results .sr-title { display: block; font-weight: 700; color: var(--c-ink); }
.search-results .sr-sub { display: block; font-size: 0.8rem; color: var(--c-muted); }
.search-results .sr-type { float: right; font-size: 0.7rem; color: var(--c-muted); border: 1px solid var(--c-line); padding: 1px 6px; }
.search-empty { padding: 30px 0; color: var(--c-muted); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-navy); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 4px 18px; color: var(--c-body); max-width: 76ch; }

/* ---------- 404 ---------- */

.notfound { padding-block: 90px; text-align: center; }
.notfound .code { color: var(--c-cyan); font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; }
.notfound p { max-width: 52ch; margin-inline: auto; color: var(--c-muted); }
.notfound .btn { margin-top: 18px; }

/* ---------- 表格滚动条 / 打印 ---------- */

@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media print {
  .site-header, .site-footer, .utility, .detail-aside, .product-actions, .toolbar { display: none !important; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
}
