/* ============================================================================
 * 内页专用样式（about-us / faq / contact-us 三个独立页面共用）
 *
 * 命名约定：
 *   .about-page-*    about-us 页面专用（避免与首页或其他板块类名冲突）
 *   .faq-page-*      faq 页面专用
 *   .contact-page-*  contact-us 页面专用
 *   .inner-page-*    三个页面共用的通用组件（hero / breadcrumb / eyebrow / btn）
 *
 * 设计原则：
 *   · 完全复用首页的 :root 变量与全局类（.container / .sec-title / .reveal / .btn）
 *   · 板块结构按首页 9 板块的"独立 section + eyebrow + title + grid"模式
 *   · 移动端 ≤640px、平板 ≤1024px 与首页断点一致
 * ============================================================================ */

/* —— 全局：内页顶部需要给 fixed 头部让位 —— */
.inner-page-body{
  /* 与首页 body padding-top 一致 */
  padding-top:var(--hh, 110px);
}

/* —— 大号按钮（style.css 只提供 .btn--sm，没有 .btn--lg） —— */
.btn--lg{
  padding:15px 34px;
  font-size:16px;
}

/* —— 静态稿占位页脚（移植进主题后由 footer.php 接管） —— */
.design-footer{
  background:#0f172a;
  color:rgba(255,255,255,.60);
  margin-top:0;
}
.design-footer__note{
  text-align:center;
  padding:32px 0;
  font-size:13px;
  line-height:1.6;
  margin:0;
}

/* ============================================================================
 * Hero 首屏（3 个页面共用）
 * 结构：背景图 + 渐变蒙板 + 居中文字（eyebrow / title / subtitle / breadcrumb）
 * ============================================================================ */
.inner-page-hero{
  position:relative;
  isolation:isolate;
  height:480px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}
.inner-page-hero__bg{
  position:absolute; inset:0; z-index:-2;
}
.inner-page-hero__bg img{
  width:100%; height:100%; object-fit:cover;
  filter:brightness(.55) saturate(.85);
}
.inner-page-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(15,23,42,.20) 0%, rgba(15,23,42,.55) 100%);
}
.inner-page-hero__inner{
  max-width:760px; padding:0 24px;
}
.inner-page-hero__eyebrow{
  display:inline-block;
  font-size:13px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:#fff; opacity:.88;
  padding:6px 16px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:999px;
  margin-bottom:24px;
}
.inner-page-hero__title{
  font-size:clamp(36px, 5vw, 56px);
  font-weight:700; line-height:1.15;
  margin:0 0 18px;
  color:#fff;
}
.inner-page-hero__subtitle{
  font-size:clamp(15px, 1.6vw, 18px);
  line-height:1.7;
  color:rgba(255,255,255,.85);
  max-width:640px; margin:0 auto;
}
.inner-page-hero__crumbs{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  display:inline-flex; align-items:center; gap:10px;
  font-size:13px; color:rgba(255,255,255,.85);
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(8px);
  padding:8px 18px;
  border-radius:999px;
}
.inner-page-hero__crumbs a{ color:#fff; text-decoration:none; opacity:.85; transition:opacity .2s; }
.inner-page-hero__crumbs a:hover{ opacity:1; }
.inner-page-hero__crumbs .sep{ opacity:.5; }

/* —— 公共版式：内页 Hero 左对齐（面包屑 → 药丸 → 大标题 → 副标题 → 小标签）
   由 Contact 与 FAQ 两个页面共用；各页差异只写底部留白与底图 —— */
.inner-page-hero--lead{
  height:auto;
  align-items:center;
  justify-content:flex-start;
  text-align:left;
  padding:96px 0 110px;
}
/* 底图再压暗一档，保证白字对比度（照片本身仍可见） */
.inner-page-hero--lead .inner-page-hero__bg img{
  filter:brightness(.46) saturate(.9) contrast(1.05);
}
/* 蒙板：左下角金色光晕 + 自上而下渐深 */
.inner-page-hero--lead::before{
  background:
    radial-gradient(58% 70% at 8% 88%, rgba(232,163,61,.20) 0%, rgba(15,23,42,0) 62%),
    linear-gradient(180deg, rgba(15,23,42,.42) 0%, rgba(15,23,42,.68) 52%, rgba(15,23,42,.80) 100%);
}
.inner-page-hero--lead .inner-page-hero__inner{
  width:var(--container);
  max-width:none;
  padding:0;
  margin:0 auto;
}
/* 面包屑：由「底部居中绝对定位」改为「内容流首行、左对齐」（参考图样式） */
.inner-page-hero--lead .inner-page-hero__crumbs{
  position:static;
  transform:none;
  background:none;
  -webkit-backdrop-filter:none;
          backdrop-filter:none;
  padding:0;
  margin:0 0 30px;
  font-size:13px;
  color:rgba(255,255,255,.66);
}
.inner-page-hero--lead .inner-page-hero__crumbs a{ color:rgba(255,255,255,.66); }
.inner-page-hero--lead .inner-page-hero__crumbs a:hover{ color:var(--accent-2); opacity:1; }
.inner-page-hero--lead .inner-page-hero__crumbs > span:last-child{ color:var(--accent-2); }

.inner-page-hero__lead{ max-width:660px; }
.inner-page-hero__lead .inner-page-hero__title{ margin-bottom:20px; }
/* 金色高亮（与首页 .banner__title .hl 同款做法） */
.inner-page-hero__title .hl{ color:var(--accent-2); }
.inner-page-hero__pill{
  display:inline-flex; align-items:center; gap:9px;
  padding:8px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(12px) saturate(1.15);
          backdrop-filter:blur(12px) saturate(1.15);
  font-size:13px; font-weight:600;
  color:#fff;
  margin-bottom:22px;
}
.inner-page-hero__pill::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 3px rgba(232,163,61,.22);
}
.inner-page-hero--lead .inner-page-hero__subtitle{
  max-width:none;
  margin:0;
  font-size:16px;
  line-height:1.75;
  color:rgba(255,255,255,.78);
}
.inner-page-hero__tags{
  list-style:none;
  margin:32px 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:12px;
}
.inner-page-hero__tags li{
  display:inline-flex; align-items:center; gap:9px;
  padding:9px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  font-size:13px; font-weight:600;
  color:rgba(255,255,255,.92);
}
.inner-page-hero__tags svg{ flex:0 0 auto; color:var(--accent); }

/* ============================================================================
 * About Us 页面
 * ============================================================================ */

/* ============================================================================
 * Hero 首屏（原 hero + 公司简介合并为一个板块）
 * 结构：暗色调底 + 高透明度底图（隐约可见）+ 暗色蒙板
 *       左：文案介绍（Welcome to Dongguan Simply）
 *       右：公司图片自动轮播 + 2 个小的透明标签（公司优势）
 *       底：数据条
 * ============================================================================ */
.about-page-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#070c16;
  padding:84px 0 72px;
  color:#fff;
}
/* 底图：透明度很高，只隐约可见 */
.about-page-hero__bg{ position:absolute; inset:0; z-index:-2; }
.about-page-hero__bg img{
  width:100%; height:100%; object-fit:cover; display:block;
  opacity:.20;
  filter:grayscale(.30) contrast(1.05);
}
/* 暗色蒙板：左侧压暗保证文字对比度，右下/右上留出底图的纹理感 */
.about-page-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(70% 60% at 86% 8%, rgba(232,163,61,.18) 0%, rgba(7,12,22,0) 62%),
    linear-gradient(100deg, rgba(7,12,22,.95) 0%, rgba(7,12,22,.84) 44%, rgba(7,12,22,.58) 100%),
    linear-gradient(180deg, rgba(7,12,22,0) 52%, rgba(7,12,22,.92) 100%);
}
.about-page-hero__inner{
  display:grid;
  grid-template-columns:1.02fr 1fr;
  gap:64px;
  align-items:center;
}
/* 栅格子项必须 min-width:0，否则 Swiper 内容会反向撑爆列宽 */
.about-page-hero__inner > *{ min-width:0; }

/* —— 左：文案介绍 —— */
.about-page-hero__copy{ min-width:0; }
.about-page-hero__eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(255,255,255,.86);
  padding:7px 16px;
  background:rgba(232,163,61,.14);
  border:1px solid rgba(232,163,61,.38);
  border-radius:999px;
  margin-bottom:22px;
}
.about-page-hero__eyebrow::before{
  content:"✦"; color:var(--accent-2); font-size:11px;
}
.about-page-hero__title{
  font-family:"Manrope",Arial,sans-serif;
  font-size:clamp(34px, 4.4vw, 52px);
  font-weight:800; line-height:1.12; letter-spacing:-.02em;
  margin:0 0 22px;
  color:#fff;
}
.about-page-hero__title .hl{
  background:linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 58%, #c98a22 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.about-page-hero__lead{
  font-size:15.5px; line-height:1.78;
  color:rgba(255,255,255,.80);
  margin:0 0 14px;
  max-width:560px;
}
.about-page-hero__lead--dim{
  font-size:14.5px;
  color:rgba(255,255,255,.62);
}
.about-page-hero__btns{
  display:flex; flex-wrap:wrap; gap:14px;
  margin-top:14px;
}
/* 暗底上的描边按钮 */
.btn--outline{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.30);
  color:#fff;
}
.btn--outline:hover{
  background:#fff; color:var(--text);
  border-color:#fff;
  transform:translateY(-3px);
}

/* —— 右：公司图片自动轮播 —— */
/* 外层负责尺寸与裁切；Swiper 绝对铺满（避免 Swiper 内容反撑父容器高度） */
.about-page-hero__media{
  position:relative;
  aspect-ratio:4/3;
  border-radius:var(--radius);
  overflow:visible;      /* 让两个标签能溢出到图片外 */
}
.about-page-hero__media > .about-page-hero-swiper{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,.55);
}
.about-page-hero-swiper .swiper-slide{
  position:relative;
  overflow:hidden;
  width:100%;
  height:100%;
}
.about-page-hero-swiper .swiper-slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.about-page-hero-swiper .swiper-pagination{ bottom:14px; }
.about-page-hero-swiper .swiper-pagination-bullet{
  background:rgba(255,255,255,.55); opacity:1;
  transition:width .3s var(--ease), background-color .3s var(--ease);
}
.about-page-hero-swiper .swiper-pagination-bullet-active{
  background:var(--accent); width:22px; border-radius:999px;
}

/* —— 两个小的透明标签（公司优势）—— */
/* z-index 必须高于 Swiper（Swiper 自带 z-index:1），否则标签会被图片盖住 */
.about-page-hero__tags{ position:absolute; inset:0; z-index:3; pointer-events:none; }
.about-page-hero-tag{
  position:absolute;
  display:flex; align-items:center; gap:12px;
  max-width:250px;
  padding:13px 17px;
  background:linear-gradient(150deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.09) 100%);
  border:1px solid rgba(255,255,255,.30);
  border-radius:var(--radius-sm);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
          backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.about-page-hero-tag--a{ top:-30px; right:-26px; }
.about-page-hero-tag--b{ bottom:-26px; left:-26px; }
.about-page-hero-tag__icon{
  flex-shrink:0;
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(232,163,61,.18);
  border:1px solid rgba(232,163,61,.38);
  border-radius:10px;
  color:var(--accent-2);
}
.about-page-hero-tag__icon svg{ width:19px; height:19px; }
.about-page-hero-tag__text strong{
  display:block; font-size:14px; font-weight:700;
  color:#fff; line-height:1.25;
}
.about-page-hero-tag__text em{
  display:block; font-style:normal;
  font-size:12px; line-height:1.35;
  color:rgba(255,255,255,.70);
  margin-top:2px;
}

/* —— 底部数据条（沿用首页 strip 的 4 组数据，保持全站口径一致）—— */
.about-page-hero__stats{
  position:relative; z-index:2;
  margin-top:76px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  background:#fff;
  border-radius:var(--radius);
  box-shadow:0 26px 60px rgba(0,0,0,.42);
  overflow:hidden;
}
.about-page-hero-stat{
  padding:26px 22px;
  text-align:center;
  border-left:1px solid var(--line);
}
.about-page-hero-stat:first-child{ border-left:none; }
.about-page-hero-stat strong{
  display:block;
  font-size:21px; font-weight:800;
  color:var(--accent-ink);
  letter-spacing:-.01em;
}
.about-page-hero-stat em{
  display:block; font-style:normal;
  font-size:13px; line-height:1.45;
  color:var(--muted);
  margin-top:5px;
}

/* —— ②Capabilities：3 卡（图标 + 标题 + 描述），深色卡片 —— */
.about-page-caps{
  padding:96px 0;
  background:var(--ink-2);
}
.about-page-caps__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  margin-top:48px;
}
.about-page-caps__card{
  position:relative;
  background:linear-gradient(160deg, #1b2230 0%, #101827 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  padding:40px 32px;
  color:#fff;
  box-shadow:var(--shadow);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.about-page-caps__card:hover{
  transform:translateY(-6px);
  border-color:rgba(232,163,61,.48);
  box-shadow:0 26px 60px rgba(7,12,22,.34);
}
.about-page-caps__icon{
  width:64px; height:64px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(232,163,61,.14);
  border:1px solid rgba(232,163,61,.34);
  border-radius:14px;
  color:var(--accent-2);
  margin-bottom:22px;
}
.about-page-caps__icon svg{ width:30px; height:30px; }
.about-page-caps__name{
  font-size:20px; font-weight:700; line-height:1.35;
  color:#fff;
  /* 标题 1~2 行：占位对齐，三张卡的正文起点齐平 */
  min-height:2.7em;
  margin:0 0 12px;
}
.about-page-caps__desc{
  font-size:14.5px; line-height:1.72;
  color:rgba(255,255,255,.72);
  margin:0;
}

/* —— ③Gallery：12 张车间实拍（4 列 × 3 行） —— */
.about-page-gal{
  padding:96px 0;
  background:var(--ink);
}
.about-page-gal__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:48px;
}
.about-page-gal__item{
  position:relative;
  /* 横向长方形（原为 1/1 正方形） */
  aspect-ratio:8/5;
  border-radius:var(--radius-sm);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.about-page-gal__item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease);
}
.about-page-gal__item:hover img{ transform:scale(1.06); }
/* 说明文字常驻左下角（原为 hover 才显示，无渐变条）
 * 阴影 + 渐变双保险：浅色照片（如 Sample Product）上也能读清 */
.about-page-gal__caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:10px 14px 12px;
  background:linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,0) 100%);
  color:#fff; font-size:12.5px; font-weight:500;
  letter-spacing:.02em;
  text-shadow:0 1px 3px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.65);
  transition:color .3s var(--ease);
}
.about-page-gal__item:hover .about-page-gal__caption{ color:var(--accent-2); }

/* —— ④Machines：6 张设备（3 列 × 2 行 + 编号 01–06） —— */
.about-page-mach{
  padding:96px 0;
  background:var(--ink-2);
}
.about-page-mach__grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-top:48px;
}
.about-page-mach__item{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
}
.about-page-mach__item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease);
}
.about-page-mach__item:hover img{ transform:scale(1.05); }
.about-page-mach__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:24px;
  background:linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.10) 55%, rgba(0,0,0,0) 100%);
  color:#fff;
}
.about-page-mach__num{
  font-size:13px; font-weight:600;
  color:var(--accent-2);
  letter-spacing:.16em;
  margin-bottom:6px;
}
.about-page-mach__name{
  font-size:20px; font-weight:600;
  margin:0;
}

/* —— ⑤Values：公司优势（暗底 + 隐约可见底图）
 *    新排版：每组 = 顶部圆角「组名条」（编号 01 + 大写组名 + 右侧隐约可见的图片 / 图标）
 *                    + 下方 4 张卡片
 *    封面结构：.about-page-val__bg（底图） + ::before（暗色蒙板） —— */
.about-page-val{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:96px 0;
  background:#080d18;
  color:#fff;
}
.about-page-val__bg{ position:absolute; inset:0; z-index:-2; }
.about-page-val__bg img{
  width:100%; height:100%; object-fit:cover; display:block;
  opacity:.11;
  filter:grayscale(.30) contrast(1.05);
}
.about-page-val::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, #080d18 0%, rgba(8,13,24,.80) 50%, #080d18 100%);
}
.about-page-val .sec-title{ color:#fff; }
.about-page-val .sec-title__eyebrow{ color:var(--accent-2); }
.about-page-val .sec-title__main{ color:#fff; }
.about-page-val .sec-title__desc{ color:rgba(255,255,255,.72); }
.about-page-val__grid{
  display:grid; gap:52px;
  margin-top:56px;
}
.about-page-val__group{ min-width:0; }

/* —— 组名条：圆角胶囊，右侧透出隐约可见的图片 —— */
.about-page-val__bar{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  align-items:center;
  gap:22px;
  min-height:78px;
  padding:16px 30px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 46px rgba(0,0,0,.45);
}
.about-page-val__bar-bg{ position:absolute; inset:0; z-index:-2; }
.about-page-val__bar-bg img{
  width:100%; height:100%; object-fit:cover; display:block;
  object-position:center 45%;
  opacity:.42;
  filter:grayscale(.30) contrast(1.05);
}
/* 由左向右压暗：左侧纯暗保证文字可读，右侧留出图片 */
.about-page-val__bar::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg,
    #0d1524 0%,
    rgba(13,21,36,.96) 34%,
    rgba(13,21,36,.72) 66%,
    rgba(13,21,36,.38) 100%);
}
.about-page-val__bar-no{
  flex:0 0 auto;
  font-family:"Manrope",Arial,sans-serif;
  font-size:15px; font-weight:800;
  letter-spacing:.04em; line-height:1;
  color:var(--accent-2);
  padding-right:22px;
  border-right:1px solid rgba(255,255,255,.18);
}
.about-page-val__bar-name{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:8px 16px;
  font-family:"Manrope",Arial,sans-serif;
  font-size:23px; font-weight:800;
  line-height:1.15;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#fff;
  margin:0;
  text-shadow:0 2px 18px rgba(0,0,0,.6);
}
.about-page-val__bar-icon{
  margin-left:auto;
  flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px;
  border-radius:50%;
  color:var(--accent-2);
  background:rgba(232,163,61,.14);
  border:1px solid rgba(232,163,61,.38);
  -webkit-backdrop-filter:blur(6px);
          backdrop-filter:blur(6px);
}
.about-page-val__bar-icon svg{ width:22px; height:22px; display:block; }

/* —— 卡片行：4 张深色卡片 —— */
.about-page-val__items{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  margin-top:20px;
}
.about-page-val__item{
  min-width:0;
  padding:26px 24px 28px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
  border-top:2px solid var(--accent);
  border-radius:var(--radius-sm);
  transition:background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.about-page-val__item:hover{
  background:rgba(255,255,255,.075);
  border-color:rgba(232,163,61,.40);
  border-top-color:var(--accent);
  transform:translateY(-5px);
}
.about-page-val__item-title{
  font-family:"Manrope",Arial,sans-serif;
  font-size:13.5px; font-weight:800;
  line-height:1.45;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--accent-2);
  /* 标题 1~2 行：占位对齐，保证每张卡正文起点齐平 */
  min-height:2.9em;
  margin:0 0 12px;
}
.about-page-val__item-desc{
  font-size:14px; line-height:1.72;
  color:rgba(255,255,255,.72);
  margin:0;
}
/* 原文残缺、待客户补全的两项（仅弱化显示，未补写内容） */
.about-page-val__item-title.is-pending{ color:rgba(232,163,61,.60); }
.about-page-val__item-desc.is-pending{ color:rgba(255,255,255,.32); }

/* —— ⑥CTA：深色块 + 引导询价 —— */
.about-page-cta{
  padding:80px 0;
  background:var(--ink);
}
.about-page-cta__box{
  background:linear-gradient(135deg, #0f172a 0%, #1b2230 100%);
  border-radius:var(--radius);
  padding:64px 56px;
  display:flex; align-items:center; justify-content:space-between;
  gap:40px;
  box-shadow:var(--shadow-lg);
  position:relative; overflow:hidden;
}
.about-page-cta__box::before{
  content:""; position:absolute; top:-80px; right:-80px;
  width:320px; height:320px;
  background:radial-gradient(circle, rgba(232,163,61,.22) 0%, transparent 70%);
}
.about-page-cta__text{ color:#fff; max-width:680px; }
.about-page-cta__eyebrow{
  font-size:13px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent-2);
  margin:0 0 12px;
}
.about-page-cta__title{
  font-size:32px; font-weight:700;
  margin:0 0 12px;
  color:#fff;
}
.about-page-cta__desc{
  font-size:16px; line-height:1.7;
  color:rgba(255,255,255,.78);
  margin:0;
}
.about-page-cta__btn{ flex-shrink:0; position:relative; z-index:1; }

/* ============================================================================
 * FAQ 页面
 * ============================================================================ */

/* —— Hero：版式与 Contact 页完全一致，公共样式见 .inner-page-hero--lead —— */

/* —— ①问答列表：左分类导航 + 右折叠面板（双列布局） —— */
.faq-page-list{
  padding:96px 0;
  background:var(--ink);
}
.faq-page-list__grid{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:56px;
  align-items:flex-start;
}

/* 左：分类导航 */
.faq-page-list__nav{
  position:sticky; top:calc(var(--hh, 110px) + 24px);
  background:var(--ink-2);
  border-radius:var(--radius);
  padding:24px 20px;
  box-shadow:var(--shadow);
}
.faq-page-list__nav h4{
  font-size:13px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted);
  margin:0 0 14px;
  padding:0 8px;
}
.faq-page-list__nav ul{ list-style:none; padding:0; margin:0; display:grid; gap:4px; }
.faq-page-list__nav li a{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px;
  border-radius:var(--radius-sm);
  color:var(--text);
  text-decoration:none;
  font-size:14px; font-weight:500;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.faq-page-list__nav li a:hover{
  background:#fff;
  color:var(--accent-ink);
}
.faq-page-list__nav li a .count{
  font-size:11px; padding:2px 8px;
  background:var(--ink-3);
  color:var(--muted);
  border-radius:999px;
  font-weight:600;
}

/* 右：分组 + 折叠项 */
.faq-page-list__content{ min-width:0; }
.faq-page-group{
  margin-bottom:48px;
}
.faq-page-group:last-child{ margin-bottom:0; }
.faq-page-group__title{
  display:flex; align-items:center; gap:14px;
  font-size:22px; font-weight:700;
  color:var(--text);
  margin:0 0 20px;
  padding-bottom:14px;
  border-bottom:2px solid var(--ink-3);
}
.faq-page-group__title::before{
  content:""; width:6px; height:24px;
  background:var(--accent);
  border-radius:3px;
}

/* 折叠面板：用原生 <details> */
.faq-page-group details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  margin-bottom:12px;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-page-group details[open]{
  border-color:var(--accent);
  box-shadow:0 4px 16px rgba(232,163,61,.10);
}
.faq-page-group summary{
  list-style:none;
  cursor:pointer;
  padding:20px 56px 20px 24px;
  position:relative;
  font-size:16px; font-weight:600;
  color:var(--text);
}
.faq-page-group summary::-webkit-details-marker{ display:none; }
.faq-page-group summary::after{
  content:"+";
  position:absolute; right:22px; top:50%; transform:translateY(-50%);
  width:28px; height:28px;
  display:flex; align-items:center; justify-content:center;
  background:var(--ink-3);
  border-radius:50%;
  font-size:18px; font-weight:600;
  color:var(--muted);
  transition:background .2s var(--ease), color .2s var(--ease), transform .25s var(--ease);
}
.faq-page-group details[open] summary::after{
  content:"−";
  background:var(--accent);
  color:#fff;
  transform:translateY(-50%) rotate(180deg);
}
.faq-page-group summary:hover{ color:var(--accent-ink); }
.faq-page-group__body{
  padding:0 24px 22px;
  color:var(--muted);
  line-height:1.75;
  font-size:15px;
}
/* 答案字段化后，原先写在 HTML 内联 style 里的列表排版搬到这里
   （wp_kses_post 会剥掉 style 属性，列表缩进必须由 CSS 接管） */
.faq-page-group__body ul{
  margin:8px 0 0;
  padding-left:20px;
}
.faq-page-group__body ul li{ margin:2px 0; }
.faq-page-group__body ul + p{ margin-top:8px; }
.faq-page-group__body p{ margin:0; }
.faq-page-group__body p + p{ margin-top:8px; }

/* —— ②底部 CTA —— */
.faq-page-cta{
  padding:80px 0;
  background:var(--ink-2);
}
.faq-page-cta__box{
  background:#fff;
  border-radius:var(--radius);
  padding:48px 56px;
  text-align:center;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.faq-page-cta__title{
  font-size:28px; font-weight:700;
  color:var(--text);
  margin:0 0 12px;
}
.faq-page-cta__desc{
  font-size:16px;
  color:var(--muted);
  margin:0 0 28px;
  line-height:1.7;
}

/* ============================================================================
 * Contact Us 页面
 *
 * 结构：hero（图背景 + 顶部面包屑 + 药丸 + 大标题 + 3 个小标签）
 *       → ①五张联系信息卡（白色面板压住 hero 底边）
 *       → ②询价表单（左：图文【图片已压暗】 / 右：首页 #quoteForm 同款表单）
 *       → 无地图板块（按需求去掉）
 * ============================================================================ */

/* Contact 独有：底部多留 80px，让下面的联系卡面板压住 hero 底边 */
.contact-page-hero{ padding-bottom:190px; }

/* —— ①联系信息卡：整块白色面板压住 hero 底边
 *    v1.9.1：由「面板内竖线分栏」改为「居中标题 + 居中排版的独立小卡」，
 *            图标去掉浅金底框，卡片底部不再有行动链接（对齐客户参考图）。
 *            网格用 flex + justify-content:center —— 窄屏换行后末行居中，
 *            不会像 grid 那样在右侧空出一格。 */
.contact-page-cards{
  position:relative;
  z-index:2;
  padding:0 0 92px;
  background:var(--ink);
}
.contact-page-cards__panel{
  margin-top:-118px;                 /* hero padding-bottom 已留 190px */
  padding-top:52px;
  background:var(--white);
  border-radius:var(--radius);
}
.contact-page-cards__title{
  margin:0 0 34px;
  text-align:center;
  font-size:clamp(26px, 3vw, 34px);
  line-height:1.25;
  color:var(--text);
}
.contact-page-cards__grid{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:20px;
}
.contact-page-cards__item{
  flex:0 0 calc((100% - 80px) / 5);  /* 5 列：4 个 20px 间隙 */
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  padding:28px 18px 26px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 6px 16px rgba(15, 23, 42, .05);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-page-cards__item:hover{
  transform:translateY(-3px);
  border-color:rgba(232, 163, 61, .45);
  box-shadow:0 14px 28px rgba(15, 23, 42, .1);
}
.contact-page-cards__icon{
  display:grid; place-items:center;
  color:var(--accent-ink);           /* 白底上的暖金，对比度达标 */
  margin-bottom:16px;
}
.contact-page-cards__icon svg{ width:30px; height:30px; }
.contact-page-cards__name{
  font-size:15px; font-weight:700; line-height:1.4;
  color:var(--text);
  margin:0 0 8px;
}
.contact-page-cards__detail{
  font-size:13.5px; line-height:1.62;
  color:var(--muted);
  margin:0;
  word-break:break-word;
}

/* —— ②询价表单：左图文 / 右表单
 *    参考图是「左表单 / 右图」，按需求左右互换 —— */
.contact-page-form{
  padding:0 0 104px;
  background:var(--ink);
}
.contact-page-form__grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:26px;
  align-items:stretch;
}

/* 左：图文（图片压暗 + 深色蒙板，保证浮层文字可读） */
.contact-page-form__media{
  position:relative;
  margin:0;
  min-height:580px;
  border-radius:var(--radius);
  overflow:hidden;
  background:#0f172a;
}
.contact-page-form__media img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  filter:brightness(.50) saturate(.88) contrast(1.04);
}
.contact-page-form__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(165deg, rgba(15,23,42,.26) 0%, rgba(15,23,42,.60) 46%, rgba(15,23,42,.86) 100%);
}
.contact-page-form__overlay{
  position:relative; z-index:1;
  height:100%;
  display:flex; flex-direction:column; justify-content:center;
  gap:22px;
  padding:46px 42px;
  color:#fff;
}
.contact-page-form__eyebrow{
  display:inline-flex; align-items:center; gap:11px;
  font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:#fff;
  margin:0;
}
.contact-page-form__eyebrow::before{
  content:""; width:3px; height:15px; border-radius:2px;
  background:var(--accent);
}
.contact-page-form__desc{
  font-size:14.5px; line-height:1.8;
  color:rgba(255,255,255,.80);
  margin:0;
}
.contact-page-form__stat{
  display:flex; align-items:center; gap:18px;
  padding:18px 22px;
  border-radius:var(--radius-sm);
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(14px) saturate(1.15);
          backdrop-filter:blur(14px) saturate(1.15);
}
.contact-page-form__stat strong{
  flex:0 0 auto;
  font-family:"Manrope",Arial,sans-serif;
  font-size:38px; font-weight:800; line-height:1;
  color:var(--accent-2);
}
.contact-page-form__stat span{
  font-size:13px; line-height:1.55;
  color:rgba(255,255,255,.86);
}

/* 右：表单 —— 直接复用首页 .contact__form / .field / .captcha-row 等原类，
 *     这里只补「卡片内标题区」与栅格起始对齐，不改表单本身外观 */
.contact-page-quote{
  padding:42px 40px;
  align-content:start;
}
.contact-page-quote__head{
  grid-column:1 / -1;                /* 标题区跨满两列 */
  margin-bottom:6px;
}
.contact-page-quote__head h2{
  font-family:"Manrope",Arial,sans-serif;
  font-size:26px; font-weight:700; line-height:1.25;
  color:var(--text);
  margin:0 0 10px;
}
.contact-page-quote__head p{
  font-size:14.5px; line-height:1.7;
  color:var(--muted);
  margin:0;
}

/* ============================================================================
 * 共用：rebuild 一致的 sec-title（与首页 9 板块同构）
 * ============================================================================ */
/* .sec-title{
  text-align:center;
  max-width:760px; margin:0 auto;
} */
.sec-title__eyebrow{
  display:inline-block;
  font-size:13px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent-ink);
  padding:6px 16px;
  border:1px solid var(--accent);
  border-radius:999px;
  margin-bottom:16px;
}
.sec-title__main{
  font-size:clamp(28px, 3.5vw, 40px);
  font-weight:700; line-height:1.25;
  color:var(--text);
  margin:0 0 16px;
}
.sec-title__desc{
  font-size:16px; line-height:1.7;
  color:var(--muted);
  margin:0;
}

/* —— 左对齐变体（About 页专用）
 *    eyebrow 去掉胶囊边框 → 纯大写小字；标题 / 描述一律左对齐；描述限宽成 2 行
 *    ⚠️ 只加在 About 页的 .sec-title 上，FAQ / Contact 仍走居中的基础版 —— */
.sec-title--left{
  text-align:left;
  max-width:820px;
  margin:0;
}
.sec-title--left .sec-title__eyebrow{
  display:block;
  padding:0;
  border:0;
  border-radius:0;
  margin-bottom:14px;
}
.sec-title--left .sec-title__desc{
  max-width:58ch;
}

/* ============================================================================
 * 响应式（与首页断点一致）
 * ============================================================================ */

/* 平板 ≤1024px */
@media (max-width:1024px){
  .about-page-hero{ padding:64px 0 56px; }
  .about-page-hero__inner{ grid-template-columns:1fr; gap:56px; }
  .about-page-hero__lead{ max-width:none; }
  .about-page-hero__stats{ margin-top:60px; grid-template-columns:repeat(2, 1fr); }
  .about-page-hero-stat:nth-child(odd){ border-left:none; }
  .about-page-hero-stat:nth-child(n+3){ border-top:1px solid var(--line); }
  .about-page-caps__grid{ grid-template-columns:repeat(2, 1fr); }
  .about-page-gal__grid{ grid-template-columns:repeat(3, 1fr); }
  .about-page-mach__grid{ grid-template-columns:repeat(2, 1fr); }
  .about-page-val__grid{ gap:44px; }
  .about-page-val__bar{ padding:15px 24px; gap:18px; min-height:70px; }
  .about-page-val__bar-name{ font-size:19px; letter-spacing:.08em; }
  .about-page-val__items{ grid-template-columns:repeat(2, 1fr); }
  .about-page-cta__box{ flex-direction:column; text-align:center; padding:48px 32px; }
  .faq-page-list__grid{ grid-template-columns:1fr; gap:32px; }
  .faq-page-list__nav{ position:static; }
  .inner-page-hero--lead{ padding:80px 0 96px; }
  .contact-page-hero{ padding-bottom:172px; }
  .contact-page-cards__panel{ padding:44px 32px 40px; }
  .contact-page-cards__title{ font-size:27px; margin-bottom:28px; }
  .contact-page-cards__item{ flex:0 0 calc((100% - 40px) / 3); }   /* 3 列，末行居中 */
  .contact-page-form__grid{ grid-template-columns:1fr; gap:24px; }
  .contact-page-form__media{ min-height:420px; }
  .contact-page-quote{ padding:36px 32px; }
}

/* 移动端 ≤640px */
@media (max-width:640px){
  .inner-page-hero{ height:380px; }
  /* Contact hero 高度由内容 + 底部压边留白决定，不写死 */
  .inner-page-hero__title{ font-size:32px; }

  /* About Hero：单列 + 标签退回内侧（避免被视口裁掉） */
  .about-page-hero{ padding:48px 0 44px; }
  .about-page-hero__title{ font-size:30px; }
  .about-page-hero__lead{ font-size:14.5px; }
  .about-page-hero__btns .btn{ flex:1 1 100%; }
  .about-page-hero-tag{ max-width:196px; padding:10px 13px; gap:9px; }
  .about-page-hero-tag--a{ top:-18px; right:8px; }
  .about-page-hero-tag--b{ bottom:-20px; left:8px; }
  .about-page-hero-tag__icon{ width:32px; height:32px; border-radius:8px; }
  .about-page-hero-tag__icon svg{ width:16px; height:16px; }
  .about-page-hero-tag__text strong{ font-size:13px; }
  .about-page-hero-tag__text em{ font-size:11px; }
  /* Hero 数据条：2 列 × 2 行（原 1 列 4 行）——分隔线规则与 1024 断点一致：
     奇数项无左边框、第 3 项起加上边框（先写全量 border 再用 :nth-child 覆盖） */
  .about-page-hero__stats{ margin-top:48px; grid-template-columns:repeat(2, 1fr); }
  .about-page-hero-stat{ padding:20px 12px; border-left:1px solid var(--line); border-top:none; }
  .about-page-hero-stat:nth-child(odd){ border-left:none; }
  .about-page-hero-stat:nth-child(n+3){ border-top:1px solid var(--line); }
  /* 单格仅 ~116px 内容宽 → 字号同步收紧，避免 "ISO-Grade" 折行 */
  .about-page-hero-stat strong{ font-size:17px; }
  .about-page-hero-stat em{ font-size:11.5px; line-height:1.4; }

  .about-page-caps__grid{ grid-template-columns:1fr; }
  .about-page-gal__grid{ grid-template-columns:repeat(2, 1fr); }
  /* Machines：2 列 × 3 行（原 1 列 6 行）——320px 下单卡仅 ~128px 宽，
     卡内文字（编号/名称）与内边距必须同步压缩 */
  .about-page-mach__grid{ grid-template-columns:repeat(2, 1fr); gap:14px; margin-top:36px; }
  .about-page-mach__overlay{ padding:11px 12px; }
  .about-page-mach__num{ font-size:9.5px; letter-spacing:.12em; margin-bottom:2px; }
  .about-page-mach__name{ font-size:12.5px; line-height:1.35; }
  .about-page-val__grid{ gap:36px; margin-top:40px; }
  /* 移动端改为两行 grid：第一行「编号 ←→ 图标」，第二行组名铺满
     （flex-wrap 的换行判定用 flex-basis 内容宽度，min-width:0 无法阻止编号被顶到上一行） */
  .about-page-val__bar{
    display:grid;
    grid-template-columns:auto 1fr;
    grid-template-areas:
      "no icon"
      "name name";
    align-items:center;
    gap:10px 14px;
    min-height:0;
    padding:16px 18px;
    border-radius:22px;
  }
  .about-page-val__bar-no{
    grid-area:no;
    font-size:14px;
    padding-right:0;
    border-right:none;
  }
  .about-page-val__bar-icon{
    grid-area:icon;
    justify-self:end;
    position:static;
    transform:none;
    margin-left:0;
    width:36px; height:36px;
  }
  .about-page-val__bar-icon svg{ width:17px; height:17px; }
  .about-page-val__bar-name{
    grid-area:name;
    font-size:16px;
    letter-spacing:.06em;
    gap:5px 10px;
    padding-right:0;
  }
  .about-page-val__items{ grid-template-columns:1fr; gap:14px; margin-top:16px; }
  .about-page-val__item{ padding:22px 20px 24px; }
  .about-page-cta__title{ font-size:24px; }
  /* 必须显式 height:auto —— 上面 .inner-page-hero{ height:380px } 在 ≤640 会锁死本页高度，
     否则药丸标签与底部小标签被 overflow:hidden 裁掉 */
  .inner-page-hero--lead{ height:auto; padding:64px 0 88px; }
  .contact-page-hero{ padding-bottom:142px; }
  .inner-page-hero--lead .inner-page-hero__crumbs{ margin-bottom:22px; }
  .inner-page-hero__lead{ max-width:none; }
  .inner-page-hero__pill{ font-size:12px; padding:7px 13px; margin-bottom:18px; }
  .inner-page-hero__tags{ margin-top:26px; gap:9px; }
  .inner-page-hero__tags li{ font-size:12px; padding:8px 13px; gap:7px; }
  .contact-page-cards{ padding-bottom:64px; }
  .contact-page-cards__panel{ margin-top:-88px; padding:34px 20px 30px; }
  .contact-page-cards__title{ font-size:23px; margin-bottom:22px; }
  .contact-page-cards__grid{ gap:14px; }
  /* 联系页 5 张卡：手机端改单列（原 2 列 → 2+2+1）。卡变宽后横向内边距放宽到 18px 免得内容贴边 */
  .contact-page-cards__item{ flex:0 0 100%; padding:22px 18px 20px; }
  .contact-page-cards__icon{ margin-bottom:12px; }
  .contact-page-cards__icon svg{ width:26px; height:26px; }
  .contact-page-form{ padding-bottom:72px; }
  .contact-page-form__media{ min-height:360px; }
  .contact-page-form__overlay{ padding:32px 24px; gap:16px; }
  .contact-page-form__desc{ font-size:13.5px; line-height:1.72; }
  .contact-page-form__stat{ padding:15px 18px; gap:14px; }
  .contact-page-form__stat strong{ font-size:30px; }
  .contact-page-quote{ padding:28px 20px; grid-template-columns:1fr; }
  .faq-page-cta__title{ font-size:22px; }
  .faq-page-cta__box{ padding:36px 24px; }
  .faq-page-group summary{ padding:16px 48px 16px 18px; font-size:15px; }
}
/* ============================================================================
   Products / News 占位页（内容待客户提供）
   只有版式骨架；文案与图片到位后直接替换 <section class="inner-placeholder">
   ============================================================================ */
.inner-placeholder{ padding:96px 0 110px; background:var(--ink-2); }
.inner-placeholder__card{
  max-width:860px; margin:0 auto; padding:56px 48px; text-align:center;
  background:var(--white); border:1px solid var(--line); border-radius:20px;
  box-shadow:0 20px 50px rgba(15,23,42,.06);
}
.inner-placeholder__badge{
  display:inline-block; margin-bottom:18px; padding:6px 14px; border-radius:999px;
  background:rgba(232,163,61,.14); color:var(--accent-ink);
  font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
}
.inner-placeholder__title{ margin:0 0 14px; font-size:30px; line-height:1.25; color:var(--text); }
.inner-placeholder__desc{ max-width:620px; margin:0 auto 28px; color:#5b6674; font-size:15.5px; line-height:1.8; }
.inner-placeholder__list{
  max-width:560px; margin:0 auto 32px; padding:22px 26px; list-style:none; text-align:left;
  border:1px dashed var(--line); border-radius:14px;
}
.inner-placeholder__list li{
  position:relative; padding-left:22px; color:#5b6674; font-size:14.5px; line-height:1.9;
}
.inner-placeholder__list li::before{
  content://; position:absolute; left:0; top:11px;
  width:7px; height:7px; border-radius:50%; background:var(--accent);
}
.inner-placeholder__btn{ display:inline-flex; }
@media (max-width:640px){
  .inner-placeholder{ padding:64px 0 76px; }
  .inner-placeholder__card{ padding:36px 22px; }
  .inner-placeholder__title{ font-size:24px; }
}

/* ==== PRODUCT PAGES BLOCK · BEGIN ==== */
/* ============================================================================
 * 产品列表页 products.html / 产品详情页 product-detail.html
 *
 * 命名约定：
 *   .products-page-*   列表页专用（侧栏筛选 / 网格区 / CTA 条）
 *   .pd-page-*         详情页专用（图轨 / 参数 / 选项卡 / 相关产品）
 *   .prod-card-*       两个页面共用的产品卡片组件（同一产品线才有资格跨页复用）
 * ============================================================================ */

/* —— 列表页 Hero：只覆盖底部留白（版式走公共 .inner-page-hero--lead） —— */
.products-page-hero{ padding-bottom:88px; }

/* —— 版心：左侧栏 + 右网格 —— */
.products-page-body{ padding:64px 0 96px; }
.products-page-body__layout{
  display:grid;
  grid-template-columns:270px 1fr;
  gap:40px;
  align-items:start;
}

/* —— 侧栏 · 分类筛选（两级：All products + 4 组 × 组内小分类） —— */
.products-page-side{
  position:sticky; top:130px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  padding:26px 22px;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
}
.products-page-side__title{
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:16px;
}
.products-page-side__cats{ list-style:none; margin:0 0 24px; padding:0; }
.products-page-side__item{ margin-bottom:6px; }
.products-page-side__cat{
  display:flex; align-items:center; gap:10px;
  width:100%; padding:11px 14px;
  border:1px solid transparent; border-radius:10px;
  background:transparent; cursor:pointer; text-align:left;
  font:inherit; font-size:14.5px; font-weight:500; color:var(--text);
  transition:background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.products-page-side__cat:hover{ background:var(--ink-3); }
.products-page-side__cat.is-active{
  background:rgba(232,163,61,.12);
  border-color:rgba(232,163,61,.34);
  color:var(--accent-ink);
  font-weight:700;
}
/* 组编号 01–04 / 组名 / 数量 */
.products-page-side__no{
  flex:0 0 auto;
  font-size:11.5px; font-weight:800; letter-spacing:.04em;
  color:var(--accent-ink); opacity:.5;
}
.products-page-side__cat.is-active .products-page-side__no{ opacity:1; }
.products-page-side__label{ flex:1 1 auto; min-width:0; }
.products-page-side__n{ flex:0 0 auto; font-size:12.5px; font-weight:600; opacity:.7; }

/* 组内小分类：缩进 + 左侧竖线，比组标题轻一档 */
.products-page-side__subs{
  list-style:none; margin:2px 0 10px 14px; padding:0 0 0 15px;
  border-left:1px solid var(--line);
}
.products-page-side__sub{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; padding:7px 10px; margin-bottom:2px;
  border:1px solid transparent; border-radius:8px;
  background:transparent; cursor:pointer; text-align:left;
  font:inherit; font-size:13.5px; font-weight:500; color:#5b6674;
  transition:background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.products-page-side__sub:hover{ background:var(--ink-3); color:var(--text); }
.products-page-side__sub.is-active{
  background:rgba(232,163,61,.10);
  border-color:rgba(232,163,61,.28);
  color:var(--accent-ink); font-weight:700;
}
.products-page-side__sub .products-page-side__n{ font-size:11.5px; }

/* 移动端二级筛选条（横滑）：桌面端不显示，整体在下面 ≤1024px 断点里定义 */
.products-page-side__subbar{ display:none; }

/* —— 侧栏 · 联系卡 —— */
.products-page-side__ask{
  padding:22px 20px; border-radius:14px;
  background:linear-gradient(160deg, #0f172a 0%, #1d2a41 100%);
  color:rgba(255,255,255,.72);
}
.products-page-side__ask h3{
  font-size:17px; color:#fff; margin:0 0 8px; line-height:1.35;
}
.products-page-side__ask p{ font-size:13.5px; line-height:1.7; margin-bottom:16px; }
.products-page-side__ask .btn{ width:100%; justify-content:center; }

/* —— 右侧主区 —— */
.products-page-main__bar{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding-bottom:18px; margin-bottom:26px;
  border-bottom:1px solid var(--line);
}
.products-page-main__count{ font-size:14.5px; color:var(--muted); }
.products-page-main__count strong{ color:var(--text); font-size:20px; font-weight:800; }
.products-page-main__sort{ font-size:13.5px; color:var(--muted); }

/* —— 产品卡片（列表页 + 详情页 Related 共用） —— */
.prod-card{
  display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--white); overflow:hidden;
  transition:transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.prod-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:rgba(232,163,61,.32);
}
.prod-card__media{
  position:relative; display:block;
  aspect-ratio:8/5; overflow:hidden;
  background:var(--ink-3);
}
.prod-card__media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.prod-card:hover .prod-card__media img{ transform:scale(1.05); }
.prod-card__cat{
  position:absolute; left:12px; top:12px;
  padding:5px 11px; border-radius:6px;
  background:rgba(15,23,42,.68);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  font-size:11.5px; font-weight:700; letter-spacing:.06em; color:#fff;
}
/* 覆盖整张图的链接：点图 = 进详情页 */
.prod-card__hit{ position:absolute; inset:0; z-index:1; }
/* 放大镜按钮：点它才开灯箱（组灯箱由 main.js 第 7 节提供） */
.prod-card__zoom{
  position:absolute; right:12px; bottom:12px; z-index:2;
  display:grid; place-items:center;
  width:36px; height:36px; border:0; padding:0; cursor:pointer;
  border-radius:50%;
  background:rgba(255,255,255,.94); color:var(--text);
  box-shadow:0 6px 18px rgba(15,23,42,.18);
  opacity:0; transform:translateY(6px);
  transition:opacity .26s var(--ease), transform .26s var(--ease);
}
.prod-card__media:hover .prod-card__zoom,
.prod-card__media:focus-within .prod-card__zoom,
.prod-card__zoom:focus-visible{ opacity:1; transform:none; }
.prod-card__body{ padding:20px 20px 22px; display:flex; flex-direction:column; flex:1; }
.prod-card__name{ font-size:17px; line-height:1.35; margin:0 0 10px; font-weight:700; }
.prod-card__name a{ color:inherit; text-decoration:none; transition:color .2s var(--ease); }
.prod-card__name a:hover{ color:var(--accent-ink); }
.prod-card__desc{ font-size:14px; line-height:1.7; color:var(--muted); margin-bottom:16px; 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;   /* 最多显示 3 行 */
  line-clamp: 3;           /* 标准属性，部分浏览器支持 */
  overflow: hidden;
  text-overflow: ellipsis;

  /* 可选：让截断更稳定 */
  line-height: 1.5;
  max-height: calc(1.5em * 3); /* 兼容不支持 line-clamp 的旧浏览器 */
  word-break: break-word;
}
.prod-card__link{
  margin-top:auto; align-self:flex-start;
  display:inline-flex; align-items:center; gap:7px;
  font-size:14px; font-weight:700; color:var(--accent-ink); text-decoration:none;
}
.prod-card__link span{ transition:transform .22s var(--ease); }
.prod-card__link:hover span{ transform:translateX(4px); }

.products-page-grid__empty{
  padding:48px 0; text-align:center; color:var(--muted); font-size:15px;
}

/* —— 网格列数助手（列表页 3 列 / 详情页 Related 4 列） —— */
.prod-grid-3,
.prod-grid-4{ display:grid; gap:26px; }
.prod-grid-3{ grid-template-columns:repeat(3, 1fr); }
.prod-grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:1024px){
  .prod-grid-3{ grid-template-columns:repeat(2, 1fr); }
  .prod-grid-4{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:640px){
  .prod-grid-3,
  .prod-grid-4{ grid-template-columns:1fr; }
}


/* —— 列表页 CTA 条 —— */
.products-page-cta{
  padding:64px 0 96px;
  background:var(--ink-2);
  border-top:1px solid var(--line);
}
.products-page-cta__inner{
  display:flex; align-items:center; justify-content:space-between; gap:36px;
  padding:44px 48px;
  border-radius:20px;
  background:linear-gradient(120deg, #0f172a 0%, #26324a 100%);
  color:#fff;
}
.products-page-cta__text h2{ font-size:26px; line-height:1.3; margin:0 0 10px; color:#fff; }
.products-page-cta__text p{ max-width:560px; color:rgba(255,255,255,.72); font-size:15px; line-height:1.7; margin:0; }
.products-page-cta__acts{ display:flex; gap:12px; flex:0 0 auto; }

/* ============================================================================
 * 产品详情页 product-detail.html
 * ============================================================================ */
/* —— 顶部细面包屑条（v1.8.1：Hero 整块去掉后补的导航替代） —— */
.pd-page-crumbs{
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.pd-page-crumbs .container{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding-top:20px; padding-bottom:20px;
  font-size:13px; color:var(--muted);
}
.pd-page-crumbs a{ color:var(--muted); text-decoration:none; transition:color .2s; }
.pd-page-crumbs a:hover{ color:var(--accent-ink); }
.pd-page-crumbs .sep{ opacity:.45; }
.pd-page-crumbs > .container > span:last-child{ color:var(--text); font-weight:600; }

.pd-page-main{ padding:64px 0 24px; }
.pd-page-main__layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:start;
}

/* —— 左：图轨 —— */
/* min-width:0：缩略图轨道是 nowrap 横滑条，grid item 的隐含最小值会让轨道被内容撑宽
   → 整页横向溢出（同 .products-page-body__layout 的处理） */
.pd-page-gallery{ position:sticky; top:130px; min-width:0; }
.pd-page-gallery__stage{
  position:relative; overflow:hidden;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--ink-3);
  aspect-ratio:8/6;
  margin:0;
}
.pd-page-gallery__stage img{
  width:100%; height:100%; object-fit:cover;
}
.pd-page-gallery__stage-cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:22px 20px 16px;
  background:linear-gradient(0deg, rgba(15,23,42,.72) 0%, rgba(15,23,42,0) 100%);
  font-size:13px; color:rgba(255,255,255,.86);
}
.pd-page-gallery__hint{
  position:absolute; right:12px; top:12px;
  display:inline-flex; align-items:center; gap:7px;
  padding:6px 12px; border-radius:999px;
  background:rgba(15,23,42,.55);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  font-size:11.5px; font-weight:600; color:#fff;
}
/* 缩略图轨道：**始终单行**（够宽也是 5 格），多余的靠左右滑动查看，绝不出第二排。
   原写法 display:grid + repeat(5,1fr)，第 6 张起必然换行 —— 这就是「产品图下面出现两排」的原因。
   单格宽仍取「5 列等分」= calc((100% - 4×12px) / 5)，所以前 5 张的位置与改前完全一致。 */
.pd-page-gallery__thumbs{
  list-style:none; margin:14px 0 0; padding:0;
  display:flex; flex-wrap:nowrap; gap:12px;
  overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none; -ms-overflow-style:none;
}
.pd-page-gallery__thumbs::-webkit-scrollbar{ display:none; }
.pd-page-gallery__thumbs > li{ flex:0 0 calc((100% - 48px) / 5); min-width:0; }
.pd-page-gallery__thumbs button{
  display:block; width:100%; padding:0; cursor:pointer;
  border:2px solid transparent; border-radius:10px; overflow:hidden;
  background:var(--ink-3);
  transition:border-color .22s var(--ease), opacity .22s var(--ease);
  opacity:.72;
}
.pd-page-gallery__thumbs button:hover,
.pd-page-gallery__thumbs button.is-active{
  border-color:var(--accent); opacity:1;
}
.pd-page-gallery__thumbs img{ aspect-ratio:1/1; width:100%; object-fit:cover; }

/* —— 缩略图轨道的左右箭头（桌面端专用）——
   背景：overflow-x:auto 只有触摸横滑和滚动条两个入口，鼠标用户在 PC 上根本滑不动
   （滚动条已用 scrollbar-width:none 隐藏）。所以给桌面端补一对箭头。
   箭头放在轨道**外侧**的负偏移处：桌面两栏之间有 48px 间隙正好容得下 30px 的按钮，
   这样既不会盖住缩略图、也不影响「缩略图左边缘与主图对齐」。
   ≤1024px 不显示（单列布局没有这段间隙，且触摸可以直接滑）。 */
.pd-page-gallery__thumbs-wrap{ position:relative; }
.pd-page-gallery__thumbs-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  display:none; align-items:center; justify-content:center;
  width:30px; height:30px; padding:0; border-radius:50%; cursor:pointer;
  border:1px solid var(--line); background:#fff; color:var(--text);
  box-shadow:0 4px 14px rgba(15,23,42,.16);
  transition:color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pd-page-gallery__thumbs-nav:hover{
  color:var(--accent-ink); border-color:var(--accent); box-shadow:0 6px 18px rgba(15,23,42,.22);
}
.pd-page-gallery__thumbs-nav svg{ width:14px; height:14px; }
.pd-page-gallery__thumbs-nav--prev{ left:-34px; }
.pd-page-gallery__thumbs-nav--next{ right:-34px; }
/* 只在能滑的时候出现：默认 hidden，由 main.js 8.5 控制 */
@media (min-width:1025px){
  .pd-page-gallery__thumbs-nav:not([hidden]){ display:flex; }
}

/* —— 右：信息与参数 —— */
.pd-page-info__badge{
  display:inline-block; margin-bottom:14px; padding:6px 14px; border-radius:999px;
  background:rgba(232,163,61,.14); color:var(--accent-ink);
  font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
}
.pd-page-info__title{ font-size:clamp(26px, 3vw, 34px); line-height:1.25; margin:0 0 14px; }
/* 标题最后一个词金色高亮（v1.8.1：H1 由 Hero 迁到白底上，金色改用白底可读的 --accent-ink） */
.pd-page-info__title .hl{ color:var(--accent-ink); }
.pd-page-info__desc{ font-size:15.5px; line-height:1.8; color:var(--muted); margin-bottom:24px; }
.pd-page-info__glance{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:12px;
  padding:20px; margin-bottom:24px;
  border:1px solid var(--line); border-radius:14px; background:var(--ink-2);
}
.pd-page-info__glance div{ text-align:center; }
.pd-page-info__glance dt{ font-size:12px; color:var(--muted); margin-bottom:4px; }
.pd-page-info__glance dd{ margin:0; font-size:16px; font-weight:800; color:var(--text); }
.pd-page-info__specs{ list-style:none; margin:0 0 26px; padding:0; border-top:1px solid var(--line); }
.pd-page-info__specs li{
  display:flex; gap:16px; padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
}
.pd-page-info__specs dt{ flex:0 0 130px; color:var(--muted); }
.pd-page-info__specs dd{ margin:0; font-weight:600; }
.pd-page-info__acts{ display:flex; flex-wrap:wrap; gap:12px; }

/* —— 选项卡 —— */
.pd-page-tabs{ padding:56px 0 24px; }
.pd-page-tabs__nav{
  display:flex; flex-wrap:wrap; gap:6px;
  border-bottom:1px solid var(--line); margin-bottom:28px;
}
.pd-page-tabs__btn{
  padding:12px 20px; border:0; background:transparent; cursor:pointer;
  font:inherit; font-size:15px; font-weight:600; color:var(--muted);
  border-bottom:2px solid transparent; margin-bottom:-1px;
  transition:color .22s var(--ease), border-color .22s var(--ease);
}
.pd-page-tabs__btn:hover{ color:var(--text); }
.pd-page-tabs__btn.is-active{ color:var(--accent-ink); border-bottom-color:var(--accent); }
.pd-page-tabs__panel{ display:none; }
.pd-page-tabs__panel.is-active{ display:block; animation:.32s var(--ease) both pdFadeIn; }
@keyframes pdFadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.pd-page-tabs__panel p{ font-size:15.5px; line-height:1.85; color:var(--muted); margin-bottom:16px; }
.pd-page-tabs__panel h3{ font-size:19px; margin:0 0 12px; }
.pd-page-tabs__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, 1fr); gap:12px 24px; }
.pd-page-tabs__list li{ display:flex; gap:10px; font-size:15px; color:var(--muted); line-height:1.7; }
.pd-page-tabs__list svg{ flex:0 0 auto; color:var(--accent); margin-top:4px; }
.pd-page-tabs__apps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; list-style:none; margin:0; padding:0; }
.pd-page-tabs__apps li{
  padding:20px 18px; border:1px solid var(--line); border-radius:14px; background:var(--white);
  font-size:14.5px; font-weight:600;
}
.pd-page-tabs__apps span{ display:block; margin-top:6px; font-size:13px; font-weight:400; color:var(--muted); }
.pd-page-tabs__steps{ list-style:none; margin:0; padding:0; counter-reset:pd; }
.pd-page-tabs__steps li{
  position:relative; padding:0 0 22px 44px; counter-increment:pd;
  border-left:1px solid var(--line);
}
.pd-page-tabs__steps li:last-child{ border-left-color:transparent; padding-bottom:0; }
.pd-page-tabs__steps li::before{
  content:counter(pd); position:absolute; left:-15px; top:0;
  display:grid; place-items:center; width:30px; height:30px; border-radius:50%;
  background:var(--accent); color:#fff; font-size:13px; font-weight:800;
}
.pd-page-tabs__steps strong{ display:block; font-size:15.5px; margin-bottom:4px; }
.pd-page-tabs__steps span{ font-size:14.5px; color:var(--muted); line-height:1.7; }

/* —— 相关产品 —— */
.pd-page-related{ padding:56px 0 96px; background:var(--ink-2); border-top:1px solid var(--line); }
.pd-page-related__head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
  margin-bottom:28px;
}
.pd-page-related__head h2{ font-size:26px; margin:0; }
.pd-page-related__head p{ margin:6px 0 0; color:var(--muted); font-size:14.5px; }
.pd-page-related__head a{ font-size:14.5px; font-weight:700; color:var(--accent-ink); text-decoration:none; }
.pd-page-related__grid .prod-card{ background:var(--white); }

/* —— 相关产品 · 轮播（v1.10.5） ——
   模板：≥2 条输出 .pd-page-related__swiper，=1 条退回上面的 __grid。
   每屏张数与间距由 main.js 4g 用 Swiper 的 slidesPerView/slidesPerGroup/spaceBetween 给
   （PC 3 张 / ≤1024px 2 张）—— 三个值必须成对出现在 breakpoints 里，别只改一个。
   区块底色是 --ink-2（浅灰），所以卡片要显式给白底。 */
.pd-page-related__swiper{ position:relative; }
.pd-page-related__swiper .swiper-slide{ height:auto; }
/* 每屏等高：卡片撑满所属 slide（Swiper wrapper 拉伸对齐） */
.pd-page-related__swiper .swiper-slide > .prod-card{ height:100%; }
.pd-page-related__swiper .prod-card{ background:var(--white); }

/* —— 左右箭头（只在 ≥861px 显示，手机端手指滑） ——
   ⚠️ 不能垂直居中：产品卡是竖版（图只占顶部 8/5），居中会压住标题和描述。
      图片区恒为「卡宽 × 5/8」且总在上部、占容器高约 28%，用 top:28% 落图内。 */
.pd-page-related__nav{
  position:absolute; top:28%; z-index:2;
  width:40px; height:40px; padding:0;
  display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%; cursor:pointer;
  background:rgba(15,23,42,.55); color:#fff;
  transition:background .2s ease, opacity .2s ease;
}
.pd-page-related__nav:hover{ background:rgba(15,23,42,.85); }
.pd-page-related__nav:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.pd-page-related__nav--prev{ left:12px; }
.pd-page-related__nav--next{ right:12px; }
.pd-page-related__nav.swiper-button-disabled{ opacity:.32; cursor:default; }

/* —— 底部圆点 ——
   ⚠️ 这里底色是浅灰（--ink-2），不能沿用新闻页那套「白点」——
      --ink 是页面白底色（见 RULES 31），白点落在浅灰上几乎看不见。
      所以未选中圆点用深色 --text + 低透明度。 */
.pd-page-related .pd-page-related__dots{
  position:static; bottom:auto; left:auto; width:auto;
  margin:22px 0 0; text-align:center;
  --swiper-pagination-color:var(--accent);
  --swiper-pagination-bullet-inactive-color:var(--text);
  --swiper-pagination-bullet-inactive-opacity:.28;
  --swiper-pagination-bullet-size:9px;
  --swiper-pagination-bullet-horizontal-gap:6px;
}

/* —— 断点 —— */
@media (max-width:1024px){
  .products-page-body__layout{ grid-template-columns:1fr; gap:26px; }
  /* 横滑条内容 nowrap，会顺着 min-content 把 grid 轨道一起撑宽（实测文档被撑到 1900px+，
     整页又能左右滑了）→ grid item 的 automatic minimum size 必须归零 */
  .products-page-body__layout > *{ min-width:0; }
  .products-page-side{ position:static; padding:20px; }
  /* —— 一级分类：一行横滑（不换行，手指左右滑） ——
     滚动视口取卡片内容区本身（不再用负边距铺到卡片内边缘）：
     滑动时胶囊最远只到「距卡片边框 20px（= .products-page-side 的 padding）」处被裁，
     不会贴着卡片边缘被切；首尾两端也天然留有与上方标题对齐的 20px 留白（下面二级条同理） */
  .products-page-side__cats{
    display:flex; flex-wrap:nowrap; align-items:flex-start; gap:8px;
    margin:0 0 10px; padding:0 0 6px;
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none; -ms-overflow-style:none;
  }
  .products-page-side__cats::-webkit-scrollbar{ display:none; }
  .products-page-side__item{ flex:0 0 auto; margin-bottom:0; }
  .products-page-side__cat{
    width:auto; padding:9px 14px; white-space:nowrap;
    border:1px solid var(--line); border-radius:999px;
  }
  /* 序号不再隐藏：要和下面二级条的 01–04 一一对应 */
  .products-page-side__no{ font-size:10.5px; }

  /* 组内子分类在手机上不展开（分派给下面的二级条，避免两级重复） */
  .products-page-side__subs{ display:none; }

  /* —— 二级分类：同样一行横滑 ——
     内容由模板按当前筛选输出：All products → 全部小分类；选中某组 → 该组的小分类 */
  .products-page-side__subbar{
    display:flex; flex-wrap:nowrap; gap:8px;
    list-style:none;
    margin:0 0 18px; padding:0 0 6px;
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none; -ms-overflow-style:none;
  }
  .products-page-side__subbar::-webkit-scrollbar{ display:none; }
  .products-page-side__subbar li{ flex:0 0 auto; }
  .products-page-side__subbar-item{
    display:inline-flex; align-items:center; gap:7px;
    padding:7px 12px; white-space:nowrap;
    border:1px solid var(--line); border-radius:999px;
    background:var(--ink-3);
    font-size:12.5px; font-weight:500; color:#5b6674;
    text-decoration:none;
    transition:background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  }
  .products-page-side__subbar-item.is-active{
    background:rgba(232,163,61,.12);
    border-color:rgba(232,163,61,.34);
    color:var(--accent-ink); font-weight:700;
  }
  .products-page-side__subbar-no{
    font-size:10.5px; font-weight:800; letter-spacing:.04em;
    color:var(--accent-ink); opacity:.55;
  }
  .products-page-side__subbar-item .products-page-side__n{ font-size:11.5px; }
  .pd-page-main__layout{ grid-template-columns:1fr; gap:32px; }
  .pd-page-gallery{ position:static; }
  .pd-page-tabs__apps{ grid-template-columns:repeat(2, 1fr); }
  .pd-page-tabs__list{ grid-template-columns:1fr; }
  .products-page-cta__inner{ flex-direction:column; align-items:flex-start; gap:24px; padding:32px 26px; }
}
@media (max-width:860px){
  /* 相关产品轮播：箭头会压住卡片，藏掉，只留圆点（手指左右滑即可） */
  .pd-page-related__nav{ display:none; }
  .pd-page-related .pd-page-related__dots{ margin-top:16px; }
}
@media (max-width:640px){
  .products-page-body{ padding:40px 0 64px; }
  .pd-page-main{ padding:40px 0 16px; }
  /* 手机端保持「MOQ / Lead time / Tolerance」横排（原来在手机上被压成 1 列纵排）：
     3 格等宽，并收紧内边距与字号 —— 实测 320px 时单格 83px，「15–25 days」「±0.05 mm」仍为 1 行 */
  .pd-page-info__glance{ grid-template-columns:repeat(3, 1fr); gap:8px; padding:14px 10px; }
  .pd-page-info__glance dt{ font-size:11px; }
  .pd-page-info__glance dd{ font-size:14px; }
  .pd-page-info__specs li{ flex-direction:column; gap:2px; }
  .pd-page-info__specs dt{ flex:none; }
  .pd-page-info__acts .btn{ width:100%; justify-content:center; }
  .pd-page-tabs{ padding:40px 0 16px; }
  .pd-page-tabs__nav{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .pd-page-tabs__btn{ white-space:nowrap; padding:12px 14px; }
  .pd-page-tabs__apps{ grid-template-columns:1fr; }
  .pd-page-related{ padding:40px 0 64px; }
  .pd-page-related__head{ flex-direction:column; align-items:flex-start; gap:12px; }

  /* v1.10.5：相关产品轮播在手机端是「一屏两个」，单卡只有 150–190px 宽，
     卡内字号/内边距按窄列收紧一档（与新闻页那套一致，观感统一）。
     注意全部限定在 .pd-page-related 下 —— .prod-card 还被产品列表页复用。 */
  .pd-page-related .prod-card__cat{ left:8px; top:8px; padding:3px 7px; font-size:9.5px; }
  .pd-page-related .prod-card__body{ padding:11px 12px 13px; }
  .pd-page-related .prod-card__name{ font-size:13.5px; line-height:1.35; margin-bottom:7px; }
  .pd-page-related .prod-card__desc{ font-size:11.5px; line-height:1.55; margin-bottom:11px; }
  .pd-page-related .prod-card__link{ font-size:11.5px; gap:5px; }
  .pd-page-related .prod-card__zoom{ width:28px; height:28px; right:8px; bottom:8px; }
  /* 窄列下长串英文/数字（无空格）没有断点会撑破卡片，允许必要时词内断行 */
  .pd-page-related .prod-card__name,
  .pd-page-related .prod-card__desc{ overflow-wrap:anywhere; }
  .products-page-cta{ padding:40px 0 64px; }
  .products-page-cta__acts{ flex-direction:column; width:100%; }
  .products-page-cta__acts .btn{ width:100%; justify-content:center; }
}
/* ============================================================================
 * 产品详情 · 选项卡区右侧询价表单（v1.11.1 建 · v1.12.6 精简为「低高度版」）
 * ----------------------------------------------------------------------------
 * 版式：左 = 选项卡（导航 + 面板）／右 = 询价表单；≤1024px 表单落到选项卡下面。
 * 表单**复用**首页 / 联系页那套 .contact__form / .field / .captcha-row 类。
 *
 * v1.12.6 与新闻详情页侧栏那份（.nd-page-aside__quote，见下方 v1.12.2 段）
 * 对齐成同一个「精简版」：
 *   ① 字段只留 姓名 / 邮箱 / 项目详情 / 验证码 / 提交 —— 去掉电话与附件上传；
 *   ② 桌面窄栏（340px）压成「一列 + 紧凑」，并补 14px 圆角
 *      （.contact__form 自身不带圆角，圆角本来来自搭配使用的 .card）。
 *   JS 与后端**零改动**：main.js 里 phone / 文件相关取值都有空值守卫，
 *   后端把空电话存 ''、无附件存空数组（RULES 54 / 57）。
 *
 * ⚠️ 桌面（≥1025px）必须写「父级 + .contact__form」两段选择器，才能压过
 *    style.css 里全局的 .contact__form{grid-template-columns:1fr 1fr; padding:34px}；
 *    641–1024px **保留全局的两列**（此时表单是全宽，姓名/邮箱并排更省高度），
 *    这里只把内边距与字段间距一起收紧。
 * ========================================================================== */
.pd-page-tabs__body{
  display:grid; grid-template-columns:minmax(0, 1fr) 340px; gap:48px; align-items:start;
}
/* nowrap 的导航条与面板是 grid item，不解除 min-width:auto 会把整行撑宽（RULES 42） */
.pd-page-tabs__main{ min-width:0; }
.pd-page-tabs__quote{ min-width:0; }
/* 表单头：两列（641–1024px 的堆叠态）下要占满整行 */
.pd-page-tabs__quote-head{ grid-column:1 / -1; }
.pd-page-tabs__quote-title{ font-size:16px; line-height:1.3; margin:0 0 5px; }
.pd-page-tabs__quote-sub{ font-size:12px; line-height:1.5; color:var(--muted); margin:0; }

/* —— 紧凑一档：参数与新闻侧栏那份（.nd-page-aside__quote）保持一致，改要两处一起改 —— */
.pd-page-tabs__quote .field{ gap:5px; }
.pd-page-tabs__quote .field label{ font-size:12px; }
.pd-page-tabs__quote .field input,
.pd-page-tabs__quote .field select,
.pd-page-tabs__quote .field textarea{ padding:9px 11px; font-size:13.5px; border-radius:8px; }
.pd-page-tabs__quote .field textarea{ min-height:58px; }
.pd-page-tabs__quote .captcha-row{ gap:8px; }
.pd-page-tabs__quote .captcha-img{ width:88px; height:37px; }
.pd-page-tabs__quote .btn{ padding:11px 16px; font-size:14px; }
/* 空提示框原本固定占 30px（margin-top:10 + min-height:20）→ 精简版里省掉（同新闻侧栏） */
.pd-page-tabs__quote .form-note{ margin-top:8px; min-height:0; font-size:12px; line-height:1.5; }

@media (min-width:1025px){
  .pd-page-tabs__quote .contact__form{ grid-template-columns:1fr; padding:18px; gap:11px; border-radius:14px; }
}

@media (max-width:1024px){
  .pd-page-tabs__body{ grid-template-columns:1fr; gap:34px; }
  .pd-page-tabs__quote .contact__form{ padding:24px; gap:14px; border-radius:14px; }
}

/* ==== PRODUCT PAGES BLOCK · END ==== */

/* ============================================================================
 * 公共组件 · 图片灯箱（Lightbox）
 *
 * 用法（任意页面通用，零 HTML 依赖）：
 *   容器：data-lb-group="唯一名字"        ← 必填，标记这一组
 *         data-lb-label="Gallery"        ← 选填，灯箱左上角的大写小标题
 *         data-lb-caption="<选择器>"      ← 选填，说明文字来源
 *         data-lb-prefix="<选择器>"       ← 选填，说明文字前缀（如编号 01）
 *   子项：data-lb-item                    ← 必填，可被点开的图
 * 覆盖层 DOM 由 main.js 动态创建 —— JS 没跑起来时页面本身不受影响，只是不可点开。
 * ============================================================================ */

/* 提示可点：放大镜光标 + 键盘焦点圈 */
[data-lb-item]{ cursor:zoom-in; }
[data-lb-item]:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.lightbox{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  padding:64px 88px 44px;
  background:rgba(6,10,18,.95);
  -webkit-backdrop-filter:blur(8px);
          backdrop-filter:blur(8px);
  opacity:0; visibility:hidden;
  /* visibility 不参与渐变，只做 0s 延时切换：
   * 开启时立刻变 visible（否则 JS 里 btnClose.focus() 会被浏览器忽略 —— t=0 时还是 hidden），
   * 关闭时把切到 hidden 推迟到淡出结束，保证有完整的淡出动画。 */
  transition:opacity .26s var(--ease), visibility 0s .26s;
}
.lightbox.is-open{
  opacity:1; visibility:visible;
  transition:opacity .26s var(--ease), visibility 0s 0s;
}

.lightbox__figure{
  margin:0;
  max-width:100%; max-height:100%;
  display:flex; flex-direction:column; align-items:center; gap:16px;
  transform:scale(.94);
  transition:transform .3s var(--ease);
}
.lightbox.is-open .lightbox__figure{ transform:scale(1); }
.lightbox__img{
  display:block;
  max-width:min(1200px, 100%);
  max-height:calc(100vh - 200px);
  width:auto; height:auto;
  border-radius:var(--radius);
  box-shadow:0 30px 70px rgba(0,0,0,.55);
  background:rgba(255,255,255,.04);
}

/* 底部说明条：组名 · 说明 · 计数 */
.lightbox__bar{
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:8px 14px;
  color:#fff;
}
.lightbox__label{
  font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent-2);
}
.lightbox__label:empty{ display:none; }
.lightbox__caption{ font-size:15px; font-weight:600; }
.lightbox__caption:empty{ display:none; }
.lightbox__count{
  font-size:12.5px; color:rgba(255,255,255,.55);
  font-variant-numeric:tabular-nums;
}

/* 关闭按钮 */
.lightbox__close{
  position:absolute; top:22px; right:26px;
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.24); border-radius:50%;
  background:rgba(255,255,255,.08); color:#fff;
  cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
}
.lightbox__close:hover{ background:var(--accent); border-color:var(--accent); transform:rotate(90deg); }

/* 左右翻页箭头 */
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.24); border-radius:50%;
  background:rgba(255,255,255,.08); color:#fff;
  cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__nav:hover{ background:var(--accent); border-color:var(--accent); }
.lightbox__nav--prev{ left:22px; }
.lightbox__nav--next{ right:22px; }
.lightbox__nav[hidden]{ display:none; }

/* 打开时锁住页面滚动 */
body.lightbox-open{ overflow:hidden; }

/* 动效敏感用户：去掉过渡与缩放 */
@media (prefers-reduced-motion: reduce){
  .lightbox, .lightbox__figure{ transition:none; }
  .lightbox__figure{ transform:none; }
}

@media (max-width:900px){
  .lightbox{ padding:56px 64px 40px; }
  .lightbox__nav--prev{ left:14px; }
  .lightbox__nav--next{ right:14px; }
}

@media (max-width:640px){
  .lightbox{ padding:62px 16px 32px; }
  .lightbox__img{ max-height:calc(100vh - 190px); border-radius:var(--radius-sm); }
  .lightbox__close{
    top:14px; right:14px;
    width:38px; height:38px;
  }
  .lightbox__close svg{ width:16px; height:16px; }
  /* 手机上箭头挪到底部说明条两侧，不挡图 */
  .lightbox__nav{
    top:auto; bottom:16px; transform:none;
    width:42px; height:42px;
  }
  .lightbox__nav--prev{ left:18px; }
  .lightbox__nav--next{ right:18px; }
  .lightbox__label{ display:none; }
  .lightbox__caption{ font-size:13.5px; }
}

/* ==== NEWS PAGES BLOCK · BEGIN ==== */
/* ============================================================================
 * 新闻列表页 news.html / 新闻详情页 news-detail.html
 *
 * 命名约定：
 *   .news-page-*    列表页专用（顶部胶囊筛选条 / 文章网格 / CTA 条）
 *   .nd-page-*      详情页专用（正文 / 右侧栏 / 相关文章）
 *   .news-card-*    两个页面共用的文章卡片组件（同一产品线才有资格跨页复用）
 * ============================================================================ */

/* —— 列表页 Hero：只覆盖底部留白（版式走公共 .inner-page-hero--lead） —— */
.news-page-hero{ padding-bottom:88px; }

/* —— 版心（分类已移到顶部横排，正文不再留侧栏列） —— */
.news-page-body{ padding:64px 0 96px; }

/* —— 顶部横向分类胶囊条 —— */
.news-page-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  flex-wrap:wrap; row-gap:14px; margin-bottom:32px;
}
.news-page-toolbar__chips{
  display:flex; align-items:center; gap:4px;
  max-width:100%; padding:6px;
  border:1px solid var(--line); border-radius:999px;
  background:var(--ink-3);
  overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.news-page-toolbar__chips::-webkit-scrollbar{ display:none; }
.news-page-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 20px; border:1px solid transparent; border-radius:999px;
  background:transparent; cursor:pointer; white-space:nowrap;
  font:inherit; font-size:14.5px; font-weight:600; color:var(--muted);
  transition:background .22s var(--ease), color .22s var(--ease),
             border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.news-page-chip:hover{ background:rgba(255,255,255,.72); color:var(--text); }
.news-page-chip.is-active{
  background:var(--white);
  border-color:rgba(232,163,61,.34);
  color:var(--accent-ink);
  box-shadow:0 6px 16px rgba(15,23,42,.08);
}
.news-page-chip__label{ white-space:nowrap; }
.news-page-chip__n{ font-size:12px; font-weight:700; opacity:.6; }
.news-page-chip.is-active .news-page-chip__n{ opacity:1; }

.news-page-toolbar__meta{
  display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
  font-size:14.5px; color:var(--muted);
}
.news-page-toolbar__meta strong{ color:var(--text); font-size:17px; font-weight:800; }
.news-page-toolbar__hint{ font-size:13px; }

/* —— 文章网格：一行三个（头条卡通栏） —— */
.news-page-list{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.news-page-list__empty{
  padding:46px 0; text-align:center; color:var(--muted); font-size:15px;
}

/* —— 筛选项显示/隐藏（产品列表页 + 新闻列表页共用） ——
   注意：.news-card / .prod-card 都写了 display:flex，会盖掉 UA 样式表的
   [hidden]{display:none}，所以必须用属性选择器（特异性 0,2,0 > 0,1,0）显式关掉，
   否则点分类后卡片只是带上 hidden 属性、屏幕上依然全部可见 */
[data-filter-item][hidden]{ display:none; }

/* —— 文章卡片（列表页 + 详情页 Related 共用） —— */
.news-card{
  display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--white); overflow:hidden;
  transition:transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.news-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:rgba(232,163,61,.32);
}
.news-card__link{
  position:relative; display:block;
  aspect-ratio:16/9; overflow:hidden;
  background:var(--ink-3);
}
.news-card__img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.news-card:hover .news-card__img{ transform:scale(1.05); }
.news-card__badge{
  position:absolute; left:12px; top:12px;
  padding:5px 11px; border-radius:6px;
  background:rgba(15,23,42,.82); color:#fff;
  font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
}
.news-card__body{
  display:flex; flex-direction:column; flex:1 1 auto;
  padding:20px 22px 22px;
}
.news-card__meta{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  margin-bottom:10px;
}
.news-card__meta-item{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; color:var(--muted);
}
.news-card__meta-item svg{ flex:0 0 auto; opacity:.8; }
.news-card__title{
  margin:0 0 10px; font-size:18px; line-height:1.4; font-weight:700; color:var(--text);
}
.news-card__title a{ color:inherit; transition:color .22s var(--ease); }
.news-card:hover .news-card__title a{ color:var(--accent-ink); }
.news-card__desc{
  font-size:14.5px; line-height:1.75; color:#5b6674; margin-bottom:18px;
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;   /* 最多显示 3 行 */
  line-clamp: 3;           /* 标准属性，部分浏览器支持 */
  overflow: hidden;
  text-overflow: ellipsis;

  /* 可选：让截断更稳定 */
  max-height: calc(1.5em * 3); /* 兼容不支持 line-clamp 的旧浏览器 */
  word-break: break-word;
}
.news-card__more{
  display:inline-flex; align-items:center; gap:7px; margin-top:auto;
  font-size:14px; font-weight:700; color:var(--accent-ink);
}
.news-card__more svg{ transition:transform .22s var(--ease); }
.news-card:hover .news-card__more svg{ transform:translateX(3px); }

/* —— 横版大卡（左图右文） ——
   v1.8.0 起只用在列表页顶部的「推荐」轮播里（.news-featured）。
   下面的 grid-column 是旧版「列表第一条通栏」留下的，对轮播无副作用
   （轮播里它不在网格中），保留以免旧缓存页面走形。 */
.news-card--lead{ grid-column:1 / -1; }
@media (min-width:861px){
  .news-card--lead{
    display:grid; grid-template-columns:1.1fr 1fr;
  }
  .news-card--lead .news-card__link{ aspect-ratio:auto; height:100%; min-height:340px; }
  .news-card--lead .news-card__body{ padding:32px 36px; justify-content:center; }
  .news-card--lead .news-card__title{ font-size:26px; line-height:1.3; }
  .news-card--lead .news-card__desc{ font-size:15.5px; }
}

/* —— 列表页 CTA 条 —— */
.news-page-cta{ padding:0 0 96px; }
.news-page-cta__inner{
  display:flex; align-items:center; justify-content:space-between; gap:34px;
  padding:44px 48px; border-radius:20px;
  background:linear-gradient(120deg, #0f172a 0%, #26324a 100%);
}
.news-page-cta__text h2{
  margin:0 0 10px; font-size:27px; line-height:1.3; color:#fff;
}
.news-page-cta__text p{
  max-width:620px; margin:0; font-size:15px; line-height:1.75; color:rgba(255,255,255,.7);
}
.news-page-cta__acts{ display:flex; gap:14px; flex:0 0 auto; }

/* ============================================================================
 * 新闻详情页
 * ============================================================================ */

/* —— 详情页 Hero：只覆盖底部留白 —— */
/* —— 顶部细面包屑条（v1.8.1：Hero 整块去掉后补的导航替代） —— */
.nd-page-crumbs{
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.nd-page-crumbs .container{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding-top:20px; padding-bottom:20px;
  font-size:13px; color:var(--muted);
}
.nd-page-crumbs a{ color:var(--muted); text-decoration:none; transition:color .2s; }
.nd-page-crumbs a:hover{ color:var(--accent-ink); }
.nd-page-crumbs .sep{ opacity:.45; }
.nd-page-crumbs > .container > span:last-child{ color:var(--text); font-weight:600; }

/* —— 版心：左正文 + 右信息栏 —— */
.nd-page-main{ padding:32px 0 88px; }
.nd-page-main__layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:56px;
  align-items:start;
}

/* —— 正文 —— */
/* —— 文章标题（v1.8.1：Hero 去掉后，H1 落到这里） —— */
.nd-page-article__title{
  font-size:clamp(26px, 3.2vw, 38px);
  line-height:1.24; margin:0 0 22px;
}
.nd-page-article__title .hl{ color:var(--accent-ink); }

.nd-page-article__cover{
  margin:0 0 26px; border-radius:var(--radius); overflow:hidden;
}
.nd-page-article__cover img{
  display:block; width:100%; aspect-ratio:16/8; object-fit:cover;
}
.nd-page-article__cover figcaption{ display:none; }
.nd-page-article__meta{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  padding-bottom:18px; margin-bottom:22px;
  border-bottom:1px solid var(--line);
}
.nd-page-article__meta-item{
  display:inline-flex; align-items:center; gap:7px;
  font-size:13px; color:var(--muted);
}
.nd-page-article__meta-item svg{ flex:0 0 auto; opacity:.8; }
/* 引言段：用 p（不是 h2，避免把导语算进正文小标题），选择器带标签以压过 .nd-page-article p */
.nd-page-article p.nd-page-article__lead{
  margin:0 0 26px; font-size:20px; line-height:1.6; font-weight:600; color:var(--text);
}
.nd-page-article h2{
  margin:34px 0 14px; font-size:21px; line-height:1.4; color:var(--text);
}
.nd-page-article p{
  margin:0 0 16px; font-size:15.5px; line-height:1.85; color:#4b5563;
}
.nd-page-article__list{ list-style:none; margin:0 0 22px; padding:0; }
.nd-page-article__list li{
  display:flex; align-items:flex-start; gap:10px;
  padding:7px 0; font-size:15.5px; line-height:1.7; color:#4b5563;
}
.nd-page-article__list li svg{
  flex:0 0 auto; margin-top:4px; color:var(--accent);
}
.nd-page-article__quote{
  position:relative; margin:28px 0; padding:26px 28px;
  border-radius:14px; background:var(--ink-3);
}
.nd-page-article__quote > svg{ color:var(--accent); opacity:.5; margin-bottom:10px; }
.nd-page-article__quote p{
  margin:0 0 10px; font-size:17px; line-height:1.7; font-weight:600; color:var(--text);
}
.nd-page-article__quote cite{
  font-style:normal; font-size:13px; color:var(--muted);
}
.nd-page-article__figs{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; margin:28px 0 6px;
}
.nd-page-article__fig{ margin:0; border-radius:12px; overflow:hidden; }
.nd-page-article__fig img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
}
.nd-page-article__fig figcaption{
  padding:9px 2px 0; font-size:12.5px; line-height:1.6; color:var(--muted);
}
.nd-page-article__end{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  margin-top:38px; padding:26px 28px;
  border:1px dashed var(--line); border-radius:16px;
}
.nd-page-article__end p{ margin:0; font-size:16px; font-weight:600; color:var(--text); }

/* —— 右侧栏 —— */
.nd-page-aside{
  position:sticky; top:130px;
  display:grid; gap:20px;
}
.nd-page-aside__box{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--white); padding:22px 22px 20px;
  box-shadow:0 10px 30px rgba(15,23,42,.04);
}
.nd-page-aside__title{
  margin-bottom:14px;
  font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted);
}
.nd-page-aside__rows{ list-style:none; margin:0; padding:0; }
.nd-page-aside__rows li{
  display:flex; justify-content:space-between; gap:14px;
  padding:9px 0; border-bottom:1px dashed var(--line);
  font-size:14px;
}
.nd-page-aside__rows li:last-child{ border-bottom:0; }
.nd-page-aside__rows dt{ color:var(--muted); }
.nd-page-aside__rows dd{ margin:0; font-weight:600; color:var(--text); text-align:right; }

.nd-page-aside__recent{ list-style:none; margin:0; padding:0; }
.nd-page-aside__item + .nd-page-aside__item{ margin-top:14px; }
.nd-page-aside__item a{
  display:flex; align-items:center; gap:12px;
}
.nd-page-aside__thumb{
  flex:0 0 auto; width:64px; height:48px; border-radius:8px; overflow:hidden;
  background:var(--ink-3);
}
.nd-page-aside__thumb img{
  display:block; width:100%; height:100%; object-fit:cover;
  transition:transform .4s var(--ease);
}
.nd-page-aside__item a:hover .nd-page-aside__thumb img{ transform:scale(1.08); }
.nd-page-aside__txt{ min-width:0; }
.nd-page-aside__date{
  display:block; font-size:11.5px; color:var(--muted); margin-bottom:3px;
}
.nd-page-aside__name{
  display:block; font-size:13.5px; line-height:1.5; font-weight:600; color:var(--text);
  transition:color .22s var(--ease);
}
.nd-page-aside__item a:hover .nd-page-aside__name{ color:var(--accent-ink); }

/* —— 侧栏询价表单（v1.12.2：替换原「Have a drawing ready?」深色 CTA）——
   侧栏只有 320px 宽，把公共 .contact__form 压成「一列 + 紧凑」：
   少一组字段就省 ~45px，字距、内边距、验证码图都收一档。
   ⚠️ 必须写「父级 + .contact__form」两段选择器，才能压过 style.css 里的
      .contact__form{grid-template-columns:1fr 1fr} 与 padding:34px。 */
.nd-page-aside__quote{ min-width:0; }
.nd-page-aside__quote-head{ grid-column:1 / -1; }
.nd-page-aside__quote-title{ font-size:16px; line-height:1.3; margin:0 0 5px; color:var(--text); }
.nd-page-aside__quote-sub{ font-size:12px; line-height:1.5; color:var(--muted); margin:0; }

.nd-page-aside__quote .contact__form{
  grid-template-columns:1fr; padding:18px; gap:11px; border-radius:14px;
}
.nd-page-aside__quote .field{ gap:5px; }
.nd-page-aside__quote .field label{ font-size:12px; }
.nd-page-aside__quote .field input,
.nd-page-aside__quote .field select,
.nd-page-aside__quote .field textarea{ padding:9px 11px; font-size:13.5px; border-radius:8px; }
.nd-page-aside__quote .field textarea{ min-height:58px; }
.nd-page-aside__quote .captcha-row{ gap:8px; }
.nd-page-aside__quote .captcha-img{ width:88px; height:37px; }
.nd-page-aside__quote .btn{ padding:11px 16px; font-size:14px; }
/* 空提示框原本要占 30px（margin-top:10 + min-height:20）—— 侧栏里省掉，
   出提示时自然把下面的内容顶下去，代价换来约 22px 高度 */
.nd-page-aside__quote .form-note{ margin-top:8px; min-height:0; font-size:12px; line-height:1.5; }

/* —— 相关文章 —— */
.nd-page-related{ padding:0 0 96px; }
.nd-page-related__head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  margin-bottom:28px;
}
.nd-page-related__head h2{ margin:0 0 6px; font-size:26px; }
.nd-page-related__head p{ margin:0; font-size:14.5px; color:var(--muted); }
.nd-page-related__head > a{
  flex:0 0 auto; font-size:14.5px; font-weight:700; color:var(--accent-ink);
}
.nd-page-related__grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}

/* —— 相关文章 · 轮播（v1.10.4） ——
   模板：≥2 篇输出 .nd-page-related__swiper，=1 篇退回上面的 __grid。
   每屏张数与间距由 main.js 4f 用 Swiper 的 slidesPerView/spaceBetween 给
   （PC 3 张 / ≤1024px 2 张）—— **不要**改成 CSS 的 flex-basis 或 gap，
   Swiper 算滑动步进时不知道 CSS gap，会对不齐。
   卡片用横向滑动而非 fade：容器高度跟着最高那一屏走，不必像 Banner 那样定高。 */
.nd-page-related__swiper{ position:relative; }
.nd-page-related__swiper .swiper-slide{ height:auto; }
/* 每屏等高：卡片撑满所属 slide（Swiper wrapper 拉伸对齐） */
.nd-page-related__swiper .swiper-slide > .news-card{ height:100%; }

/* —— 左右箭头（只在 ≥861px 显示，手机端手指滑） ——
   ⚠️ 这里**不能**像列表页「推荐」轮播那样垂直居中（top:50%）：那是横版大卡、
      箭头正好落在左侧大图上；而相关文章是竖版卡片，垂直居中会压住标题和正文。
      卡片的图片区恒为「卡宽 × 9/16」且总在上部，占容器高度 26%~31%（卡片越高占比越小），
      所以固定 28% 一定落在图片里，且不同文字量下都在图片区内。 */
.nd-page-related__nav{
  position:absolute; top:28%; z-index:2;
  width:40px; height:40px; padding:0;
  display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%; cursor:pointer;
  background:rgba(15,23,42,.55); color:#fff;
  transition:background .2s ease, opacity .2s ease;
}
.nd-page-related__nav:hover{ background:rgba(15,23,42,.85); }
.nd-page-related__nav:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.nd-page-related__nav--prev{ left:12px; }
.nd-page-related__nav--next{ right:12px; }
/* Swiper 到头/不循环时会给按钮加这个类 */
.nd-page-related__nav.swiper-button-disabled{ opacity:.32; cursor:default; }

/* —— 底部圆点 ——
   特异性要压过 Swiper 自带的
   .swiper-pagination-bullets.swiper-pagination-horizontal{ position:absolute; bottom:10px }
   所以写成「父级 + 自身」两段选择器（同特异性、但 inner-pages.css 在 swiper.css 之后输出）。 */
.nd-page-related .nd-page-related__dots{
  position:static; bottom:auto; left:auto; width:auto;
  margin:22px 0 0; text-align:center;
  --swiper-pagination-color:var(--accent);
  --swiper-pagination-bullet-inactive-color:var(--text);
  --swiper-pagination-bullet-inactive-opacity:.32;
  --swiper-pagination-bullet-size:9px;
  --swiper-pagination-bullet-horizontal-gap:6px;
}

/* —— 断点 —— */
@media (max-width:1024px){
  /* 分类胶囊条换行，胶囊区可横向滚动，不要换行折成两三排 */
  .news-page-toolbar{ flex-direction:column; align-items:flex-start; gap:16px; margin-bottom:28px; }
  .news-page-toolbar__chips{ width:100%; }
  .news-page-list{ grid-template-columns:repeat(2, 1fr); gap:22px; }

  .nd-page-main__layout{ grid-template-columns:1fr; gap:40px; }
  .nd-page-aside{ position:static; grid-template-columns:repeat(2, 1fr); }
  .nd-page-related__grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:860px){
  .nd-page-article__figs{ grid-template-columns:1fr; }
  .news-page-cta__inner{ flex-direction:column; align-items:flex-start; padding:36px 26px; }
  .news-page-cta__acts{ flex-wrap:wrap; }
  /* 相关文章轮播：箭头会压住卡片，藏掉，只留圆点（手指左右滑即可） */
  .nd-page-related__nav{ display:none; }
  .nd-page-related .nd-page-related__dots{ margin-top:16px; }
}
@media (max-width:640px){
  .news-page-body{ padding:44px 0 70px; }
  .news-page-chip{ padding:9px 16px; font-size:14px; }
  .news-page-chip__n{ font-size:11.5px; }
  .news-page-list{ grid-template-columns:repeat(2, 1fr); gap:12px; }

  /* v1.9.5：新闻列表手机端改「一排两个」后，卡片内部按窄列收紧一档。
     注意全部限定在 .news-page-list 下 —— .news-card 还被新闻详情页 Related
     和顶部「推荐」轮播复用，不限定会连带改到那两处。
     单卡宽实测：320px→138px、375px→163px、390px→169px、430px→187px。 */
  .news-page-list .news-card__badge{ left:8px; top:8px; padding:3px 7px; font-size:9.5px; }
  .news-page-list .news-card__body{ padding:11px 12px 13px; }
  .news-page-list .news-card__meta{ gap:8px; margin-bottom:7px; }
  .news-page-list .news-card__meta-item{ font-size:10.5px; gap:4px; }
  .news-page-list .news-card__meta-item svg{ width:11px; height:11px; }
  .news-page-list .news-card__title{ font-size:13.5px; line-height:1.35; margin-bottom:7px; }
  .news-page-list .news-card__desc{ font-size:11.5px; line-height:1.55; margin-bottom:11px; }
  .news-page-list .news-card__more{ font-size:11.5px; gap:5px; }
  .news-page-list .news-card__more svg{ width:12px; height:12px; }
  /* 窄列下长串英文/数字（无空格）没有断点会撑破卡片，允许必要时词内断行 */
  .news-page-list .news-card__title,
  .news-page-list .news-card__desc{ overflow-wrap:anywhere; }
  .news-card--lead .news-card__link{ aspect-ratio:16/9; min-height:0; }
  .news-card--lead .news-card__body{ padding:22px; }

  .nd-page-main{ padding:12px 0 64px; }
  .nd-page-aside{ grid-template-columns:1fr; }
  .nd-page-related{ padding-bottom:70px; }
  .nd-page-related__grid{ grid-template-columns:1fr; }
  .nd-page-related__head{ flex-direction:column; align-items:flex-start; }

  /* v1.10.4：相关文章轮播在手机端是「一屏两个」，单卡只有 150–190px 宽，
     卡内字号/内边距按窄列收紧一档（数值与 .news-page-list 那套一致，观感统一）。
     注意全部限定在 .nd-page-related 下 —— .news-card 还被新闻列表页
     和顶部「推荐」轮播复用，不限定会连带改到那两处。 */
  .nd-page-related .news-card__badge{ left:8px; top:8px; padding:3px 7px; font-size:9.5px; }
  .nd-page-related .news-card__body{ padding:11px 12px 13px; }
  .nd-page-related .news-card__meta{ gap:8px; margin-bottom:7px; }
  .nd-page-related .news-card__meta-item{ font-size:10.5px; gap:4px; }
  .nd-page-related .news-card__meta-item svg{ width:11px; height:11px; }
  .nd-page-related .news-card__title{ font-size:13.5px; line-height:1.35; margin-bottom:7px; }
  .nd-page-related .news-card__desc{ font-size:11.5px; line-height:1.55; margin-bottom:11px; }
  .nd-page-related .news-card__more{ font-size:11.5px; gap:5px; }
  .nd-page-related .news-card__more svg{ width:12px; height:12px; }
  /* 窄列下长串英文/数字（无空格）没有断点会撑破卡片，允许必要时词内断行 */
  .nd-page-related .news-card__title,
  .nd-page-related .news-card__desc{ overflow-wrap:anywhere; }
  .nd-page-article__end{ padding:22px; }
}
/* ==== NEWS PAGES BLOCK · END ==== */


/* ============================================================================
 * NEWS FEATURED BLOCK · 新闻列表页顶部「推荐」轮播（v1.8.0）
 * ----------------------------------------------------------------------------
 * 数据源：带「推荐」标签（slug = featured）的最新 6 篇，见 inc/news-featured.php。
 *   - 0 篇 → home.php 整块不输出（列表顶上直接是整齐的 12 张卡）
 *   - 1 篇 → .news-featured__single（静态单张大卡，无箭头无圆点）
 *   - ≥2 篇 → .news-featured__swiper（Swiper 横向整屏滑动，初始化在 main.js 4e）
 * 只在 /news/ 第 1 页、且未做分类筛选时出现。
 *
 * 卡片沿用 .news-card--lead 的横版版式，所以和原来的通栏观感完全一致。
 * 用横向滑动而不是淡入淡出：容器高度跟着最高那一屏走，不用像首页 Banner 那样写死 min-height。
 * ========================================================================== */
.news-featured{ margin:0 0 36px; }

/* —— 轮播容器 —— */
.news-featured__swiper{ position:relative; }
.news-featured__swiper .swiper-slide{ height:auto; }
/* 每屏等高：卡片撑满所属 slide（Swiper wrapper 拉伸对齐） */
.news-featured__swiper .swiper-slide > .news-card{ height:100%; }

/* —— 左右箭头 —— */
.news-featured__nav{
  position:absolute; top:50%; z-index:2;
  width:44px; height:44px; margin-top:-22px; padding:0;
  display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%; cursor:pointer;
  background:rgba(15,23,42,.55); color:#fff;
  transition:background .2s ease, opacity .2s ease;
}
.news-featured__nav:hover{ background:rgba(15,23,42,.85); }
.news-featured__nav:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.news-featured__nav--prev{ left:16px; }
.news-featured__nav--next{ right:16px; }
/* Swiper 到头/不循环时会给按钮加这个类 */
.news-featured__nav.swiper-button-disabled{ opacity:.32; cursor:default; }

/* —— 底部圆点 ——
   特异性要压过 Swiper 自带的
   .swiper-pagination-bullets.swiper-pagination-horizontal{ position:absolute; bottom:10px }
   所以写成「父级 + 自身」两段选择器（同特异性、但 inner-pages.css 在 swiper.css 之后输出）。 */
.news-featured .news-featured__dots{
  position:static; bottom:auto; left:auto; width:auto;
  margin:18px 0 0; text-align:center;
  --swiper-pagination-color:var(--accent);
  --swiper-pagination-bullet-inactive-color:var(--ink);
  --swiper-pagination-bullet-inactive-opacity:.32;
  --swiper-pagination-bullet-size:9px;
  --swiper-pagination-bullet-horizontal-gap:6px;
}

/* —— 小屏：箭头会压住画面内容，藏掉，只留圆点（手指左右滑即可） —— */
@media (max-width:860px){
  .news-featured__nav{ display:none; }
  .news-featured .news-featured__dots{ margin-top:14px; }
}

/* ==== NEWS FEATURED BLOCK · END ==== */


/* ============================================================================
 * LIST PAGINATION BLOCK · 列表页页码分页（/products/ 与 /news/ 共用）
 * ----------------------------------------------------------------------------
 * v1.7.0 新增：列表页从「一次全渲染 + 前端筛选」改成「主查询 + 页码分页」。
 *
 * WP 核心 paginate_links() 输出的是 .page-numbers / .current / .prev / .next
 * 这些固定类名，改不了；所以板块前缀挂在外层 .sc-pagination 上，
 * 内部沿用核心类名（不裸用 .page-numbers，全部由 .sc-pagination 限定）。
 * ========================================================================== */
.sc-pagination{ margin:44px 0 0; }

.sc-pagination ul{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:8px; margin:0; padding:0; list-style:none;
}
.sc-pagination li{ margin:0; padding:0; }
.sc-pagination li::before{ content:none; }

.sc-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:42px; height:42px; padding:0 14px;
  border:1px solid #d9dee6; border-radius:999px;
  background:#fff; color:#0b1020;
  font-size:15px; font-weight:600; line-height:1; text-decoration:none;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}
.sc-pagination .page-numbers:hover{ background:#f2f5f9; border-color:#b9c2ce; color:var(--accent-ink); }

.sc-pagination .page-numbers.current{
  background:var(--accent-dark); border-color:var(--accent-dark); color:#fff; cursor:default;
}
.sc-pagination .page-numbers.current:hover{ background:var(--accent-dark); color:#fff; }

.sc-pagination .page-numbers.dots{
  min-width:auto; padding:0 2px; border:0; background:none; color:#6b7280;
}
.sc-pagination .page-numbers.prev,
.sc-pagination .page-numbers.next{ font-size:17px; }

@media (max-width:640px){
  .sc-pagination{ margin:32px 0 0; }
  .sc-pagination .page-numbers{ min-width:38px; height:38px; padding:0 12px; font-size:14px; }
}
/* ==== LIST PAGINATION BLOCK · END ==== */


/* ============================================================================
 * SEARCH PAGE BLOCK · 搜索结果页 search.php（v1.9.0）
 * ----------------------------------------------------------------------------
 * 卡片本身复用顶层的 .prod-card / .news-card（它们不依赖父类，只靠网格容器排布），
 * 这一段只写结果页自己的：面包屑 / 页头 / 大搜索框 / 网格 / 空状态 / 分页间距。
 *
 * ⚠️ 类名一律带 sr-page- 前缀。别用裸的 .search / .search-form ——
 *    WP 在搜索页会给 <body> 加 `search search-results`，裸名会命中 body 把布局搞崩。
 * ============================================================================ */

/* —— 顶部细面包屑（与产品/新闻详情页同款做法） —— */
.sr-page-crumbs{
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.sr-page-crumbs .container{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding-top:20px; padding-bottom:20px;
  font-size:13px; color:var(--muted);
}
.sr-page-crumbs a{ color:var(--muted); text-decoration:none; transition:color .2s; }
.sr-page-crumbs a:hover{ color:var(--accent-ink); }
.sr-page-crumbs .sep{ opacity:.45; }
.sr-page-crumbs > .container > span:last-child{ color:var(--text); font-weight:600; }

/* —— 版心 —— */
.sr-page-body{ padding:56px 0 96px; }

/* —— 页头：标题 + 结果计数 + 再来一个搜索框（改词不用回页头） —— */
.sr-page-head{ margin-bottom:40px; }
.sr-page-head__title{
  font-size:clamp(26px, 3.2vw, 38px); line-height:1.24;
  margin:0 0 10px;
}
.sr-page-head__title .hl{ color:var(--accent-ink); }
.sr-page-head__meta{ font-size:14.5px; color:var(--muted); margin:0 0 26px; }
.sr-page-head__meta strong{ color:var(--text); font-weight:700; }

.sr-page-form{
  display:flex; align-items:stretch;
  max-width:540px;
  border:1px solid var(--line); border-radius:10px;
  background:var(--white); overflow:hidden;
  transition:border-color .25s, box-shadow .25s;
}
.sr-page-form:focus-within{
  border-color:var(--accent); box-shadow:0 0 0 3px rgba(232,163,61,.16);
}
.sr-page-form input[type="search"]{
  flex:1 1 auto; min-width:0;
  height:46px; padding:0 16px;
  border:0; outline:none; background:none;
  font-size:14.5px; color:var(--text);
}
.sr-page-form input[type="search"]::-webkit-search-cancel-button{ -webkit-appearance:none; appearance:none; }
.sr-page-form__btn{
  flex:0 0 auto;
  display:inline-flex; align-items:center; gap:8px;
  height:46px; padding:0 20px;
  border:0; background:var(--accent); color:#1b2230;
  font-family:inherit; font-size:14px; font-weight:700; cursor:pointer;
  transition:background-color .25s;
}
.sr-page-form__btn:hover{ background:var(--accent-2); }

/* —— 结果网格：产品卡 / 文章卡 / 页面卡混排，统一 3 列 —— */
.sr-page-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
  align-items:start;
}

/* —— 空结果 —— */
.sr-page-empty{
  padding:56px 32px;
  border:1px dashed var(--line); border-radius:var(--radius);
  background:var(--ink-2);
  text-align:center;
}
.sr-page-empty__title{ font-size:20px; font-weight:700; margin:0 0 10px; }
.sr-page-empty__text{ font-size:15px; color:var(--muted); margin:0; }
.sr-page-empty__text a{ color:var(--accent-ink); font-weight:600; }
.sr-page-empty__text a:hover{ text-decoration:underline; }

/* —— 分页：外观沿用 .sc-pagination，只调与网格的间距 —— */
.sr-page-pagination{ margin-top:48px; }

@media (max-width:1024px){
  .sr-page-grid{ grid-template-columns:repeat(2, 1fr); gap:24px; }
}
@media (max-width:640px){
  .sr-page-body{ padding:40px 0 64px; }
  .sr-page-head{ margin-bottom:28px; }
  .sr-page-grid{ grid-template-columns:1fr; gap:20px; }
  .sr-page-form{ max-width:none; }
  .sr-page-form__btn{ padding:0 16px; }
  .sr-page-form__btn span{ display:none; }
  .sr-page-empty{ padding:40px 22px; }
}
/* ==== SEARCH PAGE BLOCK · END ==== */


/* ============================================================================
 * DEFAULT PAGE BLOCK · 默认页模板 page.php（无专属模板的页面走这里）
 * ----------------------------------------------------------------------------
 * 这一段是主题独有的（静态稿没有默认页），从旧 style.css 抽出来保留，
 * 让 page.php 不用改也照常工作。
 *
 * ⚠️ 只允许 .default-page-* 选择器。曾经这里混进一条 `.about-page-hero`，
 *    因为它追加在文件末尾、特异性与新版式相同 → 直接把 About 页 hero 覆盖成
 *    旧版式（display:flex + min-height:420px），整页布局塌掉。
 *    以后改这里务必守住「只留 default-page-*」这条线。
 * ========================================================================== */
.default-page-hero {
  position:relative; isolation:isolate; min-height:420px; display:flex; align-items:center; color:#fff; overflow:hidden;
}

.default-page-hero__overlay {
  position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg, rgba(11,16,32,.85) 0%, rgba(11,16,32,.55) 60%, rgba(11,16,32,.35) 100%);
}

.default-page-hero__inner {
  padding:120px 0 80px; width:100%; max-width:900px;
}

.default-page-hero__crumbs {
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius:999px; font-size:13px; backdrop-filter:blur(8px);
}

.default-page-hero__crumbs a {
  color:#fff; text-decoration:none; opacity:.85; transition:opacity .2s;
}

.default-page-hero__crumbs a:hover {
  opacity:1;
}

.default-page-hero__crumbs span[aria-hidden] {
  opacity:.6;
}

.default-page-hero__crumbs span:last-child {
  color:#ff8a00; font-weight:600;
}

.default-page-hero {
  background:linear-gradient(135deg, #0b1020 0%, #1e2742 100%); color:#fff; text-align:center; padding:120px 0 80px;
}

.default-page-hero__crumbs {
  justify-content:center;
}

.default-page-hero__title {
  font-size:clamp(32px, 4.4vw, 48px); font-weight:800; margin:18px 0 0; color:#fff;
}

.default-page-body__article {
  max-width:780px; margin:0 auto; font-size:17px; line-height:1.8; color:#1f2937;
}

.default-page-body__article h2, .default-page-body__article h3 {
  margin:32px 0 14px; color:#0b1020;
}

.default-page-body__article p {
  margin:0 0 18px;
}

.default-page-body__article img {
  max-width:100%; height:auto; border-radius:12px;
}
