/* ===========================================================
   弥特科技 · 设备介绍栏目（H5 / 手机端基础样式）
   主色取自官网：#0e4295
   桌面端样式在 desk.css，按 media 条件加载
   =========================================================== */

:root {
  --brand: #0e4295;
  --brand-d: #0a3374;
  --brand-l: #eaf0fb;
  --accent: #f08300;
  --text: #1f2430;
  --text-2: #5b6472;
  --line: #e6eaf2;
  --bg: #f4f6fa;
  --r: 14px;
  --sh: 0 8px 28px rgba(14, 66, 149, .08);
  --sh-s: 0 2px 10px rgba(14, 66, 149, .06);
  --maxw: 720px;
}

.eq-scope *, .eq-scope *::before, .eq-scope *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.eq-page { margin: 0; }

/* 设备栏目内容区：字体/字号只作用于本站头站尾之间的区域 */
.eq-scope {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  padding-bottom: 40px;
}

.eq-scope img { max-width: 100%; display: block; height: auto; }

.eq-scope a { color: var(--brand); text-decoration: none; }

.eq-scope a:focus-visible,
.eq-scope button:focus-visible {
  outline: 3px solid rgba(14, 66, 149, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------- 面包屑 ---------- */
.crumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9px 14px;
  font-size: 12px;
  color: #97a0af;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.crumb a { color: #97a0af; }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; margin: 0 6px; color: #c6ccd6; }
.crumb span { color: var(--brand); }

/* ---------- 栏目头图 ---------- */
.banner {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 140% at 88% 10%, rgba(255, 255, 255, .22), transparent 55%),
    linear-gradient(120deg, #0b3679 0%, #12539f 48%, #2a76cf 100%);
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, .08);
}
.banner-txt { padding: 16px; position: relative; z-index: 1; }
.banner-txt h1 {
  margin: 0 0 5px;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
}
.banner-txt p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .86);
}

/* ---------- 栏目导语 ---------- */
.lead {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ---------- 设备列表 ---------- */
.eq-list { display: grid; gap: 14px; margin: 14px 0 10px; }

.eq-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh-s);
  padding: 12px;
  align-items: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.eq-card:hover { box-shadow: var(--sh); transform: translateY(-1px); }
.eq-card .thumb {
  width: 122px;
  height: 96px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef1f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.eq-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eq-card h2 { margin: 0 0 4px; font-size: 15.5px; line-height: 1.45; }
.eq-card p { margin: 0 0 6px; font-size: 12.5px; color: var(--text-2); line-height: 1.55; }
.eq-card .go { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.eq-card .go::after { content: " ›"; }

/* ---------- 详情页头部 ---------- */
.dtop-main { display: block; }
.dtop-cta { display: flex; gap: 10px; margin: 0 0 16px; }
.dtop-cta .btn { flex: 1; height: 44px; padding: 0; font-size: 14.5px; border-radius: 999px; }
.dtop-cta .btn-primary { background: var(--brand); color: #fff; }
.dtop-cta .btn-ghost { background: #fff; color: var(--brand); border: 1px solid rgba(14, 66, 149, .3); }

.page-head { padding: 18px 0 4px; }
.page-head .kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--brand);
  background: var(--brand-l);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: .3px;
}
.page-head .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(14, 66, 149, .18);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ---------- 主图 ---------- */
.hero {
  margin: 14px 0 18px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 10px;
}
.hero .ph {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.hero img { width: auto; max-width: 100%; max-height: 62vh; margin: 0 auto; }
.hero figcaption {
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
  padding: 8px 4px 2px;
}

/* ---------- 关键指标 ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}
.fact {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--sh-s);
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
}
.fact dt { font-size: 12px; color: var(--text-2); margin: 0 0 2px; }
.fact dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-d);
  line-height: 1.4;
}
.fact dd small { font-weight: 500; font-size: 12px; color: var(--text-2); }

/* ---------- 内容区块 ---------- */
.block {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh-s);
  padding: 18px 16px;
  margin-bottom: 14px;
}
.block h2 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}
.block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
}
.block p { margin: 0 0 10px; color: #333a47; }
.block p:last-child { margin-bottom: 0; }

/* 产品优点 */
.adv { list-style: none; margin: 0; padding: 0; }
.adv li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--line);
  color: #333a47;
}
.adv li:last-child { border-bottom: 0; padding-bottom: 0; }
.adv li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 19px;
  height: 19px;
  line-height: 19px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}
.adv li b { color: var(--brand-d); }

/* 细节图 */
.shots { display: grid; grid-template-columns: 1fr; gap: 12px; }
.shot { margin: 0; }
.shot .ph { background: #fff; border: 1px solid #eef1f7; border-radius: 10px; overflow: hidden; }
.shot .ph img { display: block; margin: 0 auto; }
.shot img { width: 100%; }
.shot figcaption {
  font-size: 12.5px;
  color: var(--text-2);
  padding-top: 6px;
  line-height: 1.6;
}

/* 参数表 */
.params { width: 100%; border-collapse: collapse; font-size: 14px; }
.params th,
.params td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.params th {
  width: 40%;
  color: var(--text-2);
  font-weight: 500;
  background: #fafbfe;
}
.params tr:last-child th,
.params tr:last-child td { border-bottom: 0; }
.params td { color: var(--text); }

/* 布局图 */
.layout img { width: 100%; background: #fff; border-radius: 8px; }

/* ---------- CTA ---------- */
.cta {
  margin: 18px 0 8px;
  background: linear-gradient(135deg, var(--brand), #1a5cbd);
  color: #fff;
  border-radius: var(--r);
  padding: 20px 18px;
  box-shadow: 0 10px 26px rgba(14, 66, 149, .25);
}
.cta h3 { margin: 0 0 6px; font-size: 17px; }
.cta p { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .86); }
.cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.btn-primary { background: #fff; color: var(--brand); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }

/* 动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ===========================================================
   设备介绍栏目 · 动态数据版补充样式
   =========================================================== */

/* ---------- 分组 ---------- */
.grp { margin-top: 18px; }
.grp-t {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  padding-left: 10px;
  font-size: 15px;
  line-height: 1.4;
  border-left: 3px solid var(--brand);
  color: var(--brand-d);
}
.grp-t em {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-2);
}

/* ---------- 卡片标题（h3） ---------- */
.eq-card h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
}
.eq-card .body { min-width: 0; }

/* ---------- 详情页副标题 ---------- */
.dev-sub {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ---------- 详情正文 ---------- */
.dev-content > .blk {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh-s);
  padding: 18px 16px;
  margin-bottom: 14px;
}
.dev-content > .blk h2 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}
.dev-content > .blk h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 2px;
  background: var(--brand);
}
.dev-content > .blk p { margin: 0 0 10px; color: #333a47; }
.dev-content > .blk p:last-child { margin-bottom: 0; }

.dev-content .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }

/* 参数表 */
.dev-content .spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.7;
}
.dev-content .spec th,
.dev-content .spec td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dev-content .spec tr:first-child th {
  background: #f2f6fc;
  color: var(--brand-d);
  font-weight: 600;
}
.dev-content .spec td:first-child,
.dev-content .spec th:first-child {
  width: 38%;
  color: var(--text-2);
  background: #fafbfe;
}
.dev-content .spec tr:first-child td:first-child { background: #f2f6fc; color: var(--brand-d); }
.dev-content .spec tr:last-child td { border-bottom: 0; }
.dev-content .spec td:last-child { color: var(--text); }

/* ---------- 应用案例（右侧栏） ---------- */
.cases { margin: 18px 0 0; min-width: 0; max-width: 100%; }
.cases h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-d);
}
.cases h2::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--brand);
}

/* 图卡网格：3 列，统一比例 + 真实文字标签 */
.case-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.case-cell {
  flex: 0 0 calc((100% - 20px) / 3);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  overflow: hidden;
}
.case-cell .shot {
  aspect-ratio: 4 / 3;
  padding: 3px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-cell .shot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.case-cell figcaption {
  padding: 6px 4px 7px;
  border-top: 1px solid #eef2f7;
  font-size: 11.5px;
  line-height: 1.45;
  color: #46566a;
  text-align: center;
}

/* 实拍横排：3 张并排，保持原始比例 */
.case-row {
  display: flex;
  gap: 8px;
}
.case-row figure { flex: 1 1 0; margin: 0; min-width: 0; }
.case-row img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #f5f8fb;
}

/* 单张宽图 */
.case-wide { margin: 0; }
.case-wide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fff;
}
.case-wide + .case-wide { margin-top: 12px; }
.case-wide figcaption {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.65;
  color: #7b8798;
  text-align: center;
}

.case-note {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #7b8798;
}

/* 编号列表 */
.case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cs;
}
.case-list li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}
.case-list li:last-child { margin-bottom: 0; }
.case-list li::before {
  counter-increment: cs;
  content: counter(cs);
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(14, 66, 149, .08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}


/* 步骤图文（左小图 + 右文字） */
.case-step {
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-step li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #e6ecf4;
}
.case-step li:first-child { padding-top: 0; }
.case-step li:last-child { padding-bottom: 0; border-bottom: 0; }
.case-step .simg {
  flex: 0 0 122px;
  width: 122px;
  margin: 0;
  min-width: 0;
}
.case-step .simg img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e8edf4;
  border-radius: 6px;
  background: #fff;
}
.case-step .stxt { min-width: 0; }
.case-step .stxt b {
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
  color: #1d2a3a;
}
.case-step .stxt b i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(14, 66, 149, .08);
  color: var(--brand);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  vertical-align: 1px;
}
.case-step .stxt p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: #6b7a8d;
}


/* 场景卡片（无实拍图时） */
.case-scene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.case-scene .sc {
  padding: 10px 12px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #fafcff;
  min-width: 0;
}
.case-scene .sc b {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--brand-d);
}
.case-scene .sc p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b7a8d;
}
.case-scene .sc:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 可打标内容标签 */
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.case-tags span {
  padding: 5px 12px;
  border: 1px solid #e2e9f3;
  border-radius: 999px;
  background: #f7fafe;
  font-size: 12.5px;
  color: #45566d;
}

/* 宽图后面接的小标题 */
.case-sub {
  margin: 16px 0 8px;
  font-size: 13.5px;
  color: #1d2a3a;
}

@media (max-width: 520px) {
  .case-cell { flex: 0 0 calc((100% - 10px) / 2); }
  .case-step .simg { flex: 0 0 96px; width: 96px; }
  .case-step .stxt b { font-size: 13px; }
}

/* ---------- 面包屑：贴合官网内页样式 ---------- */
.eq-crumb { background: #fff; border-bottom: 1px solid #eef1f6; }
.eq-crumb > * { max-width: 1240px; }
.eq-crumb-l { max-width: 1240px; margin: 0 auto; padding: 12px 20px; font-size: 12px; color: #8b93a3; }
.eq-crumb-l a { color: #8b93a3; }
.eq-crumb-l a:hover { color: #0e4295; }
.eq-crumb-l i { font-style: normal; margin: 0 8px; color: #c6ccd8; }
