/**
 * 商品详情页 · macOS 27 / Liquid Glass
 * 全部规则限定在 .qh-pd 作用域内，不污染 Astra 父主题与其他页面模板。
 * 令牌与关键片段来源：design/01-visual-spec.md
 */

.qh-pd {
  /* —— 品牌 / 功能色 —— */
  --qh-brand: #0a63e8;
  --qh-brand-deep: #0649b8;
  --qh-brand-tint: #e8f1ff;
  --qh-brand-ring: rgba(10, 99, 232, .30);
  --qh-accent: #6e5cf6;
  --qh-accent-2: #22b8cf;
  --qh-success: #0b6f4c;
  --qh-warn: #96600a;
  --qh-success-tint: #e6f5ee;
  --qh-warn-tint: #fdf3e2;
  --qh-danger: #a5281b;
  /* —— 文字三级 —— */
  --qh-text-1: #14161a;
  --qh-text-2: #3d414a;
  --qh-text-3: #63666e;
  /* —— 表面 —— */
  --qh-bg: #f4f6fa;
  --qh-surface: #ffffff;
  --qh-hairline: rgba(16, 24, 40, .085);
  --qh-hairline-soft: rgba(16, 24, 40, .05);
  --qh-zebra: rgba(16, 24, 40, .022);
  /* —— 玻璃 —— */
  --qh-glass-fill: rgba(255, 255, 255, .70);
  --qh-glass-blur: saturate(180%) blur(20px);
  --qh-glass-fallback: #fbfcfe;
  --qh-glass-edge: rgba(255, 255, 255, .78);
  --qh-glass-edge-dark: rgba(16, 24, 40, .06);
  --qh-specular: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 .5px rgba(255, 255, 255, .30);
  /* —— 圆角（仅 5 档 + 胶囊） —— */
  --qh-r-xs: 8px;
  --qh-r-sm: 12px;
  --qh-r-md: 16px;
  --qh-r-lg: 22px;
  --qh-r-xl: 28px;
  --qh-r-pill: 999px;
  /* —— 阴影 —— */
  --qh-sh-1: 0 1px 1px rgba(16, 24, 40, .030), 0 2px 6px rgba(16, 24, 40, .035);
  --qh-sh-2: 0 1px 2px rgba(16, 24, 40, .035), 0 8px 20px rgba(16, 24, 40, .055), 0 20px 44px rgba(16, 24, 40, .045);
  --qh-sh-3: 0 2px 4px rgba(16, 24, 40, .045), 0 14px 34px rgba(16, 24, 40, .075), 0 36px 76px rgba(16, 24, 40, .060);
  /* —— 动效 —— */
  --qh-ease: cubic-bezier(.22, .61, .36, 1);
  --qh-t-fast: 120ms;
  --qh-t: 180ms;
  --qh-t-slow: 240ms;
  --qh-lift: -3px;
  /* —— 布局 —— */
  --qh-max: 1280px;
  --qh-gutter: 20px;
  --qh-rail-w: 328px;
  --qh-sticky-top: 12px;
  --qh-lang-safe: 132px;
  /* —— 排印 —— */
  --qh-fs-hero: clamp(28px, 2.6vw, 40px);
  --qh-fs-h2: clamp(22px, 1.7vw, 28px);
  --qh-fs-h3: clamp(17px, 1.2vw, 20px);
  --qh-fs-price: clamp(30px, 2.6vw, 38px);
  --qh-fs-lead: clamp(14px, .95vw, 15.5px);
  --qh-fs-body: 15px;
  --qh-fs-sm: 13.5px;
  --qh-fs-label: 11.5px;
  --qh-fs-micro: 10.5px;
  --qh-font: system-ui, -apple-system, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --qh-font-en: -apple-system, "SF Pro Text", Inter, "Helvetica Neue", sans-serif;
  --qh-font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  position: relative;
  padding: 22px 0 96px;
  isolation: isolate;
  font-family: var(--qh-font);
  color: var(--qh-text-2);
  background:
    radial-gradient(1000px 620px at 4% -10%, rgba(196, 219, 255, .55), transparent 62%),
    radial-gradient(880px 540px at 98% 0%, rgba(223, 214, 255, .34), transparent 60%),
    linear-gradient(180deg, #f6f8fc 0%, #f2f5fa 46%, #f5f7fb 100%);
}

body.lang-en .qh-pd { --qh-font: var(--qh-font-en); }
body.lang-en .qh-pd h1 { letter-spacing: -.032em; }
body.lang-en .qh-pd h2 { letter-spacing: -.022em; }
body.lang-en .qh-pd .qh-price { letter-spacing: -.04em; }

.qh-pd *,
.qh-pd *::before,
.qh-pd *::after { box-sizing: border-box; }

.qh-pd a { color: var(--qh-brand); text-decoration: none; }
.qh-pd a:hover { color: var(--qh-brand-deep); }
.qh-pd img { max-width: 100%; height: auto; }
.qh-pd h1, .qh-pd h2, .qh-pd h3, .qh-pd h4 { margin: 0; letter-spacing: -.012em; }
.qh-pd p { margin: 0; }
.qh-pd ul, .qh-pd ol, .qh-pd dl { margin: 0; padding: 0; list-style: none; }

/* 1.1 玻璃基类 */
.qh-glass {
  position: relative;
  border-radius: var(--qh-r-xl);
  background: var(--qh-glass-fallback);
  border: 1px solid var(--qh-glass-edge-dark);
  box-shadow: var(--qh-specular), var(--qh-sh-2);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .qh-glass { background: color-mix(in srgb, var(--qh-surface) 70%, transparent); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-glass {
    -webkit-backdrop-filter: var(--qh-glass-blur);
    backdrop-filter: var(--qh-glass-blur);
    border-color: var(--qh-glass-edge);
  }
}
.qh-glass.is-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 8% -10%, rgba(110, 92, 246, .07), transparent 60%);
}

/* 2.1 容器与光晕 */
.qh-pd-shell { width: min(var(--qh-max), calc(100% - 40px)); margin: 0 auto; }
.qh-pd-aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.qh-aura {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: .5;
  filter: blur(28px);
  animation: qh-drift 34s var(--qh-ease) infinite alternate;
}
.qh-aura-a { width: 420px; height: 420px; left: -80px; top: -60px; background: radial-gradient(circle, rgba(120, 162, 255, .55), transparent 70%); }
.qh-aura-b { width: 340px; height: 340px; right: -60px; top: 120px; background: radial-gradient(circle, rgba(160, 140, 250, .38), transparent 70%); animation-duration: 42s; }
@keyframes qh-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(12px, 10px, 0); }
}

/* 2.2 面包屑 */
.qh-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--qh-text-3);
}
.qh-crumbs a { color: var(--qh-text-3); }
.qh-crumbs a:hover { color: var(--qh-brand); }
.qh-crumbs > span[aria-hidden] { color: rgba(16, 24, 40, .28); }
.qh-crumb-current {
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--qh-text-3);
}

/* 2.1 / 02-ux §2 首屏两栏 */
.qh-hero-grid { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 1024px) {
  .qh-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(420px, 45%, 566px); }
}
@media (max-width: 1023px) {
  .qh-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* 2.3 主图区 */
.qh-gallery { display: flex; flex-direction: column; padding: 14px; min-width: 0; }
.qh-stage {
  position: relative;
  flex: 1 1 auto;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--qh-r-lg);
  border: 1px solid var(--qh-hairline-soft);
  background: radial-gradient(circle at 50% 44%, #fff 0%, #f7f9fc 55%, #eef2f7 100%);
  box-shadow: var(--qh-specular);
}
.qh-stage-link { position: absolute; inset: 0; display: block; }
.qh-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
  filter: drop-shadow(0 16px 22px rgba(15, 29, 50, .10));
  transition: transform var(--qh-t-slow) var(--qh-ease);
}
.qh-stage-link:hover img { transform: scale(1.02); }

.qh-stage-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.qh-live-dot, .qh-model-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--qh-r-pill);
  border: 1px solid var(--qh-glass-edge);
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 600;
  color: var(--qh-text-2);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-live-dot, .qh-model-chip {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
.qh-live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qh-success);
  box-shadow: 0 0 0 3px rgba(11, 111, 76, .16);
}
.qh-model-chip { margin-left: auto; font-family: var(--qh-font-mono); color: var(--qh-text-1); }

.qh-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 26px;
  padding: 0 11px;
  border-radius: var(--qh-r-pill);
  background: rgba(12, 18, 28, .55);
  color: #fff;
  font: 600 11px/1 var(--qh-font-mono);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-photo-count { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.qh-photo-count b { font-weight: 700; }

/* 2.4 缩略图条 */
.qh-thumbs {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  padding-top: 10px;
}
.qh-thumb {
  aspect-ratio: 1;
  padding: 3px;
  border-radius: var(--qh-r-sm);
  cursor: pointer;
  border: 1px solid var(--qh-hairline);
  background: var(--qh-glass-fill);
  transition: border-color var(--qh-t) var(--qh-ease), transform var(--qh-t) var(--qh-ease);
}
.qh-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--qh-r-xs); }
.qh-thumb:hover { transform: translateY(-2px); border-color: var(--qh-brand-ring); }
.qh-thumb.is-active { outline: 2px solid var(--qh-brand); outline-offset: 1px; border-color: transparent; }
.qh-thumb-more {
  display: grid;
  place-items: center;
  font: 600 12px/1 var(--qh-font-mono);
  color: var(--qh-text-3);
  background: var(--qh-zebra);
  border: 1px dashed var(--qh-hairline);
  border-radius: var(--qh-r-sm);
  aspect-ratio: 1;
}

/* 2.5 无图占位卡 */
.qh-stage-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #f3f6fb 58%, #eaf0f9 100%);
}
.qh-stage-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 26px);
}
.qh-empty-mark {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: var(--qh-r-lg);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--qh-glass-edge);
  box-shadow: var(--qh-specular), var(--qh-sh-1);
  color: var(--qh-text-3);
}
.qh-empty-mark svg { width: 34px; height: 34px; }
.qh-empty-title { position: relative; font-size: 17px; font-weight: 650; color: var(--qh-text-1); }
.qh-empty-desc { position: relative; max-width: 300px; margin: 0; font-size: 13px; line-height: 1.7; color: var(--qh-text-3); }
.qh-empty-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.qh-empty-foot {
  position: relative;
  font: 600 var(--qh-fs-micro)/1.4 var(--qh-font-mono);
  letter-spacing: .04em;
  color: var(--qh-text-3);
}

/* 2.6 采购信息卡 */
.qh-summary {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  min-width: 0;
}
.qh-eyebrow-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-height: 26px; }
.qh-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 11px;
  border-radius: var(--qh-r-pill);
  background: var(--qh-brand-tint);
  color: var(--qh-brand-deep);
  font-size: 11.5px;
  font-weight: 650;
}
.qh-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qh-brand);
  box-shadow: 0 0 0 3px var(--qh-brand-ring);
}
.qh-category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--qh-r-pill);
  border: 1px solid var(--qh-hairline-soft);
  background: rgba(255, 255, 255, .62);
  color: var(--qh-text-3);
  font-size: 11.5px;
  font-weight: 600;
}
.qh-category:hover { color: var(--qh-brand); border-color: var(--qh-brand-ring); }

.qh-summary h1 {
  margin-top: 12px;
  font-size: var(--qh-fs-hero);
  font-weight: 650;
  line-height: 1.14;
  color: var(--qh-text-1);
}
.qh-lead {
  margin-top: 14px;
  font-size: var(--qh-fs-lead);
  line-height: 1.72;
  color: var(--qh-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2.8 chip */
.qh-benefit-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.qh-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--qh-r-xs);
  border: 1px solid var(--qh-hairline-soft);
  background: rgba(255, 255, 255, .62);
  color: var(--qh-text-3);
  font-family: var(--qh-font);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}
.qh-chip.is-brand { background: var(--qh-brand-tint); border-color: rgba(10, 99, 232, .14); color: var(--qh-brand-deep); }
.qh-chip.is-success { background: var(--qh-success-tint); border-color: rgba(11, 111, 76, .14); color: var(--qh-success); }
.qh-chip.is-warn { background: var(--qh-warn-tint); border-color: rgba(150, 96, 10, .14); color: var(--qh-warn); }

/* 2.7 价格区 */
.qh-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--qh-r-lg);
  border: 1px solid rgba(10, 99, 232, .12);
  background:
    radial-gradient(circle at 92% 8%, rgba(110, 92, 246, .10), transparent 44%),
    linear-gradient(135deg, #eef5ff 0%, #f8faff 100%);
  box-shadow: var(--qh-specular);
}
.qh-price-main { min-width: 0; }
.qh-price-label { display: block; font-size: var(--qh-fs-label); font-weight: 600; color: var(--qh-text-3); }
.qh-price {
  margin-top: 3px;
  font-size: var(--qh-fs-price);
  font-weight: 700;
  line-height: 1.05;
  color: var(--qh-text-1);
  letter-spacing: -.02em;
}
.qh-price > span { font-size: 20px; font-weight: 600; margin-right: 2px; }
.qh-price small { font-size: 12px; font-weight: 600; color: var(--qh-text-3); letter-spacing: 0; }
.qh-price-negotiable { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.01em; }
.qh-price-note { margin-top: 6px; font-size: var(--qh-fs-sm); font-weight: 500; color: var(--qh-text-3); }
.qh-price-seal {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  border: 1px solid var(--qh-glass-edge);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--qh-specular), var(--qh-sh-1);
  color: var(--qh-brand-deep);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-price-seal { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.qh-price-seal b { font-size: 13px; font-weight: 700; line-height: 1; }
.qh-price-seal small { font: 600 10px/1 var(--qh-font-mono); letter-spacing: .02em; color: var(--qh-text-3); }

/* 2.9 / 02-ux 4.3 采购规格选择 */
.qh-selectors { margin-top: 18px; }
.qh-sel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.qh-mini-title {
  font: 600 var(--qh-fs-label)/1.2 var(--qh-font);
  color: var(--qh-text-3);
  letter-spacing: 0;
}
body.lang-en .qh-mini-title { letter-spacing: .04em; text-transform: uppercase; }
.qh-sel-reset {
  border: 0;
  background: none;
  padding: 0;
  font: 600 11.5px/1 var(--qh-font);
  color: var(--qh-text-3);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--qh-hairline);
  text-underline-offset: 3px;
}
.qh-sel-reset:hover { color: var(--qh-brand); }
.qh-sel { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: start; }
.qh-sel + .qh-sel { margin-top: 8px; }
.qh-sel-label {
  padding-top: 6px;
  font: 600 var(--qh-fs-label)/1.3 var(--qh-font);
  color: var(--qh-text-3);
}
.qh-sel-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.qh-sel-opt { cursor: pointer; transition: background var(--qh-t) var(--qh-ease), color var(--qh-t) var(--qh-ease), border-color var(--qh-t) var(--qh-ease); }
.qh-sel-opt[aria-checked="true"]::before { content: "✓"; font-size: 11px; line-height: 1; }
.qh-sel-note { margin-top: 10px; font-size: var(--qh-fs-sm); font-weight: 500; color: var(--qh-text-3); }

/* 2.10 核心参数 4 格 */
.qh-quick-specs-wrap { margin-top: 18px; }
.qh-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 8px;
  border-radius: var(--qh-r-sm);
  overflow: hidden;
  background: var(--qh-hairline-soft);
  border: 1px solid var(--qh-hairline-soft);
}
.qh-quick-specs > div { padding: 11px 13px; background: rgba(255, 255, 255, .72); min-width: 0; }
.qh-quick-specs > .is-void { background: var(--qh-zebra); }
.qh-quick-specs dt {
  font-size: var(--qh-fs-label);
  font-weight: 600;
  color: var(--qh-text-3);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qh-quick-specs dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--qh-text-1);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* 2.9 按钮 */
.qh-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
.qh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--qh-r-md);
  font-family: var(--qh-font);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--qh-t) var(--qh-ease), box-shadow var(--qh-t) var(--qh-ease), background var(--qh-t) var(--qh-ease);
}
.qh-btn > span[aria-hidden] { transition: transform var(--qh-t) var(--qh-ease); }
.qh-btn:hover > span[aria-hidden] { transform: translateX(2px); }
.qh-btn-primary {
  flex: 1 1 auto;
  color: #fff;
  background: linear-gradient(180deg, #1a75ee 0%, var(--qh-brand) 52%, #0955cf 100%);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 16px rgba(10, 99, 232, .26);
}
.qh-btn-primary:hover {
  transform: translateY(var(--qh-lift));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 10px 24px rgba(10, 99, 232, .32);
  color: #fff;
}
.qh-btn-primary:active {
  transform: translateY(0) scale(.985);
  background: var(--qh-brand-deep);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .18);
}
.qh-btn-ghost {
  flex: 0 0 auto;
  color: var(--qh-text-2);
  background: var(--qh-glass-fill);
  border-color: var(--qh-hairline);
  box-shadow: var(--qh-specular);
}
.qh-btn-ghost:hover { transform: translateY(-2px); background: #fff; color: var(--qh-text-1); }
.qh-btn-ghost:active { transform: translateY(0); background: #f1f3f7; }
.qh-btn[disabled], .qh-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; transform: none; }
.qh-btn-block { width: 100%; }
/* 链接默认色不能盖掉按钮/卡片自身的文字色（.qh-pd a 的特异性更高）。 */
.qh-pd a.qh-btn-primary, .qh-pd a.qh-btn-primary:hover { color: #fff; }
.qh-pd a.qh-btn-ghost { color: var(--qh-text-2); }
.qh-pd a.qh-btn-ghost:hover { color: var(--qh-text-1); }
.qh-pd a.qh-related-card, .qh-pd a.qh-related-card:hover { color: var(--qh-text-2); }
.qh-pd a.qh-tabs-cta { color: var(--qh-brand-deep); }
.qh-pd a.qh-tabs-cta:hover { color: #fff; }
.qh-pd a.qh-tabs-cta.is-active { color: #fff; }

.qh-assurance { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.qh-assurance li { display: inline-flex; align-items: center; gap: 6px; font-size: var(--qh-fs-sm); font-weight: 500; color: var(--qh-text-3); }
.qh-assurance li span { color: var(--qh-success); font-weight: 700; }

/* 2.11 吸顶 Tab */
.qh-tabs-sentinel { height: 0; }
.qh-tabs {
  position: sticky;
  top: var(--qh-sticky-top);
  z-index: 30;
  margin: 20px 0 26px;
  padding: 6px;
  border-radius: var(--qh-r-pill);
  border: 1px solid var(--qh-glass-edge-dark);
  background: var(--qh-glass-fallback);
  box-shadow: var(--qh-specular), var(--qh-sh-2);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .qh-tabs { background: color-mix(in srgb, var(--qh-surface) 74%, transparent); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-tabs { -webkit-backdrop-filter: var(--qh-glass-blur); backdrop-filter: var(--qh-glass-blur); border-color: var(--qh-glass-edge); }
}
.qh-tabs.is-stuck { padding: 5px; box-shadow: var(--qh-specular), var(--qh-sh-3); }
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .qh-tabs.is-stuck { background: color-mix(in srgb, var(--qh-surface) 88%, transparent); }
}
.qh-tabs-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.qh-tabs-inner::-webkit-scrollbar { display: none; }
.qh-tabs a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--qh-r-pill);
  color: var(--qh-text-3);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--qh-t) var(--qh-ease), color var(--qh-t) var(--qh-ease);
}
.qh-tabs a:hover { background: rgba(255, 255, 255, .7); color: var(--qh-text-1); }
.qh-tabs a.is-active {
  background: #14161a;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 4px 12px rgba(0, 0, 0, .16);
}
.qh-tabs .qh-tabs-cta { margin-left: auto; background: var(--qh-brand-tint); color: var(--qh-brand-deep); }
.qh-tabs .qh-tabs-cta:hover { background: var(--qh-brand); color: #fff; }

/* 2.12 内容区 */
.qh-body-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1024px) {
  .qh-body-grid { grid-template-columns: minmax(0, 1fr) var(--qh-rail-w); }
}
.qh-content { min-width: 0; }
#qh-overview, #qh-specs, #qh-details, #qh-quote { scroll-margin-top: calc(var(--qh-sticky-top) + 52px); }

.qh-section { position: relative; padding: 30px 32px; margin-bottom: 22px; }
.qh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.qh-kicker {
  display: block;
  font: 600 var(--qh-fs-micro)/1 var(--qh-font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--qh-text-3);
}
.qh-section-head h2 { margin: 6px 0 0; font-size: var(--qh-fs-h2); font-weight: 650; color: var(--qh-text-1); }
.qh-section-head h2:focus { outline: none; }
.qh-section-head p { margin: 0; max-width: 44ch; font-size: 13px; line-height: 1.6; color: var(--qh-text-3); }

.qh-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qh-highlight {
  position: relative;
  padding: 18px;
  border-radius: var(--qh-r-md);
  border: 1px solid var(--qh-hairline-soft);
  background: rgba(255, 255, 255, .62);
}
.qh-highlight-num {
  display: block;
  font: 600 28px/1 var(--qh-font-mono);
  color: rgba(16, 24, 40, .14);
  margin-bottom: 8px;
}
.qh-highlight p { font-size: 14.5px; line-height: 1.7; color: var(--qh-text-2); }

.qh-apps {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  box-shadow: inset 0 1px 0 var(--qh-hairline-soft);
}
.qh-apps-copy h3 { margin: 6px 0 6px; font-size: var(--qh-fs-h3); font-weight: 600; color: var(--qh-text-1); }
.qh-apps-copy p { font-size: 13px; line-height: 1.6; color: var(--qh-text-3); }
.qh-app-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }

.qh-empty-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--qh-r-md);
  border: 1px dashed var(--qh-hairline);
  background: var(--qh-zebra);
}
.qh-empty-block h3 { font-size: var(--qh-fs-h3); font-weight: 650; color: var(--qh-text-1); margin-bottom: 6px; }
.qh-empty-block p { max-width: 52ch; font-size: 13.5px; line-height: 1.7; color: var(--qh-text-3); }

/* 2.13 参数表 */
.qh-spec-panel { padding: 0; border-radius: var(--qh-r-lg); overflow: hidden; border: 1px solid var(--qh-hairline-soft); }
.qh-spec-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 20px;
  background: var(--qh-zebra);
  font: 600 var(--qh-fs-label)/1 var(--qh-font);
  letter-spacing: .02em;
  color: var(--qh-text-3);
}
.qh-code-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--qh-r-xs);
  background: var(--qh-brand-tint);
  color: var(--qh-brand-deep);
  font: 600 11px/1 var(--qh-font-mono);
}
.qh-spec-table { display: block; }
.qh-spec-row {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
}
.qh-spec-row:nth-child(even) { background: var(--qh-zebra); }
.qh-spec-row + .qh-spec-row { box-shadow: inset 0 1px 0 var(--qh-hairline-soft); }
.qh-spec-row dt { font-size: 12.5px; color: var(--qh-text-3); }
.qh-spec-row dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--qh-text-1); overflow-wrap: anywhere; }

/* 2.12 富文本 */
.qh-rich { font-size: var(--qh-fs-body); line-height: 1.78; color: var(--qh-text-2); }
.qh-rich > *:first-child { margin-top: 0; }
.qh-rich p { margin: 0 0 14px; }
.qh-rich h1, .qh-rich h2, .qh-rich h3, .qh-rich h4 {
  margin: 22px 0 10px;
  font-size: var(--qh-fs-h3);
  font-weight: 650;
  color: var(--qh-text-1);
}
.qh-rich ul, .qh-rich ol { margin: 0 0 14px; padding-left: 20px; }
.qh-rich ul { list-style: disc; }
.qh-rich ol { list-style: decimal; }
.qh-rich li { margin-bottom: 6px; }
.qh-rich img { display: block; max-width: 100%; margin: 18px auto; border-radius: var(--qh-r-md); }
.qh-rich a { text-decoration: underline; text-underline-offset: 3px; }
.qh-rich table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.qh-rich th, .qh-rich td { padding: 10px 12px; border-bottom: 1px solid var(--qh-hairline-soft); text-align: left; }
.qh-rich div { margin-bottom: 6px; }

/* 2.16 表单 */
.qh-quote-form { margin-top: 4px; }
.qh-cf7 { max-width: none; }
.qh-quote-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.qh-quote-form form > fieldset { display: none; }
.qh-quote-form p { margin: 0; }
.qh-quote-form label {
  display: block;
  margin-bottom: 6px;
  font: 600 var(--qh-fs-label)/1.2 var(--qh-font);
  letter-spacing: .02em;
  color: var(--qh-text-3);
}
.qh-quote-form label br { display: none; }
.qh-quote-form .wpcf7-form-control-wrap { display: block; }
.qh-quote-form input:not([type="submit"]),
.qh-quote-form select,
.qh-quote-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: var(--qh-r-sm);
  font: 400 14px/1.5 var(--qh-font);
  color: var(--qh-text-1);
  border: 1px solid var(--qh-hairline);
  background: rgba(255, 255, 255, .72);
  transition: border-color var(--qh-t) var(--qh-ease), box-shadow var(--qh-t) var(--qh-ease);
}
.qh-quote-form textarea { min-height: 108px; resize: vertical; }
.qh-quote-form input:not([type="submit"]):focus-visible,
.qh-quote-form select:focus-visible,
.qh-quote-form textarea:focus-visible {
  outline: none;
  border-color: var(--qh-brand);
  box-shadow: 0 0 0 3px var(--qh-brand-ring);
}
.qh-quote-form input:not([type="submit"]):focus,
.qh-quote-form select:focus,
.qh-quote-form textarea:focus {
  outline: none;
  border-color: var(--qh-brand);
  box-shadow: 0 0 0 3px var(--qh-brand-ring);
}
.qh-quote-form p:has(textarea) { grid-column: 1 / -1; }
.qh-quote-form form > p:last-child { grid-column: 1 / -1; }
.qh-quote-form input[type="submit"] {
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--qh-r-md);
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, #1a75ee 0%, var(--qh-brand) 52%, #0955cf 100%);
  color: #fff;
  font: 650 13.5px/1 var(--qh-font);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 16px rgba(10, 99, 232, .26);
  transition: transform var(--qh-t) var(--qh-ease), box-shadow var(--qh-t) var(--qh-ease), background var(--qh-t) var(--qh-ease);
}
.qh-quote-form input[type="submit"]:hover { transform: translateY(var(--qh-lift)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 10px 24px rgba(10, 99, 232, .32); }
.qh-quote-form input[type="submit"]:disabled { opacity: .6; pointer-events: none; }
.qh-quote-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: var(--qh-fs-label); color: var(--qh-danger); }
.qh-quote-form input.wpcf7-not-valid,
.qh-quote-form textarea.wpcf7-not-valid,
.qh-quote-form select.wpcf7-not-valid { border-color: #b32d1e; box-shadow: 0 0 0 3px rgba(179, 45, 30, .16); }
.qh-quote-form .wpcf7-spinner { display: none; }
.qh-cf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: var(--qh-r-md);
  border: 1px solid var(--qh-hairline-soft);
  background: var(--qh-zebra);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--qh-text-2);
}
.qh-cf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: rgba(11, 111, 76, .22);
  background: var(--qh-success-tint);
  color: var(--qh-success);
  font-weight: 600;
}
.qh-cf7 .wpcf7-response-output.wpcf7-validation-errors,
.qh-cf7 .wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: rgba(179, 45, 30, .22);
  background: #fdeceb;
  color: var(--qh-danger);
}
.qh-privacy { margin-top: 14px; font-size: var(--qh-fs-label); line-height: 1.6; color: var(--qh-text-3); }
.qh-alt-contact { margin-top: 6px; font-size: var(--qh-fs-label); line-height: 1.6; color: var(--qh-text-3); }
.qh-contact-fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.qh-contact-fallback ul { font-size: 14px; line-height: 2; color: var(--qh-text-2); }
.qh-contact-fallback li span { font-weight: 650; color: var(--qh-text-1); }

/* 2.14 供应商卡 / 选型帮助 */
.qh-rail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (min-width: 1024px) {
  .qh-rail { padding-bottom: 56px; }
  .qh-rail > * { position: sticky; top: calc(var(--qh-sticky-top) + 62px); }
}
@media (max-width: 1023px) {
  .qh-rail { padding-bottom: 72px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .qh-rail { flex-direction: row; }
  .qh-rail > * { flex: 1 1 0; min-width: 0; }
}
.qh-supplier { padding: 24px; }
.qh-supplier-logo { display: block; max-height: 34px; width: auto; margin-bottom: 14px; }
.qh-supplier h2 { margin: 6px 0 6px; font-size: 17px; font-weight: 650; line-height: 1.35; color: var(--qh-text-1); }
.qh-supplier > p { font-size: 13px; line-height: 1.7; color: var(--qh-text-3); }
.qh-supplier-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.qh-supplier-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--qh-r-xs);
  background: var(--qh-zebra);
  font-size: 13px;
  font-weight: 500;
  color: var(--qh-text-2);
}
.qh-supplier-list b { font: 600 11px/1 var(--qh-font-mono); color: var(--qh-text-3); }
.qh-supplier .qh-btn { margin-top: 16px; }
.qh-rail-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--qh-brand); }
.qh-help-card { padding: 24px; }
.qh-help-card h3 { margin: 6px 0 8px; font-size: var(--qh-fs-h3); font-weight: 650; color: var(--qh-text-1); }
.qh-help-card p { font-size: 13px; line-height: 1.7; color: var(--qh-text-3); }
.qh-help-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--qh-brand); }

/* 2.15 相关产品 */
.qh-related { margin-top: 34px; }
.qh-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.qh-related-head h2 { margin: 6px 0 0; font-size: var(--qh-fs-h2); font-weight: 650; color: var(--qh-text-1); }
.qh-related-head > a { font-size: 13px; font-weight: 600; color: var(--qh-brand); }
.qh-related-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1120px) { .qh-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .qh-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qh-related-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--qh-r-lg);
  border: 1px solid var(--qh-glass-edge-dark);
  background: var(--qh-glass-fallback);
  box-shadow: var(--qh-sh-1);
  color: var(--qh-text-2);
  transition: transform var(--qh-t) var(--qh-ease), box-shadow var(--qh-t) var(--qh-ease);
}
.qh-related-card:hover { transform: translateY(var(--qh-lift)); box-shadow: var(--qh-sh-2); color: var(--qh-text-2); }
.qh-related-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #fff, #f1f4f9);
  overflow: hidden;
}
.qh-related-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform var(--qh-t-slow) var(--qh-ease); }
.qh-related-card:hover .qh-related-media img { transform: scale(1.04); }
.qh-related-ph { color: rgba(16, 24, 40, .18); }
.qh-related-ph svg { width: 48px; height: 48px; }
.qh-related-body { padding: 13px 14px 15px; }
.qh-related-code { display: block; font: 600 11px/1 var(--qh-font-mono); color: var(--qh-text-3); margin-bottom: 6px; min-height: 11px; }
.qh-related-body h3 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--qh-text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.qh-related-body p { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--qh-text-1); }
.qh-related-body p small { font-size: 11px; font-weight: 600; color: var(--qh-text-3); }

/* 2.17 悬浮条 */
.qh-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 60;
  width: min(340px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 16px;
  border-radius: var(--qh-r-lg);
  border: 1px solid var(--qh-glass-edge);
  background: rgba(22, 24, 29, .82);
  color: #fff;
  box-shadow: 0 14px 38px rgba(6, 12, 22, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--qh-t-slow) var(--qh-ease), transform var(--qh-t-slow) var(--qh-ease);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qh-dock { -webkit-backdrop-filter: var(--qh-glass-blur); backdrop-filter: var(--qh-glass-blur); }
}
.qh-dock.is-visible { opacity: 1; pointer-events: auto; }
.qh-dock-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.qh-dock small { color: rgba(255, 255, 255, .72); font-size: var(--qh-fs-micro); }
.qh-dock strong { color: #fff; font-size: 17px; font-weight: 650; line-height: 1.2; }
.qh-dock strong span { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.qh-dock > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--qh-r-sm);
  background: #fff;
  color: #14161a;
  font-size: 12.5px;
  font-weight: 650;
}
.qh-dock > a:hover { color: var(--qh-brand-deep); }

/* 2.18 焦点与动效 */
.qh-pd :focus-visible { outline: 2px solid var(--qh-brand); outline-offset: 2px; }
.qh-pd :focus:not(:focus-visible) { outline: none; }
.qh-btn-primary:focus-visible,
.qh-tabs a.is-active:focus-visible,
.qh-dock > a:focus-visible,
.qh-quote-form input[type="submit"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  box-shadow: 0 0 0 4px var(--qh-brand-ring);
}

@media (prefers-reduced-motion: reduce) {
  .qh-pd *, .qh-pd *::before, .qh-pd *::after {
    animation: none !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .qh-aura { display: none; }
  .qh-btn:hover, .qh-related-card:hover, .qh-thumb:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* —— 响应式 —— */
/* 商品单页：语言切换器竖排收窄，让右栏 sticky 卡与它之间始终留有安全距离。 */
body.single-post #qihao-lang-switch { flex-direction: column; width: 56px; }
body.single-post #qihao-lang-switch .ls-opt { padding: 9px 6px; text-align: center; font-size: 12px; }
@media (min-width: 769px) {
  body.single-post #qihao-lang-switch { right: 14px; bottom: 14px; }
}
@media (max-width: 1439px) {
  .qh-section { padding: 26px 26px; }
}
@media (max-width: 1023px) {
  .qh-highlights { grid-template-columns: minmax(0, 1fr); }
  .qh-apps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qh-app-tags { justify-content: flex-start; }
  .qh-tabs .qh-tabs-cta { display: none; }
}
@media (max-width: 768px) {
  .qh-pd { padding: 16px 0 112px; }
  .qh-pd-shell { width: calc(100% - 24px); }
  .qh-aura { display: none; }
  .qh-hero-grid { gap: 14px; }
  .qh-gallery { padding: 10px; }
  .qh-stage { aspect-ratio: 1 / 1; min-height: 240px; }
  .qh-stage img { padding: 16px; }
  .qh-stage-top { top: 10px; left: 10px; right: 10px; }
  .qh-live-dot { display: none; }
  .qh-model-chip { margin-left: 0; }
  .qh-summary { padding: 20px 18px; }
  .qh-summary h1 { margin-top: 10px; }
  .qh-price-box { padding: 14px 16px; }
  .qh-price-seal { width: 54px; height: 54px; }
  .qh-sel { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .qh-sel-label { padding-top: 0; }
  .qh-section { padding: 20px 18px; margin-bottom: 16px; }
  .qh-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .qh-section-head p { max-width: none; }
  .qh-spec-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; min-height: 0; }
  .qh-spec-row dt { font-size: var(--qh-fs-label); }
  .qh-spec-row dd { font-size: 15px; }
  .qh-spec-row + .qh-spec-row { box-shadow: inset 0 1px 0 var(--qh-hairline); }
  .qh-quote-form form { grid-template-columns: minmax(0, 1fr); }
  .qh-actions { flex-direction: column; }
  .qh-actions .qh-btn-primary, .qh-actions .qh-btn-ghost { width: 100%; }
  .qh-empty-block { flex-direction: column; align-items: flex-start; }
  .qh-dock { left: 12px; right: 12px; transform: none; width: auto; bottom: 12px; }
  body.single-post #qihao-lang-switch { bottom: 86px; right: 12px; width: 52px; }
}
@media (max-width: 480px) {
  .qh-related-grid { gap: 12px; }
}
