/* ==========================================================================
   中弘古筝官方网站 —— 全站样式（Bootstrap 5 定制）
   设计语言：现代简约 · 白底大图
   · 大面积留白 + 全幅图片，弱化装饰，以内容与影像为主体
   · 中性灰阶为主色，单一克制的朱砂色作为点缀
   · 用 1px 细线代替阴影做分隔，圆角克制，动效轻微
   适配：手机端 (<576) / 平板端 (576-991) / 桌面端 (≥992)
   ========================================================================== */

/* ---------------------------------------------------------------- 设计令牌 */
:root {
  /* 中性色阶 */
  --zh-ink:      #0e0e10;
  --zh-ink-2:    #24242a;
  --zh-gray-700: #52525b;
  --zh-gray-500: #8b8b93;
  --zh-gray-400: #a9a9b1;
  --zh-gray-300: #d5d5da;
  --zh-gray-200: #e8e8ec;
  --zh-gray-100: #f3f3f5;
  --zh-gray-50:  #fafafb;
  --zh-white:    #ffffff;

  /* 唯一强调色：朱砂 */
  --zh-accent:      #b4442a;
  --zh-accent-soft: #fbf4f1;

  /* 圆角 / 动效 */
  --zh-radius:     10px;
  --zh-radius-sm:  6px;
  --zh-pill:       999px;
  --zh-ease:       cubic-bezier(.22, .61, .36, 1);
  --zh-transition: .32s var(--zh-ease);

  /* 版心 */
  --zh-header-h:   74px;

  /* Bootstrap 变量桥接 */
  --bs-primary:       var(--zh-ink);
  --bs-primary-rgb:   14, 14, 16;
  --bs-body-color:    var(--zh-ink-2);
  --bs-body-bg:       var(--zh-white);
  --bs-border-color:  var(--zh-gray-200);
  --bs-link-color:    var(--zh-ink);
  --bs-link-hover-color: var(--zh-accent);
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
                        Helvetica, Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.8;
}

/* ---------------------------------------------------------------- 基础排版 */
* { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--zh-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--zh-ink-2);
  background: var(--zh-white);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

/* overflow:clip 不产生滚动容器，可保住 sticky 头部；老浏览器回退到 hidden */
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

@media (max-width: 991.98px) {
  body { padding-bottom: 58px; }   /* 为移动端底部操作条留位 */
}

h1, h2, h3, h4, h5, h6 {
  color: var(--zh-ink);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

p { margin-bottom: 1rem; }

a { color: inherit; text-decoration: none; transition: color var(--zh-transition); }

img { max-width: 100%; height: auto; }

hr { border-color: var(--zh-gray-200); opacity: 1; }

::selection { background: var(--zh-ink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--zh-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 无障碍跳转 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--zh-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--zh-radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  --bs-btn-focus-box-shadow: none;
  border-radius: var(--zh-pill);
  font-weight: 500;
  font-size: .94rem;
  line-height: 1.4;
  padding: .68rem 1.55rem;
  letter-spacing: .02em;
  transition: background-color var(--zh-transition), border-color var(--zh-transition),
              color var(--zh-transition), transform var(--zh-transition);
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1rem; padding: .85rem 2.05rem; }
.btn-sm { font-size: .84rem; padding: .46rem 1.15rem; }

/* 主按钮：实心墨黑，hover 转朱砂 */
.btn-zh-primary {
  background: var(--zh-ink);
  border: 1px solid var(--zh-ink);
  color: #fff;
}
.btn-zh-primary:hover, .btn-zh-primary:focus-visible {
  background: var(--zh-accent);
  border-color: var(--zh-accent);
  color: #fff;
}

/* 次按钮：细线描边 */
.btn-zh-outline {
  background: transparent;
  border: 1px solid var(--zh-gray-300);
  color: var(--zh-ink);
}
.btn-zh-outline:hover, .btn-zh-outline:focus-visible {
  background: var(--zh-ink);
  border-color: var(--zh-ink);
  color: #fff;
}

/* 深色底上的实心白按钮 */
.btn-zh-light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--zh-ink);
}
.btn-zh-light:hover, .btn-zh-light:focus-visible {
  background: var(--zh-accent);
  border-color: var(--zh-accent);
  color: #fff;
}

/* 深色底上的透明按钮 */
.btn-zh-ghost {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-zh-ghost:hover, .btn-zh-ghost:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--zh-ink);
}

.btn-zh-ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
}
.btn-zh-ghost-light:hover, .btn-zh-ghost-light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--zh-ink);
}

/* ---------------------------------------------------------------- 顶部导航 */
.zh-header {
  background: #fff;
  border-bottom: 1px solid var(--zh-gray-200);
  transition: box-shadow var(--zh-transition);
  z-index: 1040;
}
.zh-header.is-scrolled { box-shadow: 0 1px 22px rgba(14, 14, 16, .07); }

/* 顶栏（仅桌面端） */
.topbar {
  background: var(--zh-gray-50);
  border-bottom: 1px solid var(--zh-gray-200);
  font-size: .78rem;
  color: var(--zh-gray-700);
  letter-spacing: .01em;
}
.topbar .container { min-height: 38px; }
.topbar a { color: var(--zh-gray-700); }
.topbar a:hover { color: var(--zh-accent); }
.topbar-slogan i { color: var(--zh-accent); }
.topbar-contact a { display: inline-flex; align-items: center; }

/* 主导航 */
.zh-navbar { padding: 0; }
/* 注意：这里不能全局写 flex-wrap: nowrap。
   Bootstrap 靠 .navbar-collapse 的 flex-basis:100% + 容器的 wrap 把折叠面板顶到下一行；
   一旦 nowrap，手机端展开菜单时面板就被挤在 logo 右边（只剩 260px 宽），
   同时 align-items:center 会把 logo/汉堡按钮垂直居中到菜单中间，看起来像被压住了。
   只在 ≥1200px（导航展开态、必须单行）才禁止换行。 */
.zh-navbar .container { min-height: var(--zh-header-h); }
@media (min-width: 1200px) {
  .zh-navbar .container { flex-wrap: nowrap; }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

/* 裁切 logo。
   ─────────────────────────────────────────────────────────────
   logo.png 是 284×56，由**两段**拼成（逐列解码确认）：
     第 0–76 列   → 红色印章 rgba(192,0,0)，alpha 255（宽 77px）
     第 77–94 列  → 空白间隔
     第 95–283 列 → 白色文字「中弘古筝」rgb(240,240,240)，alpha 255
   也就是说它是**为深色底设计的 logo**：红章 + 白字。

   ⚠️ 曾经两次把这个文件误判成「右边 207px 全透明」：
      第一次注释写「右侧白色文字」被当成误判删掉，第二次又反过来
      断言「右侧没有任何文字」。两次都错 —— 右边确实有白字，
      只是白字在白底上不可见，光看渲染结果会以为那儿是空的。
      判断依据要看 alpha，不能看「白底上肉眼看得到什么」。

   官网为什么整张铺：它的页头是深色底
   （header_bg01.png = rgba(0,0,0,.7)，79px 高），红章白字都清楚。

   我们这里是白底页头（.zh-header 是 #fff），白字等于隐形 ——
   这就是客户说的「Logo 显示不完整」。客户 2026-09-25 确认的取舍是：
   **只保留红印章，站名改用深色文字排在旁边**（.brand-text）。
   所以这里按印章宽度裁切，并且宽度必须**正好等于印章宽度**，
   多一分少一分都会把印章切掉：
       印章 77px ÷ 原图高 56px = 1.375
       显示高 44px → 印章宽 44 × 1.375 = 60.5px
   之前写死 46px，右侧被切掉 14.5px（约四分之一个印章）——
   客户最初报的「显示不完整」就是这个。见下方 --brand-seal-ratio。
   ───────────────────────────────────────────────────────────── */
.navbar-brand { --brand-seal-ratio: 1.375; }   /* 印章 77 / 图高 56，改高度不用动这里 */
.brand-mark {
  flex: 0 0 auto;
  display: block;
  height: 44px;
  width: calc(44px * var(--brand-seal-ratio));  /* 60.5px = 印章完整宽度 */
  overflow: hidden;
}
.brand-mark img {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
}

.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--zh-ink);
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--zh-gray-400);
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
}

.zh-navbar .nav-item { position: relative; white-space: nowrap; }
.zh-navbar .nav-link {
  position: relative;
  font-size: .95rem;
  color: var(--zh-gray-700);
  padding: .55rem .95rem !important;
  white-space: nowrap;
  transition: color var(--zh-transition);
}
.zh-navbar .nav-link:hover,
.zh-navbar .nav-link:focus-visible { color: var(--zh-ink); }
.zh-navbar .nav-link.active { color: var(--zh-ink); font-weight: 500; }

/* 下划线指示条（下拉父项用 Bootstrap 自带的箭头，不覆盖其 ::after） */
.zh-navbar .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  left: .95rem; right: .95rem; bottom: .05rem;
  height: 2px;
  background: var(--zh-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--zh-ease);
}
.zh-navbar .nav-link:not(.dropdown-toggle):hover::after,
.zh-navbar .nav-link:not(.dropdown-toggle).active::after { transform: scaleX(1); }

/* 下拉菜单 */
.zh-navbar .dropdown-menu {
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  box-shadow: 0 14px 38px rgba(14, 14, 16, .08);
  padding: .4rem;
  margin-top: .3rem;
  min-width: 186px;
}
.zh-navbar .dropdown-item {
  border-radius: var(--zh-radius-sm);
  padding: .55rem .8rem;
  font-size: .9rem;
  color: var(--zh-gray-700);
  transition: background-color var(--zh-transition), color var(--zh-transition);
}
.zh-navbar .dropdown-item:hover,
.zh-navbar .dropdown-item:focus {
  background: var(--zh-gray-50);
  color: var(--zh-ink);
}

/* 汉堡按钮 */
.zh-navbar .navbar-toggler {
  border: 0;
  padding: .4rem .5rem;
  color: var(--zh-ink);
}
.zh-navbar .navbar-toggler:focus { box-shadow: none; }
.zh-navbar .navbar-toggler-icon {
  width: 1.5em; height: 1.5em;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230e0e10' stroke-width='2' stroke-linecap='round' d='M4 9h22M4 15h22M4 21h22'/%3E%3C/svg%3E");
}

/* 导航按钮不换行（避免空间紧张时「免费咨询」被拆成两行） */
.zh-navbar .btn { white-space: nowrap; }

/* 折叠态导航面板（<1200px，与 navbar-expand-xl 对齐） */
@media (max-width: 1199.98px) {
  /* 必须 wrap：靠它把 flex-basis:100% 的折叠面板顶到 logo 下面一整行 */
  .zh-navbar .container { min-height: 62px; flex-wrap: wrap; }
  .brand-mark { height: 38px; width: calc(38px * var(--brand-seal-ratio)); }  /* 52.25px */
  .brand-mark img { height: 38px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .55rem; letter-spacing: .16em; }

  .zh-navbar .navbar-collapse {
    border-top: 1px solid var(--zh-gray-200);
    margin-top: .7rem;
    padding: .35rem 0 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .zh-navbar .nav-link {
    padding: .78rem .2rem !important;
    border-bottom: 1px solid var(--zh-gray-100);
    font-size: .98rem;
  }
  .zh-navbar .nav-link:not(.dropdown-toggle)::after { display: none; }
  .zh-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    background: var(--zh-gray-50);
    border-radius: var(--zh-radius-sm);
    margin: .35rem 0 .5rem;
    padding: .35rem;
  }
  .zh-navbar .dropdown-item { padding: .55rem .7rem; font-size: .92rem; }

  /* 折叠态下的咨询按钮 */
  .zh-navbar .nav-cta { margin-top: .85rem; border-top: 0; }
  .zh-navbar .nav-cta .btn { display: block; width: 100%; text-align: center; }
}

/* 1200–1399px：容器只有 1140px，导航项需收紧，
   否则「7 个栏目 + 搜索 + 咨询按钮」会挤出容器造成横向滚动 */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .zh-navbar .nav-link {
    padding-left: .66rem !important;
    padding-right: .66rem !important;
    font-size: .9rem;
  }
  .zh-navbar .nav-link:not(.dropdown-toggle)::after { left: .66rem; right: .66rem; }
  .navbar-brand { margin-right: .8rem; }
  .brand-text strong { font-size: 1rem; }
  .zh-navbar .btn { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ---------------------------------------------------------------- 首页大图轮播
   原站轮播图 1920×550，画面里已自带书法字。
   因此这里不再往图上叠文案，而是让大图完整呈现。

   2026-09-25：原先大图下方还有一块「品牌主张」白底大字区（.hero-intro /
   .hero-caption-*），已按客户要求整块删除，相关 CSS 也一并清理。 */
.hero-slider {
  position: relative;
  /* 原图 1920×550 ≈ 28.6vw；窄屏给 200px 下限，超宽屏封顶 620px。
     注意：不要用 aspect-ratio + min-height 组合——Chrome 会反过来由高度
     推导宽度，导致容器被撑到 698px 并造成横向溢出。 */
  height: clamp(200px, 28.6vw, 620px);
  background: var(--zh-ink);
  overflow: hidden;
}
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item { height: 100%; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 仅压暗底部，保证指示器与翻页按钮在浅色画面上依然清晰 */
.hero-slider::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, .42) 100%);
  pointer-events: none;
  z-index: 2;
}

/* 轮播指示器：细线段 */
.hero-slider .carousel-indicators {
  z-index: 4;
  margin-bottom: 1.1rem;
  gap: .35rem;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .45);
  opacity: 1;
  transition: background-color var(--zh-transition), width var(--zh-transition);
}
.hero-slider .carousel-indicators .active { background: #fff; width: 52px; }

/* 左右控制：低调化 */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  z-index: 4;
  width: 68px;
  opacity: 0;
  transition: opacity var(--zh-transition);
}
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: .85; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 1.6rem; height: 1.6rem;
  background-size: 100% 100%;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}
@media (hover: none) {
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }
}

/* ---------------------------------------------------------------- 通用区块 */
.section { padding: clamp(56px, 8vw, 118px) 0; }
.section-cream { background: var(--zh-gray-50); }
.section-dark { background: var(--zh-ink); color: rgba(255, 255, 255, .68); }
.section-dark .section-title { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.4vw, 62px); }
.section-head.text-center { margin-left: auto; margin-right: auto; }

.section-en {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--zh-accent);
  margin-bottom: .85rem;
}
.section-title {
  font-size: clamp(25px, 3.3vw, 40px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
  margin-bottom: .85rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--zh-gray-700);
  line-height: 1.85;
  margin-bottom: 0;
}
.section-desc strong { color: var(--zh-ink); font-weight: 600; }

.section-head-light .section-en { color: rgba(255, 255, 255, .5); }
.section-head-light .section-desc { color: rgba(255, 255, 255, .6); }

/* 深色区里的通用文字 */
.section-dark .link-light-more,
.section-dark .news-rank-arrow { color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------- 品牌数据条 */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--zh-gray-200);
  padding: clamp(30px, 4vw, 50px) 0;
}
.stat-item {
  padding: clamp(1rem, 2.6vw, 1.5rem) .75rem;
  border-right: 1px solid var(--zh-gray-200);
}
.stat-item:nth-child(2n) { border-right: 0; }
@media (max-width: 991.98px) {
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--zh-gray-200); }
}
@media (min-width: 992px) {
  .stat-item:nth-child(2n) { border-right: 1px solid var(--zh-gray-200); }
  .stat-item:last-child { border-right: 0; }
}
.stat-item strong {
  display: block;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: var(--zh-ink);
  font-variant-numeric: tabular-nums;
}
.stat-item strong em { font-style: normal; color: var(--zh-accent); }
.stat-item span {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--zh-gray-500);
}

/* ---------------------------------------------------------------- 系列卡片（大图） */
.series-card { height: 100%; }
.series-card-link { display: block; height: 100%; color: inherit; }

.series-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--zh-radius);
  background: var(--zh-gray-100);
  aspect-ratio: 4 / 3;
}
.series-card-lg .series-card-media { aspect-ratio: 3 / 2; }
.series-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--zh-ease);
}
.series-card-link:hover .series-card-media img { transform: scale(1.045); }

.series-card-count {
  position: absolute;
  top: 14px; left: 14px;
  padding: .3rem .72rem;
  border-radius: var(--zh-pill);
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--zh-ink);
}

.series-card-body { padding-top: 1.25rem; }
.series-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .25rem;
}
.series-card-en {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--zh-gray-400);
  margin-bottom: .7rem;
}
.series-card-desc {
  font-size: .93rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  margin-bottom: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.series-card-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .87rem;
  font-weight: 500;
  color: var(--zh-ink);
  transition: color var(--zh-transition);
}
.series-card-more i { transition: transform var(--zh-transition); }
.series-card-link:hover .series-card-more { color: var(--zh-accent); }
.series-card-link:hover .series-card-more i { transform: translateX(4px); }

/* ---------------------------------------------------------------- 产品卡片 */
.product-card { height: 100%; }
.product-card-link { display: block; height: 100%; color: inherit; }

.product-card-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--zh-radius);
  background: var(--zh-gray-100);
  aspect-ratio: 4 / 3;
}
.product-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--zh-ease);
}
.product-card-link:hover .product-card-media img { transform: scale(1.05); }

.product-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: .26rem .68rem;
  border-radius: var(--zh-pill);
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  color: var(--zh-ink);
}

.product-card-body { padding-top: .95rem; }
.product-card-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: .3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--zh-transition);
}
.product-card-link:hover .product-card-title { color: var(--zh-accent); }
.product-card-price {
  font-size: .95rem;
  font-weight: 600;
  color: var(--zh-accent);
  margin-bottom: .2rem;
  font-variant-numeric: tabular-nums;
}
.product-card-meta {
  font-size: .78rem;
  color: var(--zh-gray-400);
  margin-bottom: 0;
  letter-spacing: .03em;
}

/* ---------------------------------------------------------------- 中弘优势 */
.advantage-card {
  display: block;
  height: 100%;
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  background: #fff;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  color: inherit;
  transition: border-color var(--zh-transition), transform var(--zh-transition);
}
.advantage-card:hover {
  border-color: var(--zh-ink);
  transform: translateY(-3px);
}
.advantage-icon {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--zh-accent);
  margin-bottom: 1.15rem;
}
.advantage-title { font-size: 1.08rem; font-weight: 600; margin-bottom: .3rem; }
.advantage-en {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--zh-gray-400);
  margin-bottom: .8rem;
}
.advantage-desc {
  font-size: .91rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- 解决方案卡片 */
.solution-card {
  height: 100%;
  /* 三张卡片的描述长短不一，原来「查看方案详情」紧跟在描述后面，
     于是三个链接高低不齐 —— 列表页看上去就是「错位」。
     改成纵向 flex，让链接用 margin-top:auto 吸到底部，三张卡就落在同一条基线上。 */
  display: flex;
  flex-direction: column;
  padding-top: 1.7rem;
  border-top: 1px solid var(--zh-gray-200);
  transition: border-color var(--zh-transition);
}
.solution-card:hover { border-top-color: var(--zh-ink); }
.solution-icon {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--zh-ink);
  margin-bottom: 1.15rem;
}
.solution-title { font-size: 1.16rem; font-weight: 600; margin-bottom: .3rem; }
.solution-en {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--zh-gray-400);
  margin-bottom: .85rem;
}
.solution-desc {
  font-size: .93rem;
  line-height: 1.85;
  color: var(--zh-gray-700);
  margin-bottom: 1.15rem;
}
.solution-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .87rem;
  font-weight: 500;
  color: var(--zh-ink);
  margin-top: auto;       /* 吸底，保证三张卡的链接对齐 */
  align-self: flex-start; /* 不被拉伸，保住 hover 范围 */
}
.solution-more i { transition: transform var(--zh-transition); }
.solution-more:hover { color: var(--zh-accent); }
.solution-more:hover i { transform: translateX(4px); }

/* ---------------------------------------------------------------- 案例卡片 */
.case-card {
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  transition: border-color var(--zh-transition), transform var(--zh-transition);
}
.case-card:hover { border-color: var(--zh-ink); transform: translateY(-3px); }
.case-card a {
  /* 同理：标题长短不同会让「阅读全文」飘在不同高度，纵向 flex + 吸底解决 */
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.case-title { font-size: 1.06rem; font-weight: 600; margin-bottom: .6rem; }
.case-desc {
  font-size: .91rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  margin-bottom: 1rem;
  display: -webkit-box;
  /* 3 行改 4 行：build 时摘要按 90 字截断，3 行只能显示约 66 字，
     剩下 20 多字被吃掉 —— 客户反馈过「列表页显示的不全」。
     4 行约 88 字，正好放得下 90 字摘要，卡片高度仍然由 clamp 封顶不会错位。 */
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--zh-accent);
  margin-top: auto;       /* 吸底，保证同排卡片的链接对齐 */
  align-self: flex-start;
}
.case-more i { transition: transform var(--zh-transition); }
.case-card:hover .case-more i { transform: translateX(4px); }

/* ---------------------------------------------------------------- 视频（点击后加载） */
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--zh-radius);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: .72;
  transition: opacity var(--zh-transition), transform .8s var(--zh-ease);
}
.video-facade:hover img { opacity: .85; transform: scale(1.03); }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-facade-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--zh-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  padding-left: 4px;
  transition: transform var(--zh-transition), background-color var(--zh-transition);
}
.video-facade:hover .video-facade-play { transform: scale(1.07); background: #fff; }
.video-facade-text {
  position: absolute;
  left: 1.5rem; bottom: 1.25rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.video-intro { padding-top: 1.75rem; }
.video-intro h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .8rem;
}
.video-intro p {
  font-size: .93rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- 资讯排行榜（深色区） */
.news-ranks { list-style: none; padding: 0; margin: 0; }
.news-ranks li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.news-ranks a {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.15rem 0;
  color: #fff;
}
.news-rank-no {
  flex: 0 0 auto;
  padding-top: .18rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .35);
  font-variant-numeric: tabular-nums;
}
.news-rank-body { flex: 1 1 auto; min-width: 0; }
.news-rank-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6;
  transition: color var(--zh-transition);
}
.news-ranks a:hover .news-rank-title { color: rgba(255, 255, 255, .78); }
.news-rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: .35rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .42);
}
.news-rank-meta em {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.news-rank-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .3);
  transition: transform var(--zh-transition), color var(--zh-transition);
}
.news-ranks a:hover .news-rank-arrow { color: #fff; transform: translateX(5px); }

.link-light-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .87rem;
  color: rgba(255, 255, 255, .7);
}
.link-light-more:hover { color: #fff; }
.link-light-more i { transition: transform var(--zh-transition); }
.link-light-more:hover i { transform: translateX(4px); }

/* ---------------------------------------------------------------- 资讯列表 */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-item + .news-item { border-top: 1px solid var(--zh-gray-200); }
.news-item-link {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  color: inherit;
}
.news-item-media {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 4 / 3;
  border-radius: var(--zh-radius);
  overflow: hidden;
  background: var(--zh-gray-100);
}
.news-item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--zh-ease);
}
.news-item-link:hover .news-item-media img { transform: scale(1.05); }
.news-item-body { flex: 1 1 auto; min-width: 0; }
.news-item-date {
  display: block;
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--zh-gray-400);
  font-variant-numeric: tabular-nums;
}
.news-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  margin: .4rem 0 .5rem;
  transition: color var(--zh-transition);
}
.news-item-link:hover .news-item-title { color: var(--zh-accent); }
.news-item-desc {
  display: block;
  font-size: .91rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  display: -webkit-box;
  /* 同上：2 行只能显示约 44 字，而摘要按 100 字生成，被砍掉一半。
     放到 3 行（约 66 字）后列表明显能读到更多内容，高度仍由 clamp 封顶。 */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--zh-accent);
}
.news-item-more i { transition: transform var(--zh-transition); }
.news-item-link:hover .news-item-more i { transform: translateX(4px); }

/* ---------------------------------------------------------------- CTA 区块 */
.cta-band {
  background: var(--zh-ink);
  color: #fff;
  padding: clamp(48px, 6.5vw, 84px) 0;
}
.cta-title {
  font-size: clamp(21px, 2.7vw, 33px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.35;
  color: #fff;
  margin-bottom: .65rem;
}
.cta-desc { font-size: .95rem; color: rgba(255, 255, 255, .6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------- 内页头图 + 面包屑 */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(240px, 32vh, 380px);
  background-color: var(--zh-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, .42) 0%, rgba(10, 10, 12, .72) 100%);
  z-index: 1;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(60px, 12vh, 130px);
  padding-bottom: clamp(26px, 4.5vh, 52px);
}
.page-hero-en {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .7rem;
}
.page-hero-title {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0;
}

.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--zh-gray-200);
}
.breadcrumb-bar .container { min-height: 48px; display: flex; align-items: center; }
.breadcrumb { font-size: .82rem; }
.breadcrumb-item { color: var(--zh-gray-500); }
.breadcrumb-item a { color: var(--zh-gray-500); }
.breadcrumb-item a:hover { color: var(--zh-accent); }
.breadcrumb-item.active { color: var(--zh-ink); }
.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--zh-gray-300);
  padding-right: .5rem;
  padding-left: .5rem;
}

/* ---------------------------------------------------------------- 侧栏导航 */
.side-nav {
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  overflow: hidden;
}
.side-nav-title {
  margin: 0;
  padding: 1.05rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 600;
  background: var(--zh-gray-50);
  border-bottom: 1px solid var(--zh-gray-200);
}
.side-nav-list { list-style: none; padding: 0; margin: 0; }
.side-nav-list li + li { border-top: 1px solid var(--zh-gray-100); }
.side-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.35rem;
  font-size: .93rem;
  color: var(--zh-gray-700);
  transition: background-color var(--zh-transition), color var(--zh-transition);
}
/* 悬停只换底色，不做位移——避免鼠标划过时文字横向跳动被误认为错位 */
.side-nav-list a:hover {
  background: var(--zh-gray-50);
  color: var(--zh-ink);
}
.side-nav-list a.is-active {
  background: var(--zh-accent-soft);
  color: var(--zh-ink);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--zh-accent);
}
.side-nav-list a i {
  font-size: .68rem;
  color: var(--zh-gray-400);
  transition: transform var(--zh-transition);
}
.side-nav-list a:hover i { transform: translateX(3px); }

.side-contact {
  margin-top: 1.25rem;
  padding: 1.7rem 1.5rem;
  border-radius: var(--zh-radius);
  background: var(--zh-ink);
  color: #fff;
}
.side-contact-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: .5rem;
}
.side-contact-desc {
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 1.15rem;
}
.side-contact .btn-zh-primary { background: #fff; border-color: #fff; color: var(--zh-ink); }
.side-contact .btn-zh-primary:hover {
  background: var(--zh-accent);
  border-color: var(--zh-accent);
  color: #fff;
}

/* ---------------------------------------------------------------- 正文面板（CMS 内容） */
.article-panel {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--zh-ink-2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.article-panel > *:first-child { margin-top: 0; }

.article-panel h1, .article-panel h2, .article-panel h3,
.article-panel h4, .article-panel h5, .article-panel h6 {
  margin: 2.2em 0 .85em;
  line-height: 1.4;
}
.article-panel h1 { font-size: 1.6rem; }
.article-panel h2 { font-size: 1.35rem; }
.article-panel h3 { font-size: 1.16rem; }
.article-panel h4 { font-size: 1.04rem; }

.article-panel p { margin-bottom: 1.15em; }
.article-panel img { max-width: 100% !important; height: auto !important; border-radius: var(--zh-radius-sm); }
.article-panel ul, .article-panel ol { padding-left: 1.35rem; margin-bottom: 1.15em; }
.article-panel li { margin-bottom: .45em; }

.article-panel a {
  color: var(--zh-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-panel blockquote {
  margin: 1.5em 0;
  padding: .2em 0 .2em 1.25em;
  border-left: 2px solid var(--zh-gray-300);
  color: var(--zh-gray-700);
}

.article-panel table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .93rem;
}
.article-panel table th,
.article-panel table td {
  border: 1px solid var(--zh-gray-200);
  padding: .65rem .85rem;
  text-align: left;
}
.article-panel table th { background: var(--zh-gray-50); font-weight: 600; }

/* 原站 CMS 用 <table> 拼的「排版表格」—— 图片网格（about/2 工厂巡礼）、
   图文左右分栏（about/3 质量控制）。它们不是数据表，套用上面那套数据表样式后：
     · 每个格子和图注都被画上 1px 边框，一格格照片看起来像电子表格；
     · 字号掉到 .93rem，图注比正文小一号。
   这就是 about/2「内容排版和字体样式不一致」的原因。
   判据：含 <img> 的表格 = 排版表格；不含图的（如 service/after-sale 的服务时效表）
   继续走数据表样式，不受影响。:has() 不被支持时退回原样，不会把布局弄坏。 */
.article-panel table:has(img),
.product-gallery table:has(img) {
  font-size: inherit;          /* 图注 / 分栏正文跟随正文字号，不再小一号 */
  margin: 1.6em 0;
}
/* 原 CMS 给 td 写了内联 padding:0，必须 !important 才盖得住；
   去掉边框后如果不补回内边距，相邻两张图会直接贴在一起。 */
.article-panel table:has(img) td,
.product-gallery table:has(img) td {
  border: 0 !important;
  padding: .5rem .6rem !important;
  vertical-align: top;
}
/* 首末列不额外留白，让图片网格与正文左右对齐 */
.article-panel table:has(img) tr > td:first-child,
.product-gallery table:has(img) tr > td:first-child { padding-left: 0 !important; }
.article-panel table:has(img) tr > td:last-child,
.product-gallery table:has(img) tr > td:last-child { padding-right: 0 !important; }

/* 原 CMS 的图片网格里，图注每一行都写了 text-align:center，图片行却只有
   第 2、3、4 行写了 —— 第一行两个 <td> 里的 <p> 是光板的 <p><img></p>。
   窄屏时单元格被压到跟图片一样宽，看不出差别；一旦宽屏（≥1280px）
   单元格撑到 480px 而图片只有 340px，漏掉的那行就贴左，
   和下面几行整整差 65px —— 就是「前两张图和下面的图没对齐」。
   统一让图片自身居中，既和下面几行齐平，也和本来就居中的图注齐平。

   注意只能加在 img 上，不能给 td 加 text-align:center ——
   about/3 质量控制那张分栏表里，正文段落是直接挂在 <td> 下的，
   给 td 居中会把整段正文也居中。 */
.article-panel table:has(img) td img,
.product-gallery table:has(img) td img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 窄屏下把「图 + 文」分栏表拆成上下堆叠。
   ─────────────────────────────────────────────────────────────
   原 CMS 的 about/3（质量控制）是一张单行三格表：
       td width="230"  → 3 张设备照片
       td width="36"   → 间隔
       td width="949"  → 正文段落
   三格宽度合计 1215px。桌面端够用；但 390px 下浏览器按比例压：
   左格只剩 66.5px，里面 252px 的照片被缩成 56.9px —— 图完全看不清，
   而且贴着正文没有呼吸感。客户报过「手机端看着挤」。

   ⚠️ 这是**响应式改版引入的**，不是原站的锅：
      原站是 min-width:1010px 的固定版，压根不会在 390px 渲染，
      所以原站从来没暴露过这个问题。

   修法：窄屏下让这张表整体退化成块级，三格各占一行。
   只选 **td[width]** 的表 —— 判据是「格子上写了固定宽度」：
     · about/3 这种分栏表的 td 有 width="230/36/949"  → 命中，拆开
     · about/2 那种图片网格的 td 没有 width 属性      → 不受影响，仍是 2 列
   不用给 table 加 :has(img)，免得误伤 about/2 的网格。 */
@media (max-width: 767.98px) {
  .article-panel table:has(td[width]),
  .product-gallery table:has(td[width]),
  .article-panel table:has(td[width]) tbody,
  .product-gallery table:has(td[width]) tbody,
  .article-panel table:has(td[width]) tr,
  .product-gallery table:has(td[width]) tr,
  .article-panel table:has(td[width]) td,
  .product-gallery table:has(td[width]) td {
    display: block;
    width: auto !important;
  }
  /* 拆开之后，那个 36px 的间隔格失去意义，藏掉省一行。
     注意它内容是 `<td width="36"><br></td>` —— 有 <br> 子节点，
     所以 `:empty` 匹配不到，得用 `:has(> br:only-child)`。 */
  .article-panel table:has(td[width]) td:has(> br:only-child),
  .product-gallery table:has(td[width]) td:has(> br:only-child) { display: none; }
  /* 图片栏单独占一行后，左右内边距归零，图片和正文左右对齐 */
  .article-panel table:has(td[width]) td,
  .product-gallery table:has(td[width]) td { padding-left: 0 !important; padding-right: 0 !important; }
}

/* 中和原 CMS 遗留的布局类，避免旧宽度/浮动破坏新排版 */
.article-panel .main_con,
.article-panel .cube_con,
.article-panel .big_img_con,
.article-panel .productDisplay,
.article-panel .news_inffo,
.article-panel .news_info,
.article-panel .article-content,
.article-panel .one-p,
.article-panel .main_con > div,
.product-gallery .main_con,
.product-gallery .cube_con,
.product-gallery .big_img_con,
.product-gallery .productDisplay {
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
}
.article-panel ul.big_img_con,
.product-gallery ul.big_img_con { list-style: none; padding-left: 0; }
.article-panel .clearfix::after,
.product-gallery .clearfix::after { content: ''; display: table; clear: both; }

/* 段落首行缩进在现代排版里显得凌乱（图片段会被推偏），统一取消 */
.article-panel p[style*="text-indent"],
.product-gallery p[style*="text-indent"] { text-indent: 0 !important; }

/* ============================================================================
   原站遗留的查询表单与付款信息块
   （如何购买：在线商店 / 员工查询 / 代理查询；服务支持：防伪查询）

   这些页面的正文是从原站 CMS 直接爬下来的，用的还是原站那套类名，
   而迁移时只搬了内容、没搬样式表 —— 结果 .note / .search / .inputx2 /
   .inputs / #divTable / .top3 / .otherlist 在 CSS 里一条规则都没有，
   全部退化成浏览器默认样式，这就是这几个页面「错位」的根因：
     · .note 变成普通段落，看不出是提示条
     · 表单带着行内 style="text-align:center"，孤零零飘在中间，
       与上方左对齐的文字错开一大截
     · #divTable 里的 <ul> 变成竖排圆点列表，两个二维码被挤到右侧竖排
   下面按原站意图补齐。注意：行内样式优先级高于样式表，
   凡是要盖掉行内 style 的都带 !important。
   ============================================================================ */

/* ---------------------------------------------------------------- 提示条 */
.article-panel .news_info.online > .note {
  padding: 1.05rem 1.35rem;
  margin: 0 0 2.25rem;
  background: var(--zh-gray-50);
  border-left: 3px solid var(--zh-accent);
  border-radius: var(--zh-radius-sm);
  font-size: .93rem;
  line-height: 1.85;
  color: var(--zh-gray-700);
}

/* ------------------------------------------------------------ 查询表单 */
.article-panel .news_info .search { margin: 0; }

.article-panel .news_info .search form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  text-align: left !important;  /* 盖掉行内 text-align:center —— 它让表单与上方文字错位 */
  padding: 0 !important;        /* 盖掉行内 padding:15px 0 */
}

.article-panel .news_info .search form > span {
  font-size: .95rem;
  font-weight: 500;
  color: var(--zh-ink);
}

.article-panel .news_info .search .inputx2 {
  flex: 0 1 320px;
  min-width: 200px;
  height: 46px;
  padding: 0 1rem;
  font-size: .95rem;
  color: var(--zh-ink);
  background: #fff;
  border: 1px solid var(--zh-gray-300);
  border-radius: var(--zh-radius-sm);
  transition: border-color var(--zh-transition);
}
.article-panel .news_info .search .inputx2:focus {
  outline: 0;
  border-color: var(--zh-ink);
}

/* 提交按钮原本内联写了红边红字，跟站点配色不搭，统一成主按钮 */
.article-panel .news_info .search .inputs {
  height: 46px;
  padding: 0 1.7rem !important;
  font-size: .95rem;
  font-weight: 500;
  color: #fff !important;
  background: var(--zh-ink) !important;
  border: 1px solid var(--zh-ink) !important;
  border-radius: var(--zh-radius-sm);
  margin: 0 !important;
  cursor: pointer;
  transition: opacity var(--zh-transition);
}
.article-panel .news_info .search .inputs:hover { opacity: .85; }

/* -------------------------------------------------------- 在线商店 · 付款 */
.article-panel #divTable h3 {
  margin: 2.6rem 0 1.25rem;
  font-size: 1.15rem;
}
.article-panel #divTable h3:first-child { margin-top: 0; }

/* 在线支付：两张并排卡片 */
.article-panel #divTable .top3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.article-panel #divTable .top3 > li {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.35rem 1.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
}
.article-panel #divTable .top3 h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--zh-ink);
}
.article-panel #divTable .top3 a { text-decoration: none; }
.article-panel #divTable .top3 a.buy {
  align-self: flex-start;
  margin-top: auto;          /* 吸底，两张卡的按钮对齐 */
  padding: .5rem 1.4rem;
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  background: var(--zh-ink);
  border-radius: var(--zh-radius-sm);
}

/* 扫码支付：两个二维码并排居中，不再竖排错位 */
.article-panel #divTable .otherlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: 0;
  margin: 0;
  list-style: none;
}
.article-panel #divTable .otherlist > li {
  margin: 0;
  text-align: center;
}
.article-panel #divTable .otherlist img {
  display: block;
  width: min(220px, 60vw);
  height: auto;
  margin: 0 auto .65rem;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius-sm);
}
.article-panel #divTable .otherlist span {
  font-size: .92rem;
  color: var(--zh-gray-700);
}

/* ---------------------------------------------------------------- 产品详情 */
.product-detail-head { margin-bottom: 2rem; }
.product-detail-name {
  font-size: clamp(23px, 2.8vw, 33px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.3;
  margin-bottom: .85rem;
}
.product-detail-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.badge-zh {
  display: inline-block;
  padding: .3rem .78rem;
  border-radius: var(--zh-pill);
  background: var(--zh-accent-soft);
  color: var(--zh-accent);
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.product-detail-kw { font-size: .85rem; color: var(--zh-gray-500); }

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin: 0 0 1.75rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--zh-gray-200);
  border-bottom: 1px solid var(--zh-gray-200);
}
.product-detail-meta > div { min-width: 0; }
.product-detail-meta dt {
  font-size: .76rem;
  font-weight: 400;
  color: var(--zh-gray-500);
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.product-detail-meta dd { margin: 0; font-size: .98rem; font-weight: 500; color: var(--zh-ink); }
.product-detail-meta dd.price {
  color: var(--zh-accent);
  font-size: 1.24rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
/* ---------------------------------------------------------------- 产品图集
   原站 CMS 的 ul.big_img_con 本来就是纵向堆叠的一长串切片图
   （每个产品 7~12 张，宽 960/1280 不等、高也不等），详情页长达 1.5 万像素。
   这里沿用同样的做法：所有图撑满容器宽度后左右自然对齐，
   彼此之间不加任何 margin / gap，看起来就是一整张长图。

   关键点：img 必须 display:block。img 默认是 inline，行盒会在图片下方
   留出约 4px 的基线空隙 —— 那正是「接缝明显、不像一整张图」的元凶。      */
.product-gallery { margin-top: .5rem; }

.gallery-stack {
  line-height: 0;            /* 双保险：万一某处退回 inline 也不会留缝 */
  background: var(--zh-white);
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  overflow: hidden;
}
.gallery-stack-img {
  display: block;            /* 消除 inline 基线缝隙，让图片严丝合缝地叠起来 */
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

/* 兜底分支：产品没有 images 数组时，仍按原来的正文流渲染 */
.product-gallery--legacy img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: .75rem;
  border-radius: var(--zh-radius-sm);
}
.product-gallery--legacy p { margin-bottom: 0; }

.block-title {
  font-size: 1.14rem;
  font-weight: 600;
  margin: 2.75rem 0 1.25rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--zh-gray-200);
}

.product-comments { margin-top: .5rem; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-item { padding: 1.2rem 0; border-bottom: 1px solid var(--zh-gray-100); }
.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
}
.comment-user { font-size: .93rem; font-weight: 500; color: var(--zh-ink); }
.comment-user i { color: var(--zh-gray-400); margin-right: .4rem; }
.comment-date { font-size: .78rem; color: var(--zh-gray-400); }
.comment-body { margin: 0; font-size: .93rem; color: var(--zh-gray-700); line-height: 1.8; }

.related-products { margin-top: .5rem; }

/* ---------------------------------------------------------------- 系列介绍 */
.series-intro {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--zh-gray-200);
}
.series-intro h2 {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.series-intro p { font-size: .95rem; color: var(--zh-gray-700); margin-bottom: .6rem; }
.series-intro-count { font-size: .84rem !important; color: var(--zh-gray-500) !important; margin-bottom: 0 !important; }
.series-intro-count strong { color: var(--zh-ink); }

/* ---------------------------------------------------------------- 资讯详情 */
.news-article-head {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--zh-gray-200);
}
.news-article-title {
  font-size: clamp(21px, 2.6vw, 31px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.42;
  margin-bottom: .95rem;
}
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin: 0;
  font-size: .82rem;
  color: var(--zh-gray-500);
}
.news-article-meta i { margin-right: .38rem; color: var(--zh-gray-400); }

.news-article-body { font-size: 1rem; line-height: 1.9; }
.news-article-body img { max-width: 100% !important; height: auto !important; border-radius: var(--zh-radius-sm); }
/* 资讯配图居中。
   素材库里有些照片本身就只有 400~500px 宽，正文里给 <img> 写了 width 属性
   避免被 max-width:100% 拉伸放大而发虚 —— 代价是窄图左侧贴边、右侧留白。
   居中后视觉上平衡；满宽图本来占满容器，居中不会产生任何位移。 */
.news-article-body img { display: block; margin: .3em auto 1.5em; }
.news-article-body p { margin-bottom: 1.15em; }
.news-article-body a { color: var(--zh-accent); text-decoration: underline; text-underline-offset: 3px; }

/* 上一篇 / 下一篇 */
.article-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--zh-gray-200);
}
.article-nav-prev, .article-nav-next { flex: 1 1 0; min-width: 0; }
.article-nav-next { text-align: right; }
.article-nav a {
  display: block;
  height: 100%;
  padding: 1.05rem 1.3rem;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  color: inherit;
  transition: border-color var(--zh-transition), background-color var(--zh-transition);
}
.article-nav a:hover { border-color: var(--zh-ink); background: var(--zh-gray-50); }
.article-nav a span {
  display: block;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--zh-gray-400);
  margin-bottom: .35rem;
}
.article-nav a strong {
  display: block;
  font-size: .94rem;
  font-weight: 500;
  color: var(--zh-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-nav .is-empty { display: block; }

@media (max-width: 575.98px) {
  .article-nav { flex-direction: column; gap: .75rem; }
  .article-nav-next { text-align: left; }
}

/* ---------------------------------------------------------------- 站内搜索 */
.search-form .form-control {
  border-radius: var(--zh-pill);
  border-color: var(--zh-gray-300);
  padding: .72rem 1.4rem;
  font-size: .96rem;
  background: #fff;
  transition: border-color var(--zh-transition), box-shadow var(--zh-transition);
}
.search-form .form-control::placeholder { color: var(--zh-gray-400); }
.search-form .form-control:focus {
  border-color: var(--zh-ink);
  box-shadow: 0 0 0 3px rgba(14, 14, 16, .07);
}
.search-form .btn { padding-left: 1.8rem; padding-right: 1.8rem; }

.search-summary { font-size: .9rem; color: var(--zh-gray-700); margin-bottom: 1.5rem; }
.search-summary strong { color: var(--zh-ink); }

.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li + li { border-top: 1px solid var(--zh-gray-200); }
.search-results a { display: block; padding: 1.35rem 0; color: inherit; }
.search-result-type {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--zh-accent);
}
.search-result-title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  margin: .35rem 0 .4rem;
  transition: color var(--zh-transition);
}
.search-results a:hover .search-result-title { color: var(--zh-accent); }
.search-result-desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  margin-bottom: .35rem;
}
.search-result-date { font-size: .78rem; color: var(--zh-gray-400); }

/* ---------------------------------------------------------------- 联系我们 */
.contact-cards { margin-top: 2.75rem; }

.contact-card {
  display: block;
  height: 100%;
  padding: clamp(1.4rem, 2.4vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  color: inherit;
  transition: border-color var(--zh-transition), transform var(--zh-transition);
}
a.contact-card:hover { border-color: var(--zh-ink); transform: translateY(-3px); }

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--zh-accent-soft);
  color: var(--zh-accent);
  font-size: 1.05rem;
}
.contact-card-label {
  display: block;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zh-gray-500);
  margin-bottom: .45rem;
}
.contact-card-value {
  display: block;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--zh-ink);
  line-height: 1.45;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}
.contact-card-note {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--zh-gray-500);
}

.contact-channels {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--zh-gray-200);
}
.contact-channels-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.contact-channels-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .75rem;
}
.contact-channels-list a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1.15rem;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  font-size: .92rem;
  color: var(--zh-ink-2);
  transition: border-color var(--zh-transition), background-color var(--zh-transition);
}
.contact-channels-list a:hover { border-color: var(--zh-ink); background: var(--zh-gray-50); }
.contact-channels-list a > i:first-child { color: var(--zh-accent); font-size: 1rem; }
.contact-channels-list a > span { flex: 1 1 auto; min-width: 0; }
.contact-channels-list a > i:last-child {
  color: var(--zh-gray-400);
  font-size: .82rem;
  transition: transform var(--zh-transition), color var(--zh-transition);
}
.contact-channels-list a:hover > i:last-child { color: var(--zh-ink); transform: translateX(3px); }

/* ---------------------------------------------------------------- 空状态 */
.empty-state {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  text-align: center;
  border: 1px dashed var(--zh-gray-300);
  border-radius: var(--zh-radius);
  color: var(--zh-gray-500);
}
.empty-state i { display: block; font-size: 2.1rem; color: var(--zh-gray-300); margin-bottom: .8rem; }
.empty-state p { margin: 0; font-size: .94rem; }

/* ---------------------------------------------------------------- 404 */
main.d-flex.align-items-center { min-height: 58vh; }
.error-code {
  font-size: clamp(64px, 13vw, 148px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--zh-gray-100);
  margin-bottom: .5rem;
}
.error-title { font-size: clamp(19px, 2.4vw, 27px); font-weight: 600; margin-bottom: .8rem; }
.error-desc {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: .95rem;
  color: var(--zh-gray-500);
  line-height: 1.85;
}
.error-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------------------------------------------------------------- 分页 */
.zh-pagination { gap: .2rem; }
.zh-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .6rem;
  border: 0;
  border-radius: var(--zh-pill) !important;
  background: transparent;
  font-size: .9rem;
  color: var(--zh-gray-700);
  font-variant-numeric: tabular-nums;
  transition: background-color var(--zh-transition), color var(--zh-transition);
}
.zh-pagination .page-link:hover { background: var(--zh-gray-100); color: var(--zh-ink); }
.zh-pagination .page-link:focus { box-shadow: none; background: var(--zh-gray-100); color: var(--zh-ink); }
.zh-pagination .active .page-link { background: var(--zh-ink); color: #fff; }
.zh-pagination .active .page-link:hover { background: var(--zh-ink); color: #fff; }
.zh-pagination .disabled .page-link { color: var(--zh-gray-300); background: transparent; }

/* ---------------------------------------------------------------- 页脚 */
.zh-footer {
  background: #fff;
  border-top: 1px solid var(--zh-gray-200);
}
.footer-links { padding: clamp(40px, 6vw, 72px) 0 clamp(30px, 4vw, 46px); }

/* 页脚用 CSS Grid：站内正好 6 个栏目，栅格列数可自由控制，
   避免 Bootstrap 12 列装不下导致最后一栏被挤到第二行。
   2026-09-25：原先还有第 7 栏「联系我们」（地址 + 公司全称），已按客户要求删除，
   所以 ≥992px 时直接 6 列一行排完，不再需要 1200px 那档的 6+1 布局。 */
.footer-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 576px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.footer-col { min-width: 0; }

.footer-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--zh-ink);
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { font-size: .88rem; color: var(--zh-gray-700); }
.footer-list a:hover { color: var(--zh-accent); }

/* 注：.footer-address / .footer-addr / .footer-company 三条随 2026-09-25 删除的
   页脚联系方式区块一并移除，不要再加回来。 */

.footer-bottom { border-top: 1px solid var(--zh-gray-200); padding: 1.2rem 0; }
.footer-copy, .footer-extra { font-size: .79rem; color: var(--zh-gray-500); }
.footer-copy a { color: var(--zh-gray-500); }
.footer-copy a:hover { color: var(--zh-accent); }
.footer-logo { font-weight: 600; color: var(--zh-ink); margin-right: .45rem; }
.footer-extra a { color: var(--zh-gray-500); margin-left: 1.15rem; }
.footer-extra a:first-child { margin-left: 0; }
.footer-extra a:hover { color: var(--zh-accent); }

@media (max-width: 767.98px) {
  .footer-extra a { margin-left: 0; margin-right: 1.15rem; }
  .footer-bottom { text-align: center; }
}

/* ---------------------------------------------------------------- 移动端底部操作条 */
.mobile-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  display: flex;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--zh-gray-200);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-actionbar a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .52rem 0 .46rem;
  font-size: .68rem;
  color: var(--zh-gray-500);
  letter-spacing: .04em;
}
.mobile-actionbar a i { font-size: 1.18rem; line-height: 1.1; }
.mobile-actionbar a:hover, .mobile-actionbar a:active { color: var(--zh-ink); }

/* ---------------------------------------------------------------- 返回顶部 */
.zh-backtop {
  position: fixed;
  right: 20px;
  bottom: 26px;
  z-index: 1030;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zh-gray-200);
  border-radius: 50%;
  background: #fff;
  color: var(--zh-ink);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  box-shadow: 0 6px 20px rgba(14, 14, 16, .07);
  transition: opacity var(--zh-transition), transform var(--zh-transition),
              visibility var(--zh-transition), background-color var(--zh-transition),
              color var(--zh-transition);
}
.zh-backtop.is-visible { opacity: 1; visibility: visible; transform: none; }
.zh-backtop:hover { background: var(--zh-ink); border-color: var(--zh-ink); color: #fff; }

@media (max-width: 991.98px) {
  .zh-backtop { bottom: 74px; right: 14px; width: 40px; height: 40px; }
}

/* ---------------------------------------------------------------- 滚动淡入（渐进增强） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* 2026-09-25：.contact-side / .contact-side .contact-card 已删除。
   那套规则是为「在线咨询页侧栏 = 联系卡 + 线上渠道」两段式布局写的；
   客户要求删掉那张「微信 / QQ」联系卡后，包裹层和高度覆盖都失去作用对象。
   注意 .contact-card 本体样式（上方 ~1634 行）仍然保留 —— 它在
   views/partials/contact-cards.ejs（公司地址卡，/about/6）里还在用。 */

/* ---------------------------------------------------------------- 在线咨询表单（/contact） */
.lead-panel {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
}
.lead-panel-title {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--zh-ink);
  margin-bottom: .6rem;
}
.lead-panel-sub {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--zh-gray-700);
  margin-bottom: 1.6rem;
}

/* 提交结果提示条。JS 提交和无 JS 整页跳转两条路径共用它 */
.lead-status {
  padding: .9rem 1.1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--zh-radius-sm);
  font-size: .92rem;
  line-height: 1.7;
}
.lead-status.is-ok {
  background: var(--zh-accent-soft);
  border: 1px solid rgba(180, 68, 42, .25);
  color: #8a3320;
}
.lead-status.is-err {
  background: #fff6f5;
  border: 1px solid #f3c9c1;
  color: #a3341f;
}

/* 必填星号 */
.lead-req { color: var(--zh-accent); font-weight: 600; }

/* 表单控件：向站点「白底 + 细边框 + 小圆角」的调性靠拢，
   不用 Bootstrap 默认那套偏蓝的聚焦色 */
.lead-form .form-label {
  font-size: .84rem;
  font-weight: 500;
  color: var(--zh-ink-2);
  margin-bottom: .4rem;
}
.lead-form .form-control,
.lead-form .form-select {
  border-color: var(--zh-gray-300);
  border-radius: var(--zh-radius-sm);
  font-size: .94rem;
  padding: .6rem .8rem;
  transition: border-color var(--zh-transition), box-shadow var(--zh-transition);
}
.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: var(--zh-ink);
  box-shadow: 0 0 0 3px rgba(14, 14, 16, .06);
}
.lead-form .form-control.is-invalid,
.lead-form .form-select.is-invalid {
  border-color: #c0392b;
}
.lead-form .form-control.is-invalid:focus,
.lead-form .form-select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}
.lead-form .form-text { font-size: .78rem; color: var(--zh-gray-500); }
.lead-form textarea { resize: vertical; min-height: 130px; }

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.7rem;
}
.lead-privacy {
  flex: 1 1 260px;
  margin: 0;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--zh-gray-500);
}

/* 蜜罐：移出视口而不是 display:none —— 有些脚本会跳过隐藏元素，
   但绝对不会「看得见却不填」。用 opacity/position 移走对真实用户完全无感。 */
.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------- 查询结果（员工 / 代理 / 防伪） */
.query-result {
  margin-top: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid var(--zh-gray-200);
  border-radius: var(--zh-radius);
  background: #fff;
  font-size: .92rem;
  line-height: 1.8;
}
.query-result.is-pending { color: var(--zh-gray-500); }
.query-result.is-miss {
  background: #fff6f5;
  border-color: #f3c9c1;
  color: #a3341f;
}
/* 命中：整块走绿。以前这里用的是品牌暖色 --zh-accent-soft，
   配上深色标题，看上去和「查不到」的红框区分度不够 ——
   客户明确要求「前面的叉应该是绿色」，所以标题图标也一并转绿。 */
.query-result.is-hit {
  background: #f4faf6;
  border-color: #cfe8d8;
}
.query-result.is-error { background: var(--zh-gray-50); color: var(--zh-gray-700); }
.query-result-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--zh-ink);
  margin-bottom: .7rem;
}
.query-result.is-hit .query-result-title { color: #1d7a3d; }
.query-result.is-miss .query-result-title { color: #a3341f; }
.query-result-body { word-break: break-word; }
/* 上游返回的是一整段查询页 HTML，里面可能带自己的表格/图片。
   这里只做「能完整显示」的兜底，不去改它的排版。 */
.query-result-body table { width: 100%; border-collapse: collapse; }
.query-result-body img { max-width: 100%; height: auto; }

/* 防伪查询：服务端只挑出型号/品名/材质/类别/工艺/售价，用干净的键值列表渲染。
   上面那两条 table/img 规则是给「白名单没匹配上、退回完整显示」时兜底用的。 */
.query-congrats {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .7rem 1rem;
  border: 1px solid #bfe6cb;
  border-radius: var(--zh-radius);
  background: #eefaf1;
  color: #1d7a3d;
  font-weight: 600;
}
.query-congrats::before {
  content: '\F26A';            /* Bootstrap Icons: patch-check-fill */
  font-family: 'bootstrap-icons';
  font-size: 1.1em;
  line-height: 1;
}
.query-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .55rem 1.25rem;
  margin: 0;
}
.query-fields dt {
  color: var(--zh-gray-500);
  font-weight: 400;
  white-space: nowrap;
}
.query-fields dd {
  margin: 0;
  color: var(--zh-ink);
  font-weight: 500;
}
@media (max-width: 575.98px) {
  .query-fields { grid-template-columns: 1fr; gap: .15rem 0; }
  .query-fields dt { margin-top: .5rem; font-size: .84rem; }
}

/* ---------------------------------------------------------------- 打印 */
@media print {
  .zh-header, .zh-footer, .mobile-actionbar, .zh-backtop,
  .cta-band, .side-contact, .breadcrumb-bar { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  .article-panel a { color: #000; text-decoration: none; }
}
