/*!
Theme Name: 净诚科技
Theme URI: https://www.jingcheng-tech.com
Author: 净诚科技
Author URI: https://workbuddy.cn
Description: 面向生物实验室设备与维修服务的响应式 WordPress 主题。内置设备产品、配套耗材、整体解决方案（灌装 / 过滤 / 纯化）、维修保养服务与在线询价管理，支持自定义文章类型、Customizer 可视化配置与 WooCommerce。
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: jingcheng
Tags: responsive-layout, custom-menu, custom-logo, featured-images, translation-ready, blog, e-commerce
*/

/* =========================================================
   0. 设计令牌 Design Tokens
   ========================================================= */
:root {
  /* 品牌色（深蓝 · 专业科技感） */
  --brand-900: #0A2540;
  --brand-800: #10315C;
  --brand-700: #16457F;
  --brand-600: #1D5FA8;
  --brand-500: #2A7FC9;
  --brand-400: #4F9BD8;
  --brand-300: #9AC6EC;
  --brand-100: #E4EFFA;
  --brand-50:  #F3F8FD;

  /* 强调色（橙色 · 转化按钮） */
  --accent: #FF7A2F;
  --accent-600: #E8621A;
  --accent-100: #FFF0E7;

  /* 中性色 */
  --ink: #101C2E;
  --body: #4C5A6B;
  --muted: #808E9E;
  --line: #E3E9F0;
  --line-strong: #CFD8E3;
  --surface: #FFFFFF;
  --bg: #F6F8FB;
  --bg-alt: #EDF2F8;

  /* 尺寸 */
  --maxw: 1220px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 76px;

  /* 阴影 */
  --sh-sm: 0 1px 2px rgba(10, 37, 64, .05), 0 2px 8px rgba(10, 37, 64, .04);
  --sh-md: 0 10px 30px rgba(10, 37, 64, .08);
  --sh-lg: 0 24px 60px rgba(10, 37, 64, .12);
  --sh-accent: 0 12px 28px rgba(255, 122, 47, .28);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    Roboto, Helvetica, Arial, sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", Consolas, Menlo, monospace;
}

/* =========================================================
   1. 基础重置 Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* 不设 scroll-behavior: smooth —— 全局平滑会让浏览器的 scroll anchoring
     修正（图片/字体加载导致内容高度变化时）也变成动画，多次修正叠加会产生
     持续的高频跳动。平滑滚动改由 JS 显式指定：window.scrollTo({behavior:'smooth'})、
     element.scrollIntoView({behavior:'smooth'})，效果不变。 */
  scroll-padding-top: calc(var(--header-h) + 20px);

  /* 横向裁剪放在 html 上，不放 body —— 这一条是吸顶头和悬浮框抖动的根因。
     放在 body 上时：overflow-x:hidden 会把 overflow-y 从 visible 变成 auto，
     body 因此成为独立滚动容器。于是 .site-header 的 sticky 去贴 body 的滚动视口、
     .fab-stack 的 fixed 参照物也跟着错乱，而真正在滚动的是 html
     → Safari / iOS 上两者都剧烈抖动。

     放在 html 上时：根元素的 overflow 会传播到视口，而「被传播出去的那个元素」
     其 used value 必须按 visible 处理 —— html 因此不是滚动容器，
     sticky 和 fixed 都照常以视口为参照，横向溢出仍被裁掉。
     且 hidden 全浏览器支持，不依赖 Safari 16+ 的 clip。 */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* body 保持 overflow 可见：见上方 html 的说明 */
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--brand-900);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-600); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-300); color: var(--brand-900); }

/* 图标 */
.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 34px; height: 34px; }
.icon--fill { fill: currentColor; stroke: none; }

/* 屏幕阅读器文本 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--brand-800); color: #fff;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* =========================================================
   2. 布局工具 Layout utilities
   ========================================================= */
.container {
  width: min(100% - 44px, var(--maxw));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 44px, 900px); }

.section { padding: clamp(58px, 7vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--surface); }
.section--dark {
  background: linear-gradient(150deg, var(--brand-900), var(--brand-700));
  color: rgba(255, 255, 255, .82);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .eyebrow { justify-content: center; }
.section-head--left .eyebrow { justify-content: flex-start; }
.section-head p { font-size: 1.03rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-100);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--dark .eyebrow {
  background: rgba(255, 255, 255, .12);
  color: var(--brand-300);
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   3. 按钮 Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, color .25s ease,
              border-color .25s ease, box-shadow .25s ease;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-2px); }

.btn-brand { background: var(--brand-600); color: #fff; box-shadow: 0 12px 26px rgba(29, 95, 168, .26); }
.btn-brand:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--brand-800); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); transform: translateY(-2px); }

.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--brand-600);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   4. 顶栏 Topbar
   ========================================================= */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__list li { margin: 0; display: flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
.topbar__tag {
  background: rgba(255, 122, 47, .16);
  color: #FFB38A;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* ----------------------------------------------------------
   语言切换器（TranslatePress）
   顶栏是深色底（--brand-900），切换器文字需继承浅色。
   这里刻意只按「后代元素」写，不绑定 TranslatePress 的内部类名，
   以免插件升级改类名后样式失效。
   ---------------------------------------------------------- */
.topbar__lang { gap: 8px; }
.topbar__lang a,
.mobile-nav__lang a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.topbar__lang a:hover { color: #fff; }
.topbar__lang img,
.mobile-nav__lang img {
  width: 18px; height: 12px;
  border-radius: 2px;
  display: block;
  object-fit: cover;
}
.topbar__lang ul,
.mobile-nav__lang ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar__lang li,
.mobile-nav__lang li { margin: 0; }

/* 移动端抽屉里的切换器（浅底，用品牌色） */
.mobile-nav__lang {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #E2E8F0);
}
.mobile-nav__lang a {
  color: var(--brand-700, #16457F);
  font-size: .88rem;
  font-weight: 600;
}
.mobile-nav__lang a:hover { color: var(--brand-500, #2A7FC9); }

/* 兜底的静态「中文 / EN」（TranslatePress 未启用或输出为空时） */
.jc-lang-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.jc-lang-sep { opacity: .5; }

/* =========================================================
   5. 头部与导航 Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  /* 实底，不用毛玻璃。
     sticky + backdrop-filter 在 Safari（macOS / iOS）上是公认的滚动抖动源：
     元素固定不动而背景持续滚动，浏览器每帧都要重新采样并模糊整块背景，
     容易掉帧并产生可见抖动。目标客户端包含 Mac 笔记本与 iPhone，
     因此全断点一律用实底，彻底消除这一类开销。 */
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: var(--sh-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-800));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(22, 69, 127, .28);
}
.brand__mark .icon { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-size: 1.18rem; font-weight: 800; color: var(--brand-900); letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px;
}
.brand__sub {
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
/* 后台「品牌标识 → 品牌 Logo」上传的图片标识 */
.brand__logo { height: 44px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.site-footer .brand__logo { height: 48px; filter: brightness(0) invert(1); }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;              /* 禁止换行，保证一级菜单始终单行 */
}
.primary-menu > li { position: relative; margin: 0; flex: 0 0 auto; }
.primary-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;            /* 核心：空间不足时不折行 */
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-parent > a {
  color: var(--brand-600);
  background: var(--brand-100);
}
.primary-menu .icon--chev { width: 14px; height: 14px; opacity: .6; flex: none; }

/* 下拉巨型菜单 */
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 13px;
  transition: background .2s;
}
.sub-menu a:hover { background: var(--brand-50); }
.sub-menu .sm-ico {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}
.sub-menu .sm-t { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; }
.sub-menu .sm-d { display: block; font-size: .78rem; color: var(--muted); line-height: 1.5; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--brand-800); font-size: 1rem;
}
.header-phone .icon { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-800);
  place-items: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* 移动端抽屉 */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 380px);
  background: #fff;
  z-index: 120;
  padding: 22px 22px 40px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); margin: 0; }
.mobile-nav__list > li > a {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 4px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.mobile-nav__list .icon { color: var(--brand-500); }
.mobile-nav__foot { margin-top: 26px; display: grid; gap: 12px; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 37, 64, .55);
  /* 同理去掉 backdrop-filter：全屏遮罩的模糊在移动端代价很高 */
  z-index: 110;
  opacity: 0; visibility: hidden;
  transition: .3s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* =========================================================
   6. 英雄区 Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #0A2540 0%, #10315C 48%, #1D5FA8 100%);
  padding: clamp(58px, 7vw, 100px) 0 clamp(72px, 8vw, 118px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(79, 155, 216, .45), transparent 62%),
    radial-gradient(760px 420px at 6% 92%, rgba(255, 122, 47, .2), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 78%);
}
.hero .container { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.05rem, 4.4vw, 3.5rem); }
.hero h1 .hl {
  color: var(--brand-300);
  position: relative;
  white-space: nowrap;
}
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: rgba(255, 255, 255, .82); max-width: 620px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.hero__badges span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .9);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 站内搜索条 */
.hero-search {
  margin-top: 34px;
  /* 同理去掉毛玻璃：它背后的英雄区只是渐变，模糊没有视觉收益，
     却要每帧重采样。底色略提亮即可。 */
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  gap: 10px;
  max-width: 640px;
}
.hero-search select,
.hero-search input {
  border: 0;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: .93rem;
  color: var(--ink);
  min-width: 0;
}
.hero-search select { flex: 0 0 150px; }
.hero-search input { flex: 1 1 auto; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search .btn { flex: none; }

/* 英雄区数据统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats div strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-stats div span { font-size: .82rem; color: rgba(255, 255, 255, .66); }

/* 英雄区右侧流程可视化 */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 28px;
  /* 不再使用 .floaty 无限 transform 动画：首页插画浮动是纯装饰，
     但 5s 无限动画会让 WebKit（Safari / iOS）渲染循环持续活跃，
     进而把同页的 position:fixed 悬浮工具条每帧重新合成，
     表现为「快→慢→停顿→循环」的周期性抖动。去掉它即可让合成器空闲。
     backdrop-filter 此前也已移除（每帧重采样模糊背景开销过大）。
     改用略实一点的底色，视觉几乎无差别，开销归零。 */
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}
.hero-visual__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
}
.hero-visual__head b { color: #fff; letter-spacing: 0; text-transform: none; font-size: .9rem; }
.flow { display: grid; gap: 12px; }
.flow__node {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s;
}
.flow__node:hover { transform: translateX(6px); background: rgba(255, 255, 255, .16); }
.flow__ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: #fff;
}
.flow__ico .icon { width: 24px; height: 24px; }
.flow__node:nth-child(3) .flow__ico { background: linear-gradient(135deg, #FFB38A, var(--accent-600)); }
.flow__t { font-weight: 800; color: #fff; font-size: 1rem; display: block; }
.flow__d { font-size: .82rem; color: rgba(255, 255, 255, .66); }
.flow__arrow { display: grid; place-items: center; height: 8px; color: rgba(255, 255, 255, .35); }
.flow__arrow .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.hero-visual__foot {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, .2);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; font-size: .85rem; color: rgba(255, 255, 255, .72);
}

/* 品牌信任条 */
.trustbar { background: var(--trustbar-bg, #fff); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.trustbar__label { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.trustbar__list {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  flex-wrap: wrap; margin: 0; padding: 0; list-style: none;
}
.trustbar__item { margin: 0; display: flex; align-items: center; }
.trustbar__link { display: inline-flex; align-items: center; text-decoration: none; }
.trustbar__logo {
  height: 30px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(100%); opacity: .7;
  transition: filter .25s, opacity .25s;
}
.trustbar__link:hover .trustbar__logo,
.trustbar__item:hover .trustbar__logo { filter: grayscale(0); opacity: 1; }
.trustbar__name {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--trustbar-tag-bg, transparent);
  color: var(--trustbar-tag-text, #A9B6B6);
  font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  transition: color .25s, background .25s;
}
.trustbar__list li:hover .trustbar__name { color: var(--brand-600); }

/* 客户案例（滚动 Logo 墙） */
.section--clients { padding: 48px 0; background: #F6F9F8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients {
  margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 64px);
  width: max-content; margin: 0; padding: 0; list-style: none;
  animation: clients-scroll 32s linear infinite;
  will-change: transform;
}
.clients__item { margin: 0; display: flex; align-items: center; flex: 0 0 auto; }
.clients__link { display: inline-flex; align-items: center; text-decoration: none; }
.clients__logo {
  height: 38px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(100%); opacity: .65;
  transition: filter .25s, opacity .25s;
}
.clients__link:hover .clients__logo,
.clients__item:hover .clients__logo { filter: grayscale(0); opacity: 1; }
.clients__name {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: rgba(42, 127, 201,.08); color: #5b6b6a;
  font-weight: 800; font-size: .95rem; letter-spacing: .04em; white-space: nowrap;
}
.clients:hover .clients__track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}

/* =========================================================
   7. 解决方案卡片 Solution cards
   ========================================================= */
.sol-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 30px 28px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.sol-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.sol-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--brand-300); }
.sol-card:hover::before { transform: scaleX(1); }

/* 方案卡产品图：后台设置了「特色图像」时展示图片，否则回退到图标 */
.sol-card--photo { padding-top: 0; }
.sol-card--photo::before { display: none; }
.sol-card__media {
  position: relative;
  margin: 0 -30px 22px;
  height: 190px;
  overflow: hidden;
  background: var(--brand-100);
}
.sol-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.sol-card:hover .sol-card__img { transform: scale(1.05); }
.sol-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 46%, rgba(10, 37, 64, .38) 100%);
  pointer-events: none;
}

.sol-card__ico {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--brand-100);
  color: var(--brand-600);
  margin-bottom: 22px;
}
.sol-card__ico .icon { width: 32px; height: 32px; }
.sol-card h3 { margin-bottom: 10px; }
.sol-card__list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.sol-card__list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .92rem; }
.sol-card__list .icon { width: 18px; height: 18px; color: var(--brand-500); margin-top: 3px; }
.sol-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* =========================================================
   8. 产品中心 Products
   ========================================================= */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.tab {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--body);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  transition: .25s;
}
.tab:hover { border-color: var(--brand-400); color: var(--brand-600); }
.tab.is-active {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 69, 127, .22);
}

.product-grid { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }

.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.pcard:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--brand-300); }
.pcard[hidden] { display: none; }
.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-800));
  overflow: hidden;
}
.pcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 200px at 78% 18%, rgba(255, 255, 255, .26), transparent 62%);
}
.pcard__media .icon { width: 68px; height: 68px; opacity: .95; position: relative; z-index: 1; }

/* 设备卡片：已设置「特色图片」时显示真实产品图（未设置则保留分类渐变 + 图标） */
.pcard__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pcard:hover .pcard__img { transform: scale(1.04); }
/* 底部压暗，保证右下角型号文字在浅色照片上仍然可读 */
.pcard__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 37, 64, .04) 0%, rgba(10, 37, 64, .12) 45%, rgba(10, 37, 64, .58) 100%);
}
/* 有图时去掉装饰高光与大图标，避免照片发白、图标压住产品 */
.pcard--photo .pcard__media::after { display: none; }
.pcard--photo .pcard__media .icon { display: none; }
.pcard__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  color: var(--brand-800);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.pcard__code {
  position: absolute;
  bottom: 12px; right: 14px;
  z-index: 2;
  font-family: var(--font-num);
  font-size: .78rem;
  color: rgba(255, 255, 255, .82);
  letter-spacing: .04em;
}
.pcard__body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.pcard h3 { font-size: 1.08rem; margin: 0; }
.pcard h3 a { color: var(--brand-900); }
.pcard h3 a:hover { color: var(--brand-600); }
.pcard__desc { font-size: .9rem; margin: 0; }
.spec-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.spec-list li {
  margin: 0;
  background: var(--bg-alt);
  color: var(--body);
  font-size: .76rem;
  padding: 4px 10px;
  border-radius: 8px;
}
.pcard__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.pcard__price { font-weight: 800; color: var(--accent-600); font-size: .95rem; }
.pcard__price small { font-size: .72rem; color: var(--muted); font-weight: 500; }

/* 分类配色 */
.pcard[data-cat="filling"] .pcard__media { background: linear-gradient(135deg, #2A7FC9, #10315C); }
.pcard[data-cat="filtration"] .pcard__media { background: linear-gradient(135deg, #3E8BD6, #16457F); }
.pcard[data-cat="purification"] .pcard__media { background: linear-gradient(135deg, #7A6AE0, #123B63); }
.pcard[data-cat="consumable"] .pcard__media { background: linear-gradient(135deg, #FF9A52, #C4471A); }
.pcard[data-cat="lab"] .pcard__media { background: linear-gradient(135deg, #4F9BD8, #1D5FA8); }

.products-cta { text-align: center; margin-top: 46px; }

/* =========================================================
   9. 耗材区 Consumables
   ========================================================= */
.consumables__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
.cs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cs-card__head {
  display: grid;
  grid-template-columns: 2.1fr 1.2fr 1fr auto;
  gap: 12px;
  padding: 14px 22px;
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.cs-row {
  display: grid;
  grid-template-columns: 2.1fr 1.2fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.cs-row:last-child { border-bottom: 0; }
.cs-row:hover { background: var(--brand-50); }
.cs-row__name { display: flex; align-items: center; gap: 12px; }
.cs-row__ico {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: grid; place-items: center;
}
.cs-row__ico .icon { width: 19px; height: 19px; }

/* 耗材行：已设置「特色图片」时显示产品缩略图（未设置则保留图标） */
.cs-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.cs-row--photo .cs-row__ico {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E3E9F0);
  overflow: hidden;
}
.cs-row__name b { display: block; color: var(--brand-900); font-size: .95rem; }
.cs-row__name span { display: block; font-size: .78rem; color: var(--muted); }
.cs-row__sku { font-family: var(--font-num); font-size: .82rem; color: var(--body); }
.cs-row__spec { font-size: .85rem; }
.cs-row__act {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* 数量步进器 */
.cs-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.cs-qty__btn {
  width: 30px; height: 32px;
  border: 0; background: var(--brand-50, #EEF4FB);
  color: var(--brand-700, #10315C);
  font-size: 1.05rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s;
}
.cs-qty__btn:hover { background: var(--brand-100, #D7E6F5); }
.cs-qty__input {
  width: 46px; height: 32px;
  border: 0; text-align: center;
  font-family: var(--font-num);
  font-size: .85rem;
  color: var(--ink, #1B2536);
  -moz-appearance: textfield;
  background: #fff;
}
.cs-qty__input::-webkit-outer-spin-button,
.cs-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cs-qty__input:focus { outline: none; }

/* 采购单悬浮按钮角标 */
.fab--order { background: var(--accent, #f0a13a); }
.fab__badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #e0483b;
  color: #fff;
  font-size: .68rem; font-weight: 700;
  line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.fab--order { position: relative; }
.fab--order.is-bump { animation: order-bump .35s ease; }
@keyframes order-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .fab--order.is-bump { animation: none; }
}

/* 采购单列表 */
.order-list { display: grid; gap: 10px; margin-bottom: 14px; }
.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--brand-50, #EEF4FB);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 12px;
}
.order-item__info { min-width: 0; }
.order-item__title { display: block; font-size: .88rem; color: var(--ink, #1B2536); }
.order-item__meta { display: block; font-size: .76rem; color: var(--muted, #5A6878); margin-top: 2px; }
.order-item__price { font-family: var(--font-num); font-size: .82rem; color: var(--brand-700, #10315C); }
.order-item__remove {
  width: 26px; height: 26px;
  border: 0; border-radius: 50%;
  background: rgba(224, 72, 59, .12);
  color: #c0392b;
  font-size: 1rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.order-item__remove:hover { background: rgba(224, 72, 59, .22); }
.order-empty {
  margin: 0 0 14px;
  padding: 14px;
  background: var(--brand-50, #EEF4FB);
  border-radius: 12px;
  font-size: .85rem;
  color: var(--muted, #5A6878);
  text-align: center;
}
.cs-side { display: grid; gap: 16px; }
.cs-side__box {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600));
  color: rgba(255, 255, 255, .8);
  border-radius: var(--radius-xl);
  padding: 30px;
}
.cs-side__box h3 { color: #fff; }
.cs-side__box ul { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 11px; }
.cs-side__box li { display: flex; gap: 10px; margin: 0; font-size: .92rem; }
.cs-side__box .icon { width: 18px; height: 18px; color: var(--brand-300); margin-top: 4px; }
.cs-note {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: .88rem;
  display: flex; gap: 12px;
}
.cs-note .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }

/* =========================================================
   10. 维修服务 Service
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 54px;
  counter-reset: step;
}
.step { position: relative; }
.step__num {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 34px);
  right: -10px;
  height: 1px;
  border-top: 1px dashed var(--line-strong);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--brand-300); }
.svc-card__ico {
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-card__ico .icon { width: 25px; height: 25px; }
.svc-card h4 { margin-bottom: 8px; }
.svc-card p { font-size: .91rem; margin-bottom: 14px; }
.svc-card__meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.svc-card__meta span {
  font-size: .74rem; font-weight: 700;
  background: var(--bg-alt); color: var(--brand-700);
  padding: 4px 10px; border-radius: 7px;
}

.sla-band {
  margin-top: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.sla-item { text-align: center; }
.sla-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand-600); }
.sla-item span { font-size: .85rem; }

/* FAQ 手风琴 */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: none; border: 0; text-align: left;
  font-weight: 700; color: var(--brand-900); font-size: .98rem;
}
.faq__q .icon { color: var(--brand-500); transition: transform .3s; width: 20px; height: 20px; }
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); }
.faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; font-size: .92rem; }
.faq__item.is-open .faq__a { padding: 0 22px 20px; max-height: 420px; }

/* =========================================================
   11. 行业应用 Industries
   ========================================================= */
.ind-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ind-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.ind-tile:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ind-tile__ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand-100); color: var(--brand-600);
  display: grid; place-items: center; margin-bottom: 16px;
}
.ind-tile h4 { margin-bottom: 6px; }
.ind-tile p { font-size: .88rem; margin: 0; color: var(--body); }
.ind-tile__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .76rem; font-weight: 700;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px; border-radius: 7px;
}

/* =========================================================
   12. 数据统计 Stats
   ========================================================= */
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { text-align: center; padding: 10px; }
.stat strong {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* =========================================================
   13. 客户评价 Testimonials
   ========================================================= */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s, box-shadow .3s;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.quote-card__mark { color: var(--brand-300); }
.quote-card__mark .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.quote-card p { font-size: .96rem; color: var(--ink); flex: 1; margin: 0; }
.quote-card__who { display: flex; align-items: center; gap: 13px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-card__ava {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.quote-card__who b { display: block; color: var(--brand-900); font-size: .93rem; }
.quote-card__who span { display: block; font-size: .8rem; color: var(--muted); }
.stars { display: flex; gap: 2px; color: #FFB020; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* =========================================================
   14. 知识中心 Insights
   ========================================================= */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-100), var(--brand-300)); display: grid; place-items: center; color: var(--brand-700); }
.post-card__media .icon { width: 44px; height: 44px; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: .78rem; color: var(--muted); }
.post-card h3 { font-size: 1.05rem; margin: 0; }
.post-card p { font-size: .9rem; margin: 0; }
.post-card__foot { margin-top: auto; padding-top: 12px; }

/* =========================================================
   15. 询价 CTA + 表单
   ========================================================= */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}
.cta-intro h2 { margin-bottom: 16px; }
.cta-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.cta-list li { display: flex; gap: 12px; margin: 0; font-size: .95rem; }
.cta-list .icon { width: 20px; height: 20px; color: var(--brand-400); margin-top: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--sh-md);
}
.form-card h3 { margin-bottom: 6px; }
.form-card__sub { font-size: .88rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 6px;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: .93rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(42, 127, 201, .13);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: #E0483C; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 600;
}
.form-msg.is-show { display: block; }
.form-msg--ok { background: var(--brand-100); color: var(--brand-800); }
.form-msg--err { background: #FDECEA; color: #B3352B; }

/* =========================================================
   16. 页脚 Footer
   ========================================================= */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .66);
  padding: clamp(54px, 6vw, 84px) 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 46px;
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin: 16px 0 20px; font-size: .9rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-list li { margin: 0; }
.footer-list a:hover { color: var(--brand-300); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; margin: 0; font-size: .9rem; }
.contact-list .icon { width: 18px; height: 18px; color: var(--brand-400); margin-top: 4px; }
.contact-list b { display: block; color: var(--ink, #101C2E); font-weight: 700; }
/* 页脚底色为 --brand-900（#0A2540 深色），contact-list 在此处必须保持白字。
   特异性：.site-footer .contact-list b（0-2-1）> .contact-list b（0-1-1），
   故页脚恒为白字，与两条声明的先后顺序无关。
   背景：这条白字原本只为页脚而写，却被复用到「联系我们」页的 section--white
   （--surface = #FFFFFF）上，导致电话/邮箱白字压白底不可见。 */
.site-footer .contact-list b { color: #fff; }
.footer-wechat { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.footer-wechat img {
  width: 92px; height: 92px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  flex: none;
}
.footer-wechat span { font-size: .82rem; color: rgba(255, 255, 255, .72); line-height: 1.55; }
.footer-bottom a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.footer-bottom a:hover { color: var(--brand-300); border-bottom-color: var(--brand-300); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .8);
  transition: .25s;
}
.footer-social a:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

/* 悬浮工具条 */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 10px;

  /* 关键：把整个悬浮组提升到独立合成层。
     WebKit（Safari / iOS）在惯性滚动期间，未独立合成的 position:fixed
     元素会被逐帧重绘且位置滞后于滚动，表现为剧烈抖动。
     translateZ(0) 强制建层，backface-visibility 防止半像素回弹。
     注意：transform 作用在元素自身上时不影响它自己的 fixed 定位，
     只会让它成为后代的包含块 —— 这里后代只是 a / button，无副作用。 */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* will-change 让浏览器把悬浮组常驻独立合成层，即使页面合成器空闲
     也不降级重栅格化；这是 iOS Safari 上 fixed 元素抖动的标准根治手段。 */
  will-change: transform;
}
.fab {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  color: #fff;
  background: var(--brand-700);
  box-shadow: var(--sh-md);
  transition: transform .25s, background .25s;
}
.fab:hover { transform: translateY(-3px); color: #fff; }
/* 触屏设备上 :hover 会在点按后滞留，导致按钮一直保持位移 */
.fab--accent { background: var(--accent); }
.fab--top { background: #fff; color: var(--brand-700); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.fab--top.is-show { opacity: 1; pointer-events: auto; }
.fab .icon { width: 21px; height: 21px; }
/* .fab 设了 display:grid，会盖过 UA 的 [hidden]{display:none}，需显式隐藏空购物车按钮 */
.fab[hidden] { display: none !important; }
/* 触屏设备点按后 :hover 会滞留，按钮会一直保持 -3px 位移 */
@media (hover: none) {
  .fab:hover { transform: none; }
}

/* =========================================================
   17. 内页通用 Inner pages
   ========================================================= */
.page-hero {
  background: linear-gradient(150deg, #0A2540, #16457F 65%, #1D5FA8);
  color: rgba(255, 255, 255, .8);
  padding: clamp(48px, 6vw, 82px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 85% 10%, rgba(79, 155, 216, .32), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 12px; }
.page-hero p { max-width: 680px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .92rem; }
.entry-content th,
.entry-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.entry-content th { background: var(--brand-50); color: var(--brand-800); font-weight: 700; }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand-500);
  background: var(--brand-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.wp-caption-text, .screen-reader-text { font-size: .82rem; color: var(--muted); }
.alignleft { float: left; margin: 0 1.6em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.6em; }
.aligncenter { margin: 0 auto 1.4em; }
.alignwide { width: min(100%, 1100px); margin-inline: auto; }

.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 46px; flex-wrap: wrap;
}
.pagination .page-numbers {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  font-weight: 700;
  font-size: .9rem;
  color: var(--body);
  padding: 0 12px;
}
.pagination .page-numbers:hover { border-color: var(--brand-500); color: var(--brand-600); }
.pagination .page-numbers.current { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.notice {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 26px;
  text-align: center;
}
.notice .icon { width: 42px; height: 42px; color: var(--brand-300); margin: 0 auto 14px; }

/* 侧边栏 */
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 22px; }
.widget-title { font-size: 1rem; margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget li { margin: 0; font-size: .9rem; }
.widget li a { display: flex; justify-content: space-between; gap: 10px; }
.widget li .count { color: var(--muted); font-size: .82rem; }

/* 产品页右栏兜底内容（主题内置，不依赖小工具配置） */
.jc-side-rel li a {
  color: var(--ink, #101C2E);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #E2E8F0);
  transition: color .2s;
}
.jc-side-rel li:last-child a { border-bottom: 0; }
.jc-side-rel li a:hover { color: var(--brand-600, #1D5FA8); }

.jc-side-cta { background: var(--brand-50, #EEF4FB); border-color: var(--brand-100, #D7E6F5); }
.jc-side-cta__txt {
  margin: 0 0 16px;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted, #5A6878);
}
.jc-side-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.jc-side-contact li {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem;
}
.jc-side-contact .icon {
  width: 18px; height: 18px; flex: none;
  color: var(--brand-600, #1D5FA8);
}
.jc-side-contact b {
  font-family: var(--font-num);
  color: var(--brand-800, #10315C);
  font-weight: 700;
  word-break: break-all;
}

.layout-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

/* =========================================================
   18. 动效 Animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* 原 .floaty 无限浮动动画已移除（会导致 WebKit 合成器无法空闲、
   同页 fixed 悬浮条周期性抖动）。保留类名为惰性，显式关闭动画。 */
.floaty { animation: none; }

/* =========================================================
   19. 响应式 Responsive
   ========================================================= */
/*
 * 头部横向空间的三级降级策略（目标：一级菜单永不折行、整行永不溢出）
 *   ≤1439px 隐藏品牌英文副名（纯装饰）
 *   ≤1240px 再隐藏头部电话（顶栏与页脚已有）+ 收紧菜单间距与字号
 *   ≤1024px 整体切换为汉堡抽屉
 */
@media (max-width: 1439px) {
  .brand__sub { display: none; }
}

@media (max-width: 1240px) {
  .header-phone { display: none; }
  .primary-menu { gap: 0; }
  .primary-menu > li > a { padding: 10px 9px; font-size: .9rem; }
  .sub-menu { width: 480px; }
}

@media (max-width: 1024px) {
  .primary-menu { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
}

@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 620px; }
  .hero-stats { margin-top: 32px; }
  .consumables__grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .step::after { display: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .sla-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .cs-card__head { display: none; }
  .cs-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name btn" "sku spec";
    row-gap: 6px;
  }
  .cs-row__name { grid-area: name; }
  .cs-row__sku { grid-area: sku; }
  .cs-row__spec { grid-area: spec; }
  .cs-row__act { grid-area: btn; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .container, .container--narrow { width: min(100% - 32px, var(--maxw)); }
  .topbar__inner { justify-content: center; text-align: center; gap: 8px; }
  .topbar__list { justify-content: center; gap: 14px; font-size: .75rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-search { flex-wrap: wrap; }
  .hero-search select { flex: 1 1 100%; }
  .hero-search input { flex: 1 1 60%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .sla-band { grid-template-columns: 1fr; text-align: left; }
  .sla-item { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trustbar__inner { justify-content: center; text-align: center; }
  .trustbar__list { justify-content: center; gap: 18px; }
  .trustbar__name { font-size: .84rem; }
  .fab-stack { right: 12px; bottom: 14px; }
  .fab { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .sol-card { padding: 26px 22px; }
  .sol-card__media { margin: 0 -22px 18px; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   20. 打印 Print
   ========================================================= */
@media print {
  .site-header, .topbar, .fab-stack, .hero-search, .form-card,
  .jc-popup, .jc-popup__overlay { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 18px 0; }
}

/* =========================================================
   21. 悬浮弹窗 Popups（在线交流 / 联系信息）
   说明：fixed 定位、纯 rgba 遮罩（无 backdrop-filter）、
   仅一次性过渡（无无限动画），避免重新触发 Safari 抖动。
   ========================================================= */
.jc-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, .5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.jc-popup__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.jc-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 92vw);
  background: #fff;
  color: var(--ink, #1B2536);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .22);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
  will-change: transform;
}
.jc-popup.is-open {
  transform: translateX(0);
  visibility: visible;
}

.jc-popup__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--brand-600, #16457F), var(--brand-700, #10315C));
  color: #fff;
}
.jc-popup__avatar {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.jc-popup__avatar .icon { width: 22px; height: 22px; }
.jc-popup__title { flex: 1; min-width: 0; }
.jc-popup__title strong { display: block; font-size: .96rem; }
.jc-popup__title small { display: block; font-size: .76rem; opacity: .82; margin-top: 2px; }
.jc-popup__close {
  width: 34px; height: 34px; flex: none;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.jc-popup__close:hover { background: rgba(255, 255, 255, .28); }
.jc-popup__close .icon { width: 18px; height: 18px; }

.jc-popup__body { padding: 18px; overflow-y: auto; flex: 1; }
.jc-popup__hi {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--brand-50, #EEF4FB);
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink, #1B2536);
}

/* 弹窗内表单复用全局 .field / .form-msg 样式 */
.jc-chat-form .field { margin-bottom: 12px; }
.jc-chat-form input,
.jc-chat-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 10px;
  font-size: .9rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink, #1B2536);
  transition: border-color .2s, box-shadow .2s;
}
.jc-chat-form textarea { min-height: 84px; resize: vertical; }
.jc-chat-form input:focus,
.jc-chat-form textarea:focus {
  outline: none;
  border-color: var(--brand-500, #1D5FA8);
  box-shadow: 0 0 0 3px rgba(29, 95, 168, .15);
}
.jc-chat-form input.is-invalid,
.jc-chat-form textarea.is-invalid {
  border-color: #e0483b;
  box-shadow: 0 0 0 3px rgba(224, 72, 59, .15);
}
.jc-chat-form .btn-block { margin-top: 4px; }

.jc-popup__quick {
  display: flex; gap: 10px; margin-top: 14px;
}
.jc-quick {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 10px;
  color: var(--brand-700, #10315C);
  text-decoration: none;
  font-size: .84rem;
  transition: background .2s, border-color .2s;
}
.jc-quick:hover { background: var(--brand-50, #EEF4FB); border-color: var(--brand-300, #9AC6EC); }
.jc-quick .icon { width: 17px; height: 17px; }

/* 联系卡片 */
.jc-contact-card { list-style: none; margin: 0 0 16px; padding: 0; }
.jc-contact-card li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #eef2f0);
}
.jc-contact-card li:last-child { border-bottom: 0; }
.jc-contact-card__ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--brand-50, #EEF4FB);
  color: var(--brand-600, #16457F);
}
.jc-contact-card__ico .icon { width: 18px; height: 18px; }
.jc-contact-card li span { font-size: .82rem; color: #5A6878; }
.jc-contact-card li b {
  display: block; font-size: .95rem; color: var(--ink, #1B2536);
  margin-bottom: 2px; font-weight: 600;
}

.jc-popup__qr {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin-bottom: 16px;
  background: var(--brand-50, #EEF4FB);
  border-radius: 12px;
}
.jc-popup__qr img { width: 84px; height: 84px; border-radius: 8px; background: #fff; }
.jc-popup__qr span { font-size: .8rem; color: #5A6878; }

@media (max-width: 520px) {
  .jc-popup { width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  .jc-popup, .jc-popup__overlay { transition: none; }
}

/* =========================================================
   22. WooCommerce 商城（商店 / 商品 / 购物车 / 结账）
   复用品牌变量，覆盖 WooCommerce 默认的浮动布局与按钮样式。
   仅当 WooCommerce 启用时生效（.jc-has-wc）。
   ========================================================= */

/* 次要按钮（浅底描边） */
.btn-outline {
  background: #fff;
  border-color: var(--brand-500, #2A7FC9);
  color: var(--brand-700, #16457F);
}
.btn-outline:hover {
  background: var(--brand-50, #EEF4FB);
  color: var(--brand-700, #16457F);
  transform: translateY(-2px);
}

/* 短码 [jc_wc_products] 网格 */
.jc-wc-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jc-wc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.jc-wc-card:hover {
  box-shadow: 0 18px 40px rgba(10, 37, 64, .12);
  transform: translateY(-3px);
}
.jc-wc-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--brand-50, #EEF4FB);
  overflow: hidden;
}
.jc-wc-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.jc-wc-card:hover .jc-wc-card__img { transform: scale(1.04); }
.jc-wc-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.jc-wc-card__title {
  margin: 0;
  font-size: .98rem;
  line-height: 1.4;
}
.jc-wc-card__title a { color: var(--brand-900, #101C2E); text-decoration: none; }
.jc-wc-card__title a:hover { color: var(--brand-600, #1D5FA8); }
.jc-wc-card__price {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--accent-600, #e8621a);
  font-size: .95rem;
}
.jc-wc-card__price del { color: var(--muted, #8A97A6); font-weight: 400; margin-right: 6px; }
.jc-wc-card__price ins { text-decoration: none; }
.jc-wc-card__form {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

/* --- WooCommerce 商品循环 --- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  padding-bottom: 16px;
  transition: box-shadow .25s, transform .25s;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 18px 40px rgba(10, 37, 64, .12);
  transform: translateY(-3px);
}
.woocommerce ul.products li.product a img {
  margin: 0 0 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: .98rem;
  padding: 14px 16px 6px;
  color: var(--brand-900, #101C2E);
}
.woocommerce ul.products li.product .price {
  padding: 0 16px;
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--accent-600, #e8621a);
  font-size: .95rem;
}
.woocommerce ul.products li.product .price del { color: var(--muted, #8A97A6); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  margin: 10px 16px 0;
}

/* --- 统一按钮 --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--accent, #ff7a2f);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--accent-600, #e8621a);
  color: #fff;
  transform: translateY(-2px);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--brand-600, #1D5FA8);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--brand-700, #16457F);
}

/* --- 单商品页 --- */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
  margin: 0;
}
.woocommerce div.product div.images img {
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--line, #E2E8F0);
}
.woocommerce div.product .product_title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--brand-900, #101C2E);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--accent-600, #e8621a);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 1.4rem;
}
.woocommerce div.product form.cart div.quantity .qty,
.woocommerce .quantity .qty {
  width: 64px;
  height: 40px;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 9px;
  text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line, #E2E8F0);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0 18px 0 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 10px 2px;
  color: var(--muted, #5A6878);
  font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--brand-700, #16457F);
  box-shadow: inset 0 -2px 0 var(--brand-600, #1D5FA8);
}

/* --- 购物车 / 结账 --- */
.woocommerce table.shop_table {
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius, 12px);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.woocommerce table.shop_table th {
  background: var(--brand-50, #EEF4FB);
  color: var(--brand-800, #10315C);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { border-color: var(--line, #E2E8F0); }
.woocommerce table.cart td.actions .coupon .input-text {
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 9px;
  height: 40px;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  width: 100%;
  float: none;
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.1rem; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout #payment .form-row input.input-text {
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 9px;
  padding: 11px 13px;
  background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--brand-500, #2A7FC9);
  box-shadow: 0 0 0 3px rgba(29, 95, 168, .15);
}
.woocommerce-checkout #payment {
  background: var(--brand-50, #EEF4FB);
  border-radius: var(--radius-lg, 16px);
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid var(--line, #E2E8F0);
}
.woocommerce-checkout #payment div.payment_box {
  background: #fff;
  border-radius: 10px;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #place_order {
  width: 100%;
  padding: 14px 20px;
  font-size: .96rem;
}

/* --- 我的账户 --- */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 220px;
  float: left;
  margin-right: 28px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius, 12px);
  overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 11px 16px;
  color: var(--brand-800, #10315C);
  text-decoration: none;
  border-bottom: 1px solid var(--line, #E2E8F0);
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--brand-50, #EEF4FB);
  color: var(--brand-700, #16457F);
}
.woocommerce-account .woocommerce-MyAccount-content {
  width: auto;
  float: none;
}

/* --- 通知与分页 --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 10px;
  border-top: 0;
  background: var(--brand-50, #EEF4FB);
  color: var(--brand-800, #10315C);
  padding: 14px 18px;
}
.woocommerce-error { background: #FDECEA; color: #B3352B; }
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 9px;
  min-width: 38px;
  padding: 7px 10px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--brand-700, #16457F);
  border-color: var(--brand-700, #16457F);
  color: #fff;
}

/* --- 响应式 --- */
@media (max-width: 900px) {
  .jc-wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { width: 100%; float: none; margin: 0 0 20px; }
}
@media (max-width: 560px) {
  .jc-wc-grid { grid-template-columns: 1fr !important; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

/* =========================================================
   23. 资料下载 Downloads（page-templates/page-downloads.php）
   自动汇总设备「样本 / 手册 PDF」字段，按设备分类分组展示。
   ========================================================= */
.page-hero__note {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .92);
  max-width: none !important;
}

.dl-group { margin-bottom: 34px; }
.dl-group:last-of-type { margin-bottom: 0; }

.dl-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-500, #2A7FC9);
  font-size: 1.12rem;
}
.dl-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-100, #E4EFFA);
  color: var(--brand-700, #16457F);
  font-size: .76rem;
  font-weight: 600;
}

.dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.dl-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E3E9F0);
  border-radius: var(--radius, 14px);
  box-shadow: var(--sh-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dl-item:hover {
  border-color: var(--brand-300, #9AC6EC);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.dl-item__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-50, #F3F8FD);
  color: var(--brand-600, #1D5FA8);
}
.dl-item__ico .icon { width: 22px; height: 22px; }

.dl-item__title { margin: 0; font-size: 1.02rem; }
.dl-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-size: .85rem;
  color: var(--muted, #808E9E);
}
.dl-item__ext {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--brand-100, #E4EFFA);
  color: var(--brand-700, #16457F);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.dl-item__act { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-item__act .btn .icon { width: 15px; height: 15px; }

.dl-empty {
  padding: 56px 24px;
  text-align: center;
  background: var(--surface, #fff);
  border: 1px dashed var(--line-strong, #CFD8E3);
  border-radius: var(--radius-lg, 20px);
}
.dl-empty__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-50, #F3F8FD);
  color: var(--brand-600, #1D5FA8);
}
.dl-empty__ico .icon { width: 30px; height: 30px; }
.dl-empty h3 { margin-bottom: 8px; }
.dl-empty p { margin: 0 auto 10px; max-width: 560px; color: var(--body, #4C5A6B); font-size: .92rem; }

.dl-help { margin-top: 48px; }

@media (max-width: 640px) {
  .dl-item { grid-template-columns: 40px minmax(0, 1fr); }
  .dl-item__ico { width: 40px; height: 40px; }
  .dl-item__act { grid-column: 1 / -1; }
  .dl-item__act .btn { flex: 1 1 auto; justify-content: center; }
}
