:root {
  --ink: #17202a;
  --muted: #5c6b7a;
  --line: #e4ebf1;
  --paper: #f5f7f8;
  --card: #fff;
  --radius: 12px;
  --brand: #185fa5;
  --brand-ink: #0c447c;
  --shadow: 0 10px 30px rgba(23, 32, 42, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--brand-ink); color: #d5e4f2; font-size: 13px; }
.topbar .wrap, .nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .wrap { min-height: 36px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { min-height: 68px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--brand-ink); }
.nav { display: flex; gap: 22px; color: #243140; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.nav-bar { border-top: 1px solid var(--line); }
.nav-bar .nav { min-height: 40px; align-items: center; }
.tools { display: flex; align-items: center; gap: 10px; }
.lang a { font-size: 13px; color: var(--muted); margin-left: 8px; }
.lang a.on { color: var(--brand-ink); font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand); font-weight: 600;
}
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.line { background: #fff; color: var(--brand-ink); }
.hero { background: linear-gradient(115deg, var(--brand-ink), var(--brand) 70%); color: #fff; padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: end; }
.kicker { margin: 0 0 10px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; opacity: .8; }
h1 { margin: 0 0 12px; font-size: 42px; line-height: 1.2; font-weight: 700; }
.lede { margin: 0 0 22px; max-width: 38em; font-size: 17px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { display: grid; gap: 10px; }
.hero-side div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 14px 16px; }
.hero-side b { display: block; font-size: 18px; }
.hero-side span { font-size: 13px; opacity: .8; }
.section { padding: 56px 0; }
.section h2 { margin: 0 0 6px; font-size: 28px; line-height: 1.3; }
.section .sub { margin: 0 0 22px; color: var(--muted); }
.grid-4, .grid-3 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.cat, .card, .panel, details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cat, .card { padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.cat:hover, .card:hover { border-color: #c5d5e4; }
.idx { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.cat strong, .card strong { font-size: 18px; }
.muted { color: var(--muted); font-size: 14px; }
.cover {
  margin: -18px -18px 4px; height: 150px; display: grid; place-items: center; padding: 10px;
  background: #f7fafc; border-bottom: 1px solid var(--line); color: var(--brand-ink);
  font-weight: 700; font-size: 15px; line-height: 1.35; overflow: hidden;
}
.cover img { max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; display: block; }
.cover.is-text { display: flex; align-items: flex-end; padding: 14px 18px; background: linear-gradient(160deg, #eef5fb, #d7e6f3); }
.card .more { margin-top: auto; color: var(--brand); font-weight: 600; font-size: 14px; }
.band { background: var(--brand-ink); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 12px; text-align: center; }
.stat b { display: block; font-size: 30px; line-height: 1.2; }
.stat span { font-size: 13px; opacity: .75; }
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 650; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.points article { padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
details { padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 8px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.panel { padding: 22px; }
label { display: block; font-size: 13px; font-weight: 650; margin: 12px 0 6px; }
input, textarea {
  width: 100%; border: 1px solid #d5dee6; border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
.note { font-size: 12px; color: var(--muted); }
#inquiry { scroll-margin-top: 120px; }
.ok { background: #e8f6ee; color: #0b6b3a; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.crumb { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.crumb a { color: var(--brand-ink); }
table.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.specs th, table.specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.specs th { width: 34%; color: var(--muted); font-weight: 600; background: #f8fbfc; }
.prose { color: #243140; line-height: 1.75; font-size: 15.5px; word-break: break-word; }
.prose p { margin: 0 0 12px; }
.prose h3, .prose h4, .prose h5 { margin: 24px 0 10px; font-size: 17px; line-height: 1.4; color: var(--brand-ink); }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.3em; }
.prose li { margin: 5px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: #f5f8fb; font-weight: 600; }
.prose blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid var(--brand); background: #f7fafd; color: var(--muted); }
.prose a { color: var(--brand-ink); text-decoration: underline; }
.params-text { margin-top: 10px; }
.product-title { font-size: 34px; line-height: 1.3; }
.product-lede { color: var(--muted); max-width: 40em; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-photo { width: 100%; max-height: 440px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 16px; }
.product-page h2 { margin-top: 28px; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.assure li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.figure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 4px; }
.figure div, .figure-model { background: linear-gradient(160deg, #eef5fb, #d7e6f3); border-radius: 12px; padding: 16px; color: var(--brand-ink); }
.figure b { display: block; font-size: 22px; line-height: 1.2; }
.figure span, .figure-model span { font-size: 13px; color: var(--muted); }
.figure-model { display: block; padding: 28px 20px; }
.figure-model b { font-size: 28px; }
.plain, .feats { margin: 0; padding-left: 1.2em; }
.plain li, .feats li { margin: 6px 0; }
.panel { position: sticky; top: 84px; }
.pager { display: flex; gap: 16px; align-items: center; margin-top: 22px; }
.pager a { color: var(--brand-ink); font-weight: 650; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cat-filter a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 14px;
}
.cat-filter a.on, .cat-filter a:hover { border-color: var(--brand); color: var(--brand-ink); }
.section-more { margin: 22px 0 0; }
.site-footer { background: #121a22; color: #c5d0da; padding: 42px 0 22px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-grid.has-links { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 16px; margin: 0 0 10px; }
.copy { margin-top: 22px; font-size: 13px; color: #8ea0b0; }
/* ---------- 分类页：品牌筛选侧栏 ---------- */
.cat-layout { display: grid; grid-template-columns: 1fr 220px; gap: 22px; align-items: start; }
.cat-main { min-width: 0; }
.cat-side { padding: 18px; }
.side-title { font-size: 15px; margin: 0 0 12px; color: var(--brand-ink); }
.brand-filter { display: grid; gap: 2px; }
.brand-filter a { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: #243140; }
.brand-filter a:hover { background: #f2f7fb; }
.brand-filter a.on { background: var(--brand); color: #fff; }
.brand-filter a.on .muted { color: rgba(255,255,255,.75); }
.brand-filter .muted { font-size: 12px; }
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { order: -1; }
}

/* ---------- 技术问答 ---------- */
.ask-list { display: grid; gap: 10px; margin-bottom: 24px; }
.ask-item { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.ask-item:hover { border-color: #c5d5e4; }
.ask-q { font-size: 16px; font-weight: 650; line-height: 1.5; color: var(--brand-ink); }
.ask-q::before { content: 'Q：'; color: var(--brand); }
.ask-a { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ask-detail .ask-question { font-size: 26px; line-height: 1.4; margin: 0 0 10px; }
.ask-answer { background: #f2f7fb; border-left: 3px solid var(--brand); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.ask-label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: #dcebf7; border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; }
.ask-answer p { margin: 0; color: #243140; line-height: 1.75; }
.ask-more { margin-top: 18px; }
.ask-cta { margin-top: 28px; }

/* ---------- 公司页 / 联系 / 反馈 ---------- */
.contact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list span { color: var(--muted); font-size: 13px; }
.contact-list strong { font-size: 15px; line-height: 1.5; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.err { background: #fdecea; color: #b3261e; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
@media (max-width: 860px) {
  .form-2col { grid-template-columns: 1fr; }
}

/* ---------- 文章/资讯/下载 ---------- */
.news-list { display: grid; gap: 10px; }
.news-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.news-item:hover { border-color: #c5d5e4; }
.news-date { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.news-body { display: grid; gap: 4px; min-width: 0; }
.news-body strong { font-size: 16px; line-height: 1.45; }
.news-body .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-col { flex: none; font-size: 12px; color: var(--brand-ink); background: #eef4fa; border-radius: 999px; padding: 3px 10px; }
.article-title { font-size: 30px; line-height: 1.35; margin: 0 0 10px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article-lede { background: #f2f7fb; border-left: 3px solid var(--brand); padding: 12px 16px; border-radius: 0 8px 8px 0; color: #243140; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; text-align: left; }
.download-box { margin-top: 22px; padding: 16px 18px; background: #f8fbfc; border: 1px dashed var(--brand); border-radius: 12px; }
.dl-search { display: flex; gap: 8px; margin: 0 0 22px; max-width: 520px; }
.dl-search input { flex: 1; }
.dl-ext { display: inline-grid; place-items: center; min-width: 52px; height: 34px; margin-bottom: 8px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; letter-spacing: .06em; }
@media (max-width: 860px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-body .muted { white-space: normal; }
}

/* ---------- 搜索 ---------- */
.search-box { position: relative; flex: 1; max-width: 460px; margin: 0 18px; }
.search-input {
  width: 100%; height: 40px; padding: 0 76px 0 14px; font: inherit; font-size: 14px;
  border: 1px solid #d5dee6; border-radius: 999px; background: #fff; outline: none;
}
.search-input:focus { border-color: var(--brand); }
.search-btn {
  position: absolute; right: 4px; top: 4px; height: 32px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.search-btn:hover { background: var(--brand-ink); }
.search-suggest {
  position: absolute; top: 46px; left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 32, 42, .12); overflow: hidden;
}
.sg-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; }
.sg-item:hover { background: #f2f7fb; }
.sg-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-tag { flex: none; font-size: 11px; color: var(--brand-ink); background: #eef4fa; border-radius: 4px; padding: 1px 6px; }
.search-group-title { font-size: 20px; margin: 26px 0 14px; }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-word { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--muted); }
.hot-word:hover { border-color: var(--brand); color: var(--brand-ink); }
em.hl { font-style: normal; color: var(--brand); font-weight: 700; }
@media (max-width: 860px) {
  .search-box { max-width: none; margin: 10px 0 0; order: 3; width: 100%; }
  h1 { font-size: 32px; }
  .hero-grid, .grid-4, .grid-3, .stats, .points, .split, .foot-grid, .figure, .assure { grid-template-columns: 1fr; }
  .panel { position: static; }
  .nav-row { flex-wrap: wrap; min-height: 0; padding: 12px 0; }
  .nav { order: 3; width: 100%; gap: 14px 18px; }
  .hero { padding: 48px 0 40px; }
  .brand-wall, .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- 分类树 chips（首页一级卡片内） ---------- */
.cat-head { display: flex; flex-direction: column; gap: 8px; }
.cat-head:hover strong { color: var(--brand); }
.cat-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 12px; color: var(--brand-ink); background: #eef4fa; border-radius: 999px; padding: 3px 10px; line-height: 1.5; }
a.chip:hover { background: #d7e6f3; }
.chip.is-more { background: transparent; border: 1px dashed #c5d4e2; color: var(--muted); }
.chip.is-more:hover { border-color: var(--brand); color: var(--brand-ink); background: #f2f7fb; }

/* ---------- 二级分类：默认收起，展开后才铺开 ---------- */
.sub-filter { margin: 0 0 22px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sub-filter .cat-filter { margin: 0; }
.cat-more { margin-top: 10px; }
.cat-more summary {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border: 1px dashed #c5d4e2; border-radius: 999px; background: #fff;
  color: var(--brand-ink); font-size: 14px; cursor: pointer; list-style: none;
}
.cat-more summary::-webkit-details-marker { display: none; }
.cat-more summary:hover { border-color: var(--brand); }
.cat-more[open] summary { margin-bottom: 10px; }

/* ---------- 分类页二级 chips ---------- */
.cat-filter .muted { font-size: 12px; margin-left: 4px; }

/* ---------- 品牌墙 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 28px; }
.brand-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.brand-card:hover { border-color: #c5d5e4; }
.brand-card strong { font-size: 15px; line-height: 1.4; }
.brand-logo { display: grid; place-items: center; height: 52px; }
.brand-logo img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.brand-logo.lg { height: 72px; }
.brand-logo.lg img { max-height: 68px; }
.group-title { font-size: 20px; margin: 26px 0 14px; }
.brand-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.brand-head h1 { font-size: 30px; margin: 0 0 6px; }
.brand-head .sub { margin: 0; }

/* ---------- 产品详情页 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; }
.gallery a { display: grid; place-items: center; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.gallery img { max-height: 84px; max-width: 100%; width: auto; object-fit: contain; }
.spec-title { font-size: 16px; margin: 18px 0 8px; color: var(--brand-ink); }
.brand-pill.is-link { border-color: var(--brand); color: var(--brand-ink); }
.brand-pill.is-link:hover { background: var(--brand); color: #fff; }
.qq-line { font-size: 14px; }
