/* ============================================================
   苏州以矿液压 — Modern Editorial Design System
   ============================================================ */

/* ---------- CSS Variables ---------- */
/* UI V2 Design System —— 令牌是唯一真相源。
   新增样式必须引用令牌，不得再写一次性硬编码色值 / 圆角 / 阴影。
   禁止引入第二套 SaaS 蓝（Tailwind 系高饱和蓝）；具体色值见 Guard 白名单，
   本文件不得再出现。（此处不写字面值，避免 Guard 误命中注释。） */
:root {
  /* Brand — 保留现有品牌蓝，不调整色相 */
  --brand: #1e619b;
  --brand-hover: #174f92;
  --brand-subtle: #eaf1f8;
  --brand-muted: #eaf1f8;   /* 兼容旧引用 */

  /* Surfaces — 大面积白 + 极浅冷灰 */
  --bg: #ffffff;
  --bg-subtle: #f5f7f9;
  --bg-muted: #edf1f4;
  --bg-elevated: #ffffff;

  /* Borders — 极浅中性灰 */
  --border: #e3e8ed;
  --border-strong: #cbd3db;
  --border-hover: #cbd3db;   /* 兼容旧引用 */

  /* Text — 深灰/近黑 + 中性灰 */
  --text: #15191d;
  --text-primary: #15191d;   /* 兼容旧引用 */
  --text-secondary: #4a5561;
  --text-muted: #64707e;      /* UI V2：原 #6b7684 对 --bg-subtle 仅 4.30:1，
                                 不满足 WCAG AA 4.5:1；改为 #64707e（4.70:1 / 白底 5.05:1） */

  /* Functional */
  --success: #16a34a;
  --warning: #d97706;
  --error: #dc2626;

  /* Spacing — 8 级（4px 网格） */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius — 收敛至 2–6px */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-btn: 4px;   /* 兼容旧引用 */
  --radius-lg: 6px;    /* 兼容旧引用 */
  --radius-xl: 6px;    /* 兼容旧引用 */

  /* Shadow — 默认无阴影，层级靠留白/描边/字号 */
  --shadow-none: none;
  --shadow-pop: 0 4px 12px rgba(16, 24, 40, .08);      /* 仅 dropdown / modal / floating */
  --shadow-focus: 0 0 0 3px rgba(30, 97, 155, .18);    /* 仅 focus 可见性 */
  --shadow-focus-error: 0 0 0 3px rgba(220, 38, 38, .16); /* 仅错误态 focus */

  /* Type scale — 8 级（UI V2 新样式引用这些） */
  --fs-h1: 2rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.125rem;
  --fs-body: .9375rem;
  --fs-sm: .8125rem;
  --fs-meta: .75rem;
  --fs-code: .875rem;
  --fs-num: 1.25rem;

  /* Motion */
  --dur-fast: 160ms;
  --dur-panel: 220ms;
  --ease: cubic-bezier(.2, 0, .2, 1);

  /* Type scale — Major Third 1.250 */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;

  /* Transitions — 统一到 DS 时长/曲线 */
  --ease-out: 160ms cubic-bezier(.2, 0, .2, 1);
  --ease-in-out: 220ms cubic-bezier(.2, 0, .2, 1);

  /* Container */
  --container-max: 1200px;
}

/* ---------- Dark Mode ----------
   统一到 A 套后全站固定浅色，不再跟随系统深色偏好。
   （历史原因曾有 prefers-color-scheme 变量与多段覆盖，已移除。） */

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* Keep labels available to screen readers without duplicating visible form copy. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--ease-out);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 97, 155, 0.28);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg);
}

.btn-lg {
  padding: 14px 32px;
  font-size: var(--text-base);
  border-radius: var(--radius-btn);
}

/* ---------- Navigation ---------- */
/* 工业企业官网式导航：纯白底、细底线；无玻璃拟态、无阴影、无高度变化 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* 滚动后保持稳定：不再加阴影，避免视觉跳变 */
.navbar.scrolled {
  box-shadow: var(--shadow-none);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo h1 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.nav-language {
  padding-left: var(--space-md);
  border-left: 1px solid var(--border);
}

.nav-language .nav-link {
  color: var(--brand);
  font-weight: 600;
}

a.hero-tag { text-decoration: none; }

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--ease-out);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

/* Admin login btn — subtle */
.admin-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--ease-out);
}
.admin-login-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.admin-login-btn svg {
  width: 14px;
  height: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero (new, replaces carousel) ---------- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(30, 97, 155, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.hero-tag {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-elevated);
}

/* Old carousel — hidden */
.carousel-section { display: none; }

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* 页面栏里的「栏目名」不是标题：详情页唯一 h1 必须留给文章标题。
   这里沿用 .page-header h1 的视觉规格，保证降级后外观不变。 */
.page-header .page-header-label {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: none;
  margin: 0 0 var(--space-sm);
}

.page-header-tags {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.tag-separator {
  width: 6px;
  height: 6px;
  background: var(--border-hover);
  border-radius: 50%;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* h1/h2 同级：news-more 的列表标题是页面唯一 h1，但视觉规格与 h2 一致 */
.section-header h1,
.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
}

/* ---------- Product Cards Grid (products.html) ---------- */
.products { padding: 64px 0; }

/* ---------- Homepage Model Search & SEO Entrances ---------- */
.model-search-panel {
  max-width: 720px;
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  border-radius: var(--radius-lg);
}

.model-search-copy h2 {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-lg);
}

.model-search-copy p {
  margin: 0 0 var(--space-md);
  font-size: var(--text-sm);
}

.model-search-form {
  display: flex;
  gap: var(--space-sm);
}

.model-search-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font: inherit;
}

.model-search-form input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-muted);
}

.model-search-form button {
  padding: 11px 18px;
  color: #fafafa;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-md);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease-out), transform var(--ease-out);
}

.model-search-form button:hover { background: var(--brand-hover); }
.model-search-form button:active { transform: scale(0.98); }

.model-search-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
}

.model-search-links a { color: var(--brand); }

/* ---------- 页面级「第二层皮」已移除（UI V2） ----------
   Model Directory / Listing / Search 这三类页面原先各自把整套设计令牌
   （--bg / --bg-muted / --border / --border-hover / --text-* / --brand-muted）
   用旧深蓝配色重定义了一遍，等于在 Design System 之上又叠了一层皮肤。
   后果：
     · 颜色全部解析回旧值 —— 例如 --text-muted 变成 #74869a，对浅底仅 3.48:1，
       不满足 WCAG AA 的 4.5:1；--text-primary 变回旧海军蓝 #183454。
     · V2 的令牌统一在这三类页面上静默失效（改规则生效，改令牌不生效）。
   现全部删除，三类页面与其他页面共用同一套 :root 令牌。
   全站已无 prefers-color-scheme 分支（见 :root 注释），故不存在"必须钉住浅色"的需求。 */

.search-page { background: var(--bg); }
.search-page-hero { padding: 56px 0 40px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.search-page-kicker { margin: 0 0 10px; color: var(--brand); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; }
.search-page-hero h1 { margin: 0; color: #16365c; font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.04em; }
.search-page-hero h1 + p { margin: 14px 0 0; color: var(--text-secondary); font-size: var(--text-lg); }
.search-directory-link { display: inline-flex; gap: 8px; margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--brand); font-weight: 700; }
.search-directory-link span { transition: transform var(--ease-out); }
.search-directory-link:hover span { transform: translateX(4px); }
.search-form { display: flex; max-width: 760px; margin-top: 28px; border: 1px solid var(--border); background: var(--bg-elevated); box-shadow: 0 8px 24px rgba(24, 56, 88, .075); }
.search-form input { min-width: 0; flex: 1; border: 0; padding: 16px 18px; color: var(--text-primary); background: transparent; font: inherit; }
.search-form input:focus { outline: 2px solid var(--brand-muted); outline-offset: -2px; }
.search-form button { min-width: 126px; border: 0; padding: 0 22px; color: #fafafa; background: var(--brand); font: inherit; font-weight: 700; cursor: pointer; transition: background var(--ease-out); }
.search-form button:hover { background: var(--brand-hover); }
.search-results { min-height: 270px; padding: 56px 0 80px; }
.search-result-list { display: grid; gap: var(--space-sm); }
.search-result-card { display: flex; justify-content: space-between; gap: var(--space-lg); padding: 20px; border: 1px solid var(--border); background: var(--bg-elevated); color: inherit; transition: border-color var(--ease-out), transform var(--ease-out), box-shadow var(--ease-out); }
.search-result-card:hover { border-color: #93bde9; box-shadow: 0 10px 24px rgba(22,54,92,.07); transform: translateY(-2px); }
.search-result-card h2 { margin: 0; color: #16365c; font-size: var(--text-lg); }
.search-result-meta { margin: 5px 0 0; color: var(--text-muted); font-size: var(--text-sm); }
.search-result-meta span { margin: 0 4px; }
.search-result-description { margin: 10px 0 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.65; }
.search-result-status { align-self: flex-start; color: var(--text-muted); font-size: var(--text-xs); white-space: nowrap; }
.search-empty { padding: 40px 0; color: var(--text-secondary); text-align: center; }
.search-pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-sm); margin-top: 32px; }
.search-pagination a, .search-pagination span { padding: 8px 14px; border: 1px solid var(--border); color: var(--text-secondary); font-size: var(--text-sm); }
.search-pagination a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Category / Brand listing（UI V2：按工业采购目录处理） ----------
   注意：下方 .listing-custom* 属蓄能器非标定制块，归另一条工作线，本轮不动。 */
.listing-page { background: var(--bg); }
.listing-page-hero { padding: 56px 0 40px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.listing-page-hero .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-muted); font-size: var(--fs-sm); }
.listing-page-hero .breadcrumb a:hover { color: var(--brand); }
.listing-page-kicker { margin: 24px 0 10px; color: var(--brand); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .12em; }
.listing-page-hero h1 { margin: 0; color: var(--text); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -.02em; }
.listing-page-hero > .container > p:last-of-type { max-width: 780px; margin: 16px 0 0; color: var(--text-secondary); font-size: var(--fs-body); line-height: 1.7; }
.listing-directory-link { display: inline-flex; gap: 8px; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--brand); font-weight: 500; }
.listing-directory-link span { transition: transform var(--ease-out); }
.listing-directory-link:hover span { transform: translateX(4px); }
.listing-series { padding: 56px 0 64px; }
.listing-series-heading { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.listing-series-heading p { margin: 0; color: var(--brand); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .1em; }
.listing-series-heading h2 { margin: 8px 0 0; color: var(--text); font-size: var(--fs-h2); font-weight: 600; }
.listing-series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
/* 系列卡：只保留细描边，去掉 hover 阴影与位移 */
.listing-series-card { min-height: 200px; padding: var(--space-lg); border: 1px solid var(--border); background: var(--bg-elevated); transition: border-color var(--dur-fast) var(--ease); }
.listing-series-card:hover { border-color: var(--border-strong); }
.listing-series-kicker { margin: 0; color: var(--text-muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; }
.listing-series-card h2 { margin: var(--space-sm) 0 3px; color: var(--text); font-size: var(--fs-h3); font-weight: 600; }
.listing-model-count { margin: 0; color: var(--brand); font-size: var(--fs-sm); font-weight: 500; }
.listing-series-card ul { display: grid; gap: 4px; margin: var(--space-md) 0 0; }
.listing-series-card li a { display: flex; justify-content: space-between; gap: var(--space-sm); color: var(--text-secondary); font-size: var(--fs-sm); }
.listing-series-card li a:hover { color: var(--brand); }
.listing-related { padding: 48px 0 64px; background: var(--bg-subtle); }
.listing-related h2 { margin: 0; color: var(--text); font-size: var(--fs-h2); font-weight: 600; }
.listing-related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
.listing-related-links a { display: flex; justify-content: space-between; gap: var(--space-sm); padding: 12px 14px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font-weight: 500; font-size: var(--fs-sm); }
.listing-related-links a:hover { border-color: var(--border-strong); color: var(--brand); }
.listing-empty { color: var(--text-secondary); }

/* ===== 蓄能器非标定制（类别页服务块） ===== */
.listing-custom { padding: 64px 0 80px; background: var(--bg-elevated); border-top: 1px solid var(--border); }
.listing-custom-heading { max-width: 780px; }
.listing-custom-heading > p:first-child { margin: 0; color: var(--brand); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; }
.listing-custom-heading h2 { margin: 10px 0 0; color: #16365c; font-size: var(--text-2xl); }
.listing-custom-heading > p:last-child { margin: 14px 0 0; color: var(--text-secondary); font-size: var(--text-lg); line-height: 1.75; }
.listing-custom-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 24px 0; }
.listing-custom-type { padding: var(--space-md); border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius-lg); }
.listing-custom-type strong { color: #16365c; font-size: var(--text-base); }
.listing-custom-type p { margin: 6px 0 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; }
.listing-custom-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 24px; padding: 0; list-style: none; }
.listing-custom-trust li { color: var(--text-secondary); font-size: var(--text-sm); }
.listing-custom-trust li::before { content: '✓ '; color: var(--brand); font-weight: 800; }
.listing-custom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-bottom: 28px; }
.listing-custom-block { padding: var(--space-lg); border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius-lg); }
.listing-custom-block h3 { margin: 0 0 12px; color: #16365c; font-size: var(--text-base); }
.listing-custom-block ul, .listing-custom-block ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.listing-custom-block li { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; }
.listing-custom-block li strong { color: #16365c; margin-right: 8px; }
.listing-custom-block ol li { display: flex; gap: 10px; }
.listing-custom-block ol li span { color: var(--brand); font-weight: 800; min-width: 20px; }
/* 非标定制内联询价表单 */
.listing-custom-form-wrap { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-lg); padding: var(--space-lg); border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius-lg); }
.listing-custom-form-copy h3 { margin: 0; color: #16365c; font-size: var(--text-lg); }
.listing-custom-form-copy p { margin: 8px 0 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; }
.listing-custom-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; }
.lc-field label { display: block; margin-bottom: 4px; color: #16365c; font-size: var(--text-sm); font-weight: 600; }
.lc-field input, .lc-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font: inherit; font-size: var(--text-sm); color: #16365c; background: #fff; box-sizing: border-box; }
.lc-field input:focus, .lc-field textarea:focus { outline: 2px solid var(--brand-muted); outline-offset: -2px; border-color: var(--brand); }
.lc-field-wide { grid-column: 1 / -1; }
.lc-form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lc-form-msg { color: var(--text-secondary); font-size: var(--text-sm); }
.lc-form-msg.is-success { color: #1a7f4b; font-weight: 700; }
.lc-form-msg.is-error { color: #c0392b; }
/* 非标定制 FAQ */
.listing-custom-faq { margin-top: 32px; max-width: 860px; }
.listing-custom-faq h3 { margin: 0 0 12px; color: #16365c; font-size: var(--text-lg); }
.listing-custom-faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); margin-bottom: 8px; overflow: hidden; }
.listing-custom-faq-item summary { padding: 12px 16px; cursor: pointer; color: #16365c; font-weight: 700; font-size: var(--text-sm); list-style: none; }
.listing-custom-faq-item summary::after { content: '+'; float: right; color: var(--brand); font-weight: 800; }
.listing-custom-faq-item[open] summary::after { content: '−'; }
.listing-custom-faq-item p { margin: 0; padding: 0 16px 12px; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* 指定资产卡片墙（Hub 区块 A）—— UI V2：去 hover 阴影/位移、去胶囊标签 */
.listing-assets { padding: 56px 0 0; }
.listing-assets .listing-series-heading { margin-bottom: 20px; }
.listing-asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.listing-asset-card { display: flex; gap: var(--space-md); padding: var(--space-md); border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius-md); color: inherit; transition: border-color var(--dur-fast) var(--ease); }
.listing-asset-card:hover { border-color: var(--border-strong); }
.listing-asset-media { flex: 0 0 128px; width: 128px; height: 128px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-subtle); display: flex; align-items: center; justify-content: center; }
.listing-asset-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-asset-noimg { color: var(--text-secondary); font-size: var(--fs-sm); }
.listing-asset-body { flex: 1; min-width: 0; }
.listing-asset-brand { margin: 0; color: var(--text-muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .06em; }
/* UI V2：资产卡标题由 h3 改为 h2（该区块本身无标题，卡片即顶层条目），
   避免出现 h1 → h3 的标题跳级；选择器随之更新，视觉尺寸不变。 */
.listing-asset-body h2 { margin: 4px 0 8px; color: var(--text); font-size: var(--fs-h3); font-weight: 600; }
/* 规格是真实数据（厂商/型号/物料号），保留但去掉胶囊：改为一排低调小字，靠间距分隔 */
.listing-asset-specs { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-bottom: 10px; }
.listing-asset-specs span { color: var(--text-muted); font-size: var(--fs-meta); }
.listing-asset-link { color: var(--brand); font-weight: 500; font-size: var(--fs-sm); }

@media (max-width: 760px) {
  .listing-custom { padding: 44px 0 56px; }
  .listing-custom-grid { grid-template-columns: 1fr; }
  .listing-custom-types { grid-template-columns: 1fr; }
  .listing-custom-form-wrap { grid-template-columns: 1fr; }
  .listing-assets { padding: 40px 0 0; }
  .listing-asset-grid { grid-template-columns: 1fr; }
  .listing-asset-media { flex-basis: 96px; width: 96px; height: 96px; }
}

.model-directory-page { background: var(--bg); }
/* UI V2：与本页 2026-08-26 区块统一走设计令牌 —— hero 改纯色、标题不巨大、去 hover 位移 */
.model-directory-hero,
.model-directory-series-hero { padding: 56px 0 40px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.model-directory-hero h1,
.model-directory-series-hero h1 { margin: 12px 0; color: var(--text); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.model-directory-hero > .container > p:last-of-type,
.model-directory-series-hero > .container > p:last-of-type { max-width: 720px; color: var(--text-secondary); }
.model-directory-kicker { color: var(--brand); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.model-directory-search { display: flex; max-width: 720px; margin-top: var(--space-xl); border: 1px solid var(--border); background: var(--bg-elevated); }
.model-directory-search input { min-width: 0; flex: 1; border: 0; padding: 15px 16px; font: inherit; background: transparent; color: var(--text); }
.model-directory-search input:focus { outline: 2px solid var(--brand-muted); outline-offset: -2px; }
.model-directory-search button { border: 0; padding: 0 22px; background: var(--brand); color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition: background var(--dur-fast) var(--ease); }
.model-directory-search button:hover { background: var(--brand-hover); }
.model-directory-content { padding: var(--space-2xl) 0 72px; }
.model-directory-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-3xl); align-items: start; }
.model-directory-sidebar { position: sticky; top: 88px; border-top: 2px solid var(--border-strong); padding-top: var(--space-md); }
.model-directory-sidebar > p { margin-bottom: var(--space-sm); color: var(--text-muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.model-directory-sidebar nav { display: grid; }
/* UI V2：去掉 hover 时 padding-left 变化（会让整行文字横移） */
.model-directory-brand-link { display: flex; justify-content: space-between; gap: var(--space-sm); padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-weight: 500; transition: color var(--dur-fast) var(--ease); }
.model-directory-brand-link:hover { color: var(--brand); }
.model-directory-brand-link span { color: var(--text-muted); font-size: var(--fs-meta); font-weight: 500; }
.model-directory-brand-panel + .model-directory-brand-panel { margin-top: 72px; }
.model-directory-brand-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--border); margin-bottom: var(--space-lg); padding-bottom: var(--space-sm); }
.model-directory-brand-heading h2 { color: var(--text); font-size: var(--fs-h2); font-weight: 600; }
.model-directory-series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.model-directory-series-card { min-height: 220px; display: flex; flex-direction: column; padding: var(--space-lg); border: 1px solid var(--border); background: var(--bg-elevated); transition: border-color var(--dur-fast) var(--ease); }
.model-directory-series-card:hover { border-color: var(--border-strong); }
.model-directory-series-meta { color: var(--text-muted); font-size: var(--fs-meta); }
.model-directory-series-card h3 { margin: var(--space-sm) 0 2px; color: var(--text); font-size: var(--fs-h3); font-weight: 600; }
.model-directory-model-count { color: var(--brand); font-size: var(--fs-sm); font-weight: 500; }
.model-directory-series-card ul { display: grid; gap: 3px; margin: var(--space-md) 0; color: var(--text-secondary); font-size: var(--fs-sm); }
.model-directory-series-card li a:hover { color: var(--brand); text-decoration: underline; }
.model-directory-explore { margin-top: auto; color: var(--brand); font-size: var(--fs-sm); font-weight: 500; }
.model-directory-explore span { display: inline-block; }
.model-directory-series-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.model-directory-series-facts div { border-left: 2px solid var(--brand); padding-left: var(--space-sm); }
.model-directory-series-facts dt { color: var(--text-muted); font-size: var(--fs-meta); }
.model-directory-series-facts dd { margin: 2px 0 0; color: var(--text); font-weight: 600; }
.model-directory-models { padding: 56px 0; }
.model-directory-section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-lg); }
.model-directory-section-heading h2,
.model-directory-related h2 { color: var(--text); font-size: var(--fs-h2); font-weight: 600; }
.model-directory-section-heading > a { color: var(--brand); font-size: var(--fs-sm); font-weight: 500; }
.model-directory-model-list { border-top: 1px solid var(--border); }
/* UI V2：表格行 hover 不再改变左右内距（原会整行内容横移） */
.model-directory-model-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: var(--space-lg); align-items: center; padding: var(--space-md) 0; border-bottom: 1px solid var(--border); transition: background var(--dur-fast) var(--ease); }
.model-directory-model-row:hover { background: var(--bg-subtle); }
.model-directory-model-preview { width: 88px; height: 72px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-subtle); color: var(--text-muted); font-size: var(--fs-meta); }
.model-directory-model-preview img { width: 100%; height: 100%; object-fit: contain; }
.model-directory-model-main p,
.model-directory-model-main span { color: var(--text-muted); font-size: var(--fs-meta); }
.model-directory-model-main h2 { margin: 2px 0; color: var(--text); font-size: var(--fs-h3); font-weight: 600; }
.model-directory-model-main h2 a:hover { color: var(--brand); }
.model-directory-model-actions { display: grid; justify-items: end; gap: 3px; text-align: right; font-size: var(--fs-sm); }
.model-directory-model-actions strong { color: var(--brand); }
.model-directory-model-actions > span { color: var(--text-muted); font-size: var(--fs-meta); }
.model-directory-model-actions > a { color: var(--text); font-weight: 500; }
.model-directory-model-actions > a:hover { color: var(--brand); }
.model-directory-model-actions .model-directory-quote-link { display: none; color: var(--brand); }
.model-directory-model-row:hover .model-directory-quote-link { display: block; }
.model-directory-related { padding: 48px 0 64px; background: var(--bg-subtle); }
.model-directory-related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
.model-directory-related-links a { display: flex; gap: var(--space-sm); align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font-weight: 500; font-size: var(--fs-sm); transition: border-color var(--dur-fast) var(--ease); }
.model-directory-related-links a:hover { border-color: var(--brand); }
.model-directory-related-links span { color: var(--text-muted); font-size: var(--text-xs); font-weight: 500; }

@media (max-width: 768px) {
  .model-directory-hero,
  .model-directory-series-hero { padding: 44px 0 32px; }
  .model-directory-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .model-directory-sidebar { position: static; overflow-x: auto; padding: 0 0 var(--space-sm); border-top: 0; }
  .model-directory-sidebar nav { display: flex; min-width: max-content; gap: var(--space-sm); }
  .model-directory-brand-link { padding: 8px 12px; border: 1px solid var(--border); background: var(--bg-elevated); }
  .model-directory-brand-panel + .model-directory-brand-panel { margin-top: 48px; }
  .model-directory-series-grid { grid-template-columns: 1fr; }
  .model-directory-series-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-directory-model-row { grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-sm); }
  .model-directory-model-preview { width: 64px; height: 56px; }
  .model-directory-model-actions { grid-column: 2; justify-items: start; text-align: left; }
  .model-directory-model-actions .model-directory-quote-link { display: block; }
  .model-directory-search { display: grid; }
  .model-directory-search button { min-height: 48px; }
  .listing-page-hero { padding: 44px 0 36px; }
  .listing-page-hero > .container > p:last-of-type { font-size: var(--text-base); }
  .listing-series { padding: 44px 0 56px; }
  .listing-series-grid { grid-template-columns: 1fr; }
  .search-page-hero { padding: 44px 0 36px; }
  .search-page-hero h1 + p { font-size: var(--text-base); }
  .search-form { display: grid; }
  .search-form button { min-height: 48px; }
  .search-results { padding: 44px 0 56px; }
  .search-result-card { display: grid; gap: var(--space-sm); }
}

.core-brands,
.popular-models { padding: 64px 0; }

.capabilities { padding: 56px 0; background: var(--bg-subtle); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

/* UI V2：改为「顶部细规线 + 纯文本栏」，不再做成卡片
   （去掉白底/描边/圆角，去掉 hover 位移与阴影） */
.capability-item {
  padding-top: var(--space-md);
  border-top: 2px solid var(--border-strong);
}

.capability-item h3 { margin: 0 0 var(--space-sm); font-size: var(--fs-h3); font-weight: 600; color: var(--text); }
.capability-item p { margin: 0; color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.7; }

/* ---------- 国产化业务（UI V2 新增段） ----------
   与普通产品区略有区分：上下细规线 + 每项左侧规线。
   不做彩色广告、不做卡片、不用品牌蓝铺底
   （保持「品牌蓝 = 这里可以操作」的语义，而非把整块染蓝）。 */
.domestic-programs {
  padding: 56px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.domestic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}
.domestic-item {
  padding-left: var(--space-md);
  border-left: 2px solid var(--border-strong);
}
.domestic-item h3 { margin: 0 0 var(--space-sm); font-size: var(--fs-h3); font-weight: 600; color: var(--text); }
.domestic-item p { margin: 0 0 var(--space-md); color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.7; }
.domestic-link { font-size: var(--fs-sm); font-weight: 500; color: var(--brand); }
.domestic-link:hover { color: var(--brand-hover); }

.core-brands { background: var(--bg-muted); }

.core-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md);
}

.core-brand-link,
.popular-model-link {
  display: block;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease-out), transform var(--ease-out), box-shadow var(--ease-out);
}

.core-brand-link {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}

.core-brand-link img {
  display: block;
  max-height: 96px;
  max-width: 92%;
  object-fit: contain;
  margin: 0 auto;
}

.core-brand-link:hover,
.popular-model-link:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(24, 56, 88, 0.10);
}

.popular-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-md);
}

.popular-model-link { padding: var(--space-md); }
.popular-model-link strong,
.popular-model-link span { display: block; }
.popular-model-link strong { margin-bottom: var(--space-xs); }
.popular-model-link span { color: var(--text-secondary); font-size: var(--text-sm); }

/* 核心产品网格：四类产品以 2 × 2 矩阵呈现，避免末卡孤立换行。 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.product-card-link { display: block; }
/* UI V2：移除 hover 位移（translateY）与图片缩放动效，仅保留描边反馈 */

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease);
}
.product-card-link:hover .product-card {
  border-color: var(--border-strong);
}

/* 真实产品图是视觉主体：加大权重、不做缩放动效 */
.product-image {
  height: clamp(210px, 18vw, 280px);
  overflow: hidden;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.product-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* 分级整改：products.html 的品类卡标题由 h3 升为 h2（首页同名卡片仍是 h3），规格不变 */
.product-details h2,
.product-details h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.product-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  flex: 1 1 auto;          /* 让 CTA 在卡片底部对齐 */
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

/* UI V2：标签不再做成胶囊；胶囊仅保留给真实状态信息。
   （首页已移除全部 spec-tag，此处保留规则以兼容其他页面。） */
.spec-tag {
  font-size: var(--fs-meta);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

.product-application {
  font-size: var(--fs-meta);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.product-link-btn {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
}
.product-card-link:hover .product-link-btn { color: var(--brand-hover); }

/* 次级产品入口：纯文字行，替代原第 5–7 张卡片，保留导航可达性 */
.products-secondary {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.products-secondary a { color: var(--text-secondary); }
.products-secondary a:hover { color: var(--brand); }

/* ---------- Product Detail Layout (product-*.html) ---------- */
.product-detail-layout {
  padding: 60px 0;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Sidebar */
.product-detail-sidebar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* 分级整改：侧栏「品牌目录」是导航区标题，h3 → h2（规格不变） */
.product-detail-sidebar h2,
.product-detail-sidebar h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.brand-catalog-list li {
  margin-bottom: var(--space-xs);
}

.brand-catalog-item {
  display: block;
  padding: 10px 14px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--ease-out);
  border-left: 2px solid transparent;
}
.brand-catalog-item:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
  border-left-color: var(--brand);
}
.brand-catalog-item.active {
  background: var(--brand-muted);
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 600;
}

/* Content area */
.product-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-showcase-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  transition: box-shadow var(--ease-out);
}
.product-showcase-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* 分级整改：品牌块标题由 h4 升为 h2（消除 h2 缺失导致的跳级），规格不变 */
.product-showcase-text h2,
.product-showcase-text h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--text-sm);
}
.product-description p { margin-bottom: var(--space-sm); }

.product-image-wrapper {
  width: 100%;
  height: 360px;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.product-showcase-image {
  position: relative;
}

/* Product image gallery (in product-* pages) */
.product-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.product-image-slot {
  aspect-ratio: 1;
  background: var(--bg-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: all var(--ease-out);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-slot:hover {
  border-color: var(--brand);
  border-style: solid;
}
.product-image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product intro paragraph */
.product-intro {
  background: var(--bg-muted);
  border-left: 3px solid var(--brand);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Product feature cards */
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}
.product-feature-card {
  background: var(--bg-muted);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  transition: border-color var(--ease-out);
}
.product-feature-card:hover {
  border-left-color: var(--brand);
}

/* Product spec tables */
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin: var(--space-lg) 0;
}
.product-spec-table thead th {
  background: var(--bg-muted);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-spec-table tbody td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.product-spec-table tbody tr:nth-child(even) { background: var(--bg-muted); }
.product-spec-table tbody tr:hover { background: var(--brand-muted); }

/* Callout box */
.product-callout {
  background: var(--bg-muted);
  border-left: 3px solid var(--text-primary);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Product back button top-right */
.product-back-btn-top-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--ease-out);
}
.product-back-btn-top-right:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.product-back-btn-top-right svg {
  width: 16px;
  height: 16px;
}

/* ---------- About Page ---------- */
.about { padding: 80px 0; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-text h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}
.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.about-stat {
  text-align: center;
}
.about-stat-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.about-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Honors ---------- */
.honors { padding: 80px 0; background: var(--bg-muted); }

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-lg);
}
.honor-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--ease-out);
}
.honor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(24, 56, 88, 0.10);
}
.honor-placeholder {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ---------- Brands ---------- */
/* UI V2：优势品牌降为从属层级 —— 去掉卡片化（无底色 / 无描边 / 无圆角）、
   去掉 hover 阴影与位移，仅保留统一尺寸的 logo 网格。
   注意：logo 保持原品牌色，不做灰度处理（避免不当使用商标）。 */
.brands { padding: 56px 0; }

.brands-large-wrapper { margin-bottom: var(--space-lg); }

.brands-large-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
}

.brand-item-large {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  width: 100%;
}

.brand-logo { display: flex; align-items: center; justify-content: center; }
.brand-logo img { max-width: 100%; max-height: 52px; object-fit: contain; }

.brands-small-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md) var(--space-lg);
  align-items: center;
  justify-items: center;
}

.brand-item-small {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
}
.brand-logo-small img { max-height: 36px; }

/* ---------- Service Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: var(--text-sm);
}
/* 分级整改：products.html 的服务流程步骤由 h4 升为 h3（.process-step 仅此页使用），规格不变 */
.process-step h3,
.process-step h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.process-step p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact { padding: 80px 0; }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  color: var(--brand);
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}

/* UI V2：contact.html 的三个联系信息标签由 h4 改为 h2（消除 h1→h4 跳级），
   选择器随之更新，视觉尺寸保持不变。 */
.contact-item h2 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}
.contact-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.phone-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: all var(--ease-out);
}
.call-button:hover {
  background: var(--brand-hover);
}
.call-button svg {
  width: 14px;
  height: 14px;
}

/* Contact Form */
.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.required-star { color: var(--error); margin-left: 2px; }

.form-group input,
.form-group textarea,
.form-group select,
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  /* UI V2：原本 transition: all —— 改为只过渡真正会变的属性 */
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--shadow-focus);
}
.form-group input.error {
  border-color: var(--error);
  box-shadow: var(--shadow-focus-error);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form messages —— UI V2：改为「语义色文字 + 左侧规线 + 极浅底」。
   原实现用的是 Tailwind 系浅底，其中 .form-message-info 的文字色属于
   被禁的第二套 SaaS 蓝（具体色值见 Guard 白名单，此处不写字面值以免误命中），
   已随本次改造清零。 */
.form-message {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  transition: opacity var(--dur-fast) var(--ease);
}
.form-message-success { border-left-color: var(--success); color: var(--success); }
.form-message-error { border-left-color: var(--error); color: var(--error); }
.form-message-info { border-left-color: var(--brand); color: var(--brand); }

/* ---------- Map ---------- */
.map-section { margin-top: var(--space-3xl); }

.map-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-wrapper {
  height: 360px;
  overflow: hidden;
}
.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* UI V2：「江苏徐州」由 h4 改为 h3（消除 h2→h4 跳级），视觉尺寸保持不变。 */
.map-info h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text);
}
.map-info p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.map-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.map-link {
  display: block;
  padding: 10px 16px;
  text-align: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: all var(--ease-out);
}
.map-link:hover {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

/* ---------- News ---------- */
.news { padding: 80px 0; }

.news-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}
.news-filter {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-elevated);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease-out);
  font-family: inherit;
}
.news-filter:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.news-filter.active {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.news-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--ease-out);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(24, 56, 88, 0.10);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.news-badge {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: var(--text-xs);
  background: var(--brand-muted);
  color: var(--brand);
  font-weight: 500;
}

.news-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.news-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.news-actions {
  display: flex;
  justify-content: flex-end;
}

/* 新闻卡片 / 加载更多
   注：这两处的 <svg> 只有 viewBox、没有 width/height，而全站没有通用 svg 尺寸规则，
   导致图标在 flex 行内不受控地占宽，把「阅读详情」「加载更多」挤成逐字竖排。
   这里给图标定死尺寸并禁止换行。 */
.news-link,
.news-load-more { white-space: nowrap; }
.news-link svg,
.news-load-more svg { width: 16px; height: 16px; flex: 0 0 auto; }
.news-link { flex: 0 0 auto; }

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand);
  transition: gap var(--ease-out);
}
.news-link:hover { gap: 8px; }

/* 新闻分页（news-more）：真实 <a href="?page=N">，无 JS 也能跟、爬虫可收录 */
.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  font-size: var(--text-sm);
}

.news-pager[hidden] { display: none; }

.news-pager-total {
  color: var(--text-muted);
  margin-right: var(--space-sm);
}

.news-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color var(--ease-out), color var(--ease-out);
}

.news-page-link:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.news-page-link.is-current {
  border-color: var(--text-primary);
  color: var(--text-primary);
  font-weight: 600;
}

.news-page-link.is-disabled {
  color: var(--text-muted);
  pointer-events: none;
}

.news-page-gap {
  color: var(--text-muted);
  padding: 0 2px;
}

.news-load-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  border: none;
  cursor: pointer;
  transition: all var(--ease-out);
  font-family: inherit;
}
.news-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---------- Image Modal (honors/about) ---------- */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.image-modal-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: background var(--ease-out);
}
.image-modal-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Footer ---------- */
/* 低噪声：3 列 + 一条品牌入口行；无阴影、无卡片、无装饰 */
.footer {
  padding: 56px 0 24px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

/* 分级整改（2026-09-27）：页脚是页面级 section，分组标题由 h3/h4 升为 h2/h3，
   消除 h1 →（页脚）h3 的跳级。级别变了，视觉规格按「角色」保持不变：
   h2 沿用原 h3 规格，h3 沿用原 h4 规格。 */
.footer-section h2 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.footer-section h3,
.footer-section h4 {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.footer-section p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

.footer-section ul li { margin-bottom: var(--space-sm); }

.footer-section a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--ease-out);
}
.footer-section a:hover { color: var(--brand); }

/* 重点品牌入口：纯文字行，不做卡片、不做彩色 logo 墙 */
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.footer-brands a {
  font-family: 'Segoe UI', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-secondary);
}
.footer-brands a:hover { color: var(--brand); }

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: var(--fs-meta);
  color: var(--text-muted);
}

/* ---------- Scroll Animations ---------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* UI V2：补上平滑滚动与 transform 的禁用（此前缺失） */
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: var(--text-3xl); }
  .product-detail-container { grid-template-columns: 200px 1fr; }
  .product-showcase-card { grid-template-columns: 1fr; }
  .product-image-wrapper { height: 280px; }
  .brands-large-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-small-grid { grid-template-columns: repeat(4, 1fr); }
  /* 核心产品：桌面与平板均保持完整的 2 × 2 矩阵。 */
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 64px;
    flex-direction: column;
    background: var(--bg-elevated);
    width: 100%;
    text-align: center;
    padding: var(--space-xl);
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: left var(--ease-in-out);
  }
  .nav-menu.active { left: 0; }
  .nav-menu li { padding: var(--space-md) 0; }
  .nav-language { padding-left: 0; border-left: 0; }
  .nav-menu .admin-login-btn { justify-content: center; }

  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: var(--text-2xl); }
  .hero p { font-size: var(--text-base); }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
  }
  .product-detail-sidebar {
    position: static;
    max-height: none;
  }
  .brand-catalog-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  .brand-catalog-list li { margin-bottom: 0; }
  .brand-catalog-item { padding: 8px 12px; font-size: var(--text-xs); }

  .map-container { grid-template-columns: 1fr; }
  .map-wrapper { height: 240px; }

  .footer-content { grid-template-columns: 1fr; gap: var(--space-xl); }

  .products-grid { grid-template-columns: 1fr; }
  .domestic-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

  .core-brands-grid { grid-template-columns: repeat(3, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }

  .brands-large-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-small-grid { grid-template-columns: repeat(3, 1fr); }

  .process-steps { grid-template-columns: 1fr; }

  .news-layout { grid-template-columns: 1fr; }

  .page-header { padding: 60px 0 40px; }
  .page-header h1 { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: var(--text-xl); }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .model-search-form { flex-direction: column; }
  .model-search-form button { width: 100%; }
  .core-brands-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }

  .section-header h1,
  .section-header h2 { font-size: var(--text-xl); }

  .brands-large-grid { grid-template-columns: 1fr; }
  .brands-small-grid { grid-template-columns: repeat(2, 1fr); }

  .honors-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================================== */
/* UI Phase 1 — shared home header and model-first hero (zh + en)            */
/* ========================================================================== */
/* UI V2 — 共享 Header（zh + en）
   工业 B2B 气质：纯白底、细底线、稳定高度、克制动效。
   禁止：玻璃拟态、大阴影、导航高度变形、hover 位移与下划线扫过动画。 */
.site-header.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header .nav-wrapper {
  min-height: 64px;
  height: auto;
  gap: var(--space-xl);
}

.site-logo { flex: 0 0 auto; min-width: 148px; }
.site-logo-link { display: inline-flex; flex-direction: column; gap: 1px; color: var(--text); }
.site-logo-name { font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0.06em; line-height: 1.15; }
.site-logo-subtitle { color: var(--text-muted); font-family: 'Segoe UI', sans-serif; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.14em; }

.site-header .nav-menu {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(14px, 2vw, 29px);
}

.site-header .nav-link,
.site-header .nav-products-toggle {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.site-header .nav-products-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-family: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-header .nav-products-toggle span { color: var(--text-muted); transition: transform var(--ease-out); }
.site-header .nav-products-item:hover .nav-products-toggle span,
.site-header .nav-products-item.open .nav-products-toggle span { transform: rotate(180deg); }
.site-header .nav-link:hover,
.site-header .nav-products-toggle:hover { color: var(--brand); }

/* 当前页指示：静态 2px 下划线，不做 hover 扫过动画 */
.site-header .nav-link.active::after,
.site-header .nav-products-toggle.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--brand);
  border-radius: var(--radius-xs);
}

.nav-products-item { position: relative; }
.nav-mega-menu {
  position: absolute;
  top: 100%;
  left: -28px;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) minmax(205px, 1fr);
  width: 530px;
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast) var(--ease);
}
.nav-products-item:hover .nav-mega-menu,
.nav-products-item:focus-within .nav-mega-menu,
.nav-products-item.open .nav-mega-menu { opacity: 1; visibility: visible; }
.nav-mega-categories { padding-right: 22px; border-right: 1px solid var(--border); }
.nav-mega-label { margin: 0 0 12px; color: var(--text-muted); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.1em; }
.nav-mega-categories a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--text); font-size: var(--fs-sm); font-weight: 500; }
.nav-mega-categories a span { color: var(--text-muted); font-family: 'Segoe UI', sans-serif; font-size: var(--fs-meta); font-weight: 400; }
.nav-mega-categories a:hover, .nav-mega-brand-list a:hover { color: var(--brand); }
.nav-mega-brands { padding-left: 22px; }
.nav-mega-brand-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.nav-mega-brand-list a { color: var(--text-secondary); font-family: 'Segoe UI', sans-serif; font-size: var(--fs-sm); font-weight: 500; }
.nav-mega-search { display: inline-flex; gap: 6px; margin-top: var(--space-lg); padding-top: 11px; color: var(--brand); border-top: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; }
.nav-mega-search:hover { color: var(--brand-hover); }

.nav-actions { display: flex; align-items: center; gap: var(--space-md); flex: 0 0 auto; }
.nav-search-button { display: inline-grid; width: 34px; height: 34px; place-items: center; color: var(--text-secondary); border: 1px solid transparent; border-radius: var(--radius-sm); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.nav-search-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.nav-search-button:hover { color: var(--brand); border-color: var(--border-strong); background: var(--bg-subtle); }
.nav-language-switch { display: inline-flex; gap: 4px; color: var(--text-muted); font-family: 'Segoe UI', sans-serif; font-size: var(--fs-meta); white-space: nowrap; }
.nav-language-switch strong { color: var(--text); }
.nav-quote-button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 500; transition: background var(--dur-fast) var(--ease); white-space: nowrap; }
.nav-quote-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.nav-mobile-actions { display: none; }

/* UI V2 Hero：极浅纯色背景（取消 linear/radial 渐变与光晕伪元素），
   标题不巨大（原作者 clamp 上限 4.7rem ≈ 75px，超出简报 64px 上限），产品图为主体。 */
.home-hero.hero {
  min-height: 0;
  padding: 64px 0;
  overflow: hidden;
  text-align: left;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.home-hero .hero-content { max-width: 620px; margin: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--brand); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.14em; }
.hero-eyebrow::before { width: 24px; height: 1px; background: currentColor; content: ''; }
.home-hero .hero-content h1 { margin: 0; color: var(--text); font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; }
.home-hero .hero-content h1 span { display: block; }
.home-hero .hero-intro { max-width: 555px; margin: 22px 0 0; color: #526983; font-size: 1.04rem; line-height: 1.85; }

.home-hero .model-search-panel { max-width: 584px; margin: 27px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.home-hero .model-search-copy h2 { color: #1b3551; font-size: 0.94rem; font-weight: 800; }
.home-hero .model-search-copy p { display: none; }
.home-hero .model-search-form { gap: 0; max-width: 584px; margin-top: 10px; overflow: hidden; border: 1px solid #cbd7e3; background: #fff; box-shadow: 0 9px 24px rgba(28, 52, 84, 0.07); }
.home-hero .model-search-form input { height: 54px; padding: 0 17px; border: 0; border-radius: 0; font-size: 0.92rem; }
.home-hero .model-search-form input:focus { box-shadow: inset 0 0 0 2px #2b70af; }
.home-hero .model-search-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 130px; padding: 0 18px; color: #fff; border: 0; border-radius: 0; background: #1b5f9d; }
.home-hero .model-search-form button:hover { background: #124d85; }
.home-hero .model-search-links { flex-wrap: wrap; gap: 9px 13px; margin-top: 12px; color: #73849a; font-size: 0.75rem; }
.home-hero .model-search-links span { color: var(--text-muted); }
.home-hero .model-search-links a { color: #315d8d; border-bottom: 1px solid transparent; }
.home-hero .model-search-links a:hover { border-color: currentColor; }
.home-hero .hero-buttons { justify-content: flex-start; margin-top: 27px; }
.home-hero .btn { border-radius: var(--radius-btn); }
.home-hero .btn-primary { background: #174f92; }
.home-hero .btn-primary:hover { background: #0f417d; box-shadow: none; }
.home-hero .btn-primary span { transition: transform var(--ease-out); }
.home-hero .btn-primary:hover span { transform: translateX(4px); }
.home-hero .btn-outline { border-width: 1px; border-color: #8fa4ba; color: #2e4968; }
.home-hero .btn-outline:hover { background: #2e4968; color: #fff; }

/* UI V2 Hero：产品图作为唯一视觉主体。
   已删除：hero-product-orbit（装饰光环 + 44px/90px 光晕）、
   hero-callout 全套（4 个悬浮标签）、hero-capability-bar 全套（带 01–04 编号的卖点条，
   与下方「核心能力」段重复）、stage 的 radial-gradient 与 blur 装饰伪元素。 */
.hero-product-stage { position: relative; display: grid; min-height: 420px; place-items: center; }
.hero-product-image { position: relative; z-index: 1; width: min(100%, 520px); max-height: 430px; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(18, 42, 70, 0.14)); }

@media (max-width: 1024px) {
  .site-header .nav-menu { gap: 14px; }
  .site-header .nav-link, .site-header .nav-products-toggle { font-size: 0.79rem; }
  .nav-actions { gap: 10px; }
  .nav-quote-button { padding-inline: 10px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); }
}

@media (max-width: 768px) {
  .site-header .nav-wrapper { min-height: 64px; }
  .site-logo { min-width: 0; }
  .site-logo-name { font-size: var(--fs-h3); }
  .site-header .nav-actions { display: none; }
  .site-header .hamburger { display: flex; }
  .site-header .nav-menu { position: absolute; top: 100%; left: 0; display: none; width: 100%; max-height: calc(100vh - 64px); padding: 8px 24px 20px; overflow-y: auto; background: var(--bg-elevated); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-pop); text-align: left; }
  .site-header .nav-menu.active { display: block; }
  .site-header .nav-menu > li { padding: 0; border-bottom: 1px solid var(--border); }
  .site-header .nav-menu > li:last-child { border-bottom: 0; }
  .site-header .nav-link, .site-header .nav-products-toggle { display: flex; width: 100%; justify-content: space-between; padding: 15px 0; color: var(--text); font-size: var(--fs-body); }
  .nav-products-item { position: static; }
  .nav-mega-menu { position: static; display: none; grid-template-columns: 1fr; width: auto; padding: 0 0 16px; border: 0; box-shadow: var(--shadow-none); opacity: 1; visibility: visible; }
  .nav-products-item:hover .nav-mega-menu, .nav-products-item:focus-within .nav-mega-menu { display: none; }
  .nav-products-item.open .nav-mega-menu { display: grid; }
  .nav-mega-categories, .nav-mega-brands { padding: 8px 0 0; border: 0; }
  .nav-mega-brands { padding-top: 16px; }
  .nav-mega-categories a { padding: 9px 0; font-size: var(--fs-sm); }
  .nav-mega-brand-list { gap: 10px 14px; }
  .nav-mega-search { margin-top: 18px; }
  .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 18px 0 2px !important; border-bottom: 0 !important; }
  .nav-mobile-actions a { display: grid; min-height: 44px; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); font-size: var(--fs-meta); font-weight: 500; }
  .nav-mobile-actions .nav-mobile-quote { color: #fff; border-color: var(--brand); background: var(--brand); }

  .home-hero.hero { min-height: 0; padding: 47px 0 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
  .home-hero .hero-content { max-width: 100%; }
  .home-hero .hero-content h1 { font-size: clamp(2.28rem, 11vw, 3.35rem); }
  .home-hero .hero-intro { margin-top: 18px; font-size: .96rem; line-height: 1.75; }
  .home-hero .model-search-panel { max-width: none; margin-top: 24px; }
  .hero-product-stage { min-height: 345px; margin-top: -9px; }
  .hero-product-image { width: min(100%, 405px); max-height: 330px; }
  .hero-product-stage::after { display: none; }
  .hero-product-stage::before { right: 5%; bottom: 9%; width: 90%; }
  .hero-product-stage::marker { display: none; }
}

@media (max-width: 480px) {
  .site-header .container, .home-hero .container { padding-inline: 18px; }
  .site-logo-subtitle { font-size: .625rem; }   /* UI V2：原 .5rem = 8px 过小，移动端最低 10px */
  .home-hero.hero { padding-top: 35px; }
  .hero-eyebrow { margin-bottom: 13px; font-size: .65rem; }
  .home-hero .hero-content h1 { font-size: 2.42rem; }
  .home-hero .model-search-form { display: flex; flex-direction: column; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .home-hero .model-search-form input { min-height: 52px; border: 1px solid #cbd7e3; box-shadow: 0 7px 18px rgba(28, 52, 84, .06); }
  .home-hero .model-search-form button { min-height: 48px; margin-top: 8px; }
  .home-hero .model-search-links { gap: 7px 12px; line-height: 1.6; }
  .home-hero .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; margin-top: 23px; }
  .home-hero .hero-buttons .btn { width: 100%; padding: 12px 8px; font-size: .86rem; }
  .hero-product-stage { min-height: 286px; }
  .hero-product-image { width: min(100%, 330px); max-height: 285px; }
}

/* UI V2 — header 保持纯白稳定，不再用半透明叠色 */
.site-header.navbar {
  background: var(--bg);
  border-bottom-color: var(--border);
}

/* UI V2：取消 Phase 1 的增强渐变与超高首屏 */
.home-hero.hero {
  min-height: 0;
  padding: 64px 0;
  background: var(--bg-subtle);
}
.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
}
.home-hero .hero-content h1 {
  max-width: 560px;
  color: #102a43;
  font-size: clamp(3.15rem, 4.2vw, 4.2rem);
  font-weight: 750;
  letter-spacing: -0.052em;
  line-height: 1.055;
}
.hero-eyebrow {
  margin-bottom: 21px;
  color: #3975ab;
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: .11em;
}
.home-hero .hero-intro {
  max-width: 535px;
  margin-top: 25px;
  color: #526579;
  font-size: 1.05rem;
  line-height: 1.72;
}
.home-hero .model-search-panel { margin-top: 36px; }
.home-hero .model-search-copy h2 { margin-bottom: 12px; color: #183854; font-size: .97rem; }
.home-hero .model-search-form {
  min-height: 61px;
  border-color: rgba(35, 74, 112, .20);
  box-shadow: 0 8px 24px rgba(24, 56, 88, .075);
}
.home-hero .model-search-form input { height: 61px; padding-inline: 19px; color: #244764; background: #fff; }
.home-hero .model-search-form button { min-width: 142px; background: #2168a6; }
.home-hero .model-search-form button:hover { background: #16588f; }
.home-hero .model-search-links { margin-top: 15px; }
.home-hero .hero-buttons { gap: 12px; margin-top: 31px; }
.home-hero .btn-lg { min-height: 46px; padding: 11px 18px; font-size: .91rem; }
.home-hero .btn-primary { background: #1e619b; }
.home-hero .btn-outline { color: #224765; border-color: #9db5cd; background: rgba(255, 255, 255, .52); }

/* UI V2：此段原为 Phase 1 的 hero 增强（装饰光环 + 鼠标追踪 transform +
   mix-blend-mode + 4 个悬浮标签 + capability-bar 圆角卡片），
   因简报 §5/§14 禁止发光、鼠标追踪与卡片化，已整体删除。
   产品图规则见上方 .hero-product-image。 */

/* Phase 1 only establishes a calm background for the existing Brands block. */
.core-brands { background: #f7f9fc; }
.core-brands .section-header h2 { color: #102a43; }
.core-brands .section-subtitle { color: var(--text-muted); }
.core-brands .core-brand-link { color: #173654; background: #fff; border-color: #e0e7ef; box-shadow: none; }

@media (max-width: 1024px) {
  .home-hero.hero { min-height: 660px; padding-top: 74px; }
  .hero-layout { grid-template-columns: minmax(0, .87fr) minmax(390px, 1.13fr); gap: 32px; }
  .home-hero .hero-content h1 { font-size: clamp(2.8rem, 5.2vw, 3.75rem); }
  .hero-product-image { width: min(112%, 560px); max-height: 460px; }
}

@media (max-width: 768px) {
  .home-hero.hero { min-height: 0; padding-top: 49px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .home-hero .hero-content h1 { font-size: clamp(2.4rem, 10vw, 3.3rem); line-height: 1.07; }
  .home-hero .hero-intro { max-width: 550px; margin-top: 20px; }
  .home-hero .model-search-panel { margin-top: 28px; }
  .hero-product-stage { min-height: 380px; margin-top: 4px; }
  .hero-product-image { width: min(110%, 455px); max-height: 390px; transform: translate(0, 0); }
}

@media (max-width: 480px) {
  .home-hero.hero { padding-top: 39px; }
  .home-hero .hero-content h1 { font-size: clamp(2.35rem, 10.6vw, 2.75rem); }
  .hero-eyebrow { font-size: .75rem; }   /* UI V2：原 .72rem = 11.5px，补到 12px 下限 */
  .home-hero .hero-intro { font-size: .93rem; }
  .home-hero .model-search-panel { margin-top: 25px; }
  .home-hero .model-search-form input { min-height: 58px; height: 58px; }
  .hero-product-stage { min-height: 310px; }
  .hero-product-image { width: min(111%, 355px); max-height: 315px; }
}

/* ========================================================================== */
/* UI 交互增强                                                               */
/* ========================================================================== */

/* 键盘焦点可见性：Tab 聚焦时给可交互元素清晰的描边 */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn:focus-visible,
.nav-quote-button:focus-visible,
.nav-link:focus-visible,
.nav-search-button:focus-visible,
.call-button:focus-visible,
.news-load-more:focus-visible,
.news-filter:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 按钮按下反馈（触感） */
.btn:active { transform: translateY(0) scale(0.97); }
.nav-quote-button:active { transform: translateY(0) scale(0.97); }
.model-search-form button:active { transform: scale(0.97); }

/* 返回顶部按钮（JS 动态注入） */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e0eb;
  border-radius: 50%;
  background: #ffffff;
  color: #244a6b;
  box-shadow: 0 6px 18px rgba(33, 63, 93, .14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s ease-out, background 0.2s ease-out, color 0.2s ease-out;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #174f92; color: #fff; border-color: #174f92; }
.back-to-top:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
@media (max-width: 768px) { .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; } }

/* ============================================================
   黄金产品详情页（Golden Product Detail Page）
   实验模板：/products/moog/d661-4506
   设计原则：静止时专业克制，鼠标触碰有反馈；不破坏 SSR 与 SEO。
   ============================================================ */

.pd-page {
  padding-top: 4px;
}
.pd-page .pd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.pd-page .pd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;              /* 触控目标下限（WCAG 2.2 AA） */
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}
.pd-page .pd-breadcrumb a:hover { color: var(--brand); }
/* 国产化业务入口链接同样补足触控高度 */
.pd-alt-entry-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--brand);
  font-weight: 500;
  font-size: var(--fs-sm);
}
.pd-alt-entry-link:hover { color: var(--brand-hover); }
.pd-breadcrumb-sep { color: var(--border-hover); }

/* ── Hero：左 Gallery / 右 Purchase ── */
.pd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); /* ≈52% / 48% */
  gap: var(--space-2xl);
  align-items: start;
  padding: 12px 0 var(--space-2xl);
}

/* ── Gallery ── */
.pd-gallery { min-width: 0; }
/* UI V2：图台改纯色（取消渐变）并去掉双层阴影；产品图仍保持 contain 不拉伸 */
.pd-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
}
.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;           /* 保持产品原始比例，严禁拉伸 */
  display: block;
  transform: scale(var(--pd-zoom-s, 1));
  transition: transform var(--dur-panel) var(--ease);
  will-change: transform;
}
.pd-main-img.pd-img-swapping { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .pd-stage:hover .pd-main-img:not(.pd-img-pending) { --pd-zoom-s: 1.06; }
}
.pd-main-img.pd-img-pending {
  background: var(--bg-muted);
}
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.pd-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 64px;
  display: grid;
  place-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color var(--ease-out), transform var(--ease-out), box-shadow var(--ease-out), opacity var(--ease-out);
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pd-thumb:hover { border-color: var(--border-hover); }
.pd-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-muted);
}
.pd-thumb.is-pending { opacity: .55; border-style: dashed; }
.pd-thumb.is-pending img { opacity: .8; }
.pd-thumb-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  background: var(--brand-muted);
  border-color: var(--brand-muted);
}
.pd-thumb-link:hover { border-color: var(--brand); color: var(--brand); }
.pd-thumb-link-icon { font-size: 1rem; line-height: 1; }
.pd-stage-note {
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

/* ── Purchase Panel ── */
/* UI V2：采购信息栏用细描边界定，不再用双层阴影抬起 */
.pd-purchase {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
}
.pd-title {
  font-size: var(--fs-h2);
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.pd-title-brand {
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.pd-title-model {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}
.pd-title-type {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--text-secondary);
}
/* UI V2：系列标签不再做成胶囊 */
.pd-series-chip {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.pd-price {
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-price-value {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.25;
}
.pd-price-note {
  margin-top: 6px;
  font-size: var(--fs-meta);
  line-height: 1.55;
  color: var(--text-muted);
}
.pd-status {
  margin: 14px 0 0;
  padding: 0;
}
.pd-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.pd-status-row:last-child { border-bottom: 0; }
.pd-status-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pd-status-value {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.pd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.pd-status-dot-ok { background: var(--success); }
.pd-status-dot-muted { background: var(--text-muted); opacity: .55; }

/* CTA —— UI V2：去掉 hover 上浮与按钮发光（简报禁止发光/位移） */
.pd-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.pd-btn-primary,
.pd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pd-btn-primary {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}
.pd-btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.pd-btn-secondary {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}
.pd-btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.pd-btn-primary:focus-visible,
.pd-btn-secondary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.pd-btn-primary:disabled { opacity: .65; cursor: wait; }

/* Trust bar */
.pd-trust {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pd-trust li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}
.pd-trust-check { color: var(--success); font-weight: 600; }

/* ── 区块通用 ── */
.pd-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 84px;
}
.pd-section:first-of-type { border-top: 0; }
.pd-section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-md);
  letter-spacing: .01em;
}

/* 产品信息（SEO 语义区） */
.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  overflow: hidden;
}
.pd-info-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.pd-info-item dt {
  flex: 0 0 96px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.pd-info-item dd {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}
@media (min-width: 769px) {
  .pd-info-item:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 768px) {
  .pd-info-item { border-right: 0; }
  .pd-info-item:last-child { border-bottom: 0; }
}

/* 技术参数 */
.pd-specs {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}
.pd-specs th,
.pd-specs td {
  padding: 12px 18px;
  text-align: left;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.pd-specs tr:last-child th,
.pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th {
  width: 34%;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-muted);
}
.pd-specs td { color: var(--text-primary); }
.pd-spec-unit { color: var(--text-muted); font-size: var(--text-xs); margin-left: 4px; }
@media (max-width: 640px) {
  .pd-specs tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .pd-specs tr:last-child { border-bottom: 0; }
  .pd-specs th,
  .pd-specs td { display: block; width: 100%; padding: 2px 0; border-bottom: 0; }
  .pd-specs th { background: transparent; }
}

/* 描述 */
.pd-prose {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 860px;
}

/* 应用领域 —— UI V2：去胶囊、去 hover 位移 */
.pd-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-app-chip {
  padding: 5px 11px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pd-app-chip:hover { border-color: var(--brand); color: var(--brand); }

/* 液压测试支持 */
.pd-testing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}
.pd-testing-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pd-test-photo {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease);
}
.pd-test-photo:hover { border-color: var(--border-strong); }
.pd-test-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.pd-test-photo img.pd-img-pending { object-fit: contain; background: var(--bg-muted); }
.pd-test-photo figcaption {
  padding: 8px 12px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.pd-pending-hint { color: var(--text-muted); }
.pd-test-photo.has-photo .pd-pending-hint { display: none; }
.pd-testing-copy p {
  margin: 0 0 12px;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--text-secondary);
}
.pd-text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--brand);
  font-weight: 500;
  font-size: var(--fs-sm);
}
.pd-text-link:hover { text-decoration: underline; }

/* 铭牌询价模块 */
.pd-nameplate { scroll-margin-top: 84px; }
.pd-nameplate-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}
.pd-nameplate-copy .pd-section-title { margin-bottom: 6px; }
.pd-nameplate-copy p { margin: 0; color: var(--text-secondary); font-size: var(--fs-sm); }
.pd-nameplate-note {
  margin-top: 10px;
  font-size: var(--fs-meta);
  color: var(--text-muted);
}
.pd-nameplate-btn { width: auto; min-width: 210px; flex: none; }

/* 相关型号 */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.pd-related-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}
/* UI V2：去掉 hover 上浮与阴影，只留描边反馈 */
.pd-related-card:hover {
  border-color: var(--border-strong);
}
.pd-related-brand {
  margin: 0;
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pd-related-model {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text);
}
.pd-related-category {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.pd-related-price {
  margin: 6px 0 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand);
}
.pd-related-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.pd-related-card:hover .pd-related-link { color: var(--brand-hover); }

/* 询价区 */
.pd-inquiry { scroll-margin-top: 84px; }
.pd-inquiry-head { margin-bottom: var(--space-md); }
.pd-inquiry-chip-label {
  margin: 0 0 6px;
  font-size: var(--fs-meta);
  color: var(--text-muted);
}
.pd-inquiry-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* UI V2：询价 chips 是真实状态（正在询的品牌/型号/类别），保留但不再做成胶囊 */
.pd-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-xs);
  background: var(--brand-muted);
  color: var(--brand);
  border: 1px solid transparent;
}
.pd-chip-brand { background: var(--text); color: #fff; }
.pd-chip-model { background: var(--brand); color: #fff; }
.pd-chip-category { background: var(--bg-subtle); color: var(--text-secondary); border-color: var(--border); }
.pd-inquiry-hint {
  margin: 8px 0 0;
  font-size: var(--fs-meta);
  color: var(--text-muted);
}
.pd-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  padding: var(--space-lg) var(--space-xl);
}
.pd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.pd-field { min-width: 0; }
.pd-field-wide { grid-column: 1 / -1; }
.pd-field label {
  display: block;
  margin-bottom: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
}
.pd-field input,
.pd-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--bg);
  box-sizing: border-box;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.pd-field input:focus,
.pd-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: var(--shadow-focus);
}
.pd-field textarea { resize: vertical; min-height: 92px; }
.pd-attach-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--ease-out), color var(--ease-out), background var(--ease-out);
}
.pd-attach-label:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-muted); }
.pd-attach-icon { font-size: 1.05rem; line-height: 1; }
.pd-attach-files {
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  word-break: break-all;
}
.pd-attach-files:empty { display: none; }
.pd-attach-hint {
  margin: 6px 0 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.pd-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-md);
}
.pd-form-actions .pd-btn-primary { width: auto; min-width: 200px; }
.pd-inquiry-msg {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pd-inquiry-msg.is-success { color: var(--success); font-weight: 600; }
.pd-inquiry-msg.is-error { color: var(--error); }

/* ── Mobile Sticky CTA ── */
.pd-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg);                     /* UI V2：去掉半透明，改纯色 */
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
}
.pd-sticky-cta .pd-btn-primary { width: 100%; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .pd-hero { gap: var(--space-lg); }
  .pd-purchase { padding: var(--space-lg); }
}
@media (max-width: 900px) {
  .pd-hero { grid-template-columns: 1fr; }
  .pd-testing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* 移动端顺序：产品图 → 品牌+型号 → 价格 → 状态 → CTA → …（DOM 顺序天然满足） */
  .pd-sticky-cta { display: block; }
  .pd-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.has-pd-sticky .back-to-top { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .pd-title-type { font-size: var(--text-base); }
  .pd-testing-photos { grid-template-columns: 1fr 1fr; }
  .pd-nameplate-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-nameplate-btn { width: 100%; }
  .pd-form { padding: var(--space-md); }
  .pd-form-grid { grid-template-columns: 1fr; }
  .pd-form-actions { flex-direction: column; align-items: stretch; }
  .pd-form-actions .pd-btn-primary { width: 100%; }
  .pd-info-item dt { flex-basis: 84px; }
}
@media (max-width: 480px) {
  .pd-thumb { flex-basis: 64px; width: 64px; height: 54px; }
  .pd-trust { grid-template-columns: 1fr; }
  .pd-testing-photos { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-main-img,
  .pd-related-card,
  .pd-btn-primary,
  .pd-btn-secondary,
  .pd-thumb,
  .pd-app-chip { transition: none; }
  .pd-stage:hover .pd-main-img { --pd-zoom-s: 1; }
}
/* ===== Model Directory (型号中心) optimization 2026-08-26 =====
   UI V2：本块原引入第二套 SaaS 蓝（Tailwind 系高饱和蓝，色值见 Guard 白名单）
   与胶囊、hover 阴影。现已全部改为设计令牌，禁止色清零。 */
.model-directory-hero-compact { padding-block: clamp(24px, 4vw, 44px); }
.model-directory-hero-compact .breadcrumb { margin-bottom: 12px; }
.model-directory-hero-compact .hero-eyebrow { margin-bottom: 6px; }
.model-directory-hero-compact h1 { margin-bottom: 8px; }
.model-directory-hero-compact p { margin-bottom: 0; }
.model-directory-hero-compact .model-directory-search { margin-top: 16px; }
.model-directory-layout { display: flex; gap: 32px; align-items: flex-start; }
.model-directory-sidebar { flex: 0 0 190px; position: sticky; top: 96px; }
.model-directory-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.model-directory-brand-link { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-left: 3px solid transparent; color: var(--text-secondary); text-decoration: none; font-size: var(--fs-sm); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.model-directory-brand-link span { color: var(--text-muted); font-size: var(--fs-meta); font-variant-numeric: tabular-nums; }
.model-directory-brand-link:hover { background: var(--brand-subtle); color: var(--brand); }
.model-directory-brand-link.is-active { border-left-color: var(--brand); background: var(--brand-subtle); color: var(--brand); font-weight: 600; }
.model-directory-brand-link.is-active span { color: var(--brand); }
.model-directory-panels { flex: 1 1 auto; min-width: 0; }
/* UI V2：移动端品牌筛选条 —— 保留横向滚动（移动端常见模式），
   但恢复可见的细滚动条 + 右侧留白，让「还有更多」可被察觉
   （原实现 scrollbar-width:none + ::-webkit-scrollbar{display:none}，
   内容被截断却没有任何提示）。 */
.model-directory-chips { display: none; gap: 8px; overflow-x: auto; padding-block: 4px 10px; margin-bottom: 4px; scrollbar-width: thin; }
.model-directory-chips::-webkit-scrollbar { height: 4px; }
.model-directory-chips::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
/* UI V2：品牌筛选 chips 去胶囊 */
.model-directory-chip { flex: 0 0 auto; padding: 7px 13px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); border-radius: var(--radius-sm); font-size: var(--fs-sm); cursor: pointer; white-space: nowrap; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.model-directory-chip:hover { border-color: var(--border-strong); color: var(--brand); }
.model-directory-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.model-directory-series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.model-directory-series-card { position: relative; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); min-height: 0; transition: border-color var(--dur-fast) var(--ease); }
/* UI V2：去掉 hover 阴影，只留描边反馈 */
.model-directory-series-card:hover { border-color: var(--border-strong); }
.model-directory-series-meta { margin-bottom: 4px; font-size: var(--fs-meta); color: var(--text-muted); }
.model-directory-series-count { display: inline-block; font-size: var(--fs-meta); color: var(--text-muted); margin-bottom: 8px; }
.model-directory-series-card h3 { margin: 0 0 10px; font-size: var(--fs-h3); font-weight: 600; }
.model-directory-model-list { list-style: none; margin: 0 0 12px; padding: 0; }
.model-directory-model-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--brand); text-decoration: none; font-size: var(--fs-sm); transition: background var(--dur-fast) var(--ease); }
.model-directory-model-link:hover { background: var(--brand-subtle); color: var(--brand-hover); }
/* UI V2：箭头不再做 hover 位移 */
.model-directory-model-link [aria-hidden="true"] { opacity: .45; font-weight: 500; transition: opacity var(--dur-fast) var(--ease); }
.model-directory-model-link:hover [aria-hidden="true"] { opacity: 1; }
.model-directory-explore { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); font-weight: 500; color: var(--brand); text-decoration: none; }
.model-directory-explore:hover { color: var(--brand-hover); }

/* ---------- 型号中心侧边栏：品牌 logo + 主次分组（UI V2） ----------
   原来只是「品牌名 + 数量」的文字列表，看不出主次。现在分三层：
     · 全部型号        —— 控件（不是品牌，保留文字）
     · 重点品牌        —— 品牌 logo，尺寸更大（主）
     · 自有品牌 / 其他 —— 字标或小号文字，用品牌蓝与弱化色区分（次）
   logo 保持原品牌色，不做灰度（避免不当使用商标）。 */
.model-directory-sidebar .mdb-group {
  margin: 14px 0 4px;
  padding-left: 2px;
  color: var(--text-muted);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: .1em;
}
.model-directory-sidebar .model-directory-brand-link { align-items: center; gap: 10px; padding: 8px 10px; }
.model-directory-brand-link.is-all { margin-bottom: 2px; }
.model-directory-brand-link .mdb-all-name { color: var(--text-secondary); font-size: var(--fs-sm); font-weight: 500; }
.model-directory-brand-link .mdb-logo {
  display: block;
  width: auto;
  max-width: 104px;
  height: 18px;
  object-fit: contain;
}
.model-directory-brand-link.is-core .mdb-logo { height: 22px; max-width: 116px; }
.model-directory-brand-link .mdb-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-xs);
  color: var(--brand);
  font-family: 'Segoe UI', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.model-directory-brand-link .mdb-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: var(--fs-meta);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.model-directory-brand-link.is-core .mdb-count,
.model-directory-brand-link.is-own .mdb-count { color: var(--text-secondary); }
.model-directory-brand-link.is-active .mdb-count { color: var(--brand); font-weight: 600; }

@media (max-width: 860px) {
  .model-directory-layout { display: block; }
  .model-directory-sidebar { display: none; }
  .model-directory-chips { display: flex; }
  .model-directory-series-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── 非标定制转化模块（蓄能器型号页）──
   把「型号参数不符」的访客导向非标定制，是引流→转化的最后一段闭环。 */
.pd-custom-teaser { border: 1px solid var(--border); border-left: 4px solid var(--brand); background: var(--bg-elevated); border-radius: var(--radius-md); padding: var(--space-lg); }
.pd-custom-teaser .pd-section-title { margin-top: 0; }
.pd-custom-teaser-body { margin: 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.75; }
.pd-custom-teaser-types { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 0; list-style: none; }
.pd-custom-teaser-types li { color: #16365c; font-size: var(--text-sm); font-weight: 600; }
.pd-custom-teaser-types li::before { content: '·'; margin-right: 8px; color: var(--brand); font-weight: 800; }
.pd-custom-teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; }
.pd-custom-teaser-actions .pd-btn-primary { text-decoration: none; display: inline-block; }
.pd-custom-teaser-note { margin: 12px 0 0; color: var(--text-muted); font-size: var(--text-xs); }
@media (max-width: 640px) {
  .pd-custom-teaser { padding: var(--space-md); }
  .pd-custom-teaser-actions { flex-direction: column; align-items: stretch; }
  .pd-custom-teaser-actions .pd-btn-primary { text-align: center; }
}

/* ── 区块 A 占位卡：还没有指定资产时用类型说明撑住资产墙 ──
   刻意不生成型号页：不编型号、不编参数、不造薄页。 */
.listing-asset-card.is-placeholder { border-style: dashed; background: var(--bg-muted, #f7f9fc); }
.listing-asset-card.is-placeholder:hover { border-color: var(--brand); transform: none; }
.listing-asset-card.is-placeholder .listing-asset-media { display: flex; align-items: center; justify-content: center; min-height: 88px; }
.listing-asset-placeholder-desc { margin: 8px 0 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.65; }
.listing-asset-placeholder-note { margin: 16px 0 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }

/* ── 国产替代：对应原厂型号免责声明（仅在 replacementModels 有值时渲染）── */
.pd-replacement-note { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--brand); background: var(--bg-elevated); color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.65; }

/* ── 蓄能器「选型式」定制表单（定制优先；替代原来的单备注栏）── */
.listing-custom-form { display: block; align-self: start; }
.lc-group-title { margin: 0 0 10px; color: #16365c; font-size: var(--text-base); font-weight: 700; }
.lc-group-title:not(:first-child) { margin-top: 22px; }
.lc-group-title span { margin-left: 10px; color: var(--text-muted); font-size: var(--text-xs); font-weight: 400; }
.lc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lc-field { display: flex; flex-direction: column; gap: 4px; }
.lc-field label { color: #16365c; font-size: var(--text-sm); font-weight: 600; }
.lc-field .lc-unit { color: var(--text-muted); font-weight: 400; }
.lc-field .lc-hint { color: var(--text-muted); font-size: var(--text-xs); }
.lc-field input, .lc-field select, .lc-field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text-primary); font: inherit; font-size: var(--text-sm); }
.lc-field input:focus, .lc-field select:focus, .lc-field textarea:focus { outline: 2px solid var(--brand-muted); outline-offset: -2px; }
.lc-field-wide { grid-column: 1 / -1; }
.lc-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.lc-form-msg { font-size: var(--text-sm); color: var(--text-secondary); }
.lc-form-msg.is-success { color: #1a7f4b; font-weight: 700; }
.lc-form-msg.is-error { color: #c0392b; }
/* 定制优先：Hub 上定制区块排在标准品之前，视觉上也要更醒目 */
.listing-custom { border-top: 3px solid var(--brand); }
@media (max-width: 900px) { .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lc-grid { grid-template-columns: 1fr; } .lc-group-title span { display: block; margin: 4px 0 0; } }

/* ── 蓄能器 Hub 首屏：业务定位 + 双业务入口（国产标准型号 / 非标定制）──
   用户要求：桌面端与移动端首屏都要看到两个 CTA，层级清楚，不弹窗打扰。
   层级做法：主 CTA 实心（标准型号，页面主体入口），次 CTA 描边（非标定制）。
   段落样式沿用 `.listing-page-hero > .container > p:last-of-type`（hero 里最后一个 p 就是说明段）。 */
.listing-page-tagline { margin: 14px 0 0; color: var(--brand); font-size: var(--text-lg); font-weight: 700; letter-spacing: .01em; }
.listing-page-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.listing-cta { display: inline-flex; align-items: center; gap: 6px; padding: 13px 22px; border: 2px solid var(--brand); border-radius: var(--radius-sm); background: transparent; color: var(--brand); font-size: var(--text-base); font-weight: 700; text-decoration: none; transition: background var(--ease-out), color var(--ease-out), transform var(--ease-out); }
.listing-cta:hover { transform: translateY(-1px); }
.listing-cta.is-primary { background: var(--brand); color: #fff; }
.listing-cta.is-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.listing-cta:not(.is-primary):hover { background: var(--brand-muted); }
.listing-cta span { transition: transform var(--ease-out); }
.listing-cta:hover span { transform: translateX(4px); }

/* 标准型号区块说明：让客户看清这是「已发布的标准型号」，而不是可定制参数的清单 */
.listing-assets-note { max-width: 880px; margin: -6px 0 22px; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.75; }

/* 非标定制区块：小标题与说明行 */
.listing-custom-subtitle { margin: 28px 0 10px; color: #16365c; font-size: var(--text-lg); }
.listing-custom-note { margin: 14px 0 0; color: var(--text-muted); font-size: var(--text-sm); line-height: 1.75; }

/* 附件上传（铭牌 / 照片 / 图纸）：文件按钮要走原生控件，样式只做外观统一 */
.lc-field input[type="file"] { padding: 9px 11px; background: var(--bg-muted); cursor: pointer; }
.lc-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: #16365c; font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.lc-field input[type="file"]::-webkit-file-upload-button { margin-right: 12px; padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: #16365c; font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.lc-file-list { margin: 6px 0 0; padding: 0; list-style: none; }
.lc-file-list li { color: var(--text-secondary); font-size: var(--text-xs); line-height: 1.8; }

/* 移动端（375 / 390 / 430）：H1 收一号，两个 CTA 竖排满宽，避免拥挤 */
@media (max-width: 620px) {
  .listing-page-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .listing-page-tagline { font-size: var(--text-base); }
  .listing-page-ctas { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
  .listing-cta { width: 100%; justify-content: center; }
}

/* ============================================================
   UI V2 移动端可达性修正（第 10 步 Mobile 验收）
   实测 375 / 390 / 430 三档：横向溢出均为 0，无超视口元素。
   但一批「独立文字链接」实测高度仅 20–21px，低于
   WCAG 2.2 SC 2.5.8 (AA) 的 24×24 CSS px 目标下限。
   桌面端维持原样（鼠标场景不需要 24px），仅在触屏断点补足。
   ============================================================ */
@media (max-width: 768px) {
  /* 原本是行内链接：补 display 以便垂直居中 */
  .model-search-links a,
  .footer-brands a,
  .listing-page-hero .breadcrumb a,
  .listing-asset-link {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
  }
  /* 已是 flex 容器的链接：只补最小高度，不改 display，
     否则会破坏它们依赖的 space-between 布局 */
  .listing-series-card li a,
  .listing-related-links a,
  .model-directory-brand-link,
  .model-directory-model-link,
  .model-directory-explore,
  .pd-text-link,
  .pd-related-link {
    min-height: 24px;
  }
}

/* ---------- 标题分级整改的视觉补偿（2026-09-27） ----------
   本轮按「角色」上调了 309 个标题级别，消除 h1→h3、h2→h4 跳级。
   下列元素的字号原来只来自浏览器默认值（h3 = 1.17rem、h4 = 1rem），
   或原来只被「旧级别」的规则命中；升级后会落到别的规则上，这里把原规格钉回去，
   保证整改只改语义、不改外观（等价性由 工具/验分级视觉等价.js 实测把关）。
   放在文件末尾：与既有选择器同特异性时，后者生效。 */

/* 品牌卡标题：h4 → h2 */
.brands-grid .brand-item h2 {
  font-size: 1rem;
  font-weight: 700;
}

/* about.html 的「公司名」原为 h3；升为 h2 后会被首页的 .about-text h2 命中，
   这里限定到加了 about-text-company 的本页容器，恢复原规格 */
.about-text.about-text-company h2 {
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 0;
}
.about-text.about-text-company h3 {
  font-size: 1rem;
  font-weight: 700;
}
.about-philosophy h2 {
  font-size: 1.17rem;
  font-weight: 700;
}

/* ---------- 新闻详情页：文章排版 ----------
   2026-09-28 从 news-detail.html 的局部 <style> 抽到共用样式（英文新闻详情页也要用），
   同时修掉两个线上问题：
   ① 原规则用的是 UI V2 已删除的遗留 token（--primary-color / --bg-light / --text-light /
      --border-color / --text-color / --accent-color），浏览器把整条声明判为无效 ——
      实测线上：概览块底透明、页头分隔线 0px、标题与「返回」都没有强调色、标签无底色。
      这里映射到现有 token：--brand / --bg-subtle / --bg-muted / --text-muted / --border / --text。
   ② 白色卡片 0 2px 10px 阴影 + 10px 圆角、标签 12px 胶囊，与 V2 规范冲突（V2：--shadow-none、
      6px 圆角、低装饰、不要大圆角卡片），按 V2 收敛。 */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.article-title {
  font-size: var(--fs-h1);
  color: var(--text);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.article-meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.article-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-meta);
  font-weight: 500;
}

.article-overview {
  background: var(--bg-subtle);
  padding: var(--space-lg);
  border-left: 3px solid var(--brand);
  margin: var(--space-xl) 0;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body { line-height: 1.8; color: var(--text); font-size: var(--fs-body); }
.article-body h2,
.article-body h3 { color: var(--text); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.article-body h2 { font-size: var(--fs-h2); }
.article-body h3 { font-size: var(--fs-h3); }
.article-body p { margin-bottom: var(--space-lg); }
.article-body ul { margin-bottom: var(--space-lg); padding-left: var(--space-xl); }
.article-body li { margin-bottom: var(--space-xs); }
.article-body code {
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: .9em;
}
.article-body pre {
  background: var(--bg-muted);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: var(--space-lg);
}
.article-body pre code { background: none; padding: 0; }
.article-body blockquote {
  border-left: 3px solid var(--border-strong);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
}
.article-body a { color: var(--brand); text-decoration: underline; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: var(--space-lg) 0; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: var(--fs-meta);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--brand);
  text-decoration: none;
  margin-bottom: var(--space-xl);
  font-weight: 500;
}
.article-back:hover { color: var(--text); }

/* 英文新闻详情页（SSR）的外层排版 */
.en-article { padding: var(--space-2xl) 0; }
.en-article .article-body { max-width: 900px; margin: 0 auto; }
.en-article-meta { color: var(--text-muted); font-size: var(--fs-sm); max-width: 900px; margin: 0 auto var(--space-sm); }
.en-article-overview {
  max-width: 900px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand);
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.8;
}
.en-article-back { max-width: 900px; margin: var(--space-2xl) auto 0; }
.en-article-back a { color: var(--brand); font-size: var(--fs-sm); font-weight: 500; }

/* ---------- 文章互动：点赞 / 留言（2026-09-28） ---------- */
.article-social {
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.article-like-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

.article-like-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 40px;
  padding: 0 var(--space-md);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--ease-out), color var(--ease-out), background var(--ease-out);
}
.article-like-btn:hover { border-color: var(--brand); color: var(--brand); }
.article-like-btn.is-liked { border-color: var(--brand); color: var(--brand); background: var(--bg-subtle); }
.article-like-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.article-like-btn[disabled] { cursor: default; opacity: .65; }

.article-like-count { color: var(--text-muted); font-size: var(--fs-sm); }

.article-comments { margin-top: var(--space-2xl); }
.article-comments-title { font-size: var(--fs-h3); color: var(--text); margin-bottom: var(--space-md); }
.article-comment-count { color: var(--text-muted); font-weight: 400; }

.article-comment-form {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}
.article-comment-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.article-comment-form label { display: block; margin-bottom: 6px; color: var(--text-secondary); font-size: var(--fs-sm); }
.article-comment-form input,
.article-comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-body);
}
.article-comment-form input:focus,
.article-comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--shadow-focus); }
.article-comment-form textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.article-comment-form .form-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.article-comment-form .hint { color: var(--text-muted); font-size: var(--fs-meta); }

.article-comment-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 40px;
  padding: 0 var(--space-lg);
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
}
.article-comment-submit[disabled] { cursor: default; opacity: .6; }

.article-form-msg { font-size: var(--fs-sm); }
.article-form-msg.is-ok { color: var(--success); }
.article-form-msg.is-error { color: var(--error); }

.article-comment-list { list-style: none; display: grid; gap: var(--space-md); padding: 0; margin: 0; }
.article-comment {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.article-comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm); margin-bottom: 6px; }
.article-comment-name { color: var(--text); font-size: var(--fs-sm); font-weight: 600; }
.article-comment-company { color: var(--text-muted); font-size: var(--fs-meta); }
.article-comment-date { margin-left: auto; color: var(--text-muted); font-size: var(--fs-meta); }
.article-comment-body { color: var(--text-secondary); font-size: var(--fs-body); line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.article-comments-empty { padding: var(--space-md) 0; color: var(--text-muted); font-size: var(--fs-sm); }

@media (max-width: 640px) {
  .article-comment-form .field-row { grid-template-columns: 1fr; }
  .article-comment-date { margin-left: 0; }
  .article-content { padding: var(--space-lg); }
}

/* ---------- 首页「产品品类 / Product Categories」2026-10-06 ----------
   仅在首页该区块生效（.products-categories），不影响 pages/products.html
   等其它页面已有的 2 列 .products-grid 用法。
   桌面 3 × 2、平板 2 × 3、手机 1 列：6 个真实品类完整展示，不固定高、
   不隐藏、不截断；品类数量再增加时网格自动换行。
   图片统一 800×600（4:3）纯白底精修图；容器锁定 4:3 提前占位，
   图片 contain 不裁切，不依赖 object-fit 伪装修图结果。 */
.products-categories .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products-categories .product-image {
  height: auto;
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products-categories .product-image .image-placeholder { height: 100%; }
.products-categories .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 1024px) {
  .products-categories .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .products-categories .products-grid { grid-template-columns: 1fr; }
}

/* Public site stays light regardless of OS theme. */
:root{color-scheme:only light!important}
