/* ═══════════════════════════════════════════════════════
   CQKSGs — v8.0.1 Trust & Authority
   B2B 工业配件专业风格 · Navy/Steel + 品牌橙强调
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* ═══ Primary: Industrial Navy ═══ */
  --navy-950:  #020617;   /* 最深：文字 */
  --navy-900:  #0f172a;   /* 极深蓝：页头/页脚 */
  --navy-800:  #1e293b;   /* 深灰蓝：次要深色 */
  --navy-700:  #334155;   /* 灰蓝：辅助 */
  --navy-600:  #475569;   /* 中灰蓝 */

  /* ═══ Accent: Steel Blue CTA ═══ */
  --steel-700: #0369a1;   /* 主CTA：钢蓝 */
  --steel-600: #0284c7;   /* 悬停态 */
  --steel-500: #0ea5e9;   /* 高亮 */
  --steel-100: #e0f2fe;   /* 极淡蓝背景 */
  --steel-50:  #f0f9ff;   /* 微蓝背景 */

  /* ═══ Semantic Aliases ═══ */
  --blue-900:  var(--navy-900);
  --blue-800:  var(--navy-800);
  --blue-700:  var(--steel-700);
  --blue-600:  var(--steel-600);
  --blue-500:  var(--steel-500);
  --blue-400:  #7dd3fc;
  --blue-300:  #bae6fd;
  --blue-200:  var(--steel-100);
  --blue-100:  var(--steel-50);
  --blue-50:   #f8fafc;

  --sky:         var(--steel-500);
  --sky-light:   #7dd3fc;
  --sky-lighter: #bae6fd;
  --indigo:      var(--steel-700);
  --indigo-light: var(--steel-600);
  --violet:      var(--steel-600);
  --teal:        var(--steel-700);
  --teal-dark:   var(--navy-800);
  --teal-deeper: var(--navy-900);
  --teal-light:  var(--steel-100);

  /* ═══ Accent: Industrial Orange ═══ */
  --orange:      #ea580c;
  --orange-hover:#c2410c;
  --orange-light:#fff7ed;

  /* ═══ Neutrals ═══ */
  --white:       #ffffff;
  --bg:          #f8fafc;
  --bg-cool:     #f1f5f9;
  --border:      #e2e8f0;
  --text:        #1e293b;
  --text-heading: #0f172a;
  --text-secondary: #475569;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;

  /* ═══ Glass / Effects (minimal, subtle) ═══ */
  --glass-bg:    rgba(255,255,255,0.92);
  --glass-bg-strong: rgba(255,255,255,0.97);
  --glass-border: rgba(226,232,240,0.8);
  --glass-blur:  12px;

  /* ═══ Shadows (neutral, subtle) ═══ */
  --shadow-xs:   0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.08), 0 3px 10px rgba(0,0,0,.04);
  --shadow-xl:   0 20px 50px rgba(0,0,0,.1), 0 6px 16px rgba(0,0,0,.05);

  /* ═══ Layout ═══ */
  --radius:      3px;
  --radius-lg:   5px;
  --radius-xl:   7px;
  --font:        system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  --max-w:       1200px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --transition:  .2s var(--ease);
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
/* ─── Typography ────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
h4 { font-size: .95rem; color: var(--text-secondary); }

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--teal); color: var(--white); }

/* ─── Layout Primitives ─────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 2.5rem 0; }
.section-sm { padding: 1.75rem 0; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header .label {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .6rem;
  padding: .25rem 1rem; background: var(--teal-light); border-radius: 1px;
}
.section-header h2 { margin-bottom: .5rem; }
.section-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.01em; margin-bottom: .5rem; }
.section-header h2 em { font-style: normal; color: var(--teal); }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: .92rem; line-height: 1.7; }
.text-center { text-align: center; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .65rem 1.6rem; font-size: .82rem; font-weight: 600;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
  font-family: var(--font); white-space: nowrap; letter-spacing: .01em;
}
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-hover); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-ghost { background: var(--teal-light); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); }
.btn-sm { padding: .4rem 1rem; font-size: .72rem; }
.btn-lg { padding: .75rem 2.2rem; font-size: .92rem; border-radius: var(--radius-lg); }

/* ─── Site Header / Nav ──────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.logo-icon { transition: opacity .2s; }
.logo:hover .logo-icon { opacity: .85; }
.logo-mark {
  width: 36px; height: 36px; background: var(--teal);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: .85rem; letter-spacing: -.02em;
}
.logo-text {
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  letter-spacing: -.02em; line-height: 1;
}
.logo-sub {
  font-size: .62rem; color: var(--text-muted); letter-spacing: .04em; font-weight: 400;
  display: block; margin-top: 1px;
}

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a {
  color: var(--text-secondary); font-size: .85rem; font-weight: 500;
  padding: .25rem .6rem; border-radius: var(--radius);
  transition: all var(--transition); position: relative;
}
.main-nav a:hover { color: var(--text); background: var(--orange-light); }
.main-nav a.active { color: var(--orange); background: var(--orange-light); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-search { position: relative; }
/* page-home header search kept visible for unified search experience */
.header-search input {
  width: 220px; padding: .45rem .75rem .45rem 2.2rem;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-size: .78rem; font-family: var(--font);
  border-radius: var(--radius); outline: none; transition: all var(--transition);
}
.header-search input::placeholder { color: var(--text-light); }
.header-search input:focus { background: var(--white); border-color: var(--steel-500); box-shadow: 0 0 0 3px rgba(3,105,161,.1); width: 260px; }
.header-search .search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); display: flex; pointer-events: none;
}
.header-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  padding: 4px; display: none;
}
.header-search button:hover { color: #4a7ab5; }

.search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); max-height: 320px; overflow-y: auto;
  display: none; z-index: 200; border: 1px solid var(--border);
}
.search-dropdown.show { display: block; }
.search-dropdown a {
  display: block; padding: .65rem 1rem; font-size: .78rem; color: var(--text);
  border-bottom: 1px solid var(--bg); transition: background var(--transition);
}
.search-dropdown a:last-child { border-bottom: none; }
.search-dropdown a:hover { background: var(--teal-light); color: var(--teal); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 1px; transition: all var(--transition); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 10% 10%, rgba(3,105,161,.35) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 90% 20%, rgba(2,132,199,.25) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #0c4a6e 70%, #0369a1 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  padding: 0;
}
.hero-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 2rem 3rem;
  gap: 2rem;
}
.hero-text {
  flex: 0 0 480px;
  max-width: 480px;
  z-index: 1;
}
.hero-visual {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 520px;
  height: 400px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual canvas {
  width: 100%; height: 100%;
  display: block;
}
/* subtle glow at bottom edge — no hard boundary */
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(3,105,161,.06));
  pointer-events: none;
}
.hero .label {
  display: inline-block; font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 600;
  margin-bottom: 1.2rem; padding: .3rem 1rem;
  background: rgba(255,255,255,.12); border-radius: var(--radius);
}
.hero h1 {
  color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -.02em; line-height: 1.15; margin-bottom: .8rem;
}
.hero-desc { font-size: .95rem; color: rgba(255,255,255,.65); max-width: 480px; line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ─── Stats Bar ──────────────────────────────────────── */
.stats-strip { margin-top: 0; position: relative; z-index: 2; }
.stats-inner {
  display: flex; justify-content: center; align-items: stretch;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); width: fit-content; margin: 0 auto;
  overflow: hidden;
}
.stat-item { text-align: center; padding: 2rem 3rem; flex: 1; min-width: 180px; }
.stat-item + .stat-item { border-left: 1px solid var(--bg); }
.stat-num { font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -.02em; }
.stat-lbl { font-size: .88rem; color: var(--text); margin-top: .3rem; font-weight: 600; }
.stat-desc { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }

/* ─── Value Props ─────────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.value-card {
  text-align: center; padding: 2rem 1.5rem; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s; position: relative; display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-xs);
}
.value-card:hover { border-color: var(--teal); background: var(--glass-bg-strong); }
.value-icon {
  width: 56px; height: 56px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; border-radius: var(--radius); color: var(--teal);
  transition: all var(--transition);
}
.value-card:hover .value-icon { background: var(--teal); color: var(--white); }
.value-icon svg { width: 24px; height: 24px; }
.value-card h4 { font-size: .92rem; margin-bottom: .4rem; color: var(--text); font-weight: 700; }
.value-card p { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── Category Cards (moved to dedicated grid) ─── */

/* ─── Brand Strip (moved to compact variant) ─── */

/* ─── Product Cards ──────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s var(--ease);
  box-shadow: var(--shadow-xs);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-500);
}
.product-card-img {
  height: 180px; background: var(--bg); display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: .8rem; transition: transform .4s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img .no-img { font-size: 2.5rem; color: #ccc; }
.product-card-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; min-height: 110px; }
.product-card-brand {
  font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: .3rem;
}
.product-card-title {
  font-size: .74rem; font-weight: 700; margin-bottom: .15rem; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all;
  flex: 0 0 auto; max-height: 2.7em; padding-right: .3rem;
}
.product-card-title a { color: var(--text); }
.product-card-title a:hover { color: var(--teal); }
.product-card-sku { font-size: .68rem; color: var(--text-muted); margin-bottom: .6rem; }
.product-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: .5rem; border-top: 1px solid rgba(0,0,0,0.04); }
.product-card-footer .btn { padding: .3rem .8rem; font-size: .7rem; }
.inquiry-tag { color: var(--orange); font-weight: 700; font-size: .75rem; }

/* ─── Quick Links (removed, use hero-search-tags) ─── */

/* ─── News Cards ────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-xs);
}
.news-card:hover { border-color: var(--steel-500); box-shadow: var(--shadow-md); }
.news-card-img {
  height: 180px; background: var(--bg); display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.2rem; }
.news-card-cat { font-size: .6rem; letter-spacing: .1em; color: var(--teal); text-transform: uppercase; font-weight: 700; margin-bottom: .4rem; }
.news-card h3 { font-size: .92rem; margin-bottom: .35rem; line-height: 1.45; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--teal); }
.news-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .6rem; }
.news-card-date { font-size: .68rem; color: var(--text-light); }

/* ─── CTA Block ─────────────────────────────────────── */
.cta-block {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 20% 10%, rgba(30,77,140,.55) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 80% 30%, rgba(22,61,112,.45) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 90%, rgba(26,79,138,.35) 0%, transparent 50%),
    linear-gradient(135deg, #0c2340 0%, #163d70 25%, #1e4d8c 50%, #2d5f9e 100%);
  padding: 5rem 0; text-align: center;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 80%, rgba(30,77,140,.3) 0%, transparent 70%);
}
.cta-block .container { position: relative; z-index: 1; }
.cta-block h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.cta-block p { color: rgba(255,255,255,.75); max-width: 520px; margin: .4rem auto 2rem; font-size: .92rem; line-height: 1.7; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(30,77,140,.55) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 90% 20%, rgba(22,61,112,.45) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(26,79,138,.35) 0%, transparent 50%),
    linear-gradient(135deg, #0c2340 0%, #163d70 25%, #1e4d8c 50%, #2d5f9e 100%);
  color: rgba(255,255,255,.7); padding: 4rem 0 0; margin-top: 0;
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-col h4 { color: var(--white); font-size: .88rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: .02em; }
.footer-col a {
  display: block; color: rgba(255,255,255,.4); font-size: .82rem;
  margin-bottom: .45rem; transition: color var(--transition); line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: .8rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-logo { margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.footer-logo .logo-mark {
  width: 32px; height: 32px; background: var(--teal);
  border-radius: 1px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: .7rem;
}
.footer-logo .logo-text { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.footer-bottom { padding: 1.5rem 0; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.06); text-align: center; }
.footer-bottom p { font-size: .72rem; color: rgba(255,255,255,.35); }

/* ─── Float Buttons ──────────────────────────────────── */
.float-sidebar {
  position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .6rem; z-index: 50;
}
.float-btn-item {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none; border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; color: #fff;
}
.float-btn-item::before {
  content: attr(data-tooltip);
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.8); color: #fff; padding: 6px 12px;
  border-radius: 3px; font-size: 13px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn-item::after {
  content: ''; position: absolute; right: calc(100% + 4px); top: 50%;
  transform: translateY(-50%); border: 5px solid transparent;
  border-left-color: rgba(0,0,0,.8); opacity: 0;
  transition: opacity .2s; pointer-events: none;
}
.float-btn-item:hover::before,
.float-btn-item:hover::after { opacity: 1; }
.float-btn-item:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.float-btn-item:active { transform: scale(.95); }

.phone-btn { background: linear-gradient(135deg, #e87810, #d4690e); }
.phone-btn:hover { background: linear-gradient(135deg, #f08a2a, #e87810); }
.chat-btn { background: linear-gradient(135deg, #16836e, #126b5a); }
.chat-btn:hover { background: linear-gradient(135deg, #1a9b82, #16836e); }
.top-btn { background: linear-gradient(135deg, #666, #555); opacity: 0; pointer-events: none; }
.top-btn.visible { opacity: 1; pointer-events: auto; }
.top-btn:hover { background: linear-gradient(135deg, #888, #666); }

/* Mobile: bottom horizontal layout */
@media (max-width: 768px) {
  .float-sidebar {
    left: 0; right: 0; top: auto; bottom: 0;
    transform: none; flex-direction: row;
    justify-content: center; gap: 2rem;
    padding: .7rem 1rem;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(21,42,74,.08);
    z-index: 90;
  }
  .float-btn-item { 
    width: 48px; height: 48px; 
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
  }
  .float-btn-item::before, .float-btn-item::after { display: none; }
  /* Ensure top button works on mobile */
  .top-btn { transition: opacity .3s, transform .3s; }
  .top-btn.visible { transform: none; }
}

/* Hide chat bubble on desktop, show on mobile */
@media (min-width: 769px) {
  .ai-chat-bubble { display: none !important; }
}
@media (max-width: 768px) {
  .ai-chat-bubble { 
    display: none !important; /* Hidden because sidebar has chat button */
  }
}

/* ─── Hero Slider ───────────────────────────────────── */
.hero-slider { max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 0; }
.slider-track { display: flex; transition: transform .5s ease-in-out; }
.slider-track .slide { min-width: 100%; }
.slider-track .slide img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.slider-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s; border: 1px solid rgba(0,0,0,.15); }
.slider-dots .dot.active { background: var(--orange); border-color: var(--orange); }
@media (max-width: 768px) { .slider-track .slide img { max-height: 200px; } }

/* ─── Breadcrumbs ────────────────────────────────────── */
.breadcrumb-line { background: var(--white); border-bottom: 1px solid var(--border); padding: .6rem 0; }
.breadcrumb-line .container { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-line a { color: var(--text-muted); }
.breadcrumb-line a:hover { color: var(--teal); }
.breadcrumb-line span { color: var(--text-light); }

/* ─── Pagination ─────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .6rem;
  font-size: .78rem; background: var(--white); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition); font-weight: 500;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--teal); color: var(--white); border-color: var(--teal); }
.pagination .dots { border: none; color: var(--text-light); }

/* ─── Filter Bar ──────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  padding: .8rem 0; margin-bottom: 1rem;
}
.filter-bar select, .filter-bar input {
  padding: .45rem .8rem; background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text); font-size: .78rem; font-family: var(--font);
  min-width: 130px; border-radius: var(--radius); outline: none;
  transition: border-color var(--transition);
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,94,59,.06); }

/* ─── Detail Page ─────────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 420px 1fr; gap: 3rem; padding: 2rem 0; align-items: start; }
.detail-gallery {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(36px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.5) !important;
  border-radius: var(--radius-xl); padding: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 280px; border: 1px solid var(--glass-border) !important; position: sticky; top: 90px;
  box-shadow: var(--shadow-xs);
}
.detail-main-img { width: 100%; display: flex; align-items: center; justify-content: center; }
.detail-main-img img { max-height: 360px; max-width: 100%; object-fit: contain; }
.detail-main-img.no-img { height: 300px; background: var(--bg); border-radius: var(--radius); }
.detail-main-img.no-img svg { width: 120px; height: 120px; opacity: .15; }
.detail-img-hint { font-size: .65rem; color: var(--text-muted); margin-top: .6rem; }

/* Thumbnail strip */
.detail-thumbs { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.detail-thumb { 
  width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; 
  border: 2px solid var(--border); cursor: pointer; opacity: .6; transition: all var(--transition);
}
.detail-thumb:hover, .detail-thumb.active { opacity: 1; border-color: var(--teal); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info column */
.detail-info { padding: .5rem 1rem; }
.detail-info h1, .detail-title { font-size: 1.35rem; margin: 0 0 .3rem; padding: 0; color: var(--text-heading); font-weight: 700; line-height: 1.4; word-break: break-word; }
.detail-brand { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: .6rem; display: inline-block; padding: .2rem .8rem; background: var(--teal-light); border-radius: 1px; }
.detail-sku { font-size: .88rem; color: var(--text-muted); margin-bottom: .8rem; }
.detail-sku strong { color: var(--text-heading); font-size: 1rem; letter-spacing: .5px; }

/* Top CTA buttons */
.detail-actions-top { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.detail-actions-top .btn { padding: .45rem 1rem; font-size: .78rem; }
.detail-actions-top .btn svg { width: 14px; height: 14px; }

/* ── Right-side sections ── */
.detail-section { margin-bottom: 1.5rem; }
.detail-section-title { 
  font-size: .78rem; color: var(--text-heading); font-weight: 700; 
  margin-bottom: .6rem; padding-bottom: .4rem; border-bottom: 2px solid var(--teal);
  display: flex; align-items: baseline; gap: .3rem;
}
.detail-section-title span { color: var(--text-muted); font-weight: 400; font-size: .7rem; }

/* Basic specs table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: .55rem .3rem; vertical-align: top; }
.spec-table .spec-label { 
  width: 80px; font-size: .72rem; color: var(--text-muted); font-weight: 600; 
  white-space: nowrap; padding-right: .5rem;
}
.spec-table .spec-value { font-size: .82rem; color: var(--text-heading); font-weight: 500; word-break: break-word; }

/* ─── Product Detail Spec Section (Crystal Sky) ─── */
.spec-section {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(36px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.5) !important;
  border: 1px solid var(--glass-border) !important;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.spec-title {
  font-size: .9rem;
  font-weight: 800;
  color: var(--teal);
  padding-bottom: .6rem;
  margin-bottom: .8rem;
  border-bottom: 2px solid var(--teal);
  letter-spacing: .05em;
}
.detail-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.detail-actions .btn {
  flex: 1;
  text-align: center;
  padding: .6rem 1rem;
}

/* ─── Detail Content Section ─── */
.detail-content {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(36px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.5) !important;
  padding: 1.5rem;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.detail-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}
.detail-content p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.explosion-image {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
}
.explosion-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
}
.sub-parts-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sub-parts-section h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}
.text-orange {
  color: var(--orange);
  font-weight: 600;
}
.text-muted {
  color: var(--text-muted);
  font-size: .8rem;
}

/* Engine tags */
.engine-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.engine-tag {
  padding: .25rem .7rem; font-size: .68rem; background: var(--teal-light);
  color: var(--teal); border-radius: 1px; font-weight: 600;
  transition: all var(--transition); text-decoration: none;
}
.engine-tag:hover { background: var(--teal); color: var(--white); }
.engine-more { background: transparent; color: var(--text-muted); cursor: default; }
.engine-more:hover { background: transparent; color: var(--text-muted); }

/* ── 详细说明 Full-width Section ── */
.detail-section-header { text-align: center; margin-bottom: 2rem; }
.detail-section-header .label { 
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; 
  color: var(--teal); font-weight: 700; margin-bottom: .4rem; display: block; 
}
.detail-section-header h2 { font-size: 1.5rem; color: var(--text-heading); margin: 0; }
.detail-table-wrap { 
  overflow-x: auto; background: var(--white); border-radius: var(--radius-xl); 
  box-shadow: var(--shadow-sm); padding: .5rem 0;
}

/* Detailed data table */
.detail-data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.detail-data-table thead th {
  text-align: left; padding: .7rem 1rem; font-size: .7rem; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted); font-weight: 700;
  background: var(--bg); border-bottom: 2px solid var(--border);
}
.detail-data-table tbody td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.detail-data-table tbody tr:last-child td { border-bottom: none; }
.detail-data-table .rd-time { 
  white-space: nowrap; font-weight: 600; color: var(--text-heading); 
  min-width: 80px; font-size: .8rem;
}
.detail-data-table .engines-detail { 
  font-size: .75rem; color: var(--text-secondary); line-height: 1.6; max-width: 500px; 
}
.detail-data-table .name-en { 
  font-weight: 600; color: var(--teal); font-size: .82rem; min-width: 140px;
}

/* Sub-parts table */
.subparts-table .col-qty {
  width: 60px; text-align: center; white-space: nowrap;
}
.subparts-table .col-partno {
  width: 120px; white-space: nowrap;
}
.subparts-table .col-partname {
  min-width: 200px; max-width: 40%;
}
.subparts-table .partno { font-family: 'SF Mono', 'Consolas', monospace; font-size: .78rem; font-weight: 600; color: var(--text-heading); }
.subparts-table .partname { font-size: .8rem; color: var(--text-secondary); word-break: break-word; }

/* Status badges */
.badge { display: inline-block; padding: .15rem .5rem; border-radius: 1px; font-size: .65rem; font-weight: 700; }
.badge-yes { background: #e8f5e9; color: #2e7d32; }
.badge-no { background: #f5f5f5; color: #999; }

/* Mini order button */
.btn-order-sm { 
  display: inline-block; padding: .2rem .6rem; font-size: .68rem; font-weight: 600;
  background: var(--teal); color: var(--white); border-radius: var(--radius); 
  text-decoration: none; transition: all var(--transition);
}
.btn-order-sm:hover { background: var(--teal-dark); }

/* Legacy classes (keep for compatibility) */
.detail-specs { display: none; }
.spec-row { display: none; }
.related-section { padding: 4rem 0; }

/* Form row 2-col */
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0; align-items: start; }
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: .88rem; }
.contact-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.contact-form { background: var(--white); border-radius: 1px; padding: 2.5rem; border: 1px solid var(--border); }
.contact-form-title { margin-bottom: 1.5rem; font-size: 1.1rem; }
.contact-submit { width: 100%; }
.contact-qr { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.contact-qr p { font-size: .82rem; color: var(--text-secondary); margin-bottom: .8rem; font-weight: 600; }
.contact-qr-placeholder {
  width: 140px; height: 140px; background: var(--bg); border: 2px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  border-radius: var(--radius);
}
.contact-qr-placeholder span { font-size: .7rem; color: var(--text-muted); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .78rem; color: var(--text-secondary); margin-bottom: .4rem; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: .6rem .9rem; background: var(--bg);
  border: 1.5px solid var(--border); color: var(--text);
  font-family: var(--font); font-size: .85rem; border-radius: var(--radius);
  outline: none; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,94,59,.06); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ─── Ordering Page ───────────────────────────────────── */
.ordering-container { max-width: 800px; }
.ordering-section { margin-top: 2rem; }
.ordering-section-title { font-size: 1.3rem; margin-bottom: 1rem; color: var(--teal); }
.ordering-steps { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.ordering-step-badge { font-size: .95rem; padding: .5rem 1rem; }
.ordering-step-arrow { color: var(--text-muted); }
.ordering-desc { color: var(--text-secondary); line-height: 1.8; }
.ordering-notes { color: var(--text-secondary); line-height: 2; padding-left: 1.5rem; }

/* FAQ Accordion */
.ordering-faq { margin-top: 2.5rem; }
.faq-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); margin-bottom: .6rem;
  overflow: hidden; transition: border-color .2s;
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
}
.faq-item[open] { border-color: var(--teal); }
.faq-item summary {
  padding: 1rem 1.2rem; font-size: .92rem; font-weight: 600;
  color: var(--text); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.2rem; color: var(--teal); font-weight: 700;
  transition: transform .2s; flex-shrink: 0; margin-left: .5rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--bg); }
.faq-answer { padding: 0 1.2rem 1.2rem; font-size: .88rem; color: var(--text-secondary); line-height: 1.8; }
.faq-answer p { margin-bottom: .5rem; }
.faq-answer ul { padding-left: 1.5rem; }
.faq-answer li { margin-bottom: .3rem; }

@media (max-width: 768px) {
  .ordering-steps { gap: .3rem; }
  .ordering-step-badge { font-size: .82rem; padding: .4rem .7rem; }
}

/* ─── About Page ──────────────────────────────────────── */
.about-content { max-width: 800px; margin: 0 auto; padding: 2.5rem 0; }
.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { margin-bottom: 1rem; font-size: .92rem; color: var(--text-secondary); line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 2.5rem 0; }
.about-feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.about-feature-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.about-feature-header svg { flex-shrink: 0; }
.about-feature-header h4 { margin: 0; color: var(--text); }
.about-feature-card p { font-size: .85rem; color: var(--text-secondary); margin: 0; }
.about-disclaimer { font-size: .78rem; color: var(--text-muted); margin-top: 2rem; padding: 1.2rem; background: var(--bg); border-radius: var(--radius); line-height: 1.7; }
@media (max-width: 768px) {
  .about-features { grid-template-columns: 1fr; gap: 1rem; }
}

/* ─── Flash Messages ────────────────────────────────── */
.flash-container { position: fixed; top: 80px; right: 1.5rem; z-index: 300; }
.flash { padding: .7rem 1.4rem; border-radius: var(--radius); font-size: .82rem; margin-bottom: .6rem; box-shadow: var(--shadow-md); font-weight: 500; }
.flash-success { background: var(--teal); color: var(--white); }
.flash-danger { background: #dc2626; color: var(--white); }

/* ─── Sitemap ──────────────────────────────────────── */
.sitemap-section { padding: 2rem 0; }
.sitemap-section h2 { margin-bottom: 1.2rem; font-size: 1.2rem; }
.sitemap-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem; }
.sitemap-links a { font-size: .82rem; color: var(--text-secondary); padding: .3rem 0; }
.sitemap-links a:hover { color: var(--teal); }

/* ─── Brand Page ────────────────────────────────────── */
.brand-header { padding: 3rem 0; text-align: center; }
.brand-header h1 { font-size: 2rem; margin-bottom: .5rem; }
.brand-header .brand-name-en { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.brand-engines { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }

/* ─── Page Hero (Inner pages) ──────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-800) 50%, var(--blue-900) 100%);
  padding: 3.5rem 0 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 60% 40%, rgba(255,255,255,.05) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .3rem; }
.page-hero p { color: #fff; font-size: .88rem; max-width: 500px; margin: 0 auto; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  /* .cat-grid uses auto-fill — no override needed */
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .mobile-menu-btn { display: flex; }
  .header-search input { width: 120px; font-size: .72rem; }
  .header-search input:focus { width: 140px; }
  .header-search { flex-shrink: 1; min-width: 0; }
  .hero-inner { flex-direction: column; padding: 3rem 1rem 2rem; text-align: center; }
  .hero-text { flex: none; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .6rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { flex: none; width: 100%; max-width: 100%; height: 280px; }
  .hero h1 { font-size: 1.8rem; }
  .stats-strip { margin-top: 0; }
  .stat-item { padding: 1.5rem 2rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  /* .cat-grid uses auto-fill — no override needed */
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { position: static; min-height: auto; padding: 1rem; }
  .detail-actions { flex-direction: column; }
  .spec-section { padding: 1rem; }
  .detail-content { padding: 1rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  /* Explosion: switch to cards on mobile (handled near .explosion-cards) */
  .explosion-table-wrap { display: none; }
  .explosion-search-bar { flex-wrap: wrap; }
  .parts-count-label { width: 100%; margin-top: .3rem; }
  /* Mobile sticky CTA */
  .mobile-cta-bar { display: flex !important; z-index: 105; }
  .float-sidebar { display: none !important; }
  .section:last-of-type { padding-bottom: 5rem; }
  body { padding-bottom: 4rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  /* .cat-grid uses auto-fill — no override needed */
  .product-card-body { padding: .7rem; }
  .product-card-title { font-size: .78rem; }
  .hero-inner { padding: 2rem .8rem 1.5rem; }
  .hero-visual { height: 220px; }
  .section { padding: 3rem 0; }
  .stats-inner { flex-direction: column; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--bg); }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .container { padding: 0 .8rem; }
  .header-search input { width: 90px; font-size: .68rem; text-overflow: ellipsis; }
  .header-search input:focus { width: 110px; }
  .header-search .search-icon { display: none !important; }
  .header-search::before {
    content: '';
    position: absolute;
    left: 8px; top: 50%;
    width: 8px; height: 8px;
    border: 1.5px solid #9ca3af;
    border-radius: 50%;
    transform: translateY(-60%);
    z-index: 2;
    pointer-events: none;
  }
  .header-search::after {
    content: '';
    position: absolute;
    left: 14px; top: 50%;
    width: 5px; height: 1.5px;
    background: #9ca3af;
    transform: rotate(45deg);
    transform-origin: left center;
    z-index: 2;
    pointer-events: none;
  }
  .logo-text { font-size: 1.1rem; }
  .logo-sub { display: none; }
  .hero-inner { padding: 1.5rem .6rem 1rem; }
  .hero-visual { height: 180px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-desc { font-size: .82rem; }
  .product-grid { grid-template-columns: 1fr; gap: .5rem; }
  .product-card-title { font-size: .72rem; }
  .news-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 1rem 1.5rem; }
  .section { padding: 2.5rem 0; }
  .hero-search-input { font-size: .78rem; padding: .6rem .6rem; }
  .hero-search-btn { padding: .6rem .8rem; font-size: .72rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .cat-grid-count { grid-template-columns: 1fr; gap: .4rem; }
  .brand-cards { grid-template-columns: 1fr; }
}
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  :root { --max-w: 1320px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .news-grid { gap: 2.5rem; }
  .hero-inner { padding: 7rem 2rem 4rem; }
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
  .hero-visual { height: 520px; max-width: 600px; }
  .detail-layout { gap: 4rem; }
  .footer-inner { gap: 4rem; }
  .value-grid { gap: 2.5rem; }
  .brand-cards { gap: 2rem; }
  .cat-grid-count { gap: 2rem; }
}

/* ─── AI Chat Widget ────────────────────────────────── */
.ai-chat-bubble {
  position: fixed; bottom: 16rem; right: 1rem; z-index: 110;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  transition: all .3s;
  animation: chatPulse 2s infinite;
}
.ai-chat-bubble:hover { transform: scale(1.08); background: #1a6b5a; }
@keyframes chatPulse { 0%,100%{box-shadow:0 4px 18px rgba(0,0,0,.2)} 50%{box-shadow:0 6px 24px rgba(22,131,110,.4)} }

.ai-chat-panel {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0; margin: auto; z-index: 111;
  width: 420px; max-width: 94vw; height: 520px; max-height: 80vh;
  background: #fff; border-radius: 8px; box-shadow: 0 12px 48px rgba(0,0,0,.22);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.95); opacity: 0; pointer-events: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.ai-chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }

.ai-chat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.1rem; background: var(--teal); color: #fff;
  border-radius: 1px 7px 0 0;
}
.ai-chat-header-title { font-weight: 700; font-size: .95rem; }
.ai-chat-header-status { font-size: .7rem; margin-left: .4rem; opacity: .8; }
.ai-chat-header-status::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4cff4c; margin-right: 4px; }
.ai-chat-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 0 .2rem; opacity: .8; }
.ai-chat-close:hover { opacity: 1; }
.ai-chat-min { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0 .3rem; opacity: .8; }
.ai-chat-min:hover { opacity: 1; }
.ai-chat-panel.minimized { height: 52px !important; max-height: 52px !important; }
.ai-chat-panel.minimized .ai-chat-body,
.ai-chat-panel.minimized .ai-chat-footer { display: none !important; }
.ai-chat-panel.minimized .ai-chat-header { border-radius: 8px; }

.ai-chat-body {
  flex: 1; overflow-y: auto; padding: 1rem; background: #f7f8fa;
  display: flex; flex-direction: column; gap: .6rem;
}
.ai-chat-msg {
  max-width: 85%; padding: .6rem .9rem; border-radius: 1px;
  font-size: .85rem; line-height: 1.55; word-break: break-word;
  animation: msgIn .3s ease-out;
}
@keyframes msgIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.ai-chat-msg-bot { background: #fff; color: #333; align-self: flex-start; border: 1px solid #e8e8e8; border-radius: 1px 6px 6px 2px; }
.ai-chat-msg-user { background: var(--teal); color: #fff; align-self: flex-end; border-radius: 1px 6px 2px 6px; }
.ai-chat-typing { display: flex; gap: 4px; padding: .8rem .9rem; }
.ai-chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #bbb; animation: typingBounce 1.4s infinite ease-in-out both; }
.ai-chat-typing span:nth-child(1) { animation-delay: -.32s; }
.ai-chat-typing span:nth-child(2) { animation-delay: -.16s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0s; }
@keyframes typingBounce { 0%,80%,100%{transform:scale(.6)} 40%{transform:scale(1)} }

.ai-chat-footer {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .9rem; border-top: 1px solid #eee; background: #fff;
}
.ai-chat-input {
  flex: 1; border: 1px solid #e0e0e0; border-radius: 1px;
  padding: .55rem 1rem; font-size: .85rem; outline: none;
  transition: border .2s; background: #f7f8fa;
}
.ai-chat-input:focus { border-color: var(--teal); }
.ai-chat-input:disabled { opacity: .5; }
.ai-chat-send {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--teal); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.ai-chat-send:hover { background: #1a6b5a; }
.ai-chat-send:disabled { opacity: .5; cursor: not-allowed; }

/* Lead-saved confirmation (green check message) */
.ai-chat-msg-saved {
  background: #e8f7ee; color: #1a7a3c; align-self: flex-start;
  border: 1px solid #b7e2c4; border-radius: 1px 6px 6px 2px;
  display: flex; align-items: center; gap: .45rem;
}
.ai-chat-msg-saved svg { flex-shrink: 0; }

/* Inline mode (product page #inlineChatMount): static, full-width, always visible */
.ai-chat-panel.inline {
  position: static; width: 100%; max-width: 100%; height: 480px; max-height: none;
  transform: none; opacity: 1; pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,.08); border: 1px solid #e8e8e8;
}

@media (max-width: 480px) {
  .ai-chat-panel { width: 94vw; height: 72vh; }
  .ai-chat-panel.inline { width: 100%; right: auto; height: 440px; bottom: auto; }
  .ai-chat-bubble { bottom: 5rem; right: .8rem; width: 46px; height: 46px; }
}

/* ─── Copy Button ──────────────────────────────────── */
.btn-copy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); color: var(--text-muted); cursor: pointer;
  vertical-align: middle; margin-left: .4rem; transition: all var(--transition);
}
.btn-copy:hover { border-color: var(--teal); color: var(--teal); }
.btn-copy.copied { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ─── Explosion Section ────────────────────────────── */
.explosion-header { text-align: center; margin-bottom: 2rem; }
.explosion-header .label {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .5rem;
  padding: .25rem 1rem; background: var(--teal-light); border-radius: 1px;
}
.explosion-header h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.explosion-subtitle { font-size: .82rem; color: var(--text-muted); }

.explosion-image-wrap {
  text-align: center; margin-bottom: 1.5rem; padding: 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.explosion-img { max-width: 100%; height: auto; max-height: 500px; margin: 0 auto; }

/* Explosion search bar */
.explosion-search-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem; margin-bottom: 1rem;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.explosion-search-bar svg { flex-shrink: 0; color: var(--text-muted); }
.explosion-search-input {
  flex: 1; border: none; outline: none; font-size: .85rem;
  font-family: var(--font); color: var(--text); background: transparent;
}
.explosion-search-input::placeholder { color: var(--text-light); }
.parts-count-label {
  flex-shrink: 0; font-size: .72rem; color: var(--text-muted);
  font-weight: 600; white-space: nowrap;
}

/* Explosion table wrapper */
.explosion-table-wrap {
  overflow-x: auto; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ─── Mobile Part Cards (shown on mobile via media query) ──── */
.explosion-cards { display: none; }
@media (max-width: 768px) {
  .explosion-cards { display: block; }
}
.part-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: .6rem;
  transition: border-color .2s;
}
.part-card:hover { border-color: var(--teal); }
.part-card-header {
  display: flex; align-items: center;
  margin-bottom: .4rem;
}
.part-card-no { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.part-card-partno {
  font-family: 'SF Mono', 'Consolas', monospace; font-size: .88rem;
  font-weight: 700; margin-bottom: .2rem;
}
.part-card-partno a { color: var(--text); }
.part-card-name { font-size: .82rem; color: var(--text-secondary); margin-bottom: .3rem; }
.part-card-qty { font-size: .72rem; color: var(--text-muted); }

/* ─── Mobile Sticky CTA Bar ───────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 95; padding: .4rem .5rem;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  gap: .35rem;
  padding-bottom: calc(.4rem + env(safe-area-inset-bottom, 0px));
}
.mobile-cta-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem; padding: .45rem .2rem; font-size: .68rem; font-weight: 600;
  border-radius: var(--radius); text-decoration: none; border: none;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.mobile-cta-btn .icon { width: 20px; height: 20px; }
.mobile-cta-nav {
  background: var(--bg); color: var(--text-secondary);
}
.mobile-cta-nav:hover, .mobile-cta-nav:active {
  background: var(--bg-cool); color: var(--text);
}
.mobile-cta-phone { background: var(--orange); color: var(--white); }
.mobile-cta-phone:hover { background: var(--orange-hover); color: var(--white); }
.mobile-cta-inquiry { background: var(--indigo); color: var(--white); }
.mobile-cta-inquiry:hover { background: #163d70; color: var(--white); }

/* ─── Print Styles ─────────────────────────────────── */

/* ─── Product Grid 4-Column ─── */
.product-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1024px) { .product-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ─── Brand Strip ─── */
.brand-strip-compact { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding: 1rem 0; }
.brand-strip-compact a {
  padding: .35rem 1rem; border: 1px solid var(--border); font-size: .78rem;
  font-weight: 600; text-decoration: none; color: var(--text);
  transition: border-color .2s, color .2s;
}
.brand-strip-compact a:hover { border-color: var(--teal); color: var(--teal); }

@media print {
  .site-header,
  .site-footer,
  .float-sidebar,
  .cta-block,
  .breadcrumb-line,
  .detail-actions-top,
  .detail-img-hint,
  .detail-thumb,
  .ai-chat-panel,
  .ai-chat-bubble,
  .main-nav,
  .header-actions,
  .footer-bottom,
  .contact-form,
  .section-bg { display: none !important; }
  body { background: #fff !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
  .detail-layout { display: block !important; }
  .detail-info { margin-left: 0 !important; }
  .spec-table { width: 100% !important; }
  a { text-decoration: none !important; }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100% !important; }
}

/* ─── Home Two-Column Layout ─── */
.home-two-col { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: start; }
.home-main { min-width: 0; }
.home-sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--white); border: 1px solid var(--border); margin-bottom: 1rem; }
.sidebar-box-title {
  font-size: .82rem; font-weight: 800; padding: .7rem 1rem;
  background: var(--teal); color: var(--white);
  letter-spacing: .06em; text-transform: uppercase;
}
.sidebar-contact { padding: .8rem 1rem; font-size: .78rem; line-height: 1.8; }
.sidebar-contact strong { color: var(--text); }
.sidebar-cats { padding: .5rem .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.sidebar-cats a {
  font-size: .72rem; padding: .25rem .6rem; border: 1px solid var(--border);
  color: var(--text-muted); text-decoration: none; transition: all .2s;
}
.sidebar-cats a:hover { border-color: var(--teal); color: var(--teal); }
.sidebar-products { list-style: none; padding: .5rem 1rem; margin: 0; }
.sidebar-products li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.sidebar-products li:last-child { border-bottom: none; }
.sidebar-products a { font-size: .75rem; color: var(--text-muted); text-decoration: none; }
.sidebar-products a:hover { color: var(--teal); }
@media (max-width: 900px) { .home-two-col { grid-template-columns: 1fr; } .home-sidebar { position: static; } }

/* ─── Timeline ─── */
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 1.5rem; padding-left: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--bg); }
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }
.timeline-year { font-size: .72rem; font-weight: 800; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; }
.timeline-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.timeline-content p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Hero Search Bar ───────────────────────────────── */
.hero-search-section {
  position: relative; z-index: 2;
  margin-top: 0; padding: 2rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30,77,140,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(22,61,112,.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(26,79,138,.05) 0%, transparent 50%);
}
.hero-search-form { max-width: 720px; margin: 0 auto; position: relative; }
.hero-search-wrap {
  display: flex; align-items: center;
  background: rgba(255,255,255,.55) !important;
  backdrop-filter: blur(36px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.5) !important;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow:
    0 8px 32px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(124,58,237,.04);
  overflow: hidden;
  transition: all var(--transition);
}
.hero-search-wrap:focus-within {
  border-color: rgba(59,130,246,.5) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 3px rgba(59,130,246,.1);
}
.hero-search-icon { flex-shrink: 0; margin-left: 1rem; color: var(--text-muted); }
.hero-search-input {
  flex: 1; border: none; outline: none; padding: .9rem 1rem;
  font-size: .95rem; font-family: var(--font); color: var(--text);
  background: transparent;
}
.hero-search-input::placeholder { color: var(--text-light); }
.hero-search-btn {
  flex-shrink: 0; padding: .9rem 2rem; background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: var(--white); border: none; font-size: .92rem; font-weight: 700;
  font-family: var(--font); cursor: pointer; transition: all var(--transition);
}
.hero-search-btn:hover { background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); }
.hero-search-tags {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  margin-top: .8rem; justify-content: center;
}
.hero-search-label { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.hero-search-tags a {
  display: inline-block; padding: .25rem .7rem; font-size: .72rem;
  color: var(--text-secondary); background: rgba(255,255,255,.7); border-radius: 1px;
  border: 1px solid var(--border); transition: all var(--transition); font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-search-tags a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

/* ─── Category Grid with Counts ─────────────────────── */
.cat-grid-count {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cat-card-count {
  background: var(--white); border-radius: 1px;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 1rem .8rem; text-decoration: none;
}
.cat-card-count:hover { border-color: var(--teal); transform: translateY(-2px); }
.cat-card-count-icon {
  width: 36px; height: 36px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--teal);
  transition: all var(--transition); margin-bottom: .2rem;
}
.cat-card-count:hover .cat-card-count-icon { background: var(--teal); color: var(--white); transform: scale(1.08); }
.cat-card-count-icon svg { width: 18px; height: 18px; }
.cat-card-count-name { font-size: .82rem; font-weight: 700; color: var(--text); text-align: center; line-height: 1.3; }
.cat-card-count-num { font-size: .68rem; color: var(--text-muted); font-weight: 500; }

/* ─── Engine Model Cloud ────────────────────────────── */
.engine-cloud {
  display: flex; flex-wrap: wrap; gap: .5rem .6rem; justify-content: center;
  max-width: 700px; margin: 0 auto;
}
.engine-cloud-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; font-size: .82rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  transition: all var(--transition); text-decoration: none;
}
.engine-cloud-tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.engine-cloud-name { font-family: 'SF Mono', 'Consolas', monospace; letter-spacing: .02em; }
.engine-cloud-count {
  font-size: .62rem; color: var(--text-muted); background: var(--bg);
  padding: .1rem .4rem; border-radius: 1px; font-weight: 700;
}
.engine-cloud-tag:hover .engine-cloud-count { background: var(--teal); color: var(--white); }

/* ─── Brand Cards ───────────────────────────────────── */
.brand-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; align-items: stretch;
}
.brand-card-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 1.2rem 1rem;
  text-decoration: none; transition: border-color .2s, transform .2s, background .2s;
  display: flex; flex-direction: column; gap: .4rem; justify-content: center;
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-xs);
}
.brand-card-item:hover { border-color: var(--teal); transform: translateY(-2px); background: var(--glass-bg-strong); }
.brand-card-top { display: flex; flex-direction: column; }
.brand-card-name { display: block; font-size: 1rem; font-weight: 800; color: var(--text); }
.brand-card-en { display: block; font-size: .62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.brand-card-count { display: block; font-size: .72rem; color: var(--teal); font-weight: 700; }
.brand-card-engines {
  display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem;
}
.brand-card-engines span {
  font-size: .6rem; padding: .15rem .45rem; background: var(--bg);
  border-radius: 1px; color: var(--text-muted); font-weight: 600;
  font-family: 'SF Mono', 'Consolas', monospace;
  transition: all var(--transition); cursor: pointer;
}
.brand-card-engines span:hover { background: var(--teal); color: var(--white); }
.brand-card-few { font-size: .7rem !important; padding: .2rem .5rem !important; color: var(--text-secondary) !important; font-family: inherit !important; }
.brand-card-more {
  justify-content: center; align-items: center; text-align: center;
}
.brand-card-more .brand-card-name { font-size: .92rem; }
.brand-card-more .brand-card-count {
  font-size: 1rem; color: var(--teal); font-weight: 400;
  transition: transform .2s;
}
.brand-card-more:hover .brand-card-count { transform: translateX(4px); }

/* ─── Category Detail Engine Bar ───────────────────── */
.cat-engine-bar {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.cat-engine-label {
  font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap;
}

/* ─── Category Grouped Page ────────────────────────── */
.cat-group { margin-bottom: 2rem; }
.cat-group-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.2rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
}
.cat-group-icon {
  width: 28px; height: 28px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--teal);
  flex-shrink: 0;
}
.cat-group-icon svg { width: 16px; height: 16px; }
.cat-group-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cat-group-card {
  background: var(--white); border-radius: 1px;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 1rem .8rem; text-decoration: none;
}
.cat-group-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.cat-group-card-icon {
  width: 36px; height: 36px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); color: var(--teal);
  transition: all var(--transition); margin-bottom: .2rem;
}
.cat-group-card:hover .cat-group-card-icon { background: var(--teal); color: var(--white); transform: scale(1.08); }
.cat-group-card-icon svg { width: 18px; height: 18px; }
.cat-group-card-name { font-size: .82rem; font-weight: 700; color: var(--text); text-align: center; line-height: 1.3; }
.cat-group-card-count { font-size: .68rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 768px) {
  .cat-group-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
}
@media (max-width: 480px) {
  .cat-group-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .cat-group-card { padding: .7rem .5rem; }
  .cat-group-card-icon { width: 30px; height: 30px; }
  .cat-group-card-icon svg { width: 14px; height: 14px; }
  .cat-group-card-name { font-size: .75rem; }
}

/* ─── Responsive overrides for new sections ─────────── */
@media (max-width: 1024px) {
  .cat-grid-count { grid-template-columns: repeat(3, 1fr); }
  .brand-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-search-input { font-size: .88rem; padding: .75rem .8rem; }
  .hero-search-btn { padding: .75rem 1.2rem; font-size: .82rem; }
  .cat-grid-count { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .brand-cards { grid-template-columns: repeat(2, 1fr); }
  .engine-cloud { gap: .4rem; }
  .engine-cloud-tag { padding: .35rem .7rem; font-size: .75rem; }
}
@media (max-width: 480px) {
  .hero-search-section { margin-top: -1rem; padding-bottom: 1rem; }
  .hero-search-wrap { border-radius: var(--radius); }
  .hero-search-btn { padding: .75rem 1rem; font-size: .78rem; }
  .hero-search-icon { margin-left: .6rem; }
  .cat-grid-count { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .cat-card-count { padding: .7rem .5rem; }
  .cat-card-count-icon { width: 30px; height: 30px; }
  .cat-card-count-icon svg { width: 14px; height: 14px; }
  .cat-card-count-name { font-size: .75rem; }
  .brand-cards { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .brand-card-item { padding: .8rem .7rem; }
}

/* ─── Product List Layout ────────────────────────────── */
.list-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.list-main { min-width: 0; }

/* Category sidebar (desktop) */
.cat-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.cat-sidebar-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 800; color: var(--text);
  padding: .7rem .8rem;
  background: var(--teal); color: var(--white);
  letter-spacing: .04em; text-transform: uppercase;
  position: sticky; top: 0; z-index: 1;
}
.cat-sidebar-title svg { opacity: .8; }
.cat-sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem .8rem; font-size: .78rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--bg); text-decoration: none;
  transition: all var(--transition);
}
.cat-sidebar-item:last-child { border-bottom: none; }
.cat-sidebar-item:hover { background: var(--teal-light); color: var(--teal); }
.cat-sidebar-item.active {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
}
.cat-sidebar-item.active .cat-sidebar-count {
  background: rgba(255,255,255,.25);
  color: var(--white);
}
.cat-sidebar-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-sidebar-count {
  font-size: .62rem; font-weight: 700; color: var(--text-muted);
  background: var(--bg); padding: .1rem .4rem; border-radius: 1px;
  flex-shrink: 0; margin-left: .4rem;
}

/* Mobile category dropdown (hidden on desktop) */
.cat-mobile-select { display: none; }
.list-mobile-bar { display: none; }

/* Filter bar enhancements */
.filter-engine-input { min-width: 120px; }
.list-result-count {
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.list-result-count strong { color: var(--orange); font-weight: 700; }

/* Mobile filter bottom sheet */
.mobile-filter-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-filter-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-filter-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); z-index: 201;
  border-radius: 6px 6px 0 0;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  max-height: 80vh; overflow-y: auto;
}
.mobile-filter-sheet.open { transform: translateY(0); }
.mobile-filter-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.mobile-filter-title { font-size: .92rem; font-weight: 700; color: var(--text); }
.mobile-filter-close {
  width: 32px; height: 32px; border: none; background: var(--bg);
  border-radius: 50%; font-size: 1.2rem; color: var(--text-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mobile-filter-body { padding: 1rem 1.2rem 1.5rem; }
.mobile-filter-group { margin-bottom: 1rem; }
.mobile-filter-group label {
  display: block; font-size: .72rem; font-weight: 700; color: var(--text-muted);
  margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .04em;
}
.mobile-filter-group select, .mobile-filter-group input {
  width: 100%; padding: .6rem .8rem; font-size: .85rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font-family: var(--font);
  outline: none; transition: border-color var(--transition);
}
.mobile-filter-group select:focus, .mobile-filter-group input:focus { border-color: var(--teal); }
.mobile-filter-submit {
  width: 100%; margin-top: .5rem; padding: .7rem; font-size: .88rem;
}

/* Mobile filter trigger button */
.mobile-filter-btn {
  display: none; align-items: center; gap: .4rem;
  padding: .5rem 1rem; font-size: .78rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition); font-family: var(--font);
}
.mobile-filter-btn:hover { border-color: var(--teal); color: var(--teal); }

/* Responsive overrides for list layout */
@media (max-width: 768px) {
  .list-layout { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; }
  .list-mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .6rem 1.2rem; border-bottom: 1px solid var(--border);
    background: var(--white);
  }
  .cat-mobile-select {
    display: flex; align-items: center; gap: .4rem; flex: 1; margin-right: .6rem;
  }
  .cat-mobile-select label { font-size: .72rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
  .cat-mobile-select select {
    flex: 1; padding: .4rem .6rem; font-size: .78rem;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    background: var(--bg); color: var(--text); font-family: var(--font);
  }
  .mobile-filter-btn { display: flex; }
  .list-section { padding-top: 2rem; }
  .filter-bar { display: none; }
}
@media (max-width: 480px) {
  .list-mobile-bar { padding: .5rem .8rem; }
  .list-section { padding-top: 1.5rem; }
}

/* 图标样式已迁移至 icons.css，此处不再重复 */
/* ════════════════════════════════════════════════════════════════
   Theme Overrides — 使用 :root 变量，禁止硬编码
   ════════════════════════════════════════════════════════════════ */
body {
  background:
    radial-gradient(ellipse 90% 70% at 8% 5%, rgba(96,165,250,.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 92% 12%, rgba(147,197,253,.14) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 92%, rgba(191,219,254,.10) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 25% 55%, rgba(219,234,254,.08) 0%, transparent 45%),
    radial-gradient(ellipse 50% 35% at 75% 45%, rgba(239,246,255,.06) 0%, transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 30%, #e2e8f0 60%, #f8fafc 100%);
  background-attachment: fixed;
}

/* ─── Header: crystal frosted glass ─── */
.site-header {
  background: rgba(255,255,255,.6) !important;
  backdrop-filter: blur(28px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.5) !important;
  border-bottom: 1px solid rgba(255,255,255,.85) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 4px 24px rgba(12,35,64,.08) !important;
}
.site-header .container { height: 72px; }
.logo-icon { width: 44px; height: 44px; }

/* Nav: crystal pill tabs */
.main-nav a {
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .9rem;
  color: var(--text-secondary);
  transition: all .2s;
}
.main-nav a:hover {
  background: rgba(59,130,246,.1);
  color: var(--sky);
}
.main-nav a.active {
  background: linear-gradient(135deg, rgba(59,130,246,.16) 0%, rgba(37,99,235,.14) 100%);
  color: var(--indigo);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 2px 8px rgba(12,35,64,.12);
  font-weight: 600;
}

/* Header search */
.header-search input {
  background: rgba(255,255,255,.5) !important;
  border: 1px solid rgba(12,35,64,.15) !important;
  border-radius: 6px;
  color: var(--text);
}
.header-search input:focus {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(12,35,64,.4) !important;
  box-shadow: 0 0 0 3px rgba(12,35,64,.12);
}

/* hero-text: no card/frame — clean text on gradient */

/* ─── Search bar + stats: floating crystal ─── */
.hero-search-wrap,
.stats-inner {
  background: rgba(255,255,255,.58) !important;
  backdrop-filter: blur(30px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.4) !important;
  border: 1px solid rgba(255,255,255,.85) !important;
  border-radius: 12px;
  box-shadow:
    0 16px 48px rgba(12,35,64,.08),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

/* Hot tags */
.hero-search-tags a {
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(12,35,64,.15) !important;
  border-radius: 12px;
  transition: all .2s;
}
.hero-search-tags a:hover {
  background: rgba(59,130,246,.15) !important;
  border-color: rgba(59,130,246,.35);
  color: var(--sky);
}

/* ─── Cards: crystal glass with sky-indigo tint ─── */
.product-card,
.value-card,
.news-card,
.cat-card-count,
.brand-card-item,
.cat-group-card,
.engine-cloud-tag,
.part-card,
.faq-item {
  background:
    linear-gradient(160deg, rgba(255,255,255,.35) 0%, rgba(218,228,240,.18) 40%, rgba(255,255,255,.28) 100%) !important;
  backdrop-filter: blur(36px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(36px) saturate(1.5) !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  border-radius: 10px;
  box-shadow:
    0 8px 32px rgba(12,35,64,.15),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(12,35,64,.12) !important;
  transition: all .3s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}
/* Crystal top highlight */
.product-card::before,
.value-card::before,
.news-card::before,
.cat-card-count::before,
.brand-card-item::before,
.cat-group-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}
.product-card:hover,
.value-card:hover,
.news-card:hover,
.cat-card-count:hover,
.brand-card-item:hover,
.cat-group-card:hover,
.engine-cloud-tag:hover,
.part-card:hover,
.faq-item:hover,
.faq-item[open] {
  background:
    linear-gradient(160deg, rgba(255,255,255,.85) 0%, rgba(218,228,240,.6) 40%, rgba(255,255,255,.78) 100%) !important;
  border-color: rgba(30,77,140,.35) !important;
  box-shadow:
    0 16px 48px rgba(12,35,64,.12),
    inset 0 1px 0 rgba(255,255,255,.95),
    0 0 0 1px rgba(30,77,140,.12) !important;
}
.product-card:hover { transform: translateY(-4px); }
.cat-card-count:hover, .brand-card-item:hover, .cat-group-card:hover { transform: translateY(-3px); }

/* Product image area transparent */
.product-card-img, .news-card-img {
  background: rgba(232,238,246,.3) !important;
  border-bottom: 1px solid rgba(12,35,64,.08);
}

/* Value icon with gradient */
.value-icon, .cat-card-count-icon, .cat-group-card-icon {
  background: linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(37,99,235,.12) 100%) !important;
  color: var(--indigo);
}
.value-card:hover .value-icon,
.cat-card-count:hover .cat-card-count-icon,
.cat-group-card:hover .cat-group-card-icon {
  background: linear-gradient(135deg, var(--sky) 0%, var(--indigo) 100%) !important;
  color: #fff;
}

/* Section backgrounds transparent */
.section-white, .section-bg { background: transparent !important; }

/* ─── Detail panels ─── */
.detail-gallery, .spec-section, .detail-content, .detail-info,
.explosion-image-wrap, .explosion-table-wrap, .contact-form,
.about-feature-card, .detail-table-wrap, .sidebar-box, .mobile-filter-sheet {
  background: rgba(255,255,255,.55) !important;
  backdrop-filter: blur(18px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.3) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(12,35,64,.06), inset 0 1px 0 rgba(255,255,255,.88) !important;
}

/* ─── Hero crystal overlays ─── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(37,99,235,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(59,130,246,.18) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(96,165,250,.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 1; }
/* hero-text: clean, no frame */
.hero .label {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
}
.hero h1 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hero-desc { color: rgba(255,255,255,.7); }

/* page-hero crystal */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 40%, rgba(59,130,246,.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 75% 60%, rgba(37,99,235,.18) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* ─── CTA: ice-blue gradient (matches footer) ─── */
.cta-block {
  background:
    radial-gradient(ellipse 100% 80% at 20% 10%, rgba(96,165,250,.40) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 80% 30%, rgba(147,197,253,.30) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 90%, rgba(191,219,254,.20) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e3a5f 25%, #2563eb 50%, #3b82f6 100%) !important;
}
.cta-block .container {
  background: rgba(255,255,255,.12) !important;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 24px 48px rgba(0,0,0,.1);
}

/* ─── Footer: ice-blue gradient ─── */
.site-footer {
  background:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(96,165,250,.40) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 90% 20%, rgba(147,197,253,.30) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(191,219,254,.20) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e3a5f 25%, #2563eb 50%, #3b82f6 100%) !important;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-top: 1px solid rgba(255,255,255,.2);
}

/* ─── Breadcrumb / Pagination / Forms ─── */
.breadcrumb-line {
  background: rgba(255,255,255,.45) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.pagination a, .pagination span {
  background: rgba(255,255,255,.55) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.75);
}
.pagination a:hover { border-color: var(--sky); color: var(--sky); }
.pagination .current {
  background: linear-gradient(135deg, var(--sky), var(--indigo)) !important;
  border-color: transparent; color: #fff;
}

.filter-bar select, .filter-bar input,
.form-group input, .form-group textarea,
.mobile-filter-group select, .mobile-filter-group input {
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(12,35,64,.12);
  border-radius: 6px;
}
.form-group input:focus, .form-group textarea:focus {
  background: rgba(255,255,255,.85) !important;
  border-color: rgba(12,35,64,.4);
  box-shadow: 0 0 0 3px rgba(12,35,64,.12);
}

/* ─── Float buttons ─── */
.float-btn-item {
  background: rgba(255,255,255,.6) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 4px 16px rgba(12,35,64,.08);
}
.float-btn-item.phone-btn { color: var(--sky); }
.float-btn-item.chat-btn { color: var(--indigo); }
.float-btn-item:hover {
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 8px 24px rgba(12,35,64,.12);
}

/* ─── AI chat ─── */
.ai-chat-panel {
  background: rgba(255,255,255,.72) !important;
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(12,35,64,.08);
}
.ai-chat-header {
  background: linear-gradient(135deg, rgba(59,130,246,.92), rgba(37,99,235,.92)) !important;
}

/* ─── Inner page hero ─── */
.page-hero {
  background: linear-gradient(135deg, rgba(59,130,246,.92), rgba(37,99,235,.92)) !important;
}

/* ─── Buttons ─── */
.btn-teal {
  background: linear-gradient(135deg, var(--sky), var(--indigo)) !important;
  border: none;
  box-shadow: 0 4px 16px rgba(59,130,246,.3);
}
.btn-teal:hover {
  box-shadow: 0 6px 24px rgba(59,130,246,.4);
  transform: translateY(-1px);
}

/* ─── Flash messages ─── */
.flash-success { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important; }

/* ─── Mobile nav ─── */
@media (max-width: 768px) {
  .site-header {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
  }
  .site-header .container { height: 56px; gap: .4rem; }
  .logo { gap: .3rem; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-text { font-size: 1.1rem; }
  .logo-sub { display: none; }
  .header-actions { gap: .4rem; }
  .header-search input { width: 110px; font-size: .7rem; padding: .35rem .6rem .35rem 1.8rem; text-overflow: ellipsis; }
  .header-search input:focus { width: 130px; }
  .header-search .search-icon { display: none !important; }
  .header-search::before {
    content: '';
    position: absolute;
    left: 10px; top: 50%;
    width: 10px; height: 10px;
    border: 2px solid #9ca3af;
    border-radius: 50%;
    transform: translateY(-60%);
    z-index: 2;
    pointer-events: none;
  }
  .header-search::after {
    content: '';
    position: absolute;
    left: 17px; top: 50%;
    width: 6px; height: 2px;
    background: #9ca3af;
    transform: rotate(45deg);
    transform-origin: left center;
    z-index: 2;
    pointer-events: none;
  }
  .main-nav {
    display: flex !important;
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.5) !important;
    backdrop-filter: blur(20px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.3) !important;
    flex-direction: column;
    padding: 1.5rem;
    gap: .4rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    overflow-y: visible;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: .85rem 1.2rem;
    font-size: 1rem;
    border-radius: 7px;
  }
  .main-nav a.active {
    background: linear-gradient(135deg, rgba(59,130,246,.14), rgba(37,99,235,.12)) !important;
    color: var(--indigo);
  }
  /* header search visible on all pages — unified UX */
  body.nav-open { overflow: hidden; }
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .main-nav {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* ─── Fallback ─── */
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255,255,255,.95) !important; }
  .product-card, .value-card, .news-card,
  .cat-card-count, .brand-card-item, .cat-group-card,
  .hero-search-wrap, .stats-inner,
  .detail-gallery, .spec-section, .detail-content,
  .detail-info, .contact-form, .sidebar-box,
  .ai-chat-panel { background: rgba(255,255,255,.92) !important; }
  .hero-text { background: rgba(255,255,255,.22) !important; }
}


.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff;
  padding: .6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 .5rem 0;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.4);
}

/* Visible focus ring across the site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59,130,246,.2);
}

/* ============================================
   QD机电统一图标系统 - Lucide SVG Sprite（内嵌版）
   必须在 style.css 末尾，确保覆盖所有其他样式
   规范: 24x24 viewBox, 2px stroke, round cap/join
   ============================================ */

/* 基础图标样式 - 强制覆盖任何全局SVG样式 */
svg.icon,
svg.icon use,
svg.icon path,
svg.icon circle,
svg.icon rect,
svg.icon line,
svg.icon polyline,
svg.icon polygon {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
  color: inherit;
}

/* 尺寸变体 */
.icon--xs  { width: 14px; height: 14px; }
.icon--sm  { width: 16px; height: 16px; }
.icon--md  { width: 20px; height: 20px; }
.icon--lg  { width: 24px; height: 24px; }
.icon--xl  { width: 32px; height: 32px; }
.icon--2xl { width: 40px; height: 40px; }

/* 图标按钮中的图标 */
.icon-btn .icon { width: 20px; height: 20px; }

/* 导航栏搜索图标 */
.header-search .icon { width: 16px; height: 16px; }

/* Hero搜索图标 */
.hero-search-icon .icon { width: 22px; height: 22px; }

/* "为什么选择QD" 区域图标 */
.value-icon .icon { width: 24px; height: 24px; }

/* 分类卡片图标 */
.cat-card-icon .icon,
.cat-card .cat-icon .icon { width: 20px; height: 20px; }

/* 分类计数卡片图标 */
.cat-card-count-icon .icon { width: 18px; height: 18px; }

/* 分类组卡片图标 */
.cat-group-card-icon .icon { width: 18px; height: 18px; }
.cat-group-icon .icon { width: 16px; height: 16px; }

/* 页脚联系图标 */
.footer-contact .icon { width: 14px; height: 14px; }

/* 浮动栏图标 */
.float-sidebar .icon { width: 22px; height: 22px; }

/* 产品详情页图标 */
.product-detail .icon { width: 16px; height: 16px; }

/* 面包屑/小标签图标 */
.breadcrumb .icon { width: 14px; height: 14px; }

/* 空状态大图标 */
.empty-state .icon { width: 48px; height: 48px; opacity: 0.4; }

/* 关于页面时间线图标 */
.timeline-icon .icon { width: 24px; height: 24px; }

/* 联系页面图标 */
.contact-item .icon { width: 20px; height: 20px; }

/* 产品卡片品牌图标 */
.product-card .brand-badge .icon { width: 16px; height: 16px; }

/* 移动端适配 */
@media (max-width: 768px) {
  .cat-card-icon .icon,
  .cat-card .cat-icon .icon { width: 22px; height: 22px; }
  .cat-card-count-icon .icon { width: 14px; height: 14px; }
  .cat-group-card-icon .icon { width: 14px; height: 14px; }
  .hero-search-icon .icon { width: 20px; height: 20px; }
  .float-sidebar .icon { width: 20px; height: 20px; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════
   v8.0.0 Trust & Authority — Glass Morphism Cleanup
   去除 AI 感玻璃拟态，替换为干净实体 B2B 工业风
   ═══════════════════════════════════════════════════════ */

/* 移除所有重型玻璃效果 */
.product-card, .news-card, .value-card, .cat-card-count,
.brand-card-item, .cat-group-card, .engine-cloud-tag,
.part-card, .faq-item, .detail-gallery, .spec-section,
.detail-content, .detail-info, .detail-table-wrap,
.explosion-image-wrap, .explosion-table-wrap,
.contact-form, .about-feature-card, .sidebar-box,
.mobile-filter-sheet, .ai-chat-panel, .search-dropdown,
.breadcrumb-line, .cta-block .container {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 卡片统一为白色实体 + 细边框 */
.product-card, .news-card, .value-card, .cat-card-count,
.brand-card-item, .cat-group-card, .faq-item,
.contact-form, .about-feature-card, .sidebar-box {
  background: var(--white) !important;
  border-color: var(--border) !important;
}

/* 详情页区域 */
.detail-gallery, .spec-section, .detail-content,
.detail-info, .detail-table-wrap,
.explosion-image-wrap, .explosion-table-wrap {
  background: var(--white) !important;
  border-color: var(--border) !important;
}

/* 导航栏玻璃效果改为实色 */
.site-header {
  background: var(--white) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 移动端菜单 */
.mobile-nav {
  background: var(--white) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 搜索下拉 */
.search-dropdown {
  background: var(--white) !important;
  border-color: var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* AI 聊天面板 */
.ai-chat-panel {
  background: var(--white) !important;
  border-color: var(--border) !important;
}

/* 筛选栏 */
.filter-bar, .mobile-filter-sheet {
  background: var(--white) !important;
  border-color: var(--border) !important;
}

/* 浮动侧边栏 */
.float-sidebar {
  background: var(--white) !important;
  border-color: var(--border) !important;
}

/* 页脚保持深色 */
.site-footer {
  background: var(--navy-900) !important;
}

/* Hero 搜索框 */
.hero-search-wrap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(255,255,255,.3) !important;
}

/* Hero 文字面板 */
.hero-text {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 统计条 */
.stats-inner {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* CTA 区块 */
.cta-block .container {
  background: var(--navy-800) !important;
}

/* 分页 */
.pagination a, .pagination span {
  background: var(--white) !important;
  border-color: var(--border) !important;
}
.pagination a:hover {
  background: var(--steel-50) !important;
  border-color: var(--steel-500) !important;
}
.pagination .current {
  background: var(--steel-700) !important;
  color: var(--white) !important;
}

/* Flash 消息 */
.flash {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 底部移动端 CTA */
.mobile-cta-bar {
  background: var(--white) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid var(--border) !important;
}

/* ===== 产品详情页新模块(handoff v2 §3.1/§4) ===== */
/* 价格区 */
.price-area { margin-top: 12px; padding: 14px 16px; background: var(--bg-cool); border: 1px solid var(--border); border-radius: 4px; }
.price-value { font-size: 1.15rem; font-weight: 700; color: var(--orange); }
.price-note { margin-top: 6px; font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.sale-flag-note { margin-top: 10px; padding: 8px 12px; font-size: .85rem; color: #92400e; background: #fef3c7; border: 1px solid #fde68a; border-radius: 3px; }

/* 爆炸图 */
.diagram-meta { color: var(--text-secondary); font-size: .9rem; margin-top: 4px; }
.diagram-image-wrap { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 16px; text-align: center; }
.diagram-img { max-width: 100%; max-height: 640px; object-fit: contain; }
.diagram-same-title { margin-top: 18px; font-size: 1rem; color: var(--text-heading); }
.diagram-same-list { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; }
.diagram-same-list li { font-size: .88rem; }
.diagram-same-list a { color: var(--sky); }

/* 替换链 */
.supersession-box { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 16px 18px; }
.supersession-box p { margin: 6px 0; font-size: .92rem; color: var(--text); }
.supersession-box a { color: var(--orange); }

/* FAQ */
.faq-list { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 8px 18px; }
.faq-list dt { margin-top: 12px; font-weight: 600; color: var(--text-heading); font-size: .95rem; }
.faq-list dd { margin: 6px 0 12px; color: var(--text-secondary); font-size: .9rem; line-height: 1.7; }

/* ===== 机型页/类目页(handoff v2 §3.2/§3.3) ===== */
.engine-cat-grid, .l2-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.engine-cat-card, .l2-cat-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 4px; transition: .2s; }
.engine-cat-card:hover, .l2-cat-card:hover { border-color: var(--sky); box-shadow: 0 4px 12px rgba(12,35,64,.08); }
.engine-cat-name, .l2-cat-name { font-weight: 600; color: var(--text-heading); font-size: .95rem; }
.engine-cat-count, .l2-cat-count { color: var(--text-muted); font-size: .8rem; }
.engine-article-list { list-style: none; padding: 0; }
.engine-article-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.engine-article-list li:last-child { border-bottom: none; }
.engine-article-list a { color: var(--text); }
.engine-article-list a:hover { color: var(--sky); }
.cross-total { color: var(--text-muted); font-size: .85rem; margin-top: 6px; }

/* ===== BOM/故障码/维修资料/首页文章(handoff v2 §3.4/§3.5) ===== */
.bom-engine-group { margin-bottom: 28px; }
.bom-engine-title { font-size: 1.1rem; color: var(--text-heading); margin-bottom: 12px; }
.bom-engine-title small { color: var(--text-muted); font-weight: 400; }
.bom-so-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bom-so-card { display: flex; flex-direction: column; padding: 10px 14px; background: #fff; border: 1px solid var(--border); border-radius: 3px; }
.bom-so-card:hover { border-color: var(--sky); }
.bom-so-card strong { color: var(--text-heading); font-size: .92rem; }
.bom-so-card small { color: var(--text-muted); font-size: .78rem; }
.manual-list { display: flex; flex-direction: column; gap: 8px; }
.manual-item { display: flex; flex-direction: column; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: 3px; }
.manual-item:hover { border-color: var(--sky); }
.manual-title { color: var(--text-heading); font-size: .92rem; font-weight: 600; }
.manual-engines { color: var(--text-muted); font-size: .78rem; margin-top: 2px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.article-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.article-card:hover { border-color: var(--sky); }
.article-title { color: var(--text-heading); font-weight: 600; font-size: .95rem; }
.article-summary { color: var(--text-muted); font-size: .82rem; }
.cat-card-count-num { color: var(--text-muted); font-size: .78rem; }
.engine-res-bar { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--text-secondary); }
.engine-res-item a { color: var(--orange); }

/* 主打品牌徽标 */
.brand-flag-main { color: var(--orange); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   动画系统(2026-08-06 重做):工业机械感 + 克制专业
   纯 CSS transform/opacity;JS 仅 IntersectionObserver;
   prefers-reduced-motion 全降级为静态。
   ═══════════════════════════════════════════════════════════════ */

/* ── ① Hero 机械视觉:线稿齿轮组 + 活塞往复 + 标题入场 ── */
.hero { position: relative; }
/* 金属拉丝质感(极淡斜纹,一次性绘制零开销) */
.hero::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(115deg, rgba(255,255,255,.014) 0 2px, transparent 2px 6px);
}
.hero-inner { position: relative; z-index: 1; }

.hero-mech { width: 100%; height: 100%; display: block; }
.hm-gear { transform-box: fill-box; transform-origin: 50% 50%; }
.hm-gear-big { animation: hmSpinCW 56s linear infinite; }
.hm-gear-med { animation: hmSpinCCW 40s linear infinite; }
.hm-gear-sml { animation: hmSpinCW 28s linear infinite; }
.hm-ring {
    transform-box: view-box; transform-origin: 390px 170px;
    animation: hmSpinCCW 80s linear infinite;
}
.hm-piston-head, .hm-rod { animation: hmPistonY 2.4s ease-in-out infinite; }
.hm-crank-pin { transform-box: view-box; transform-origin: 90px 344px; animation: hmSpinCW 2.4s linear infinite; }

@keyframes hmSpinCW { to { transform: rotate(360deg); } }
@keyframes hmSpinCCW { to { transform: rotate(-360deg); } }
@keyframes hmPistonY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(22px); } }

/* Hero 标题入场(staggered,一次性) */
.hero-text > .label, .hero-text > h1, .hero-text > .hero-desc, .hero-text > .hero-actions {
    animation: hmFadeUp .55s ease-out both;
}
.hero-text > h1 { animation-delay: .08s; }
.hero-text > .hero-desc { animation-delay: .16s; }
.hero-text > .hero-actions { animation-delay: .24s; }
@keyframes hmFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ── ② Scroll-reveal(IO 驱动,只触发一次) ── */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--rv-delay, 0ms); }
.js .rv.rv-on { opacity: 1; transform: translateY(0); }

/* ── ③ Hover 微交互 ── */
.product-card { transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(12,35,64,.14); }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img img { transition: transform .35s ease; }

.cat-card-count, .engine-cat-card, .l2-cat-card, .engine-cloud-tag,
.bom-so-card, .manual-item, .article-card, .brand-card-item {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-card-count:hover, .engine-cat-card:hover, .l2-cat-card:hover,
.bom-so-card:hover, .manual-item:hover, .article-card:hover, .brand-card-item:hover {
    transform: translateY(-2px);
}
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(12,35,64,.16); }
.price-area { transition: border-color .25s ease, box-shadow .25s ease; }
.price-area:hover { border-color: var(--sky); box-shadow: 0 4px 14px rgba(12,35,64,.08); }

/* 文本链接下划线动画(内容区链接) */
.engine-article-list a, .diagram-same-list a, .supersession-box a, .manual-title,
.breadcrumb-line a, .engine-res-item a {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .3s ease;
}
.engine-article-list a:hover, .diagram-same-list a:hover, .supersession-box a:hover,
.breadcrumb-line a:hover, .engine-res-item a:hover { background-size: 100% 1px; }

/* ── ④ FAQ 手风琴平滑展开(grid-rows 高度过渡) ── */
.faq-acc { background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.faq-acc details { border-bottom: 1px solid var(--border); }
.faq-acc details:last-child { border-bottom: none; }
.faq-acc summary {
    cursor: pointer; list-style: none; padding: 14px 18px;
    font-weight: 600; color: var(--text-heading); font-size: .95rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: color .2s ease;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: '+'; font-size: 1.1rem; color: var(--text-muted); transition: transform .25s ease; }
.faq-acc details[open] summary::after { transform: rotate(45deg); }
.faq-acc summary:hover { color: var(--sky); }
.faq-acc .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-acc details[open] .faq-a { grid-template-rows: 1fr; }
.faq-acc .faq-a > div { overflow: hidden; padding: 0 18px; color: var(--text-secondary); font-size: .9rem; line-height: 1.7; }
.faq-acc details[open] .faq-a > div { padding-bottom: 14px; }

/* ── ⑤ 页面级细微过渡 ── */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    body { animation: pageIn .22s ease-out; }
}
@keyframes pageIn { from { opacity: .6; } to { opacity: 1; } }
.pagination a { transition: color .2s ease, border-color .2s ease, background-color .2s ease; }

/* ── Reduced Motion:全部降级静态 ── */
@media (prefers-reduced-motion: reduce) {
    .hm-gear, .hm-ring, .hm-piston-head, .hm-rod, .hm-crank-pin { animation: none !important; }
    .hero-text > .label, .hero-text > h1, .hero-text > .hero-desc, .hero-text > .hero-actions { animation: none; }
    .js .rv { opacity: 1; transform: none; transition: none; }
    .faq-acc .faq-a { transition: none; }
    .product-card, .btn, .cat-card-count, .engine-cat-card, .l2-cat-card, .engine-cloud-tag,
    .bom-so-card, .manual-item, .article-card, .brand-card-item, .price-area { transition: none !important; }
    body { animation: none; }
}

/* ═══ Hero 2.5D 爆炸分解图(2026-08-07) ═══ */
.explo-stage {
    position: relative;
    width: 100%; height: 100%;
    perspective: 900px;
}
/* 微弱径向光晕衬底(银灰零件在深蓝底上的层次) */
.explo-stage::before {
    content: '';
    position: absolute; inset: 6% 2%;
    background: radial-gradient(ellipse 60% 55% at 50% 46%, rgba(96,150,210,.22) 0%, transparent 70%);
    pointer-events: none;
}
.explo-layer {
    position: absolute; inset: 0;
    transform: translate(calc(var(--px, 0px) * var(--depth, .5)), calc(var(--py, 0px) * var(--depth, .5)));
    transition: transform .25s ease-out;
}
.explo-layer-back { opacity: .8; }
.explo-layer-back .explo-img { filter: blur(1.1px) drop-shadow(0 8px 12px rgba(0,10,30,.35)); }
.explo-layer-mid { opacity: .92; }
.explo-layer-mid .explo-img { filter: blur(.4px) drop-shadow(0 10px 14px rgba(0,10,30,.4)); }
.explo-layer-fore .explo-img { filter: drop-shadow(0 12px 16px rgba(0,10,30,.45)); }
.explo-layer-hero .explo-img { filter: drop-shadow(0 16px 22px rgba(0,10,30,.5)); }

.explo-part {
    position: absolute;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.explo-part.va { animation-name: exploPartA; }
.explo-part.vb { animation-name: exploPartB; }
.explo-part.vc { animation-name: exploPartC; }
.explo-img { display: block; height: auto; animation: exploBob 5.4s ease-in-out infinite alternate; animation-delay: var(--fd, 0s); }
.w-hero { width: 215px; }
.w-lg { width: 132px; }
.w-md { width: 104px; }
.w-sm { width: 88px; }
.w-xs { width: 84px; }

/* 四阶段循环(20s):散布漂浮 → 收拢缩小渐隐 → 藏(发动机展示)→ 炸回散布 */
@keyframes exploPartA {
    0%, 30% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; animation-timing-function: ease-in; }
    37%, 74% { transform: translate(-50%, -50%) translate(var(--gx), var(--gy)) scale(.22); opacity: 0; animation-timing-function: ease-out; }
    81%, 100% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; }
}
@keyframes exploPartB {
    0%, 31.5% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; animation-timing-function: ease-in; }
    38%, 74% { transform: translate(-50%, -50%) translate(var(--gx), var(--gy)) scale(.22); opacity: 0; animation-timing-function: ease-out; }
    82%, 100% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; }
}
@keyframes exploPartC {
    0%, 33% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; animation-timing-function: ease-in; }
    39%, 74% { transform: translate(-50%, -50%) translate(var(--gx), var(--gy)) scale(.22); opacity: 0; animation-timing-function: ease-out; }
    83%, 100% { transform: translate(-50%, -50%) translate(0, 0) scale(1); opacity: 1; }
}

/* 发动机整机:收拢尾声淡入(交叠 ~0.2s),展示期呼吸+一道淡光泽,淡出 */
.explo-engine {
    position: absolute; left: 50%; top: 46%;
    width: 300px;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: exploEngine 20s ease-in-out infinite;
    z-index: 5;
}
.explo-engine::before {
    content: '';
    position: absolute; inset: -18% -14%;
    background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(215,70,50,.14) 0%, rgba(96,150,210,.10) 45%, transparent 72%);
    pointer-events: none;
}
.explo-engine img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 18px 26px rgba(0,10,30,.5));
    animation: exploBreathe 3.8s ease-in-out infinite;
}
@keyframes exploEngine {
    0%, 34.3% { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
    38.5% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { filter: brightness(1); }
    54.5% { filter: brightness(1.08); }
    59% { filter: brightness(1); }
    74% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    78%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.01); }
}
@keyframes exploBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}
@keyframes exploBob {
    from { transform: translateY(-5px); }
    to { transform: translateY(5px); }
}

/* 移动端:同样的四阶段循环,无视差(视差已被 pointer:fine 门控) */
@media (max-width: 768px) {
    .explo-layer { transform: none !important; }
    .explo-engine { width: 230px; }
}

/* Reduced Motion:静态显示发动机整机(合拢终态) */
@media (prefers-reduced-motion: reduce) {
    .explo-part { display: none !important; }
    .explo-img { animation: none !important; }
    .explo-layer { transform: none !important; transition: none !important; }
    .explo-engine { animation: none !important; opacity: 1 !important; }
    .explo-engine img { animation: none !important; }
}

/* 选项号模块(step9) */
.option-main-pn {
    margin-top: 10px; padding: 10px 14px;
    background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 3px;
    font-size: .95rem; color: #065f46;
}
.option-main-pn a { color: var(--orange); font-weight: 700; }
.option-main-name { color: var(--text-muted); font-size: .82rem; margin-left: 6px; }
.option-parts { margin-top: 6px; }
.option-parts summary { cursor: pointer; color: var(--sky); font-size: .85rem; }
.option-parts ul { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; }

/* NP 内部编号提示 */
.np-sku-note { margin-top: 6px; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* 相关机型 +N 展开 */
.engine-more { display: inline-block; position: relative; }
.engine-more summary {
    display: inline-block; cursor: pointer; list-style: none;
    padding: 3px 10px; border-radius: 3px; font-size: .8rem; font-weight: 600;
    color: var(--orange); background: #fff7ed; border: 1px solid #fed7aa;
}
.engine-more summary::-webkit-details-marker { display: none; }
.engine-more[open] summary { border-radius: 3px 3px 0 0; }
.engine-more-list {
    position: absolute; left: 0; top: 100%; z-index: 20;
    display: flex; flex-wrap: wrap; gap: 6px; min-width: 260px; max-width: 400px;
    padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 0 3px 3px 3px;
    box-shadow: 0 8px 24px rgba(12,35,64,.12);
}

/* 分机型用量小字 */
.qty-engine-note { margin-top: 4px; font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Article Page (news detail, 2026-08-12) ─────────────
   仅作用于文章详情页, 全部 .article-* 作用域, 不影响其他页面 */
.article-wrap { max-width: 780px; margin: 0 auto; }

/* 标题区 */
.article-head { margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.article-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--steel-700); background: var(--steel-50);
  border: 1px solid var(--steel-100);
  padding: .22rem .65rem; border-radius: var(--radius);
}
.article-tag-engine { color: var(--orange-hover); background: var(--orange-light); border-color: #ffedd5; }
.article-title {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.4;
  color: var(--text-heading); letter-spacing: 0; margin-bottom: .9rem;
}
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; font-size: .8rem; color: var(--text-muted); }
.article-meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.article-meta-item .icon { width: 13px; height: 13px; stroke: currentColor; }

.article-hero-img { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.article-hero-img img { width: 100%; }

/* 正文排版 */
.article-body { font-size: 1.08rem; line-height: 1.85; color: var(--text); }
.article-body > p { margin: 0 0 1.4rem; }
/* 结论前置段(首段)突出显示 */
.article-body > p:first-child {
  font-size: 1.05rem; color: var(--text-heading);
  background: var(--steel-50); border-left: 3px solid var(--steel-700);
  padding: 1rem 1.2rem; margin-bottom: 1.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body strong { color: var(--text-heading); }
.article-body a { color: var(--steel-700); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--steel-600); }

/* 标题层级: H2 左侧竖条 */
.article-body h2 {
  font-size: 1.32rem; line-height: 1.45; color: var(--text-heading);
  letter-spacing: 0; margin: 2.6rem 0 1.1rem;
  padding-left: .8rem; border-left: 4px solid var(--steel-700);
}
.article-body h3 {
  font-size: 1.1rem; line-height: 1.5; color: var(--text-heading);
  margin: 1.9rem 0 .8rem; padding-left: .8rem; border-left: 3px solid var(--steel-100);
}

/* 列表 */
.article-body ul, .article-body ol { margin: 0 0 1.4rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: .5rem; }
.article-body li::marker { color: var(--steel-700); font-weight: 600; }
.article-body li > ul, .article-body li > ol { margin: .5rem 0 0; }

/* 表格: 全宽+边框+斑马纹+表头底色 */
.article-body table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.6rem;
  font-size: .9rem; background: var(--white);
  border: 1px solid var(--border); line-height: 1.6;
}
.article-body th, .article-body td { padding: .6rem .9rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.article-body th { background: var(--steel-50); color: var(--navy-800); font-weight: 700; white-space: nowrap; }
.article-body tbody tr:nth-child(even) td { background: var(--blue-50); }

/* 引用/提示块 */
.article-body blockquote {
  margin: 0 0 1.4rem; padding: 1rem 1.2rem;
  background: var(--steel-50); border-left: 3px solid var(--steel-700);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-secondary);
}
.article-body blockquote p:last-child { margin-bottom: 0; }

/* FAQ(无JS手风琴, 内容若含 details/summary 时生效) */
.article-body details {
  margin: 0 0 .8rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.article-body summary {
  cursor: pointer; padding: .8rem 1.1rem; font-weight: 600; font-size: .98rem;
  color: var(--text-heading); list-style: none; position: relative; padding-right: 2.4rem;
}
.article-body summary::-webkit-details-marker { display: none; }
.article-body summary::after {
  content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.1rem; color: var(--steel-700); font-weight: 400;
}
.article-body details[open] summary { border-bottom: 1px solid var(--border); }
.article-body details[open] summary::after { content: '−'; }
.article-body details > *:not(summary) { padding: .8rem 1.1rem 0; }
.article-body details > p:last-child, .article-body details > ul:last-child, .article-body details > ol:last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* 来源标注(文末最后一段) */
.article-body > p:last-child {
  margin-top: 2.2rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--border);
  font-size: .85rem; color: var(--text-muted); line-height: 1.7;
}

/* 相关阅读 */
.article-related { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.article-related-title {
  font-size: 1.15rem; color: var(--text-heading); letter-spacing: 0;
  margin-bottom: 1.2rem; padding-left: .8rem; border-left: 4px solid var(--steel-700);
}
.article-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.article-related-card {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s;
}
.article-related-card:hover { border-color: var(--steel-500); box-shadow: var(--shadow-md); }
.article-related-cat {
  display: block; font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  color: var(--teal); text-transform: uppercase; margin-bottom: .4rem;
}
.article-related-card h3 { font-size: .92rem; line-height: 1.5; color: var(--text); margin-bottom: .3rem; }
.article-related-card:hover h3 { color: var(--teal); }
.article-related-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* 移动端 */
@media (max-width: 768px) {
  .article-body { font-size: 1rem; }
  .article-body h2 { font-size: 1.18rem; margin: 2.1rem 0 .9rem; }
  .article-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-related-grid { grid-template-columns: 1fr; }
}

/* ── s77 产品页相关标签行 ── */
.rel-tags { margin-top: 1.1rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.rel-tags-label { font-size: .75rem; color: var(--text-muted); margin-right: .1rem; }
.rel-tags-all { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.rel-tags-all:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }

