/* 启栅自动化 · 静态站样式
   设计原则：白底、细线、单一强调色，不使用阴影与渐变。
   换主题只需改下面 6 个色彩变量。 */

:root {
  --ink: #12181f;
  --ink-2: #586572;
  --ink-3: #8b95a1;
  --line: #e5e8ec;
  --bg: #ffffff;
  --bg-2: #f7f9fa;
  --brand: #1c4b3c;
  --brand-dark: #123329;
  --brand-50: #eef4f1;
  --radius: 6px;
  --container: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.35; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* 顶部：只保留标识、导航、电话，去掉多层堆叠 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}
.logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--brand); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 面包屑 */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; }

/* 产品头部：左图右信息 */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  padding: 28px 0 48px;
}

.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery__thumbs button {
  width: 66px;
  height: 66px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-2);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}
.gallery__thumbs button:hover,
.gallery__thumbs button[aria-selected="true"] { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info__title { font-size: 27px; margin-bottom: 14px; }
.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.product-info__meta b { color: var(--ink-2); font-weight: 500; }
.product-info__brief {
  font-size: 15px;
  color: var(--ink-2);
  margin: 20px 0 24px;
}

/* 关键参数摘要：把选型最关心的 4 条提到首屏 */
.key-specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.key-specs__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.key-specs__row:last-child { border-bottom: 0; }
.key-specs__row dt {
  padding: 11px 14px;
  background: var(--bg-2);
  color: var(--ink-2);
  border-right: 1px solid var(--line);
}
.key-specs__row dd { margin: 0; padding: 11px 14px; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink-2); background: var(--bg); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* 内容区块统一节奏 */
.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section__title {
  font-size: 19px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--brand);
  border-radius: 2px;
}

/* 技术参数：单一紧凑表格，分组作为整行标题 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
  border: 1px solid var(--line);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th[scope="row"] {
  width: 180px;
  font-weight: 400;
  color: var(--ink-2);
  background: #fafbfa;
  border-right: 1px solid var(--line);
}
.spec-table tr.is-group th {
  background: var(--brand-50);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  border-right: 0;
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* 订货号 */
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th, .order-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.order-table th { background: var(--bg-2); font-weight: 500; color: var(--ink-2); }
.order-table td:last-child { font-variant-numeric: tabular-nums; }

/* 特性：两列 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 36px;
}
.features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

/* 下载与案例 */
.doc-list { border: 1px solid var(--line); border-radius: var(--radius); }
.doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.doc-list li:last-child { border-bottom: 0; }
.doc-list em { font-style: normal; font-size: 12px; color: var(--ink-3); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--bg);
}

/* 询价表单：单列紧凑，不做弹窗 */
.inquiry { background: var(--bg-2); border-top: 1px solid var(--line); }
.inquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { outline: 2px solid rgba(28, 76, 60, .25); border-color: var(--brand); }
.field textarea { min-height: 96px; resize: vertical; }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 22px;
}
.site-footer b { color: var(--ink-2); font-weight: 500; display: block; margin-bottom: 8px; }
.site-footer p { margin: 0 0 6px; }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-header__inner { height: 58px; gap: 16px; }
  .nav { display: none; }
  .header-tel { margin-left: auto; font-size: 13px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 20px 0 36px; }
  .product-info__title { font-size: 22px; }
  .features { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .spec-table th { width: 120px; }
  .section { padding: 32px 0; }
}

/* ============ 产品列表 / 分类页 ============ */
.list-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  padding: 24px 0 56px;
  align-items: start;
}

.cat-nav { position: sticky; top: 84px; }
.cat-nav__title {
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.cat-nav a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 7px 10px;
  border-radius: 4px;
  border-left: 2px solid transparent;
}
.cat-nav a:hover { background: var(--bg-2); color: var(--brand); }
.cat-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-50);
  border-left-color: var(--brand);
  font-weight: 500;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.list-head h1 { font-size: 20px; }
.list-head span { font-size: 13px; color: var(--ink-3); }

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color .15s;
}
.pcard:hover { border-color: var(--brand); }
.pcard__img {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard__body { padding: 11px 12px 13px; }
.pcard__brand {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.pcard:hover .pcard__title { color: var(--brand); }
.pcard__model {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 宽屏 4 列，中等屏 3 列，避免卡片过窄挤压标题 */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager span[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pager .gap { border: 0; }

@media (max-width: 900px) {
  .list-layout { grid-template-columns: 1fr; gap: 20px; }
  .cat-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .cat-nav__title { display: none; }
  .cat-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .cat-nav a[aria-current="page"] { border-left: 0; border-bottom-color: var(--brand); }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* 分类导航：层级缩进与数量 */
.cat-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-nav__count { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-nav__sub { padding-left: 24px; font-size: 13px; }
.cat-nav__sub2 { padding-left: 38px; font-size: 13px; color: var(--ink-3); }
.cat-nav__sub[aria-current="page"],
.cat-nav__sub2[aria-current="page"] { color: var(--brand); background: var(--brand-50); }

/* ============ 知识文章 ============ */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 8px 24px 64px; }
.article-hero { padding: 26px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-hero h1 { font-size: 25px; line-height: 1.45; }
.article-meta { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.article-meta .sep { margin: 0 8px; }
.article-body { font-size: 16px; line-height: 1.95; color: #2b333c; }
.article-body p { margin: 0 0 18px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body h2 { margin: 30px 0 12px; font-size: 19px; }
.article-body h3 { margin: 24px 0 10px; font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; list-style: revert; }
.article-body li { margin-bottom: 6px; }
.article-body img { margin: 20px 0; border-radius: 4px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* 知识列表 */
.kb-wrap { max-width: 860px; margin: 0 auto; padding: 22px 24px 60px; }
.kb-list { border-top: 1px solid var(--line); }
.kb-item { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.kb-item h2 { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.kb-item:hover h2 { color: var(--brand); }
.kb-item time { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.kb-item p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ============ 首页 ============ */
.hero {
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 60px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.35;
  max-width: 720px;
  letter-spacing: -.5px;
}
.hero p {
  margin: 18px 0 30px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.8;
}
.hero .actions .btn--ghost { background: #fff; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.cat-card:hover { border-color: var(--brand); background: var(--brand-50); }
.cat-card b {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.cat-card:hover b { color: var(--brand); }
.cat-card span {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc h3 { font-size: 15px; margin-bottom: 8px; }
.svc p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }

/* 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  padding: 32px 0 60px;
  align-items: start;
}
.contact-list dt {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 20px;
}
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* 页脚备案链接：弱化显示，符合工信部要求但不过度抢眼 */
.site-footer__bottom a { color: var(--ink-3); }
.site-footer__bottom a:hover { color: var(--brand); text-decoration: underline; }

/* ============ 首页常见问题（GEO 友好，内容可被直接引用） ============ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--ink-3);
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
  flex: none;
}
.faq__item[open] summary { color: var(--brand); }
.faq__item[open] summary::after { content: "−"; color: var(--brand); }
.faq__answer {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
  max-width: 860px;
}
.faq__answer p { margin: 0 0 6px; }
.faq__answer a { color: var(--brand); }
.faq__answer a:hover { text-decoration: underline; }

/* ============ Header 搜索入口 ============ */
.header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-right: -28px;
  transition: border-color .15s, color .15s;
}
.header-search:hover { border-color: var(--brand); color: var(--brand); }
.header-search svg { width: 14px; height: 14px; flex: none; }

/* ============ 搜索页 ============ */
.search-hero { padding: 36px 0 10px; }
.search-hero h1 { font-size: 24px; margin-bottom: 18px; }
.search-form { display: flex; gap: 10px; max-width: 720px; }
.search-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 15px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  border: 1px solid var(--line-2, var(--line));
  border-radius: 5px;
  background: #fff;
}
.search-input:focus { outline: 2px solid rgba(28, 75, 60, .18); border-color: var(--brand); }
.search-submit {
  height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.search-submit:hover { background: var(--brand-dark); }
.search-tabs { display: flex; gap: 8px; margin: 20px 0 2px; flex-wrap: wrap; }
.search-tab {
  padding: 6px 15px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.search-tab:hover { border-color: var(--brand); color: var(--brand); }
.search-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-meta { font-size: 13px; color: var(--ink-3); padding: 14px 0; }
.search-list { border-top: 1px solid var(--line); }
.s-item { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.s-item__type {
  display: inline-block;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--brand-50);
  color: var(--brand);
  margin-right: 8px;
  vertical-align: 1px;
  white-space: nowrap;
}
.s-item__title { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.s-item:hover .s-item__title { color: var(--brand); }
.s-item__desc { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.s-item__path { margin-top: 5px; font-size: 12px; color: var(--ink-3); }
.s-item mark { background: #fdf0b8; color: inherit; padding: 0 1px; border-radius: 2px; }
.search-empty { padding: 56px 0; text-align: center; color: var(--ink-3); font-size: 14px; line-height: 2; }
.search-hint { padding: 26px 0 56px; font-size: 14px; color: var(--ink-3); line-height: 2; }
.search-hint a { color: var(--brand); }

@media (max-width: 900px) {
  .header-search { margin-left: auto; margin-right: -8px; padding: 6px; }
  .header-search span { display: none; }
  .header-tel { margin-left: 0; }
  .search-hero { padding: 24px 0 6px; }
  .search-hero h1 { font-size: 20px; }
}

/* ============ 图片 LOGO ============ */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
@media (max-width: 900px) {
  .logo img { height: 26px; }
}

/* ============ 首页知识分享：两列 ============ */
/* 用 Grid 同一行等高，两列的分隔线自然对齐 */
.kb-list--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
  border-top: 0;
}
.kb-list--2col .kb-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.kb-list--2col .kb-item h2 {
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .kb-list--2col { grid-template-columns: 1fr; column-gap: 0; }
}

/* ============ 产品页差异化模块 ============ */
.section__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* 选型速览 */
.selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.selector li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.selector li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* 同系列对比 */
.table-scroll { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 660px;
}
.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.compare-table thead th {
  background: var(--bg-2);
  font-weight: 500;
  color: var(--ink);
}
.compare-table thead th em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--brand);
  font-weight: 400;
  margin-top: 2px;
}
.compare-table thead th a { color: var(--brand); }
.compare-table thead th a:hover { text-decoration: underline; }
.compare-table tbody th {
  background: var(--bg-2);
  font-weight: 400;
  color: var(--ink-2);
  width: 148px;
  white-space: nowrap;
}
.compare-table td.is-self {
  background: var(--brand-50);
  color: var(--ink);
  font-weight: 500;
}

/* 选型建议 */
.advice__lead {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.advice { counter-reset: adv; }
.advice li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.advice li::before {
  counter-increment: adv;
  content: counter(adv);
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  text-align: center;
  line-height: 18px;
}

/* 接线要点 */
.wire li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
}
.wire li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--brand);
}

@media (max-width: 900px) {
  .selector { grid-template-columns: 1fr; gap: 8px; }
  .compare-table { font-size: 12.5px; min-width: 560px; }
  .compare-table tbody th { width: 110px; }
}

/* ============ 知识页差异化模块 ============ */
.art-extra {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.art-extra__title { font-size: 16px; margin-bottom: 14px; }

.std-list { display: flex; flex-wrap: wrap; gap: 8px; }
.std-list li {
  font-size: 12.5px;
  padding: 3px 10px;
  background: var(--bg-2);
  border-radius: 3px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.rel-list { display: grid; }
.rel-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.rel-item b { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.rel-item:hover b { color: var(--brand); }
.rel-item time { font-size: 12px; color: var(--ink-3); flex: none; }

.rel-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rel-prod {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s;
}
.rel-prod:hover { border-color: var(--brand); }
.rel-prod span { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.rel-prod:hover span { color: var(--brand); }
.rel-prod em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }

@media (max-width: 900px) {
  .rel-prods { grid-template-columns: 1fr; }
}

/* 文章要点速览 */
.art-points {
  background: var(--brand-50);
  border-left: 3px solid var(--brand);
  padding: 15px 20px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 26px;
}
.art-points__title {
  display: block;
  font-size: 12.5px;
  color: var(--brand);
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.art-points ul { margin: 0; padding-left: 18px; list-style: disc; }
.art-points li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 4px;
}

/* ============ 相关产品推荐（横向轮播） ============ */
.rec-section { border-top: 1px solid var(--line); }
.rec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.rec-head .section__title { margin-bottom: 0; }
.rec-note { font-size: 12px; color: var(--ink-3); }
.rec-nav { margin-left: auto; display: flex; gap: 6px; }
.rec-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  font-family: inherit;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.rec-btn:hover { border-color: var(--brand); color: var(--brand); }
.rec-btn:active { background: var(--brand-50); }

.rec-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.rec-track::-webkit-scrollbar { display: none; }

.rec-card {
  flex: 0 0 168px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color .15s;
}
.rec-card:hover { border-color: var(--brand); }
.rec-card__img {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.rec-card__img img { width: 100%; height: 100%; object-fit: contain; }
.rec-card__body { padding: 10px 12px 12px; }
.rec-card__title {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.rec-card:hover .rec-card__title { color: var(--brand); }
.rec-card__meta {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .rec-note { display: none; }
  .rec-card { flex: 0 0 140px; }
  .rec-card__title { font-size: 12px; min-height: 36px; }
  .rec-card__body { padding: 8px 10px 10px; }
}

/* 文章页紧接「延伸阅读」，避免两条分割线贴在一起 */
.article-wrap .rec-section { border-top: 0; padding-top: 30px; }

/* ============ 右下角客服悬浮窗 ============ */
.site-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.site-widget__fab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 17px 0 14px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 23px;
  cursor: pointer;
  font-size: 13.5px;
  font-family: inherit;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(18, 51, 41, .22);
  transition: background .15s, transform .15s;
}
.site-widget__fab:hover { background: var(--brand-dark); transform: translateY(-1px); }
.site-widget__fab svg { width: 17px; height: 17px; flex: none; }

.site-widget__panel {
  width: 312px;
  max-width: calc(100vw - 32px);
  max-height: 74vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(18, 51, 41, .16);
  animation: swIn .18s ease-out;
}
@keyframes swIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.sw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.sw-head b { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.sw-close {
  border: 0;
  background: none;
  font-size: 19px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  padding: 2px 4px;
}
.sw-close:hover { color: var(--brand); }

.sw-qr { padding: 16px 14px 14px; text-align: center; }
.sw-qr img { width: 168px; height: 168px; display: block; margin: 0 auto; }
.sw-qr span {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
}

.sw-form {
  padding: 12px 14px 14px;
  border-top: 1px dashed var(--line);
}
.sw-form label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 9px;
}
.sw-form input[type="text"],
.sw-form input[type="tel"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
.sw-form input:focus {
  outline: 2px solid rgba(28, 75, 60, .16);
  border-color: var(--brand);
}
.sw-submit {
  width: 100%;
  height: 38px;
  font-size: 13.5px;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s;
}
.sw-submit:hover { background: var(--brand-dark); }
.sw-submit:disabled { opacity: .6; cursor: default; }
.sw-msg {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  min-height: 16px;
}
.sw-msg.is-ok { color: var(--brand); }
.sw-msg.is-err { color: #b3423a; }
.sw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 900px) {
  .site-widget { right: 12px; bottom: 12px; }
  .site-widget__panel { width: calc(100vw - 24px); max-height: 72vh; }
  .site-widget__fab { height: 42px; padding: 0 14px; font-size: 13px; }
  .site-widget__fab svg { width: 16px; height: 16px; }
}

/* ============ 悬浮窗：企业微信一键咨询 ============ */
.sw-qr__link { display: inline-block; }
.sw-wx {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin-top: 11px;
  font-size: 13px;
  color: #fff;
  background: #07c160;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
}
.sw-wx:hover { background: #06ad56; }

/* ============ 联系页：企业微信区块 ============ */
.contact-wecom {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.contact-wecom__body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-top: 4px;
}
.contact-wecom__qr {
  flex: none;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
  transition: border-color .15s;
}
.contact-wecom__qr:hover { border-color: var(--brand); }
.contact-wecom__qr img { display: block; width: 150px; height: 150px; }
.contact-wecom__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}
.contact-wecom__text p { margin: 0 0 10px; }
.contact-wecom__tip { font-size: 12.5px; color: var(--ink-3); }
.contact-wecom__btn { margin-top: 6px; }
.contact-wecom__url {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  word-break: break-all;
}
.contact-wecom__url:hover { color: var(--brand); text-decoration: underline; }

@media (max-width: 900px) {
  .contact-wecom__body { flex-direction: column; gap: 18px; }
  .contact-wecom__qr img { width: 134px; height: 134px; }
}
