/* ============================================================
   products.css · 产品中心与解决方案页
   依赖 tokens.css / layout.css / pages.css（内页视觉系统 v2）
   与首页共用：浅底 / 深蓝标题 / 细边线 / 方形按钮
   ============================================================ */

/* ---------- 分类锚点条 ---------- */
.prod-anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.prod-anchors a {
  display: inline-block; padding: 7px 15px; border: 1px solid #d5dee6;
  border-radius: 2px; font-size: 12px; line-height: 20px; color: #5d6d7c;
  background: #FFFFFF; text-decoration: none; transition: border-color .15s ease, color .15s ease;
}
.prod-anchors a:hover { border-color: #123f6c; color: #123f6c; text-decoration: none; }

/* ---------- 分类区块 ---------- */
.cat-section { padding: 46px 0; border-bottom: 1px solid #eef2f5; }
.cat-section:first-of-type { padding-top: 40px; }
.cat-section:last-of-type { border-bottom: 0; }
.cat-section > .h2 { margin-bottom: 10px; }
.cat-sub { font-size: 12.5px; line-height: 24px; color: #7c8996; margin-bottom: 26px; max-width: 760px; }

/* ---------- 产品卡网格 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.prod-card {
  border: 1px solid #e5ebf0; border-radius: 2px;
  background: #FFFFFF; padding: 22px; display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.prod-card:hover { border-color: #c2d0dc; box-shadow: 0 12px 28px -20px rgba(18, 63, 108, .4); }
.prod-media {
  height: 178px; display: flex; align-items: center; justify-content: center;
  background: #f5f7f9; border-radius: 2px; margin-bottom: 18px; padding: 16px;
}
.prod-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-model {
  font-family: var(--font-num); font-size: 17px; line-height: 26px; font-weight: 600;
  color: #163c5f; letter-spacing: .01em;
}
.prod-name { font-size: 12.5px; line-height: 22px; color: #7c8996; margin: 4px 0 16px; }
.prod-spec { margin: 0 0 16px; }
.prod-spec > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0; border-bottom: 1px solid #eef2f5; font-size: 12px; line-height: 20px;
}
.prod-spec > div:last-child { border-bottom: 0; }
.prod-spec dt { color: #93a1ad; flex: none; }
.prod-spec dd { margin: 0; color: #3f5364; font-variant-numeric: tabular-nums; text-align: right; }
.prod-feat {
  margin-top: auto; font-size: 11.5px; line-height: 20px; color: #4d6479;
  background: #f2f6f9; border-radius: 2px; padding: 8px 10px; display: block;
}
a.prod-feat { transition: background-color .15s ease, color .15s ease; }
a.prod-feat:hover { background: #e7eff5; color: #123f6c; text-decoration: none; }

/* ---------- 清单类区块（温控器/AirPro/辅材明细） ---------- */
.prod-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prod-line {
  border: 1px solid #e5ebf0; border-radius: 2px; background: #FFFFFF;
  padding: 16px 18px; font-size: 13px; line-height: 22px; color: #3f5364;
}
.prod-line b { color: #163c5f; font-family: var(--font-num); font-weight: 600; }
.prod-line span { display: block; font-size: 11.5px; line-height: 20px; color: #93a1ad; margin-top: 4px; }

/* ---------- 解决方案页 ---------- */
.sol-hero {
  background: #f5f7f9;
  color: #163c5f;
  padding: 52px 0 46px;
  border-bottom: 1px solid #e5ebf0;
}
.sol-hero .h1 {
  font-size: clamp(31px, 3.2vw, 43px);
  line-height: 1.36;
  font-weight: 500;
  letter-spacing: -.03em;
  color: #163c5f;
}
.sol-hero p {
  color: #6c7c8b;
  font-size: 13.5px;
  line-height: 28px;
  max-width: 720px;
  margin: 14px 0 0;
}
.sol-hero .sol-hero-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .16em;
  color: #7c8996;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 18px;
}
.sol-section { padding: 44px 0; border-bottom: 1px solid #eef2f5; }
.sol-section:last-of-type { border-bottom: 0; }
.sol-section > .container > .h2 { margin-bottom: 24px; }
.sol-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card {
  border: 1px solid #e5ebf0; border-radius: 2px; background: #FFFFFF;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.sol-card:hover { border-color: #c2d0dc; box-shadow: 0 12px 28px -20px rgba(18, 63, 108, .4); text-decoration: none; }
.sol-card-media { height: 176px; background: #f5f7f9; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sol-card-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sol-card-body { padding: 22px; }
.sol-card-body h3 { margin: 0 0 8px; font-size: 16px; line-height: 26px; font-weight: 500; color: #24435f; }
.sol-card-body p { margin: 0; font-size: 12px; line-height: 23px; color: #7c8996; }
.sol-card-more { display: inline-block; margin-top: 16px; font-size: 11.5px; color: #1d568d; font-weight: 500; }

.sol-fig { margin: 0 0 26px; }
.sol-fig img { max-width: 100%; height: auto; border-radius: 2px; border: 1px solid #eef2f5; background: #f5f7f9; }
.sol-points { margin: 0 0 26px; padding: 0; list-style: none; max-width: 760px; }
.sol-points li {
  position: relative; padding: 8px 0 8px 20px;
  font-size: 13.5px; line-height: 26px; color: #4a5a69;
  border-bottom: 1px solid #f1f4f7;
}
.sol-points li::before {
  content: ""; position: absolute; left: 2px; top: 18px; width: 5px; height: 5px;
  border-radius: 1px; background: #a9b8c6;
}
.sol-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-lines { grid-template-columns: 1fr 1fr; }
  .sol-cards { grid-template-columns: 1fr 1fr; }
  .sol-duo { grid-template-columns: 1fr; gap: 24px; }
  .sol-hero { padding: 38px 0 32px; }
}
@media (max-width: 600px) {
  .prod-lines { grid-template-columns: 1fr; }
  .sol-cards { grid-template-columns: 1fr; }
  .prod-card { padding: 18px; }
  .prod-media { height: 150px; }
  .sol-hero { padding: 30px 0 26px; }
  .sol-hero .h1 { font-size: 28px; }
  .cat-section { padding: 32px 0; }
  .sol-section { padding: 32px 0; }
  .sol-points li { font-size: 12.5px; line-height: 24px; }
}
