/* 产品详情页样式 —— 与首页共用同一套配色变量，视觉保持一致 */
:root {
  --brand: #0a5fe0;
  --brand-deep: #0b2447;
  --brand-cyan: #0ea5e9;
  --ink: #1f2d3d;
  --muted: #5b6b7c;
  --line: #e6ecf3;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(10, 95, 224, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(12px);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand-deep); font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-size: 17px; letter-spacing: .5px; }
.head-nav { display: flex; gap: 22px; font-size: 15px; }
.head-nav a { color: var(--muted); }
.head-nav a:hover { color: var(--brand); text-decoration: none; }

/* ---------- 面包屑 ---------- */
.crumb {
  font-size: 13px; color: var(--muted);
  padding: 18px 0 6px;
}
.crumb a { color: var(--muted); }
.crumb span { margin: 0 6px; opacity: .5; }

/* ---------- 主标题区 ---------- */
.hero { padding: 8px 0 28px; }
.hero h1 {
  font-size: 30px; line-height: 1.35; margin: 0 0 10px;
  color: var(--brand-deep); letter-spacing: -.3px;
}
.hero .lead { font-size: 16px; color: var(--muted); margin: 0; max-width: 760px; }
.hero .model {
  display: inline-block; margin-top: 12px;
  font-size: 13px; color: var(--brand);
  background: #eaf2ff; border-radius: 999px; padding: 4px 14px;
}

/* ---------- 产品图 ---------- */
.figure { margin: 0 0 32px; }
.figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--bg-soft);
}

/* ---------- 通用卡片 ---------- */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; margin-bottom: 26px; background: var(--white);
}
.card h2 {
  font-size: 20px; margin: 0 0 16px; color: var(--brand-deep);
  padding-left: 12px; border-left: 4px solid var(--brand-cyan);
  line-height: 1.4;
}

/* ---------- 参数表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 34%; color: var(--muted); font-weight: 500; background: var(--bg-soft);
}
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- 卖点 ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.point { padding: 4px 0; }
.point h3 {
  font-size: 16px; margin: 0 0 6px; color: var(--brand-deep);
  display: flex; align-items: center; gap: 8px;
}
.point h3::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-cyan); flex-shrink: 0;
}
.point p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 适用场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scene {
  background: var(--bg-soft); border-radius: 12px; padding: 16px 18px;
}
.scene h3 { font-size: 15px; margin: 0 0 6px; color: var(--brand-deep); }
.scene p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq dt { font-weight: 600; margin-top: 16px; color: var(--brand-deep); font-size: 15.5px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 询价 ---------- */
.cta {
  background: linear-gradient(135deg, #0a5fe0, #0ea5e9);
  border-radius: var(--radius); padding: 30px 28px; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.cta h2 { margin: 0 0 6px; font-size: 20px; border: none; padding: 0; color: #fff; }
.cta p { margin: 0; font-size: 14px; opacity: .9; }
.cta a {
  background: #fff; color: var(--brand); font-weight: 700;
  padding: 12px 26px; border-radius: 999px; font-size: 15px;
  white-space: nowrap;
}
.cta a:hover { text-decoration: none; opacity: .92; }

/* ---------- 相关产品 ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a {
  display: block; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.related a:hover {
  border-color: var(--brand-cyan); box-shadow: var(--shadow); text-decoration: none;
}
.related strong { display: block; font-size: 15px; color: var(--brand-deep); margin-bottom: 4px; }
.related em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- 产品总览卡片 ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white); display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard img { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--bg-soft); }
.pcard-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { margin: 0 0 6px; font-size: 16px; color: var(--brand-deep); }
.pcard-body p { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); flex: 1; }
.pcard-body .more { font-size: 13.5px; color: var(--brand); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 34px 0; margin-top: 40px; font-size: 14px; color: var(--muted);
}
.site-foot .rows { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.site-foot strong { color: var(--brand-deep); display: block; margin-bottom: 8px; font-size: 15px; }
.site-foot a { color: var(--muted); }
.site-foot .copy { margin-top: 22px; font-size: 12.5px; opacity: .75; }

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .hero h1 { font-size: 24px; }
  .points, .scenes, .related, .grid-products { grid-template-columns: 1fr; }
  .spec-table th { width: 42%; }
  .cta { flex-direction: column; align-items: flex-start; }
  .head-nav { display: none; }
  .pcard img { height: 220px; }
}

/* ===== 技术文章（/news/） ===== */
.article-meta { font-size: 13px; color: #6b7280; margin: -6px 0 4px; }
.article { font-size: 15px; line-height: 1.9; color: #344054; }
.article h2 { font-size: 19px; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #eef1f5; color: #101828; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 16px; margin: 24px 0 8px; color: #101828; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: #101828; }
.article .note { background: #fff8ec; border-left: 3px solid #f59e0b; border-radius: 6px; padding: 14px 18px; margin: 22px 0; font-size: 14px; line-height: 1.8; }
.article .spec-table { margin: 16px 0 22px; }
.news-list { display: grid; gap: 16px; }
.news-item { display: block; padding: 22px 24px; border: 1px solid #e6e9ee; border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.news-item:hover { border-color: #0aa269; box-shadow: 0 6px 18px rgba(10,162,105,.08); }
.news-item h3 { margin: 0 0 8px; font-size: 17px; color: #101828; }
.news-item p { margin: 0; font-size: 14px; color: #667085; line-height: 1.7; }
.news-item .date { display: inline-block; margin-top: 10px; font-size: 12px; color: #98a2b3; }
