/* ============================================================
   CARBMFG 外贸站 - 前台样式
   风格：现代商务蓝 + 工业感，干净、信任、专业
   支持：多语言、RTL(阿拉伯)、移动端自适应
   ============================================================ */

/* ---------- 基础 / 变量 ---------- */
:root {
  --primary: #1a5fb4;        /* 商务蓝 */
  --primary-dark: #12427f;
  --primary-light: #e8f0fb;
  --accent: #f0a500;         /* 醒目点缀（CTA/折扣） */
  --text: #1f2d3d;
  --text-muted: #5a6b7b;
  --border: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(16, 42, 84, 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* 滚动行为：全局改为即时（auto），消除滚动定位漂移（主人 2026-09-27 22:59 指令）
   背景：smooth 会让程序化/快速滚动变成动画过程，定位后页面位置发生漂移。
   体验兼顾：锚点链接仍保留平滑滚动，菜单点击区块跳转体验不变。 */
html { scroll-behavior: auto; }
a[href^="#"] { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* 全局横向溢出保险：杜绝任何左右滚动 */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

/* RTL 适配 */
body.rtl { direction: rtl; text-align: right; }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }

.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.lang-switcher { position: relative; }
.lang-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 120px;
  overflow: hidden;
}
body.rtl .lang-dropdown { right: auto; left: 0; }
.lang-dropdown.show { display: block; }
.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 500;
}
.lang-dropdown a:hover { background: var(--primary-light); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }

/* ---------- 移动端汉堡菜单 ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle .mt-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-toggle.open .mt-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .mt-bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .mt-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.1rem; margin-bottom: 8px; }
.page-hero p { opacity: .9; font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* 区块垂直节奏（主人 2026-09-14 11:47 要求：缩小间隔并统一）
   口径：所有区块上下内边距统一 48px，相邻两区块之间 = 48 + 48 = 96px；
   此前 .section 为 64px（相邻间距 128px），.hero 为 84px（hero 后间距 148px），
   两处不一致导致「首页区块间隔偏大且不统一」，现统一到同一节奏。 */
.section { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 1.8rem; color: var(--text); }
.section-head p { color: var(--text-muted); margin-top: 6px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0f3d77 100%);
  color: #fff;
  /* 与 .section 统一垂直节奏：下内边距 48px，紧接下一区块也 48px → 间距 96px */
  padding: 76px 0 48px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 2.4rem; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; opacity: .92; margin-bottom: 28px; max-width: 540px; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary { background: var(--accent); color: #1f2d3d; }
.btn-primary:hover { background: #ffb81f; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; }

.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.hero-badge .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.hero-badge .stat b { font-size: 1.5rem; display: block; color: var(--accent); }

/* ---------- 卡片网格（产品 / 新闻） ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(16,42,84,.14); }
/* Why Choose Us 图标卡片 */
.why-card { text-align: center; padding-top: 8px; }
.why-card .card-body { align-items: center; }
.why-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary);
  background: var(--bg-soft);
  border-radius: 14px;
  margin-bottom: 14px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { margin-bottom: 8px; }

/* ---------- Our Factory 拼图区 ---------- */
.factory-section { background: var(--bg-soft); }
.factory-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.factory-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.factory-collage img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.factory-collage .factory-main {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}
.factory-collage img:not(.factory-main) { aspect-ratio: 4 / 3; }
.factory-body h2 { font-size: 2rem; margin-bottom: 16px; color: var(--heading); }
.factory-body p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 24px; }

/* ---------- Industries 行业卡片 ---------- */
.ind-grid { gap: 20px; }
.ind-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(16,42,84,.14); }
.ind-icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); background: var(--bg-soft); border-radius: 16px;
}
.ind-icon svg { width: 32px; height: 32px; }
.ind-card h3 { font-size: 1rem; color: var(--text); }

/* ---------- 证书 & 评价 ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.cert-item {
  width: 180px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; text-align: center; transition: transform .2s;
}
.cert-item:hover { transform: translateY(-3px); }
.cert-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 10px; background: #eef2f6; }
.cert-item span { font-size: .85rem; font-weight: 600; color: var(--text); }
.testi-grid { gap: 20px; }
.testi-card { padding: 22px; }
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.testi-head b { display: block; font-size: .98rem; }
.testi-country { color: var(--text-muted); font-size: .82rem; }
.testi-stars { margin-left: auto; color: #f5a623; letter-spacing: 2px; }
.testi-text { color: var(--text-muted); line-height: 1.6; font-size: .95rem; font-style: italic; }

/* ---------- 联系信息栏 ---------- */
.contactbar-section { background: var(--primary); color: #fff; padding: 34px 0; }
.contactbar-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.contactbar-item { display: flex; align-items: center; gap: 14px; min-width: 260px; }
.contactbar-icon { font-size: 1.6rem; }
.contactbar-item span:not(.contactbar-icon) { display: block; font-size: .8rem; opacity: .85; text-transform: uppercase; letter-spacing: .5px; }
.contactbar-item b { font-size: 1.02rem; word-break: break-word; }
.ind-card p { font-size: .86rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

/* ---------- 证书 & 客户评价 ---------- */
.badge-section { background: var(--bg-soft); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(16,42,84,.12); }
.cert-img { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #f0f4fa; margin-bottom: 12px; }
.cert-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.cert-card h3 { font-size: .95rem; color: var(--text); }

.testi-grid { gap: 24px; }
.testi-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 26px; box-shadow: 0 4px 16px rgba(16,42,84,.06);
}
.testi-stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.testi-text { font-size: 1rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1a5fb4, #0f3d7a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; flex: 0 0 44px;
}
.testi-meta b { display: block; color: var(--heading); font-size: .98rem; }
.testi-country { font-size: .86rem; color: var(--text-muted); }

/* ---------- 联系信息栏 ---------- */
.contactbar { background: #0f3d7a; color: #fff; padding: 22px 0; }
.contactbar-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.contactbar-item { display: flex; align-items: center; gap: 14px; color: #fff; }
.cb-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex: 0 0 44px;
}
.cb-icon svg { width: 22px; height: 22px; color: #fff; }
.contactbar-item b { display: block; font-size: .8rem; opacity: .75; text-transform: uppercase; letter-spacing: .5px; }
.contactbar-item span:last-child { font-size: .95rem; font-weight: 500; }
@media (max-width: 640px) { .contactbar-inner { gap: 16px; } .contactbar-item { width: 100%; } }

/* ---------- CTA 行动号召 ---------- */
.cta-section { background: linear-gradient(135deg, #1a5fb4, #0f3d7a); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.9rem; margin-bottom: 10px; color: #fff; }
.cta-inner p { font-size: 1.05rem; opacity: .88; max-width: 640px; }
.btn-cta {
  background: #fff; color: #1a5fb4; font-weight: 700; font-size: 1rem;
  padding: 14px 34px; border-radius: 8px; text-decoration: none; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); color: #1a5fb4; }
@media (max-width: 560px) { .cta-inner h2 { font-size: 1.4rem; } .btn-cta { width: 100%; text-align: center; } }

/* ═══════ 询价弹窗（teruicnc Click for inquiry 风格） ═══════ */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.55);
}
.quote-modal.show { display: flex; }
.quote-modal-bd {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 36px 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.quote-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-soft);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.quote-modal-close:hover { background: var(--primary); color: #fff; }
.quote-form h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--text); }
.quote-form-lead { color: var(--text-muted); margin-bottom: 22px; }
.quote-form { display: grid; gap: 14px; }
.quote-form .quote-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form .btn { justify-self: center; min-width: 180px; }
@media (max-width: 560px) {
  .quote-form .quote-row-2 { grid-template-columns: 1fr; }
  .quote-modal-bd { padding: 28px 20px; }
}
.card img { height: 200px; object-fit: cover; width: 100%; }
/* 产品图 1:1 正方形（首页/产品列表页统一） */
.card-img-square { aspect-ratio: 1 / 1; width: 100%; overflow: hidden; display: block; background: #f4f6f9; }
.card-img-square img { height: 100% !important; object-fit: cover; aspect-ratio: 1 / 1; }
/* 新闻图 16:9（首页/新闻列表页统一） */
.card-img-wide { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; display: block; background: #f4f6f9; }
.card-img-wide img { height: 100% !important; object-fit: cover; aspect-ratio: 16 / 9; }
/* 详情跳转按钮 */
.card-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 6px;
  text-align: center;
  transition: all .2s;
}
.card-btn:hover { background: var(--primary); color: #fff; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { color: var(--text-muted); font-size: .95rem; flex: 1; }
.card-meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 8px; }
.card-tag {
  display: inline-block;
  background: var(--accent);
  color: #1f2d3d;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ---------- 侧边栏筛选（产品列表） ---------- */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.sidebar { position: sticky; top: 84px; align-self: start; }
.sidebar h3 { font-size: 1.05rem; margin-bottom: 12px; }
.filter-block { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.filter-block h4 { font-size: .85rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.filter-block a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: .93rem;
}
.filter-block a:hover { color: var(--primary); background: #fff; }
.filter-block a.active { color: var(--primary); background: #fff; font-weight: 600; }

/* ---- 分类手风琴（树形伸缩） ---- */
.cat-item { border-bottom: 1px solid var(--border); }
.cat-item:last-child { border-bottom: none; }
.cat-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.cat-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  padding: 6px 8px;
  flex-shrink: 0;
  font-weight: 600;
}
.cat-toggle .cat-minus { display: none; }
.cat-toggle .cat-plus { display: inline; }
.cat-item.open > .cat-row .cat-toggle .cat-minus { display: inline; }
.cat-item.open > .cat-row .cat-toggle .cat-plus { display: none; }
.cat-sub.open > .cat-row .cat-toggle .cat-minus { display: inline; }
.cat-sub.open > .cat-row .cat-toggle .cat-plus { display: none; }
.cat-toggle-empty { cursor: default; visibility: hidden; }
.cat-item .cat-row a {
  flex: 1;
  display: block;
  margin: 0;
  padding: 10px 6px;
  background: transparent;
}
.cat-item .cat-row a:hover { background: #fff; }
.cat-item .cat-row a.active { background: #fff; font-weight: 600; color: var(--primary); }
.cat-children {
  display: none;
  padding: 2px 0 8px 22px;
}
.cat-item.open > .cat-children,
.cat-sub.open > .cat-children { display: block; }
.cat-sub { border-bottom: 1px solid var(--border); }
.cat-sub:last-child { border-bottom: none; }
.cat-sub .cat-row { margin: 0; }
.cat-sub .cat-row a.cat-child {
  flex: 1;
  display: block;
  margin: 0;
  padding: 8px 8px;
}
/* 三级缩进 */
.cat-child.cat-grand { padding-left: 18px; font-size: .88rem; color: var(--text-muted); }
.cat-child {
  display: block;
  margin: 0;
  padding: 8px 8px;
  font-size: .92rem;
  background: transparent;
}
.cat-child:hover { color: var(--primary); background: #fff; }
.cat-child.active { color: var(--primary); background: #fff; font-weight: 600; }

.search-box { display: flex; margin-bottom: 20px; }
.search-box input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  font-size: .95rem;
  outline: none;
}
body.rtl .search-box input { border-radius: 0 8px 8px 0; }
.search-box button {
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
body.rtl .search-box button { border-radius: 8px 0 0 8px; }

/* ---------- 详情页 ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
/* 产品详情页图片 1:1 正方形容器，object-fit 裁剪填满 */
.detail img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.detail h1 { font-size: 1.8rem; margin-bottom: 12px; }
.detail .content { margin-top: 20px; color: var(--text-muted); line-height: 1.8; }
.detail .content h3 { color: var(--text); margin-top: 16px; }
.detail .content p { margin-bottom: 12px; }

/* 产品询盘卡 */
.inquiry-box {
  margin-top: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.inquiry-box h4 { margin-bottom: 14px; color: var(--text); }
.inquiry-box form { display: grid; gap: 12px; }
.inquiry-box input,
.inquiry-box textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
}
.inquiry-box textarea { min-height: 110px; resize: vertical; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--primary); }
.faq-item.open .faq-q::after { content: "−"; }
/* ⚠️ 坑记死（2026-09-19 23:29）：这两条是【旧版】FAQ（onclick + .open 类）的遗留规则。
   新版改用原生 <details>（展开靠 [open] 属性，不是 .faq-item.open 类）。
   但 .faq-a 这个类名【两版共用】→ 第 1 条的 max-height:0 + overflow:hidden
   会照样命中新版 <div class="faq-a">，而第 2 条的"展开时放开"因类名对不上永不触发
   → 答案区被永久压扁到 18px，只露一行边，表现为"答案显示不全"。
   修法：把作用域收窄到旧版专属的 .faq-item 容器内，不再误伤 .faq-card。 */
.faq-item .faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; color: var(--text-muted); }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 600px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.about-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.about-block h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.2rem; }
.about-block p { color: var(--text-muted); }
.about-block .about-block-body { flex: 1; }
.about-block img { border-radius: var(--radius); margin-bottom: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }

/* ---------- 联系页 ---------- */
/* ═══════ 联系页（teruicnc 风格：深色标题条 + 四列卡片 + 表单） ═══════ */
.contact-hero-band {
  padding: 24px 0 8px;
  text-align: center;
}
.contact-hero-band h2 { font-size: 1.8rem; margin: 0; color: var(--text); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(26,95,180,.12); }
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin-bottom: 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-size: 26px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--text); }
.contact-card p { margin-bottom: 6px; color: var(--text-muted); font-size: .95rem; line-height: 1.6; word-break: break-word; }
.contact-card a { color: var(--text-muted); }
.contact-card a:hover { color: var(--primary); }

.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 { text-align: center; margin-bottom: 6px; }
.contact-form-lead { text-align: center; color: var(--text-muted); margin-bottom: 24px; }
.contact-form-grid { display: grid; gap: 14px; }
.contact-form-grid .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
}
.contact-form-grid textarea { min-height: 140px; resize: vertical; }
.contact-form-grid .btn { justify-self: center; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 500;
}
.alert-ok { background: #e6f7ec; color: #1d7a3f; border: 1px solid #bfe8cc; }
.alert-err { background: #fdecec; color: #b02222; border: 1px solid #f5c2c2; }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #10233f;
  color: #cbd6e3;
  margin-top: 64px;
}
.site-footer > .container { padding-top: 0; }

/* 顶部：标语 + 询价按钮 */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-inquirytext {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
}
.footer-inquirybtn {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 10px 28px;
  border-radius: 40px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.footer-inquirybtn:hover { background: var(--accent); color: #10233f; }

/* 页脚栏目网格（现为 5 栏：公司 / Products / Quick Links / Legal / 联系方式）
   修复：原写死 4 列，第 5 栏被挤到第二行（主人 2026-09-13 18:20 报障）
   auto-fit + minmax 自适应：宽屏保持单行，窄屏自然回落不溢出 */
.footer-items {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding: 44px 0;
  margin: 0;
  list-style: none;
  align-items: start;
}
/* 中等宽度：5 栏过挤，收窄为 3 栏两行，避免文字竖排 */
@media (max-width: 1200px) and (min-width: 961px) {
  .footer-items { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px 34px; }
}
.footer-item .footer-logo img { max-height: 48px; margin-bottom: 16px; }
.footer-desc { font-size: .92rem; line-height: 1.8; opacity: .8; }
.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 16px;
  text-transform: capitalize;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { padding: 4px 0; }
.footer-nav a { color: #cbd6e3; font-size: .92rem; transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-nav a.nav-current { color: var(--accent); }
.footer-contacts { list-style: none; margin: 0; padding: 0; }
.footer-contact { padding: 5px 0; font-size: .92rem; }
.footer-contact .item-tit {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.footer-contact .ficon {
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--accent);
}
.footer-contact .item-val { color: #cbd6e3; display: inline-block; padding: 1px 0 1px 20px; word-break: break-word; }
.footer-contact a.item-val:hover { color: var(--accent); }

/* 底部版权 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  font-size: .88rem;
  text-align: center;
  opacity: .85;
}

/* footer 响应式 */
@media (max-width: 960px) {
  /* 5 个栏目 → 平板用 3 栏 2 行，比 2 栏 3 行更整齐 */
  .footer-items { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .footer-items { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .footer-items { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { flex-direction: column; text-align: center; }
}

/* ---------- WhatsApp 浮动按钮 ---------- */.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  z-index: 200;
  transition: transform .2s;
}
body.rtl .whatsapp-float { right: auto; left: 24px; }
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }
.whatsapp-float .wa-icon { line-height: 1; }

/* ---------- 返回顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 96px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 95, 180, .35);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
}
.back-to-top .btt-text { display: none; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  background: #000;
}
.back-to-top:hover .btt-arrow { display: none; }
.back-to-top:hover .btt-text {
  display: inline;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
}
body.rtl .back-to-top { right: auto; left: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: 1fr; }
  .contact-form-grid .row-2 { grid-template-columns: 1fr; }
  /* ⚠️ 主人 2026-09-19 22:07 需求 2：桌面必须显示横向导航（Home | Products | Industries | News | About Us | Contact Us）
     原此处 960px 断点就把导航切成汉堡，太宽 → 笔记本分屏 / 浏览器缩放 125%~150% 会误判成移动端。
     汉堡切换统一收归到 992px 断点（见下方 @media max-width: 992px），此处只保留布局类改动。 */
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 1.8rem; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.6rem; }
  /* 手机端区块间距同步收窄，保持与桌面同一节奏 */
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 24px; }
  .factory-grid { grid-template-columns: 1fr; gap: 24px; }
  .factory-body h2 { font-size: 1.5rem; }
  .contactbar-inner { flex-direction: column; gap: 18px; }
}

/* ===== 首页产品分类筛选区块 ===== */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.cat-tab {
  padding: 10px 22px;
  border: 1px solid #d8dee6;
  border-radius: 30px;
  background: #fff;
  color: #3a4556;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.cat-tab:hover {
  border-color: #1a5fb4;
  color: #1a5fb4;
}
.cat-tab.active {
  background: #1a5fb4;
  border-color: #1a5fb4;
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 95, 180, .25);
}
.cat-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 9px;
  background: rgba(26,95,180,.12);
  color: #1a5fb4;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}
.cat-tab.active .cat-tab-count {
  background: rgba(255,255,255,.25);
  color: #fff;
}
.cat-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.cat-subtab {
  padding: 6px 16px;
  border: 1px solid #e2e7ee;
  border-radius: 20px;
  background: #f7f9fc;
  color: #5a6577;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s ease;
}
.cat-subtab:hover {
  border-color: #1a5fb4;
  color: #1a5fb4;
}
.cat-subtab.active {
  background: #eaf2fc;
  border-color: #1a5fb4;
  color: #1a5fb4;
  font-weight: 600;
}
.cat-products-wrap {
  position: relative;
}
.cat-products-panel {
  display: none;
}
.cat-products-panel.active {
  display: block;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.empty-tip {
  text-align: center;
  color: #8a94a6;
  padding: 40px 0;
  font-size: 1rem;
}

/* ===== 内页 Banner 广告图(产品详情/文章详情,统一高度356px)===== */
.page-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 356px;
  overflow: hidden;
  display: block;
  background: var(--primary);
}
.page-banner img {
  width: 100vw;
  height: 356px;
  object-fit: cover;
  display: block;
}
.page-banner a { display: block; height: 100%; }
.page-banner-text {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(10,25,50,.15) 0%, rgba(10,25,50,.55) 100%);
  padding: 20px;
}
.page-banner-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.page-banner-text p {
  font-size: 1.05rem;
  margin: 0;
  opacity: .95;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
@media (max-width: 768px) {
  .page-banner, .page-banner img { height: 210px; }
  .page-banner-text h2 { font-size: 1.5rem; }
}

/* ═══════ 面包屑（全站通用，美观版） ═══════ */
.breadcrumb-wrap {
  background: linear-gradient(180deg, rgba(10,25,50,.05), rgba(10,25,50,.015));
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
}
.crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s ease;
}
.crumb-link:hover { color: var(--primary-dark, #1a4f8b); text-decoration: underline; }
.crumb-home svg { margin-top: -1px; }
.crumb-sep {
  display: inline-flex;
  align-items: center;
  color: #b8c4d4;
}
.crumb-current {
  font-weight: 600;
  color: var(--text, #1c2733);
}

/* ═══════ 新闻列表页（syswl 风格） ═══════ */
.article-filter { background: #f5f8fc; border-bottom: 1px solid var(--border); padding: 18px 0; }
.article-sort { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.article-sort li { list-style: none; }
.article-sort li a {
  display: inline-block; padding: 8px 20px; border-radius: 30px;
  font-size: 14px; font-weight: 600; color: var(--text-light);
  border: 1px solid var(--border); background: #fff; transition: all 0.25s;
}
.article-sort li a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.article-sort li.active a { color: #fff; background: var(--primary); border-color: var(--primary); }

.news-list { list-style: none; margin: 0; padding: 0; }
.blog-item { padding: 24px 0; }
.blog-item + .blog-item { border-top: 1px dashed #e2e8f0; }
.item-wrap {
  display: flex; gap: 22px; margin: 0;
}
.item-img {
  flex-shrink: 0; width: 120px; height: 80px; border-radius: 6px; overflow: hidden;
  background: var(--bg-soft); display: block;
}
.blog-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.item-info { flex: 1; min-width: 0; }
.item-cat { margin-bottom: 6px; }
.item-cat-link {
  font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px;
}
.item-title { font-size: 19px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.item-title a { color: var(--text); }
.item-title a:hover { color: var(--primary); }
.item-info time {
  display: block; font-size: 13px; color: var(--text-light); margin-bottom: 8px;
}
.item-detail {
  color: var(--text-light); font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.item-more {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary);
  text-decoration: none;
}
.item-more:hover { text-decoration: underline; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text-light); background: #fff; transition: all 0.2s;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.current { background: var(--primary); color: #fff; border-color: var(--primary); cursor: default; }



/* 文章详情页(syswl风格) */
.single-content { max-width: 820px; }
.single-content h1 { font-size: 1.9rem; margin: 0 0 14px; color: var(--text); line-height: 1.4; }
.single-content .meta { color: var(--text-light); font-size: .9rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.single-content img { border-radius: var(--radius); max-width: 100%; margin-bottom: 24px; }
.single-content .prose { color: var(--text-muted); line-height: 1.9; font-size: 1.02rem; }
.single-content .prose p { margin-bottom: 1.2em; }
.single-content .prose h1, .single-content .prose h2, .single-content .prose h3 { margin: 1.4em 0 .6em; color: var(--text); line-height: 1.4; }
.single-content .prose ul, .single-content .prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.prev-next-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.prev-next-item { flex: 1; }
.prev-next-item .pn-label { display: block; font-size: .8rem; color: var(--text-light); margin-bottom: 4px; }
.prev-next-item a { color: var(--primary); font-weight: 500; }
.prev-next-item a:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-top: 24px; color: var(--primary); font-weight: 500; }

/* ═══════ About 页（teruicnc 版式复刻） ═══════ */
.about-section { padding: 56px 0 64px; }
.about-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.about-titles { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; text-align: center; }
.about-subtitle {
  color: var(--primary, #1a3a6b);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .4px;
  margin: 0;
}
.about-sep {
  height: 3px;
  background: var(--primary, #1a3a6b);
  width: 100%;
  margin: 20px 0 34px;
  opacity: .25;
}
.about-exp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 60px; }
.about-exp-left .about-subtitle { margin-bottom: 18px; font-size: 1.35rem; }
.about-exp-left p { color: var(--text-muted, #5a6775); line-height: 1.85; font-size: 1rem; margin-bottom: 16px; }
.about-exp-right img { width: 100%; border-radius: 6px; display: block; }
.about-products-title { font-size: 1.4rem; text-align: center; font-weight: 700; }
.about-products-text { color: var(--text-muted, #5a6775); line-height: 1.85; font-size: 1rem; margin-bottom: 28px; }
.about-products-text p { margin-bottom: 14px; }
.about-products-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.about-product-img img { width: 100%; border-radius: 6px; display: block; }

@media (max-width: 768px) {
  .about-exp-row { grid-template-columns: 1fr; gap: 24px; }
  .about-products-imgs { grid-template-columns: 1fr; }
}
.about-subtitle-bold { font-weight: 700; }

/* ===== 导航重构 (2026-09-13) ===== */
/* --- 顶部导航容器 --- */
.header-inner { display: flex; align-items: center; gap: 24px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav .nav-link:hover { color: var(--primary); background: var(--bg-soft); }
.main-nav .nav-link.active { color: var(--primary); font-weight: 600; }
.nav-caret { font-size: .7rem; opacity: .6; transition: transform .2s; }
.nav-item-has-mega:hover .nav-caret { transform: rotate(180deg); }

/* --- Products Mega Menu（悬停展开，左右两栏） --- */
.nav-item-has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 620px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
  padding: 26px 28px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.nav-item-has-mega:hover .mega-menu,
.nav-item-has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mega-col-title {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { margin-bottom: 2px; }
.mega-list a {
  display: block;
  padding: 7px 10px;
  font-size: .9rem;
  color: var(--text);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.mega-list a:hover { color: var(--primary); background: var(--bg-soft); }
.mega-footer {
  display: flex;
  gap: 18px;
  margin: 22px -28px 0;
  padding: 14px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 0 0 10px 10px;
}
.mega-cta { font-size: .88rem; font-weight: 600; color: var(--primary); }
.mega-cta-ghost { color: var(--text-muted); }

/* --- 右侧操作区：Get A Quote + 语言切换 --- */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-quote {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn-quote:hover { background: var(--primary-dark, #0056b3); transform: translateY(-1px); }

/* --- 侧栏：默认全部一级闭合（覆盖旧的全展开） --- */
.sidebar .cat-item > .cat-children,
.sidebar .cat-sub > .cat-children { display: none; }
.sidebar .cat-item.open > .cat-children,
.sidebar .cat-sub.open > .cat-children { display: block; }

/* --- 属性筛选块（AJAX，非分类） --- */
.attr-filter .attr-group { border-bottom: 1px solid var(--border); }
.attr-filter .attr-group:last-child { border-bottom: none; }
.attr-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
}
.attr-caret { font-size: 1.05rem; color: var(--text-muted); }
.attr-group.open .attr-caret { transform: rotate(45deg); }
.attr-body { display: none; padding: 0 2px 12px; }
.attr-group.open .attr-body { display: block; }
.attr-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: .87rem;
  color: var(--text-muted);
  cursor: pointer;
}
.attr-opt input { accent-color: var(--primary); }

/* --- 移动端抽屉式筛选 --- */
/* ⚠️ 坑记死（2026-09-19 22:33）：桌面基线必须显式 display:none！
   原代码只在 @media(max-width:992px) 里定义 .drawer-close / .drawer-overlay，
   外层没有 base 规则 → 桌面端它们【没有任何规则约束】→ 裸 div/button 按浏览器默认
   样式渲染 → 那个 × 关闭按钮在桌面筛选栏顶部【直接漏出来】（实测 w=256 h=27 可见）。
   正确写法：base 隐藏，移动块里放出来。 */
.sidebar-drawer-btn { display: none; }
.drawer-close { display: none; }
.drawer-overlay { display: none; }
@media (max-width: 992px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(340px, 86vw);
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    padding: 20px 18px 40px;
    box-shadow: 6px 0 30px rgba(0,0,0,.18);
    transform: translateX(-105%);
    transition: transform .25s ease;
    z-index: 900;
    border-radius: 0;
  }
  .sidebar.drawer-open { transform: translateX(0); }
  .sidebar-drawer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
  }
  .drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 890;
  }
  .drawer-overlay.show { display: block; }
  .drawer-close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
  }
  .drawer-close button {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
  }
}
/* （桌面导航块已移至文件末尾，见「桌面导航最终锁定」） */

/* --- 移动端导航（汉堡菜单 + Mega 转折叠列表） --- */
@media (max-width: 992px) {
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  /* ⚠️ 坑记死（2026-09-19 23:00）：手机端抽屉原来是【流内 static 元素 + 全透明背景】，
     只有一句 `.main-nav.open { display: flex; }`。结果抽屉一展开就把页面内容往下推，
     文字互相压叠糊成一片 —— 主人报「点 ☰ 都看不清楚导航了」。
     修法：做成真正的【浮层抽屉】：
       ① position: fixed + top 贴 header 下沿，独立于文档流，不再推挤内容
       ② 实心白底 + 明显阴影，与页面内容视觉分离
       ③ 限高 + overflow-y:auto，长菜单能滚动
       ④ 独立文字色，避免继承页面上的浅色 */
  .main-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 0 14px;
    background: #fff;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    /* 浮层抽屉：固定定位贴 header 下沿，实心白底 + 阴影 + 限高滚动 */
    display: flex;
    position: fixed;
    top: 68px;                 /* 与 .header-inner 高度一致，紧贴 header 下沿 */
    left: 0; right: 0;
    width: auto;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
    z-index: 900;              /* 高于页面内容，低于 1000 级模态 */
    padding: 8px 16px 18px;
    border-top: 1px solid var(--border);
  }
  /* 抽屉内文字用深色，避免继承 hero/深色板块的浅色文字导致看不清 */
  .main-nav.open .nav-link,
  .main-nav.open .nav-link:visited { color: var(--text, #1f2d3d); }
  .main-nav.open .nav-link.active { color: var(--primary, #1a5fb4); }
  .main-nav .nav-link {
    padding: 13px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  /* Mega Menu 移动端转为折叠子菜单，不再是大面板 */
  .nav-item-has-mega { position: static; }
  .mega-menu {
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .nav-item-has-mega.mega-open .mega-menu { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 4px; padding: 6px 0 10px 12px; }
  .mega-col-title { font-size: .78rem; margin: 10px 0 6px; border-bottom: none; }
  .mega-list a { padding: 9px 4px; }
  .mega-footer {
    margin: 8px 0 0;
    padding: 12px 4px;
    border-top: 1px solid var(--border);
    background: none;
    border-radius: 0;
  }
  .mega-menu, .mega-inner, .mega-list { max-width: 100%; overflow-x: hidden; }
}
@media (max-width: 560px) {
  .btn-quote { padding: 9px 14px; font-size: .82rem; }
  .header-actions { gap: 8px; }
  .mega-menu { min-width: 0 !important; }
}

/* --- Legal 静态页 --- */
.legal-wrap { max-width: 860px; }
.legal-content { line-height: 1.85; color: var(--text); }
.legal-content h3 { margin: 26px 0 10px; font-size: 1.1rem; color: var(--text); }
.legal-content p { margin-bottom: 14px; color: var(--text-muted); }
/* --- 分类归档页头部（SEO H1 + 面包屑 + 描述） --- */
.cat-archive-head { margin-bottom: 26px; }
.cat-crumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.cat-crumb a { color: var(--text-muted); }
.cat-crumb a:hover { color: var(--primary); }
.crumb-sep { margin: 0 7px; opacity: .5; }
.crumb-cur { color: var(--text); font-weight: 500; }
.cat-archive-title { font-size: 1.6rem; margin-bottom: 12px; color: var(--text); }
.cat-archive-desc {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--text-muted);
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}
/* 顶部 Get A Quote 由 <a> 改为 <button>（弹窗触发），重置浏览器默认按钮样式 */
button.btn-quote {
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

/* ==================================================================
   Industries 行业栏目（主人 2026-09-13 18:33 方案）
   总览页 6 卡片网格 + 详情页推荐产品/优势/场景 + CTA 条带
   ================================================================== */

/* 总览页：6 个行业卡片 */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 38px;
}
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid rgba(16, 35, 63, .1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16, 35, 63, .12);
  border-color: rgba(0, 122, 204, .4);
}
.industry-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 122, 204, .09);
  color: #007acc;
}
.industry-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #10233f;
}
.industry-card-text {
  margin: 0;
  font-size: .93rem;
  line-height: 1.72;
  color: #5b6b7f;
  flex: 1;
}
.industry-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: #007acc;
}

/* 详情页：行业 Hero 配图（主人 2026-09-29 指令第 3 项）
   与首页行业卡片同图；固定 16:9 比例 + object-fit:cover，不拉伸不变形 */
.industry-hero {
  margin: 0 0 30px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 8px 26px rgba(16, 35, 63, .10);
}
.industry-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
@media (max-width: 640px) {
  .industry-hero { margin-bottom: 22px; border-radius: 10px; }
  .industry-hero img { aspect-ratio: 4 / 3; }
}

/* 详情页：内容板块 */
.industry-detail .cat-archive-head { margin-bottom: 34px; }
.industry-block { margin: 38px 0; }
.industry-block-title {
  margin: 0 0 18px;
  font-size: 1.22rem;
  font-weight: 700;
  color: #10233f;
  padding-left: 13px;
  border-left: 3px solid #007acc;
  line-height: 1.3;
}

/* 详情页：推荐产品卡片 */
.industry-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.industry-product-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: #f7fafd;
  border: 1px solid rgba(16, 35, 63, .08);
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.industry-product-card:hover {
  background: #fff;
  border-color: rgba(0, 122, 204, .45);
}
.industry-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #10233f;
}
.industry-product-count {
  font-size: .84rem;
  color: #8494a8;
}

/* 详情页：核心优势列表 */
.industry-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.industry-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  line-height: 1.7;
  color: #3f5065;
}
.industry-benefits svg {
  flex: 0 0 auto;
  margin-top: 5px;
  color: #007acc;
}

/* 详情页：应用场景 */
.industry-scenario {
  margin: 0;
  font-size: .97rem;
  line-height: 1.85;
  color: #3f5065;
}

/* 行业间互链 chip */
.industry-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industry-chip {
  padding: 9px 18px;
  border: 1px solid rgba(16, 35, 63, .14);
  border-radius: 30px;
  font-size: .89rem;
  color: #3f5065;
  text-decoration: none;
  transition: all .2s;
}
.industry-chip:hover {
  border-color: #007acc;
  color: #007acc;
  background: rgba(0, 122, 204, .06);
}

/* 底部 CTA 条带 */
.cta-band {
  background: linear-gradient(135deg, #10233f 0%, #1b3a63 100%);
  padding: 48px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.cta-band-text {
  margin: 0;
  font-size: .96rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
  max-width: 620px;
}
.cta-band .btn-primary {
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 960px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr; gap: 18px; }
  .industry-product-grid { grid-template-columns: 1fr; }
  .industry-benefits { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== 行业详情页：正文与「Other Industries」之间的空白收窄 =====
   修复（主人 2026-09-13 19:09 报障）：
   原结构 = .industry-detail(.section, padding-bottom:64px)
          + .industry-block(margin-bottom:38px)
          + .industry-more(.section, padding-top:64px)
   三者叠加产生约 100px+ 空白；且 .industry-more 上下都应紧凑贴合正文与页脚。
   处理：.industry-more 去掉 .section 的大内边距，改用注释：紧凑上间距 + 分隔线区分层级 */
.industry-more {
  padding: 0 0 56px;
  margin-top: 0;
}
.industry-more .industry-block-title {
  margin: 0 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border, #e6e9ef);
}


/* ===== 首页 Our Categories：两大产品线分类入口卡片 =====
   主人 2026-09-13 19:29 改造方案
   布局：桌面 3 栏（2 行）/ 平板 2 栏 / 手机单列堆叠（主人 2026-09-27 22:24 指令）
   风格：简约工业风 + 蓝色主调，卡片 hover 轻微上浮，按钮 hover 变色，无花哨动画 */
.catline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}
.catline-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.catline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16, 35, 63, .12);
  border-color: rgba(16, 35, 63, .18);
}
.catline-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f6;
}
.catline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.catline-card:hover .catline-media img { transform: scale(1.03); }

/* ===== 首页 Featured Products：图片容器改 1:1 正方形（主人 2026-09-27 22:19 指令）=====
   背景：全站产品图为 800×800（1:1），而 .catline-media 默认 16/9 会把方图裁边。
   处理：仅对 Featured 区块覆盖 aspect-ratio 为 1/1，保持 object-fit: cover 让方图完整无裁切。
   影响面：限定在 .featured-card 内，Our Categories 等其他 catline 区块不受影响。 */
.featured-card .catline-media {
  aspect-ratio: 1 / 1;
}

.catline-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}
.catline-title {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--text, #10233f);
}
.catline-title a { color: inherit; text-decoration: none; }
.catline-title a:hover { color: var(--accent, #0d6efd); }

.catline-text {
  margin: 0 0 18px;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted, #5a6b80);
}

/* 子分类：普通文本链接（非 H 标签，保障 SEO 层级） */
.catline-links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.catline-links li { margin: 0; }
.catline-links a {
  position: relative;
  font-size: .93rem;
  color: var(--text, #10233f);
  text-decoration: none;
  padding-left: 14px;
}
.catline-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, #0d6efd);
}
.catline-links a:hover { color: var(--accent, #0d6efd); text-decoration: underline; }

.catline-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* 板块底部全局按钮 */
.catline-more {
  margin-top: 36px;
  text-align: center;
}

/* 响应式：平板 2 栏（768-1023px），手机单列堆叠（<768px）
   主人 2026-09-27 22:24 指令：桌面 3 列 2 行 / 平板 2 列 / 手机 1 列 */
@media (max-width: 1023px) {
  .catline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .catline-body { padding: 22px 22px 24px; }
}
@media (max-width: 767px) {
  .catline-grid { grid-template-columns: 1fr; gap: 22px; }
  .catline-title { font-size: 1.18rem; }
  .catline-btn { align-self: stretch; text-align: center; }
}

/* ===== 修复：Our Categories 底部按钮「View All Products」文字看不清 =====
   根因：.btn-outline 是给深色 Hero 区设计的（color:#fff 白字 + 白边框），
         搬到浅底 .section-soft 上 → 白字白底，几乎看不见。
   处理：在浅色板块内用独立类 .btn-allproducts，实心浅色底 + 深蓝字 + 清晰边框。 */
.btn-allproducts {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #fff;
  color: #10233f;
  border: 2px solid #10233f;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-allproducts:hover {
  background: var(--accent, #0d6efd);
  color: #fff;
  border-color: var(--accent, #0d6efd);
  transform: translateY(-2px);
}

/* ===== 首页 Our Factory：左图右文 50:50 布局 + 4 图轮播 =====
   主人 2026-09-13 19:34 改造方案
   桌面 50%:50% / 平板移动端上下堆叠（图上文下）
   轮播：自动缓慢切换 + 手动点击 + 左右箭头 + 圆点；无花哨动画 */
.factory-split {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 严格各 50% */
  gap: 46px;
  align-items: center;
}

/* --- 左侧：轮播 --- */
.factory-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f6;
  aspect-ratio: 4 / 3;
}
.factory-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.factory-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .65s ease;   /* 平缓淡入淡出，无花哨特效 */
  pointer-events: none;
}
.factory-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.factory-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左右箭头 */
.factory-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(16, 35, 63, .45);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
  z-index: 2;
}
.factory-nav svg { width: 20px; height: 20px; }
.factory-nav:hover { background: rgba(16, 35, 63, .72); }
.factory-nav-prev { left: 14px; }
.factory-nav-next { right: 14px; }

/* 圆点指示器 */
.factory-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.factory-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.factory-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* --- 右侧：文字 --- */
.factory-body { min-width: 0; }
.factory-h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text, #10233f);
}
.factory-p {
  margin: 0 0 16px;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text-muted, #5a6b80);
}

/* 4 个要点：图标 + 普通文本（禁 H 标签） */
.factory-points {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
}
.factory-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--text, #10233f);
}
.factory-point-icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(13, 110, 253, .1);
  color: var(--accent, #0d6efd);
  display: flex;
  align-items: center;
  justify-content: center;
}
.factory-point-icon svg { width: 12px; height: 12px; }

.factory-cta { margin-top: 4px; }

/* --- 响应式：平板 / 移动端上下堆叠（图上文下） --- */
@media (max-width: 992px) {
  .factory-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .factory-gallery { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .factory-gallery { aspect-ratio: 4 / 3; border-radius: 10px; }
  .factory-h3 { font-size: 1.2rem; }
  .factory-points { grid-template-columns: 1fr; gap: 11px; }
  .factory-nav { width: 34px; height: 34px; }
  .factory-nav-prev { left: 9px; }
  .factory-nav-next { right: 9px; }
  .factory-cta { display: block; text-align: center; }
}

/* ===== 首页 Industries We Serve：6 行业卡片（主人 2026-09-13 19:43 官方方案）=====
   桌面 4 列 / 平板 2 列 / 手机单列；卡片等高；hover 轻微上浮 + 边框蓝色高亮；无花哨动画 */
.ind-grid-6 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;          /* 同一行卡片等高（短文本卡自动补足） */
}
/* 描述文字行数较少时，用最小高度兜底，避免同行卡片高度不齐 */
.ind-card-text { min-height: 4.95em; }   /* ≈3 行文字（1.65 行高） */
.ind-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ind-card-v2:hover {
  transform: translateY(-4px);                       /* 轻微上浮 */
  border-color: #0d6efd;                             /* 边框蓝色高亮（本站 --accent 是琥珀金，故直写品牌蓝） */
  box-shadow: 0 10px 26px rgba(13, 110, 253, .13);
}
/* 行业配图：统一扁横幅比例，压缩卡片高度（主人 2026-09-27 22:38 指令：16:10 → 5:2）
   列宽不变（约 329px），仅高度降低；object-fit: cover 保证实景图居中裁边、不拉伸变形。 */
.ind-card-media {
  aspect-ratio: 5 / 2;
  background: #eef1f6;
  overflow: hidden;
}
.ind-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ind-card-v2:hover .ind-card-media img { transform: scale(1.04); }

.ind-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;                 /* 撑满剩余高度 → 按钮底部对齐 */
  padding: 14px 18px 16px;        /* 内边距压缩 20%（原 18px 18px 20px，上下各减 4px）*/
}
.ind-card-title {
  margin: 0 0 8px;                /* 原 10px，压缩 20% */
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text, #10233f);
}
.ind-card-text {
  margin: 0 0 13px;               /* 原 16px，压缩约 20% */
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-muted, #5a6b80);
  flex: 1 1 auto;
}
.ind-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: .875rem;
  font-weight: 600;
  color: #0d6efd;                              /* 品牌蓝，与边框高亮统一 */
  transition: gap .2s ease, color .2s ease;
}
.ind-card-v2:hover .ind-card-btn { gap: 9px; }

/* 底部引导条 */
.ind-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--bg-soft, #f5f8fc);
  border-radius: 12px;
  text-align: center;
}
.ind-lead-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text, #10233f);
}
.ind-lead-btn { flex: 0 0 auto; }

/* --- 响应式：平板 2 列 / 手机 1 列 --- */
@media (max-width: 992px) {
  .ind-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .ind-grid-6 { grid-template-columns: 1fr; gap: 16px; }
  .ind-card-media { aspect-ratio: 16 / 9; }
  .ind-lead { flex-direction: column; gap: 14px; padding: 22px 18px; margin-top: 28px; }
  .ind-lead-btn { width: 100%; text-align: center; }
}

/* ============================================================
   产品详情页 v2 —— 商务卡片式排版（2026-09-19 重构）
   目标：图文分区清晰、参数表专业、CTA 醒目、移动端友好
   ============================================================ */

/* ---------- 主形象区：左图右信息 ---------- */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.pd-gallery { position: sticky; top: 96px; }

.pd-main-img {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

/* ---------- 右侧信息区 ---------- */
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px;
}

.pd-title {
  font-size: 1.85rem;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 14px;
}

.pd-summary {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* 核心卖点 */
.pd-highlights {
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: grid;
  gap: 10px;
}
.pd-highlights li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .96rem;
  color: var(--text);
}
.pd-ico {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* 主 CTA 按钮组 */
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-cta .btn { padding: 13px 30px; font-size: 1rem; }
.pd-btn-quote {
  background: var(--accent);
  color: #1f2d3d;
  font-weight: 600;
  border-radius: 8px;
}
.pd-btn-quote:hover { background: #ffb81f; transform: translateY(-1px); color: #1f2d3d; }
.pd-btn-contact {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  border-radius: 8px;
}
.pd-btn-contact:hover { background: var(--primary); color: #fff; }

/* ---------- 详情正文：分区卡片 ---------- */
.pd-body {
  margin-top: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.pd-body h3 {
  font-size: 1.22rem;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  position: relative;
}
.pd-body h3::before {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 64px; height: 2px;
  background: var(--primary);
}
.pd-body h3:not(:first-child) { margin-top: 40px; }

.pd-body p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.pd-body ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.pd-body ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  line-height: 1.75;
}
.pd-body ul li::before {
  content: "▪";
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- 技术参数表：专业工业风 ---------- */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 4px 0 8px;
  font-size: .95rem;
}
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.spec-table tr:nth-child(even) { background: #fff; }
.spec-table tr:hover { background: var(--primary-light); }

.spec-table th {
  width: 42%;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
  background: rgba(26, 95, 180, .03);
}
.spec-table td {
  padding: 13px 20px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }

/* RTL 适配 */
body.rtl .pd-body h3::before { left: auto; right: 0; }
body.rtl .pd-highlights { border-left: none; border-right: 3px solid var(--primary); border-radius: var(--radius) 0 0 var(--radius); }
body.rtl .pd-body ul li { padding-left: 0; padding-right: 26px; }
body.rtl .pd-body ul li::before { left: auto; right: 8px; }
body.rtl .spec-table th { text-align: right; border-right: none; border-left: 1px solid var(--border); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .pd-hero { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .pd-gallery { position: static; }
  .pd-title { font-size: 1.5rem; }
  .pd-body { padding: 26px 22px; }
}

@media (max-width: 600px) {
  .pd-hero { padding: 18px; }
  .pd-body { padding: 22px 16px; }
  .pd-highlights { padding: 14px 16px; }
  .spec-table { font-size: .88rem; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .spec-table th { width: 45%; }
  .pd-cta .btn { width: 100%; text-align: center; }
}

/* ---------- 产品图集：主图 + 缩略图 + 左右切换 ---------- */
.pd-main-img { position: relative; }
.pd-main-img img { cursor: zoom-in; transition: opacity .25s ease; }

/* 左右箭头 */
.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 42, 84, .18);
  transition: background .2s, color .2s, transform .2s;
  z-index: 2;
  padding-bottom: 4px;
}
.pd-nav:hover { background: var(--primary); color: #fff; }
.pd-nav-prev { left: 12px; }
.pd-nav-next { right: 12px; }
body.rtl .pd-nav-prev { left: auto; right: 12px; }
body.rtl .pd-nav-next { right: auto; left: 12px; }

/* 缩略图条 */
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.pd-thumb {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color .2s, transform .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pd-thumb:hover { border-color: var(--primary); transform: translateY(-2px); }
.pd-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }

@media (max-width: 600px) {
  .pd-nav { width: 36px; height: 36px; font-size: 1.4rem; }
  .pd-thumbs { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
}

/* ============================================================
   PUTE PDP（产品详情页）—— 7 大区块骨架
   Hero / Core Specs / Machining Capability / Description
   Grade Recommendation / Technical Resources / Trust + FAQ
   ============================================================ */

/* ---------- 材质组配色标签 P/M/K/N/S/H ---------- */
.mg-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 13px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.mg-p { background: #1a5fb4; }   /* P 蓝 Steel */
.mg-m { background: #2e9e5b; }   /* M 绿 Stainless Steel */
.mg-k { background: #d0393a; }   /* K 红 Cast Iron */
.mg-n { background: #c99a1e; }   /* N 金 Non-ferrous */
.mg-s { background: #e07b28; }   /* S 橙 Heat-resistant Alloy */
.mg-h { background: #7a4fbf; }   /* H 紫 Hardened Steel */
.mg-x { background: #7a8896; }   /* 未知 */

/* ---------- 库存状态徽标 ---------- */
.pd-badge-status {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.pd-badge-status.is-stock { background: #e4f6ea; color: #1f7a44; border: 1px solid #b7e4c7; }
.pd-badge-status.is-produceable { background: #eef1f5; color: #5a6b7b; border: 1px solid #d8dfe7; }
.txt-stock { color: #1f7a44; font-weight: 600; }
.txt-produceable { color: #5a6b7b; font-weight: 600; }

.pd-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }

/* ---------- Hero：左 40% / 右 60% ---------- */
.pd-hero { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }

/* 图集 hover 放大 */
.pd-main-img { position: relative; overflow: hidden; }
.pd-main-img img { transition: transform .28s ease; will-change: transform; }
.pd-zoom-hint {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(31, 45, 61, .72);
  color: #fff;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.pd-main-img:hover .pd-zoom-hint { opacity: 1; }

/* ---------- SKU / 库存 / MOQ 速览 ---------- */
.pd-meta {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 16px;
  font-size: .92rem;
  border-bottom: 1px solid var(--border);
}
.pd-meta li:last-child { border-bottom: 0; }
.pd-meta li:nth-child(odd) { background: var(--bg-soft); }
.pd-meta-k { color: var(--text-muted); font-weight: 600; }
.pd-meta-v { color: var(--text); }
.pd-meta-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; }

/* ---------- CTA 按钮：RFQ ---------- */
.pd-btn-rfqlist {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  padding: 13px 30px;
  font-size: 1rem;
  transition: all .2s;
}
.pd-btn-rfqlist:hover { background: var(--primary-light); }
.pd-btn-rfqlist.is-added { background: #e4f6ea; border-color: #1f7a44; color: #1f7a44; }
.pd-price-note { font-size: .82rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* ---------- 通用区块容器 ---------- */
.pd-block {
  margin-top: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.pd-block .section-head { margin-bottom: 22px; }
.pd-block .section-head h2 { font-size: 1.32rem; color: var(--text); position: relative; padding-left: 16px; }
.pd-block .section-head h2::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
}

/* ---------- 规格表：两栏对称 ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .94rem;
}
.spec-table th,
.spec-table td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; vertical-align: middle; }
.spec-table th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 600;
  width: 16%;
  white-space: nowrap;
}
.spec-table td { width: 34%; color: var(--text); }
.spec-table tr:hover td { background: #fafcfe; }
.spec-note { font-size: .82rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* ---------- Machining Capability 卡片 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.cap-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cap-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary); }
.cap-ico { font-size: 1.5rem; line-height: 1; }
.cap-k { font-size: .8rem; color: var(--text-muted); font-weight: 600; letter-spacing: .02em; margin-top: 6px; }
.cap-v { font-size: 1rem; color: var(--text); font-weight: 600; line-height: 1.5; }

/* ---------- 数据表（牌号推荐） ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .93rem;
  min-width: 640px;
}
.data-table th,
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.data-table thead th { background: var(--bg-soft); color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fafcfe; }
.data-table tr.is-current td { background: #fff9e8; }
.data-table tr.is-current td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.tag-current {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  background: var(--accent);
  color: #1f2d3d;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Technical Resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.res-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.res-ico { font-size: 1.6rem; line-height: 1; }
.res-card h3 { font-size: 1.04rem; color: var(--text); }
.res-card p { font-size: .9rem; color: var(--text-muted); flex: 1; line-height: 1.7; }
.res-card .btn { align-self: flex-start; padding: 10px 22px; font-size: .9rem; }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.res-list li { padding-left: 16px; position: relative; }
.res-list li::before { content: "›"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.res-sub { color: var(--text-muted); font-size: .84rem; }

/* ---------- Trust 卡片 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.trust-card {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-soft);
}
.trust-ico { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 8px; }
.trust-card h3 { font-size: .98rem; color: var(--text); margin-bottom: 6px; }
.trust-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- FAQ 手风琴 ---------- */
.faq-acc { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.faq-item summary {
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 46px;
  transition: background .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary { background: var(--bg-soft); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item p { padding: 4px 20px 18px; font-size: .9rem; color: var(--text-muted); line-height: 1.8; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .pd-hero { grid-template-columns: 1fr !important; gap: 28px; padding: 24px; }
  .pd-gallery { position: static; }
  .pd-block { padding: 26px 20px; }
  .pd-meta li { grid-template-columns: 100px 1fr; }
  .spec-table th { width: 22%; }
  .spec-table td { width: 28%; }
}
@media (max-width: 640px) {
  .pd-title { font-size: 1.42rem; }
  .pd-block { padding: 22px 16px; margin-top: 24px; }
  .pd-cta { flex-direction: column; }
  .pd-cta .btn, .pd-btn-rfqlist { width: 100%; text-align: center; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: .88rem; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- RTL 适配 ---------- */
body.rtl .pd-block .section-head h2 { padding-left: 0; padding-right: 16px; }
body.rtl .pd-block .section-head h2::before { left: auto; right: 0; }
body.rtl .pd-meta li { text-align: right; }
body.rtl .spec-table th, body.rtl .spec-table td,
body.rtl .data-table th, body.rtl .data-table td { text-align: right; }
body.rtl .data-table tr.is-current td:first-child { box-shadow: inset -3px 0 0 var(--accent); }
body.rtl .trust-card { border-left: 1px solid var(--border); border-right: 3px solid var(--primary); border-radius: var(--radius) 0 0 var(--radius); }
body.rtl .res-list li { padding-left: 0; padding-right: 16px; }
body.rtl .res-list li::before { left: auto; right: 0; }
body.rtl .faq-item summary { padding-right: 20px; padding-left: 46px; }
body.rtl .faq-item summary::after { right: auto; left: 20px; }

/* ============================================================
   Products 列表页改造（主人 2026-09-19 21:53）
   §2 4 列 Mega Menu / §3 紧凑页头 / §4 筛选栏 / §5 卡片 / §6 排序分页
   ============================================================ */

/* ---------- §2.4 栏 Mega Menu ---------- */
/* ⚠️ 主人 2026-09-19 22:01 反馈：鼠标一移动下拉就消失 → 修 hover 盲区 */
.nav-item-has-mega { position: relative; }
/* ⚠️ 坑记死（2026-09-19 22:52）：这个 ::after 补缝伪元素【已移除】。
   它原本是为修"鼠标一移就消失"补的，但它制造了一块新的【隐形热区】
   （left:-20px right:-20px, top:100%, height:16px）→
   鼠标在触发项【左右各 20px、下方 16px】的空白区域也会满足 :hover，
   直接造成主人报的"鼠标离 Products 还好远就展开了"。
   现在收起/展开全由 JS 的 .mega-hover 类控制，且 megaHide 有 180ms 延迟、
   面板自身 mouseenter 会立刻 megaShowNow，缝隙问题已由 JS 解决，无需伪元素。 */
/* 关键修复 2：不再用 visibility 切换（transition 会让它在动画中被判定为不可见导致 hover 丢失），
   改用 display 由 JS 控制 + opacity 过渡；hover 期间面板与触发项同属一个 hover 上下文 */
.mega4 {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(1000px, 94vw); background: #fff; border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .16), 0 2px 8px rgba(15, 23, 42, .06);
  border: 1px solid #e8ecf2; padding: 22px 24px; z-index: 120;
  opacity: 0; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
/* 面板顶部再补 12px 内边距，与触发项无缝衔接（视觉上仍留白，命中区无缝隙） */
/* ⚠️ 坑记死（2026-09-19 22:52）：这里【故意不写 :hover】！
   原写法 `.nav-item-has-mega:hover .mega4` 有两个致命问题：
   ① CSS :hover 是零延迟的，JS 的 150ms 悬停意图延迟根本管不住它；
   ② 更狠的是 —— .mega4 本身是 .nav-item-has-mega 的后代，
      面板宽 1000px 居中定位（x=-88~912, y=55~518），
      这块【大矩形即使 opacity:0 也照样参与命中】→ 鼠标移到 Products
      下方老远的空白处，hover 也成立 → 面板莫名其妙弹开。
      实测：未展开状态下鼠标移到 (200,300)（面板本该在的空白位）→ op 立刻变 1。
   修法：展开完全交给 JS 的 .mega-hover / .mega-open 类（可加延迟），
      并把触碰判定收窄到【只看触发链接 .nav-link 本体】，
      面板只负责"进去后维持不收起"（.mega4:hover 时保持）。 */
.nav-item-has-mega.mega-hover .mega4,
.nav-item-has-mega.mega-open .mega4,
.nav-item-has-mega:focus-within .mega4 {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega4-inner { display: grid; grid-template-columns: 280px 200px 180px 200px; gap: 8px; }
.mega4-col { padding: 0 14px; border-right: 1px solid #eef1f6; }
.mega4-col:last-child { border-right: 0; }
.mega4-head {
  font-size: 14px; font-weight: 700; color: #1f2937;
  padding: 0 8px 10px; margin-bottom: 6px; border-bottom: 1px solid #eef1f6;
}
.mega4-list { display: flex; flex-direction: column; }
.mega4-item { position: relative; }
.mega4-link {
  /* ⚠️ 坑记死（2026-09-19 23:23）：原为 justify-content: space-between，
     把 <span>label</span> 顶左、<span class="mega4-arrow">▸</span> 甩到【行最右端】。
     移动端行宽 438 + 起点 70 = 右端 508，而抽屉可视内容右边界只有 ≈469
     → 箭头 x=488 落在可视区外，屏幕上看着「缺了个向右三角形」。
     （今天第四次踩「同权重按源码顺序后者胜」：我在 992 块里写的覆盖块
       位置在这条【之前】，被它反向盖掉了。改源头才是正解。）
     现改为 flex-start + 内联 gap，箭头紧跟文字，永不越界。 */
  display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  padding: 7px 10px; border-radius: 7px; font-size: 13.5px; color: #374151;
  transition: background .14s ease, color .14s ease;
}
.mega4-link:hover { background: #f3f6fb; color: #0f4c9c; }
.mega4-item.has-sub > .mega4-link { font-weight: 600; color: #1f2937; }
.mega4-arrow { color: #9aa4b2; font-size: 11px; flex: 0 0 auto; }
.mega4-link.mega4-direct { font-weight: 400; color: #4b5563; }

/* 二级 flyout */
/* ⚠️ 坑记死（2026-09-19 22:55）：这个补缝伪元素已【移除】。
   原规则 content:"" position:absolute right:-8px width:10px pointer-events:auto，
   是【常驻】的（无任何 hover 前提）→ 每个 has-sub 项右侧伸出一条隐形竖条，
   而它属于 .nav-item-has-mega 的后代 → 鼠标在页面上随便移动碰到竖条，
   就满足 .nav-item-has-mega:hover → 下拉面板莫名其妙弹开。
   实测铁证：未展开时鼠标移到 (200,300) → op 立刻变 1；(250,300) 则不变，
   因为 has-sub 项 rect 为 x=-50 w=251（右边缘 201），竖条正好落在 x=193~203。
   修法：彻底删掉。一级/二级面板的缝隙问题现由 JS 的 mouseenter/mouseleave
   延迟（150ms 展开 / 180ms 收起 + 面板 megaShowNow）解决，无需命中区补缝。 */
.mega4-flyout {
  position: absolute; left: calc(100% + 4px); top: -8px; min-width: 210px;
  background: #fff; border: 1px solid #e8ecf2; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14); padding: 8px;
  display: flex; flex-direction: column; z-index: 2;
  opacity: 0; pointer-events: none;
  transition: opacity .14s ease;
}
.mega4-item.has-sub:hover > .mega4-flyout,
.mega4-item.has-sub:focus-within > .mega4-flyout { opacity: 1; pointer-events: auto; }
.mega4-flyout a {
  padding: 7px 10px; border-radius: 6px; font-size: 13px; color: #4b5563; white-space: nowrap;
}
.mega4-flyout a:hover { background: #f3f6fb; color: #0f4c9c; }

/* ---------- §3.1 紧凑页头 ---------- */
.pl-head { background: #f7f9fc; border-bottom: 1px solid #e9eef5; padding: 30px 0 26px; }
.pl-title { font-size: 34px; font-weight: 700; color: #111827; margin: 0 0 8px; line-height: 1.2; }
.pl-sub { font-size: 15px; color: #5b6674; margin: 0 0 18px; max-width: 760px; }
.pl-search { display: flex; gap: 10px; max-width: 720px; }
.pl-search input {
  flex: 1 1 auto; height: 44px; padding: 0 16px; border: 1px solid #d7dee8;
  border-radius: 8px; font-size: 14px; background: #fff;
}
.pl-search input:focus { outline: none; border-color: #1a5fb4; box-shadow: 0 0 0 3px rgba(26, 95, 180, .12); }
.pl-search .btn { height: 44px; padding: 0 22px; white-space: nowrap; }

/* ---------- §7 分类 chips ---------- */
.pl-chips-wrap { background: #fff; border-bottom: 1px solid #eef1f6; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; }
.pl-chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid #d7dee8;
  font-size: 13px; color: #4b5563; background: #fff; transition: all .14s ease;
}
.pl-chip:hover { border-color: #1a5fb4; color: #1a5fb4; }
.pl-chip.is-current { background: #1a5fb4; border-color: #1a5fb4; color: #fff; font-weight: 600; }

/* ---------- §3.2 主布局 25% / 75% ---------- */
.pl-section { padding: 26px 0 56px; }
/* ⚠️ 坑记死（2026-09-19 22:30）：
   曾出现 .pl-sidebar 与 .pl-main 【都落在网格第 1 列】→ .pl-main 宽仅 290px、
   卡片被压成 83px、右侧 844px 全空（主人报"内容部分右侧空白"）。
   根因：外层 grid 中间夹了隐藏的 button.sidebar-drawer-btn 参与自动排位，
   加上移动端 .sidebar{position:fixed} 抽屉规则在某些宽度把 aside 抽离文档流，
   使 .pl-main 自动排位时被挤回第 1 列。
   修法：⭐ 显式钉死 grid-column，绝不依赖自动排位。 */
.pl-layout { display: grid; grid-template-columns: 25% minmax(0, 75%); gap: 26px; align-items: start; }
.pl-layout > .sidebar-drawer-btn { grid-column: 1 / -1; grid-row: 1; }
.pl-sidebar {
  grid-column: 1; grid-row: 2;
  position: sticky; top: 88px; background: #fff; border: 1px solid #e8ecf2;
  border-radius: 10px; padding: 16px 16px 8px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.pl-main { grid-column: 2; grid-row: 2; min-width: 0; }
.pl-layout > .drawer-overlay { grid-column: 1 / -1; }

/* ---------- §4 筛选栏 ---------- */
.pl-filter-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; color: #1f2937;
  padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid #eef1f6;
}
.pl-clear { font-size: 12.5px; font-weight: 500; color: #d0393a; }
.pl-clear:hover { text-decoration: underline; }
.pl-applied { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
.pl-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  background: #eaf1fb; color: #14508f; border-radius: 999px; font-size: 12px; font-weight: 500;
}
.pl-tag b { font-weight: 700; font-size: 13px; }
.pl-tag:hover { background: #dbe8fa; }

.pl-fgroup { border-bottom: 1px solid #f1f4f8; }
.pl-fgroup:last-child { border-bottom: 0; }
.pl-fhead {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 2px; background: none; border: 0; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: #374151; text-align: left;
}
.pl-fhead:hover { color: #1a5fb4; }
.pl-caret { color: #9aa4b2; font-size: 15px; line-height: 1; transition: transform .16s ease; }
.pl-fgroup.open .pl-caret { transform: rotate(45deg); }
.pl-fbody { display: none; padding: 0 2px 12px; flex-direction: column; gap: 2px; }
.pl-fgroup.open .pl-fbody { display: flex; }
.pl-opt {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px;
  border-radius: 6px; font-size: 13px; color: #4b5563; cursor: pointer;
}
.pl-opt:hover { background: #f5f8fc; }
.pl-opt input { margin: 0; accent-color: #1a5fb4; flex: 0 0 auto; }
.pl-opt em { margin-left: auto; font-style: normal; font-size: 11.5px; color: #9aa4b2; }

/* 材质组色点 */
.mg-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.mg-dot.mg-p { background: #1a5fb4; } .mg-dot.mg-m { background: #2e9e5b; }
.mg-dot.mg-k { background: #d0393a; } .mg-dot.mg-n { background: #c99a1e; }
.mg-dot.mg-s { background: #e07b28; } .mg-dot.mg-h { background: #7a4fbf; }
/* 库存点 */
.pl-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.pl-dot.is-stock { background: #2e9e5b; }
.pl-dot.is-prod { background: #b3bcc9; }

/* ---------- §6 工具栏 ---------- */
.pl-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 0 14px; margin-bottom: 16px; border-bottom: 1px solid #eef1f6; flex-wrap: wrap;
}
.pl-count { font-size: 13.5px; color: #5b6674; }
.pl-sortby { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #5b6674; }
.pl-sortby select {
  height: 36px; padding: 0 10px; border: 1px solid #d7dee8; border-radius: 7px;
  font-size: 13.5px; background: #fff; color: #374151; cursor: pointer;
}
.pl-sortby select:focus { outline: none; border-color: #1a5fb4; }

/* ---------- §5 产品卡片 ---------- */
.pl-grid { gap: 20px; }
.pl-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf2;
  border-radius: 10px; overflow: hidden; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.pl-card:hover { box-shadow: 0 10px 26px rgba(15, 23, 42, .1); transform: translateY(-2px); }
.pl-card-img {
  display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden;
  border-bottom: 1px solid #f1f4f8;
}
.pl-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; }
.pl-card:hover .pl-card-img { border-color: #1a5fb4; }
.pl-card-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.pl-card-model { font-size: 14px; font-weight: 700; line-height: 1.35; margin: 0; }
.pl-card-model a { color: #111827; }
.pl-card-model a:hover { color: #1a5fb4; }
.pl-card-stock { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #4b5563; }
.pl-card-grade { font-size: 12.5px; color: #6b7684; }
.pl-card-btn {
  margin-top: auto; display: block; text-align: center; padding: 10px 14px;
  background: #1a5fb4; color: #fff; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  transition: background .15s ease;
}
.pl-card-btn:hover { background: #14508f; color: #fff; }

/* 卡片材质组标签（列表页复用 PDP 六色） */
.pl-card .mg-tag { align-self: flex-start; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; color: #fff; font-weight: 600; }
.pl-card .mg-tag.mg-p { background: #1a5fb4; } .pl-card .mg-tag.mg-m { background: #2e9e5b; }
.pl-card .mg-tag.mg-k { background: #d0393a; } .pl-card .mg-tag.mg-n { background: #c99a1e; }
.pl-card .mg-tag.mg-s { background: #e07b28; } .pl-card .mg-tag.mg-h { background: #7a4fbf; }
.pl-card .mg-tag.mg-x { background: #8b95a3; }

/* ---------- 分页 ---------- */
.pl-main .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.page-gap { padding: 8px 4px; color: #9aa4b2; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .mega4-inner { grid-template-columns: 260px 190px 170px 190px; }
}
@media (max-width: 992px) {
  /* ⚠️ 坑记死（2026-09-19 23:10）：手机端展开的 Products 面板【左侧内容被裁掉】。
     实测几何：.mega4 x=-25 w=243，所有文字节点 left=-25（左边 25px 推出屏幕外）。
     真因：桌面端 .mega4 是居中定位 —— `left:50%; transform:translateX(-50%)`。
     移动端块里虽然写了 `transform:none`，但它被【文件更靠后的桌面块】覆盖了
     （媒体查询同权重按源码顺序后者胜 —— 与本节 22:15 的汉堡问题同一个坑，第二次发作）。
     结果：transform 复位失效，left:50% 仍生效，再叠 -50% 位移 → 左边界跑到 -25px。
     修法：移动端全部加 !important 锁死复位（transform / left / width），
     并把 left 显式归零，不依赖 transform 纠正。 */
  .mega4 {
    display: none;
    position: static !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    padding: 8px 0 !important;
    opacity: 1 !important;
  }
  .nav-item-has-mega.mega-open .mega4 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
  }
  .mega4-inner { grid-template-columns: 1fr; gap: 0; }
  .mega4-col { border-right: 0; border-bottom: 1px solid #eef1f6; padding: 0 0 6px; margin-bottom: 6px; }
  .mega4-flyout {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; padding: 0 0 0 14px; display: none;
  }
  .mega4-item.has-sub.mega-open-sub > .mega4-flyout { display: flex; }
  /* ⚠️ 坑记死（2026-09-19 23:18）：三级分类在手机上点不到。
     移动端 CSS 有 .mega-open-sub 规则，但【没有任何 JS 去加这个类】（grep=0），
     桌面端靠 :hover/:focus-within 自治展开，移动端没 hover → 永远展不开。
     已补 JS 点击切换；这里配套让 has-sub 行整行可点 + 展开态给视觉反馈。 */
  .mega4-item.has-sub { width: 100%; }
  /* ⚠️ 坑记死（2026-09-19 23:20）：主人报「Turning Inserts 缺少向右三角形」。
     实测发现箭头 DOM 在、disp=block、vis=visible、op=1、文字 "▸" 也渲染了，
     但它 x=489 w=6 —— 视口 500、抽屉内边距左右各 16px（可视右边界≈484），
     箭头整条落在可视区【外面】，看上去就像"没箭头"。
     真因：上面这条规则用了 justify-content: space-between，
     把 <span>label</span> 顶左、<span class="mega4-arrow">▸</span> 甩到【行最右端】。
     行宽 438 + 起点 70 = 右端 508 → 箭头被推出可视区。
     （行越宽越危险；窄屏/长标签下都会把箭头挤出可见范围）
     修法：① 去掉 space-between，箭头【紧跟在文字后面】（margin-left:auto 只在有富余时才推）
            ② 给 .mega4-link 留右内边距，保证箭头永远落在安全区内
            ③ 箭头设 flex-shrink:0，防止被长标签压缩消失 */
  .mega4-item.has-sub > .mega4-link {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    justify-content: flex-start !important;   /* ← 锁死，箭头紧跟文字，不甩行尾 */
    gap: 6px;
    padding-right: 14px;
    white-space: normal;
  }
  .mega4-item.has-sub .mega4-arrow {
    flex: 0 0 auto !important;
    margin-left: 6px;      /* 紧跟文字，不甩到行尾 */
    margin-right: 0;
    font-size: 12px;
    line-height: 1;
    color: #94a3b8;
    /* display 显式声明：箭头是 inline 文本 ▸，某些继承链下会被压成 0 宽 */
    display: inline-block;
    min-width: 8px;
    text-align: center;
  }
  .mega4-item.has-sub.mega-open-sub .mega4-arrow { color: var(--primary, #1a5fb4); }
  .mega4-item.has-sub.mega-open-sub > .mega4-link { color: var(--primary, #1a5fb4); background: #f3f6fb; border-radius: 6px; }
  .mega4-item.has-sub.mega-open-sub .mega4-arrow { transform: rotate(90deg); }
  .mega4-arrow { transition: transform .18s ease, color .18s ease; }
  .pl-layout { grid-template-columns: 1fr; }
  /* 移动端单列：复位显式钉死，全部回归第 1 列 */
  .pl-sidebar { grid-column: 1; grid-row: auto; position: static; max-height: none; }
  .pl-main { grid-column: 1; grid-row: auto; }
  .pl-title { font-size: 26px; }
}
@media (max-width: 640px) {
  .pl-grid { grid-template-columns: 1fr; }
  .pl-search { flex-direction: column; }
  .pl-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pl-title { font-size: 22px; }
}

/* ---------- RTL 适配 ---------- */
html[dir="rtl"] .mega4-flyout { left: auto; right: calc(100% + 6px); }
html[dir="rtl"] .mega4-col { border-right: 0; border-left: 1px solid #eef1f6; }
html[dir="rtl"] .mega4-col:last-child { border-left: 0; }
html[dir="rtl"] .mega4-arrow { transform: scaleX(-1); }
html[dir="rtl"] .pl-opt em { margin-left: 0; margin-right: auto; }

/* ===== 主人 2026-09-19 22:07 需求 4/5：卡片副标题 + 绿色 In Stock 徽章 ===== */
.pl-card { position: relative; }
.pl-card-tagline {
  font-size: .78rem; color: var(--text-muted, #6b7280); line-height: 1.35;
  margin: -2px 0 8px; min-height: 1.05em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 右上角绿色「In Stock」徽章 */
.pl-badge-stock {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px;
  background: #16a34a; color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px; line-height: 1;
  box-shadow: 0 2px 8px rgba(22, 163, 74, .32);
}
.pl-badge-stock::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff;
}

/* ==========================================================================
   桌面导航最终锁定（主人 2026-09-19 22:15 二次反馈：桌面还是汉堡）
   —— 根因：原 @media (min-width:993px) 块写在 @media (max-width:992px) 块【之前】，
      两者命中区间互斥但媒体查询不参与优先级，同权重下【源码靠后者胜】→
      992px 移动块把桌面样式覆盖了，导致桌面也走汉堡分支。
   —— 修法：整块搬到文件【最末尾】，并用 !important 锁死，顺序 + 权重双保险。
   ========================================================================== */
/* ===== Mega Menu 小屏适配（2026-09-20 19:35 主人报「窄屏时左侧显示不出来」）=====
   根因：.mega4 用 left:50% + translateX(-50%) 以【触发项中心】居中，
        而面板固定 1000px 宽 —— Products 在导航第 2 位，小屏（≤1400px）时
        触发项中心约 x=300，面板左边界 = 300-500 = -200px → 左侧整列被推出屏幕。
   修法：窄屏（993~1500px）把面板改为【左对齐到触发项】并收窄宽度，
        让它始终落在视口内；宽屏（≥1501px）保持原居中对称观感。
   ⚠️ 必须写在文件末尾的桌面块【之前】，且用 !important 防止被 992 块反向覆盖
      （本站已多次踩「同权重按源码顺序后者胜」的坑，见 3080 行注释）。 */
@media (min-width: 993px) and (max-width: 1500px) {
  .nav-item-has-mega .mega4 {
    left: 0 !important;
    transform: translateY(6px) !important;
    width: min(940px, calc(100vw - 40px)) !important;
  }
  .nav-item-has-mega.mega-hover .mega4,
  .nav-item-has-mega.mega-open .mega4,
  .nav-item-has-mega:focus-within .mega4 {
    transform: translateY(0) !important;
  }
  .mega4-inner { grid-template-columns: 250px 190px 170px 190px; }
}

@media (min-width: 993px) {
  .menu-toggle { display: none !important; }
  .main-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    position: static !important;
    width: auto !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 0 !important;
    flex-wrap: nowrap;
  }
  .main-nav .nav-link {
    padding: 9px 14px !important;
    border-bottom: 0 !important;
    border-radius: 8px;
    font-size: .92rem;
    white-space: nowrap;
  }
  /* 桌面端 Mega Menu 恢复为悬浮大面板（覆盖 992 块里的折叠样式）
     ⚠️ 坑记死：.nav-item-has-mega 必须是 position:relative！
        它是 .mega-menu(position:absolute) 的定位基准。
        若改成 static，绝对定位会去找 <body> 当基准 → 620px 宽的面板跑到页面坐标系
        → 撑开 body / 挤压 .pl-layout → 列表页内容全挤左侧、右侧空白。
        （2026-09-19 22:20 就是这么把 /products 布局搞塌的，已回滚修正） */
  .nav-item-has-mega { position: relative; }
  .mega-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: auto;
    min-width: 620px;
    max-width: calc(100vw - 60px);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(15, 23, 42, .14));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 28px 0;
    z-index: 200;
  }
  .mega-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; }
  .header-inner { flex-wrap: nowrap; }
  /* 兜底：主内容区永不被绝对定位元素撑歪 */
  body { overflow-x: hidden; }
}

/* ===== 移动端：mega 触发项整行可点 =====
   ⚠️ 坑记死（2026-09-19 23:14）：主人报「其它导航整行都能点，Products 要点文字才行」。
   真因：Products 是全站唯一被包进 <div class="nav-item"> 的导航项，
   里面的 <a.nav-link> 是 inline-flex（宽 82px = 内容宽），而行宽 453px。
   逐点扫描实测 y=156：x=16..99 命中 A.nav-link，x=100..469 命中 DIV.nav-item（无监听器）。
   修法：移动端把 .nav-item 的 nav-link 拉成整行块级，与其它导航项"整行即链接"手感一致。
   判据用【宽度】而不是 (hover:hover) 媒体查询 —— 触屏笔记本上 (hover:hover) 会是 false。 */
@media (max-width: 992px) {
  .nav-item-has-mega { width: 100%; }
  .nav-item-has-mega > .nav-link {
    display: flex !important;
    width: 100% !important;
    align-items: center;
    padding: 13px 6px !important;
    border-bottom: 1px solid var(--border);
  }
  /* 展开态：把当前项高亮，让用户知道菜单开在哪一项上 */
  .nav-item-has-mega.mega-open > .nav-link { color: var(--primary, #1a5fb4); }
  /* 箭头随展开旋转，给一个明确的开关反馈 */
  .nav-item-has-mega.mega-open .nav-caret { transform: rotate(180deg); }
}

/* ===== FAQ 页改版（主人 2026-09-19 23:24 定制） =====
   §1 紧凑页头替代通栏 hero（不带图）
   §3 三分类 Tab
   §4 手风琴卡片：白底 + 浅边框 + 圆角 + 右侧箭头 + 底部 CTA
   ⚠️ 铁律：本块放在 CSS 文件【末尾】——覆盖块写在源头前面 = 白写（今天已踩 4 次） */
.faq-head {
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  color: #fff;
  padding: 34px 0 30px;
}
.faq-head h1 { font-size: 1.85rem; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.faq-head p { margin: 0; font-size: .96rem; opacity: .88; max-width: 660px; }

.faq-section { padding: 34px 0 56px; }
.faq-wrap { max-width: 860px; }

/* ---- Tab ---- */
.faq-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.faq-tab {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: #475569;
  font-size: .92rem; font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  font-family: inherit;
}
.faq-tab:hover { background: #f1f5fa; color: #1a5fb4; border-color: #c8d8ee; }
.faq-tab.is-active {
  background: var(--primary, #1a5fb4);
  border-color: var(--primary, #1a5fb4);
  color: #fff;
}

/* ---- 面板：无 JS 时全部可见（兜底），有 JS 才只显示当前 ---- */
.faq-panel { display: block; }
html.faq-js .faq-panel { display: none; }
html.faq-js .faq-panel.is-active { display: block; }

/* ---- 手风琴卡片 ---- */
.faq-acc { display: grid; gap: 12px; }
.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq-card[open] { border-color: #c8d8ee; box-shadow: 0 6px 18px rgba(15, 44, 83, .06); }
.faq-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 17px 20px;
  font-size: .96rem; font-weight: 600; color: #1f2d3d;
  transition: background .18s;
}
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-card > summary::marker { content: ""; }
.faq-card > summary:hover { background: #f7fafd; }
.faq-card[open] > summary { background: #f7fafd; }
.faq-q { flex: 1 1 auto; line-height: 1.5; }

/* 右侧箭头：用 CSS 画 chevron，展开时旋转 180°
   ⚠️ 不用 space-between 把图标甩行尾（会被推出可视区，今天已踩坑） */
.faq-arrow {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  position: relative;
  transition: transform .22s ease;
}
.faq-arrow::before {
  content: "";
  position: absolute; left: 3px; top: 5px;
  width: 8px; height: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
}
.faq-card[open] .faq-arrow { transform: rotate(180deg); }
.faq-card[open] .faq-arrow::before { border-color: var(--primary, #1a5fb4); }

/* 答案区
   ⚠️ max-height / overflow 必须显式复位：旧版遗留规则 .faq-a{max-height:0;overflow:hidden}
   会命中同名类把内容压扁（2026-09-19 23:29 主人报"答案显示不全"的真因）。
   新版用 <details>[open] 天然控制显隐，不需要 max-height 动画。 */
.faq-a {
  padding: 0 20px 18px;
  color: var(--text-muted, #5b6b7f);
  font-size: .91rem; line-height: 1.85;
  max-height: none !important;
  overflow: visible !important;
  height: auto !important;
}
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 10px; }

/* ---- 底部 CTA ---- */
.faq-cta {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f8fd 0%, #eaf1fb 100%);
  border: 1px solid #dbe8fa;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.faq-cta-text h3 { margin: 0 0 4px; font-size: 1.12rem; color: #0f2c53; }
.faq-cta-text p { margin: 0; font-size: .88rem; color: #5b6b7f; }
.faq-cta-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .faq-head { padding: 26px 0 24px; }
  .faq-head h1 { font-size: 1.5rem; }
  .faq-tabs { gap: 6px; }
  .faq-tab { padding: 8px 14px; font-size: .86rem; }
}
@media (max-width: 640px) {
  .faq-section { padding: 24px 0 44px; }
  .faq-head h1 { font-size: 1.32rem; }
  .faq-card > summary { padding: 14px 16px; font-size: .92rem; gap: 10px; }
  .faq-a { padding: 0 16px 16px; font-size: .88rem; }
  .faq-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .faq-tab { flex: 0 0 auto; }
  .faq-cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .faq-cta-btn { width: 100%; text-align: center; }
}

/* ===== 新闻页改版（主人 2026-09-19 23:28 定制） =====
   §2 紧凑页头（删通栏 hero）
   §4 两列网格文章卡（16:9 图 / 分类徽章 / 标题 / 摘要 3 行 / 作者+日期 / Read More）
   §5 顶部搜索条
   §6 文章详情页社媒分享
   §7 相关文章推荐
   ⚠️ 铁律：本块必须在 CSS 文件【末尾】（覆盖块写在源头前面 = 白写，今天已踩 4 次） */

/* ---------- §2 紧凑页头 ---------- */
.news-head {
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  color: #fff;
  padding: 34px 0 30px;
}
.news-head h1 { font-size: 1.85rem; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.news-head p { margin: 0; font-size: .96rem; opacity: .88; max-width: 680px; }
.news-section { padding: 30px 0 56px; }

/* ---------- §5 搜索条 ---------- */
.news-search {
  display: flex; align-items: center; gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 14px;
  margin-bottom: 22px;
  transition: border-color .18s, box-shadow .18s;
}
.news-search:focus-within { border-color: #c8d8ee; box-shadow: 0 4px 16px rgba(15, 44, 83, .07); }
.news-search-ico {
  flex: 0 0 auto; width: 16px; height: 16px; position: relative; margin-right: 10px;
}
.news-search-ico::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 11px; height: 11px; border: 2px solid #94a3b8; border-radius: 50%;
}
.news-search-ico::after {
  content: ""; position: absolute; left: 11px; top: 11px;
  width: 6px; height: 2px; background: #94a3b8; transform: rotate(45deg);
}
.news-search input[type="search"] {
  flex: 1 1 auto; min-width: 0;
  border: none; outline: none; background: transparent;
  font-size: .93rem; color: #1f2d3d; padding: 8px 0;
  font-family: inherit;
}
.news-search input[type="search"]::placeholder { color: #9aa8b8; }
.news-search-btn {
  flex: 0 0 auto;
  appearance: none; border: none; cursor: pointer;
  background: var(--primary, #1a5fb4); color: #fff;
  font-size: .88rem; font-weight: 600; font-family: inherit;
  padding: 9px 20px; border-radius: 8px;
  transition: background .18s;
}
.news-search-btn:hover { background: #14498c; }

/* 结果计数条 */
.news-result-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .86rem; color: #5b6b7f;
  background: #f4f8fd; border: 1px solid #dbe8fa; border-radius: 10px;
  padding: 9px 14px; margin-bottom: 18px;
}
.news-result-bar strong { color: #1a5fb4; }
.news-clear {
  margin-left: auto; font-size: .84rem; font-weight: 600;
  color: #1a5fb4; text-decoration: none;
}
.news-clear:hover { text-decoration: underline; }

/* ---------- §4 两列网格卡片 ---------- */
.news-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* 桌面 2 列 */
  gap: 22px;
}
.news-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news-card:hover {
  border-color: #c8d8ee;
  box-shadow: 0 10px 26px rgba(15, 44, 83, .08);
  transform: translateY(-2px);
}
/* 16:9 封面 */
.news-card-img {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft, #f1f5f9);
  overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-body {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 16px 18px 18px;
}
/* 分类徽章 */
.news-badge {
  display: inline-block; align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: #eef4fc; color: #1a5fb4;
  margin-bottom: 10px;
}
.badge-company { background: #eaf7ef; color: #1a7f4b; }
.badge-industry { background: #fff4e6; color: #b5651d; }
.badge-guide { background: #eef4fc; color: #1a5fb4; }
.badge-tech { background: #f1ecfd; color: #6134b8; }
.badge-default { background: #f1f5f9; color: #475569; }

.news-card-title {
  font-size: 1.02rem; font-weight: 700; line-height: 1.45;
  margin: 0 0 8px; color: #1f2d3d;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--primary, #1a5fb4); }

/* 摘要：CSS 截 3 行（不打点，§3 不再用 truncate 加 "..."） */
.news-card-excerpt {
  margin: 0 0 14px;
  font-size: .88rem; line-height: 1.72; color: #5b6b7f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 作者 + 日期（推到底部，卡片等高时对齐） */
.news-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed #e8eef6;
  font-size: .8rem; color: #8b9aab;
}
.news-author { display: inline-flex; align-items: center; gap: 6px; }
.news-author-ico {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, #1a5fb4, #0f2c53);
  position: relative; display: inline-block;
}
.news-author-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%);
}
.news-card-meta time { flex: 0 0 auto; }

.news-card-more {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 12px; align-self: flex-start;
  font-size: .86rem; font-weight: 700; color: var(--primary, #1a5fb4);
  text-decoration: none;
}
.news-card-more:hover { text-decoration: underline; }

.news-empty { text-align: center; color: #8b9aab; padding: 56px 0; }
.news-empty p { margin: 0 0 10px; }
.news-empty .news-clear { margin: 0; }

/* ---------- §6 文章详情页 社媒分享 ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.article-body { min-width: 0; }
.article-head { margin-bottom: 20px; }
.article-head h1 { font-size: 1.9rem; line-height: 1.32; margin: 8px 0 12px; color: #1f2d3d; }
.article-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: .86rem; color: #8b9aab;
}
.article-cover { margin: 0 0 24px; border-radius: 12px; overflow: hidden; }
.article-cover img { width: 100%; display: block; }

.share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 32px 0 6px; padding: 18px 20px;
  background: #f7fafd; border: 1px solid #e3edf9; border-radius: 12px;
}
.share-label { font-size: .84rem; font-weight: 700; color: #475569; margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  background: #fff; color: #475569;
  border: 1px solid var(--border);
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.share-btn:hover { transform: translateY(-1px); }
.share-li:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-tw:hover { background: #111; border-color: #111; color: #fff; }
.share-mail:hover { background: #1a5fb4; border-color: #1a5fb4; color: #fff; }
.share-btn svg { flex: 0 0 auto; }

/* ---------- §7 相关文章 ---------- */
.article-related {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 20px 8px;
  position: sticky; top: 90px;   /* 跟随滚动 */
}
.related-head {
  font-size: .95rem; font-weight: 700; color: #1f2d3d;
  margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.related-item { display: flex; gap: 12px; align-items: flex-start; }
.related-img {
  flex: 0 0 auto; width: 74px; height: 52px; border-radius: 8px;
  overflow: hidden; background: var(--bg-soft, #f1f5f9); display: block;
}
.related-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-info { min-width: 0; flex: 1 1 auto; }
.related-title {
  display: block; font-size: .85rem; font-weight: 600; line-height: 1.45;
  color: #1f2d3d; text-decoration: none; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-title:hover { color: var(--primary, #1a5fb4); }
.related-info time { font-size: .75rem; color: #9aa8b8; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .news-head { padding: 26px 0 24px; }
  .news-head h1 { font-size: 1.5rem; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .article-related { position: static; }
  .article-head h1 { font-size: 1.5rem; }
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); }   /* 窄屏回落单列 */
  .news-section { padding: 22px 0 44px; }
  .news-head h1 { font-size: 1.32rem; }
  .news-card-body { padding: 14px 15px 16px; }
  .news-card-title { font-size: .96rem; }
  .news-search { padding: 5px 5px 5px 12px; }
  .news-search-btn { padding: 8px 15px; font-size: .84rem; }
  .share-bar { padding: 14px; gap: 8px; }
  .share-label { width: 100%; }
  .article-head h1 { font-size: 1.34rem; }
}

/* ===== Industries 总览页改版（主人 2026-09-19 23:33 定制） =====
   §1 紧凑页头（删通栏 hero）
   §4 行业卡片 v3：配图 + 加粗名 + 2 行描述 + Top3 推荐分类 chips + View Solutions
   §5 底部 CTA 条
   ⚠️ 本块必须在 CSS 文件【末尾】（覆盖块写在源头前面 = 白写） */

/* ---------- §1 紧凑页头 ---------- */
.ind-head {
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  color: #fff;
  padding: 34px 0 30px;
}
.ind-head h1 { font-size: 1.85rem; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.ind-head p { margin: 0; font-size: .96rem; opacity: .88; max-width: 680px; }

.industries-page { padding: 30px 0 56px; }

/* ---------- §4 行业卡片 v3 ---------- */
.ind-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ind-card-v3 {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ind-card-v3:hover {
  border-color: #c8d8ee;
  box-shadow: 0 10px 26px rgba(15, 44, 83, .08);
  transform: translateY(-2px);
}
.ind-card-v3 .ind-card-media {
  display: block; width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft, #f1f5f9);
  overflow: hidden;
}
.ind-card-v3 .ind-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ind-card-v3:hover .ind-card-media img { transform: scale(1.04); }
.ind-card-v3 .ind-card-body {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 16px 18px 18px;
}
.ind-card-v3 .ind-card-title {
  font-size: 1.02rem; font-weight: 700; line-height: 1.4;
  margin: 0 0 8px; color: #1f2d3d;
}
.ind-card-v3 .ind-card-title a { color: inherit; text-decoration: none; }
.ind-card-v3 .ind-card-title a:hover { color: var(--primary, #1a5fb4); }
.ind-card-v3 .ind-card-text {
  margin: 0 0 14px;
  font-size: .86rem; line-height: 1.7; color: #5b6b7f;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Top3 推荐分类 chips */
.ind-reco { margin-bottom: 16px; }
.ind-reco-label {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #9aa8b8; margin-bottom: 7px;
}
.ind-reco-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ind-reco-list li a {
  display: inline-block;
  font-size: .78rem; font-weight: 600; text-decoration: none;
  color: #1a5fb4; background: #eef4fc;
  border: 1px solid #dbe8fa; border-radius: 999px;
  padding: 4px 10px;
  transition: background .18s, color .18s, border-color .18s;
}
.ind-reco-list li a:hover { background: #1a5fb4; border-color: #1a5fb4; color: #fff; }

.ind-card-v3 .ind-card-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto; align-self: flex-start;
  font-size: .86rem; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--primary, #1a5fb4);
  padding: 9px 16px; border-radius: 8px;
  transition: background .18s, transform .18s;
}
.ind-card-v3 .ind-card-btn:hover { background: #14498c; transform: translateY(-1px); }
.ind-card-v3 .ind-card-btn svg { flex: 0 0 auto; }

/* ---------- §5 底部 CTA ---------- */
.ind-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 34px; padding: 28px 32px;
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  border-radius: 16px; color: #fff;
}
.ind-cta-txt { min-width: 0; }
.ind-cta-txt h2 { margin: 0 0 6px; font-size: 1.22rem; font-weight: 700; }
.ind-cta-txt p { margin: 0; font-size: .92rem; opacity: .88; max-width: 640px; }
.ind-cta-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  font-size: .92rem; font-weight: 700; text-decoration: none;
  color: #0f2c53; background: #fff;
  padding: 12px 28px; border-radius: 999px;
  transition: transform .18s, box-shadow .18s;
}
.ind-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .ind-head { padding: 26px 0 24px; }
  .ind-head h1 { font-size: 1.5rem; }
  .ind-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ind-cta { padding: 24px; }
  .ind-cta-txt h2 { font-size: 1.08rem; }
}
@media (max-width: 700px) {
  .ind-grid-6 { grid-template-columns: minmax(0, 1fr); }
  .industries-page { padding: 22px 0 44px; }
  .ind-head h1 { font-size: 1.32rem; }
  .ind-card-v3 .ind-card-body { padding: 14px 15px 16px; }
  .ind-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ind-cta-btn { width: 100%; justify-content: center; }
}

/* ==================================================================
   /contact 页改版（2026-09-19 23:40）
   §2 紧凑页头 / §3 双栏表单+联系信息 / §4 Google 地图 / §5 信任模块
   ⚠️ 铁律：本块放文件最末尾；移动端复位一律 !important
   ================================================================== */

/* ---------- §2 紧凑页头（无通栏 hero） ---------- */
.ct-head {
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  color: #fff;
  padding: 40px 0 36px;
}
.ct-head h1 { font-size: 2.1rem; margin: 0 0 8px; color: #fff; line-height: 1.2; }
.ct-head p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.02rem; max-width: 720px; }

/* ---------- §3 双栏布局 60 / 40 ---------- */
.ct-main { padding: 44px 0 8px; background: var(--bg, #fff); }
.ct-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 40px;
  align-items: start;
  grid-template-areas: "form info";
}
.ct-form-col { grid-area: form; min-width: 0; }
.ct-info-col { grid-area: info; min-width: 0; }

/* ---------- 左栏：表单 ---------- */
.ct-form-title { font-size: 1.5rem; margin: 0 0 8px; color: var(--text, #1f2d3d); }
.ct-form-lead { color: var(--text-muted, #5b6b7c); margin: 0 0 22px; font-size: .95rem; line-height: 1.65; }
.ct-form-lead .req { color: #d64545; font-weight: 700; }

.ct-form { display: grid; gap: 16px; }
.ct-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-field label {
  font-size: .88rem; font-weight: 600; color: var(--text, #1f2d3d);
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.ct-field label .req { color: #d64545; font-weight: 700; }
.ct-field label .ct-opt { color: var(--text-muted, #8896a5); font-weight: 400; font-size: .82rem; }

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text, #1f2d3d);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
  box-sizing: border-box;
}
.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b6b7c'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #1a5fb4;
  box-shadow: 0 0 0 3px rgba(26, 95, 180, .12);
}
.ct-field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.ct-field.has-error input,
.ct-field.has-error select,
.ct-field.has-error textarea { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, .1); }
.ct-err { color: #d64545; font-size: .8rem; min-height: 0; display: none; }
.ct-field.has-error .ct-err { display: block; }

/* 附件选择器 */
.ct-attach { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-attach input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ct-attach-btn {
  padding: 9px 16px;
  border: 1px solid #cfd9e4;
  border-radius: 8px;
  background: #f7fafd;
  color: var(--text, #1f2d3d);
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
  flex: 0 0 auto;
}
.ct-attach-btn:hover { background: #eef4fa; border-color: #1a5fb4; }
.ct-attach-name {
  color: var(--text-muted, #5b6b7c); font-size: .86rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1 1 140px; min-width: 0;
}

/* §7 提交按钮：品牌蓝实心（非黄色） */
.ct-form .ct-submit,
.btn.ct-submit {
  justify-self: start;
  background: #1a5fb4;
  color: #fff;
  border: none;
  padding: 13px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 4px 14px rgba(26, 95, 180, .24);
}
.ct-form .ct-submit:hover,
.btn.ct-submit:hover {
  background: #144a8f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 95, 180, .32);
}
.ct-form .ct-submit:disabled,
.btn.ct-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ct-privacy { margin: 4px 0 0; font-size: .8rem; color: var(--text-muted, #8896a5); line-height: 1.6; }
.ct-privacy a { color: #1a5fb4; }

/* ---------- 右栏：联系信息卡片 ---------- */
.ct-info-col {
  background: #f7fafd;
  border: 1px solid #e4ecf4;
  border-radius: 14px;
  padding: 26px 24px;
}
.ct-info-title { font-size: 1.22rem; margin: 0 0 18px; color: var(--text, #1f2d3d); }
.ct-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ct-info-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.ct-ico {
  width: 34px; height: 34px; border-radius: 9px;
  background: #e8f1fb; color: #1a5fb4;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; flex: 0 0 auto;
}
.ct-ico-wa { background: #e3f7ea; color: #25D366; }
.ct-info-list strong {
  display: block; font-size: .85rem; letter-spacing: .02em;
  text-transform: uppercase; color: #7d8b99; font-weight: 700; margin-bottom: 3px;
}
.ct-info-list p { margin: 0 0 2px; font-size: .93rem; line-height: 1.6; color: var(--text, #1f2d3d); word-break: break-word; }
.ct-info-list a { color: #1a5fb4; text-decoration: none; }
.ct-info-list a:hover { text-decoration: underline; }

/* ---------- §5 信任模块 ---------- */
.ct-trust { margin-top: 24px; padding-top: 22px; border-top: 1px dashed #d3e0ec; }
.ct-trust-reply {
  margin: 0 0 4px; font-size: 1rem; color: #166534;
  background: #e8f7ee; border: 1px solid #bfe7cd;
  border-radius: 9px; padding: 10px 13px;
}
.ct-trust-sub { margin: 0 0 16px; font-size: .84rem; color: var(--text-muted, #5b6b7c); line-height: 1.6; }
.ct-badges { display: grid; gap: 9px; margin-bottom: 18px; }
.ct-badge {
  display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; row-gap: 1px;
  align-items: center; background: #fff; border: 1px solid #e4ecf4;
  border-radius: 9px; padding: 9px 12px;
}
.ct-badge-ico { grid-row: 1 / span 2; font-size: 1.1rem; text-align: center; }
.ct-badge strong { font-size: .9rem; color: var(--text, #1f2d3d); }
.ct-badge small { font-size: .78rem; color: var(--text-muted, #8896a5); }
.ct-photo { margin: 0; }
.ct-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block; }
.ct-photo span { display: block; margin-top: 7px; font-size: .78rem; color: var(--text-muted, #8896a5); text-align: center; }

/* ---------- §4 Google Map（通栏） ---------- */
.ct-map-sec { padding: 44px 0 0; }
.ct-map-title { font-size: 1.5rem; margin: 0 0 6px; color: var(--text, #1f2d3d); }
.ct-map-sub { margin: 0 0 20px; color: var(--text-muted, #5b6b7c); font-size: .95rem; }
.ct-map { line-height: 0; border-top: 1px solid #e4ecf4; }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- 底部 CTA ---------- */
.ct-cta { padding: 30px 0 54px; background: #f7fafd; border-bottom: 1px solid #e4ecf4; }
.ct-cta p { margin: 0; text-align: center; color: var(--text, #1f2d3d); font-size: 1rem; }
.ct-cta a { color: #1a5fb4; font-weight: 600; text-decoration: none; }
.ct-cta a:hover { text-decoration: underline; }

/* ---------- §3 页内浮动 WhatsApp 按钮（仅联系页） ---------- */
.ct-wa-float {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .38);
  transition: transform .16s ease, box-shadow .16s ease;
}
.ct-wa-float:hover { transform: translateY(-2px); box-shadow: 0 9px 26px rgba(37, 211, 102, .48); color: #fff; }

/* ================= 响应式 ================= */

/* 平板：右栏变窄，两栏仍并排 */
@media (max-width: 1100px) {
  .ct-layout { grid-template-columns: 55fr 45fr; gap: 28px; }
}

/* ≤992px：单列堆叠（表单在上，联系信息在下） */
@media (max-width: 992px) {
  .ct-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    grid-template-areas: "form" "info" !important;
  }
  .ct-head { padding: 30px 0 26px; }
  .ct-head h1 { font-size: 1.7rem; }
  .ct-main { padding: 30px 0 8px; }
  .ct-cta { padding: 24px 0 44px; }
  .ct-map iframe { height: 340px; }
}

/* ≤640px：单列字段 + 按钮满宽 */
@media (max-width: 640px) {
  .ct-row-2 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .ct-info-col { padding: 20px 16px; }
  .ct-form .ct-submit, .btn.ct-submit { width: 100% !important; justify-self: stretch !important; padding: 14px 20px; }
  .ct-head h1 { font-size: 1.5rem; }
  .ct-head p { font-size: .94rem; }
  .ct-map iframe { height: 280px; }
  .ct-wa-float span { display: none; }
  .ct-wa-float { padding: 13px; right: 14px; bottom: 82px; }
}

/* ==================================================================
   §6 全站浮动 WhatsApp 按钮（2026-09-19）
   固定右下角、全站每页可见；不遮挡导航与页脚
   ================================================================== */
.site-wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 860;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .42);
  transition: transform .16s ease, box-shadow .16s ease;
}
.site-wa-float:hover,
.site-wa-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .55);
  color: #fff;
}
/* 呼吸光环：提示可点，但不动画时也不影响命中区 */
.site-wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .22);
  z-index: -1;
  animation: siteWaPulse 2.4s ease-in-out infinite;
}
@keyframes siteWaPulse {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%      { transform: scale(1.14); opacity: .18; }
}
@media (prefers-reduced-motion: reduce) {
  .site-wa-float::before { animation: none; }
}
@media (max-width: 640px) {
  .site-wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
/* RTL（阿拉伯语）：与 .back-to-top 保持同一侧（左下），避免两个浮动件分居左右
   （2026-10-13 改动 5，方案 A） */
body.rtl .site-wa-float {
  right: auto;
  left: 20px;
}
@media (max-width: 640px) {
  body.rtl .site-wa-float { right: auto; left: 14px; }
}
/* 打印时隐藏 */
@media print { .site-wa-float, .ct-wa-float { display: none !important; } }

/* ==================================================================
   /about 页重写（2026-09-19 23:44）
   §3 紧凑页头 / §4-1 简介 / §4-2 数字 / §4-3 优势 / §4-4 认证 / §4-5 CTA
   ⚠️ 铁律：本块放文件最末尾；移动端复位一律 !important
   ================================================================== */

/* ---------- §3 紧凑页头（无通栏 hero） ---------- */
.ab-head {
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
  color: #fff;
  padding: 42px 0 38px;
}
.ab-head h1 { font-size: 2.1rem; margin: 0 0 8px; color: #fff; line-height: 1.2; }
.ab-head p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.02rem; max-width: 780px; }

/* ---------- 通用 ---------- */
.ab-sec { padding: 54px 0; }
.ab-h2 { font-size: 1.6rem; margin: 0 0 16px; color: var(--text, #1f2d3d); }
.ab-h2-center { text-align: center; }
.ab-lead { text-align: center; color: var(--text-muted, #5b6b7c); margin: 0 0 30px; font-size: .98rem; }

/* ---------- §4-1 简介：左文右图 ---------- */
.ab-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.ab-intro-txt .ab-h2 { margin-bottom: 14px; }
.ab-intro-txt p { color: var(--text-muted, #5b6b7c); line-height: 1.9; font-size: 1.02rem; margin: 0 0 16px; }
.ab-intro-note {
  font-size: .93rem !important; color: #166534 !important;
  background: #e8f7ee; border-left: 3px solid #25a55a;
  border-radius: 0 8px 8px 0; padding: 11px 14px;
}
.ab-intro-img { min-width: 0; }
.ab-intro-img > img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 12px; display: block; margin-bottom: 12px;
  box-shadow: 0 8px 26px rgba(15, 44, 83, .12);
}
/* .ab-intro-thumbs 已弃用（主人 2026-09-29 清除 cat-turning/cat-milling 虚假小图）*/

/* ---------- §4-2 关键数字（4 卡片一行） ---------- */
.ab-stats-sec {
  padding: 40px 0;
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
}
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.ab-stat {
  padding: 18px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.ab-stat-num {
  display: block; font-size: 2.15rem; font-weight: 800; line-height: 1.1;
  color: #fff; letter-spacing: -.5px;
}
.ab-stat-lbl {
  display: block; margin-top: 7px; font-size: .88rem;
  color: rgba(255, 255, 255, .82); letter-spacing: .02em;
}

/* ---------- §4-2b 生产流程实拍（8 张车间图 4×2 卡片墙）----------
   主人 2026-09-29：图片统一 3:2 比例 + object-fit:cover，不拉伸不变形 */
.ab-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-proc-card {
  margin: 0; background: #fff; border: 1px solid #e4ecf4; border-radius: 13px;
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ab-proc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16, 35, 63, .10); border-color: #cfe0ef; }
.ab-proc-card img {
  display: block; width: 100%; aspect-ratio: 3 / 2; height: auto;
  object-fit: cover; background: #eef2f7;
}
.ab-proc-card figcaption { padding: 15px 16px 18px; }
.ab-proc-card h3 { font-size: 1rem; margin: 0 0 7px; color: var(--text, #1f2d3d); line-height: 1.35; }
.ab-proc-card p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--text-muted, #5b6b7c); }
@media (max-width: 1024px) { .ab-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .ab-process { grid-template-columns: 1fr; gap: 16px; }
  .ab-proc-card figcaption { padding: 13px 14px 16px; }
}

/* ---------- §4-3 优势卡片 ---------- */
.ab-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-adv-card {
  background: #fff; border: 1px solid #e4ecf4; border-radius: 13px;
  padding: 24px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ab-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 95, 180, .13);
  border-color: #c6dcf3;
}
.ab-adv-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: #e8f1fb; font-size: 1.35rem; margin-bottom: 14px;
}
.ab-adv-card h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--text, #1f2d3d); }
.ab-adv-card p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--text-muted, #5b6b7c); }

/* ---------- §4-4 认证 ---------- */
.ab-cert-sec { padding: 54px 0; background: #f7fafd; border-top: 1px solid #e4ecf4; border-bottom: 1px solid #e4ecf4; }
.ab-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.ab-cert { margin: 0; background: #fff; border: 1px solid #e4ecf4; border-radius: 12px; padding: 14px; }
.ab-cert img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  display: block; background: #fff; border-radius: 7px;
}
.ab-cert figcaption {
  margin-top: 11px; text-align: center; font-size: .86rem;
  color: var(--text-muted, #5b6b7c); font-weight: 600;
}
.ab-cert-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ab-cbadge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #d9e6f2; border-radius: 999px;
  padding: 8px 16px; font-size: .87rem; color: var(--text, #1f2d3d); font-weight: 500;
}

/* ---------- §4-5 底部 CTA ---------- */
.ab-cta {
  padding: 56px 0 62px; text-align: center;
  background: linear-gradient(135deg, #0f2c53 0%, #1a5fb4 100%);
}
.ab-cta h2 { font-size: 1.55rem; margin: 0 0 12px; color: #fff; }
.ab-cta p {
  margin: 0 auto 26px; max-width: 640px;
  color: rgba(255, 255, 255, .86); font-size: .98rem; line-height: 1.75;
}
.ab-cta-btn,
.btn.ab-cta-btn {
  display: inline-block;
  background: #fff; color: #144a8f;
  padding: 13px 42px; border-radius: 8px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.ab-cta-btn:hover, .btn.ab-cta-btn:hover {
  background: #eaf3fd; color: #0f2c53;
  transform: translateY(-2px);
  box-shadow: 0 9px 26px rgba(0, 0, 0, .26);
}

/* ================= 响应式 ================= */
@media (max-width: 992px) {
  .ab-intro { grid-template-columns: 1fr !important; gap: 28px !important; }
  .ab-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .ab-adv { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .ab-certs { grid-template-columns: repeat(2, 1fr) !important; }
  .ab-head { padding: 32px 0 28px; }
  .ab-head h1 { font-size: 1.75rem; }
  .ab-sec, .ab-cert-sec { padding: 38px 0; }
  .ab-stat-num { font-size: 1.85rem; }
}
@media (max-width: 640px) {
  .ab-stats { grid-template-columns: 1fr 1fr !important; gap: 11px !important; }
  .ab-adv { grid-template-columns: 1fr !important; }
  .ab-certs { grid-template-columns: 1fr !important; }
  .ab-head h1 { font-size: 1.5rem; }
  .ab-head p { font-size: .94rem; }
  .ab-stat-num { font-size: 1.7rem; }
  .ab-stat-lbl { font-size: .8rem; }
  .ab-cta-btn, .btn.ab-cta-btn { width: 100% !important; padding: 14px 20px; }
  .ab-cbadge { font-size: .82rem; padding: 7px 13px; }
}

/* ==================================================================
   /contact 地图 B 方案（国内百度静态图 / 海外 Google）  2026-09-20 00:06
   ================================================================== */

/* --- 百度静态图（图本体可点，hover 出提示）--- */
.ct-map-static {
  display: block; position: relative; overflow: hidden;
  line-height: 0; background: #eef3f8; text-decoration: none;
}
.ct-map-static img { display: block; width: 100%; height: 420px; object-fit: cover; }
.ct-map-hover-tip {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: rgba(15, 44, 83, .88); color: #fff;
  padding: 9px 20px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; line-height: 1.4;
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
  white-space: nowrap;
}
.ct-map-static:hover .ct-map-hover-tip { opacity: 1; }

/* --- Google 交互地图 --- */
.ct-map-frame { display: block; width: 100%; height: 420px; border: 0; }

/* --- 地图下方地址条（两种源共用）--- */
.ct-map-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 13px 18px; background: #f4f8fd;
  border-bottom: 1px solid #e4ecf4;
}
.ct-map-addr { font-size: .92rem; color: var(--text, #1f2d3d); line-height: 1.6; }
.ct-map-btn {
  flex: 0 0 auto;
  display: inline-block; padding: 10px 22px;
  background: #1a5fb4; color: #fff;
  border-radius: 7px; font-size: .9rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .16s ease, transform .16s ease;
}
.ct-map-btn:hover { background: #144a8f; color: #fff; transform: translateY(-1px); }

@media (max-width: 992px) {
  .ct-map-static img, .ct-map-frame { height: 340px; }
}
@media (max-width: 640px) {
  .ct-map-static img, .ct-map-frame { height: 280px; }
  .ct-map-bar { flex-direction: column; align-items: stretch; gap: 11px; padding: 12px 14px; }
  .ct-map-addr { font-size: .86rem; }
  .ct-map-btn { text-align: center; padding: 12px 18px; }
  .ct-map-hover-tip { display: none; }
}

/* ============================================================
   2026-09-24 分类定稿指令 · 改动 5/6：筛选子页 / 空分类 空态样式
   - .empty-* 复用站上统一的空态视觉（图标 + 标题 + 说明 + 按钮组）
   - .btn-ghost：次级按钮（描边），配 .btn-primary 一起用
   ============================================================ */
.btn-ghost {
  background: transparent;
  color: var(--primary, #1a5fb4);
  border: 2px solid rgba(26, 95, 180, .35);
}
.btn-ghost:hover { border-color: var(--primary, #1a5fb4); transform: translateY(-1px); }

.empty.empty-category,
.empty.empty-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 24px;
}
.empty .empty-icon { color: var(--primary, #1a5fb4); opacity: .55; line-height: 0; }
.empty .empty-title { font-size: 1.15rem; font-weight: 600; color: #1f2937; margin: 6px 0 0; }
.empty .empty-text { margin: 0; max-width: 520px; font-size: .95rem; line-height: 1.6; }
.empty .empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.empty .empty-actions .btn { padding: 11px 24px; font-size: .95rem; }

/* ===== 子页顶部「筛选条件选项条」（主人 2026-09-24 13:09）===== */
.pl-criteria {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f7f9fb;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
}
.pl-criteria-label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2d3d;
  white-space: nowrap;
}
.pl-criteria-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pl-criteria-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #34495e;
  background: #fff;
  border: 1px solid #d6dee6;
  border-radius: 999px;
  text-decoration: none;
  transition: all .15s ease;
}
.pl-criteria-opt:hover {
  color: #0d6efd;
  border-color: #0d6efd;
  background: #f0f6ff;
}
.pl-criteria-opt.is-active {
  color: #fff;
  background: #0d6efd;
  border-color: #0d6efd;
  font-weight: 600;
}
.pl-criteria-count {
  font-size: 11px;
  opacity: .75;
}

/* ============================================================
   统一询价表单（主人 2026-09-27 09:43）
   全站 Get A Quote 弹窗 = /contact 表单同一套结构（.ct-form / .ct-field）。
   弹窗里旧的 .quote-form 输入样式不再命中，这里补上弹窗容器内的适配：
   - 弹窗内容滚动（字段变多后不撑破视口）
   - 移动端单列 + 提交按钮占满一行
   ============================================================ */
.quote-modal-bd .ct-form { gap: 14px; }
.quote-modal-bd { max-height: 88vh; overflow-y: auto; }
.quote-modal-bd .ct-form .ct-submit { justify-self: stretch; }
.quote-modal-bd .ct-privacy { font-size: .8rem; color: var(--text-muted, #5b6b7c); line-height: 1.5; margin: 0; }
.quote-modal-bd .ct-privacy a { color: var(--text, #1f2d3d); text-decoration: underline; }
.ct-privacy { font-size: .82rem; color: var(--text-muted, #5b6b7c); line-height: 1.55; margin: 0; }
.ct-privacy a { color: var(--text, #1f2d3d); text-decoration: underline; }

@media (max-width: 560px) {
  .quote-modal-bd .ct-row-2 { grid-template-columns: 1fr; }
  .quote-modal-bd .ct-field textarea { min-height: 110px; }
}
.quote-modal-bd .quote-form-title { font-size: 1.5rem; margin: 0 0 8px; color: var(--text); }
.quote-modal-bd .quote-form-lead { margin-bottom: 18px; }

/* ===== Related Products 卡片参数副行（主人 2026-09-27 16:13 指令）=====
   需求：一行关键参数 Grade · 涂层 · ISO 组 · 品类，超长截断省略号。
   用单行 + text-overflow 保证卡片高度整齐，完整值走 title 属性悬浮可见。 */
.rp-card .card-body p.rp-spec {
  color: #5a6b85;
  font-size: .82rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}


/* ============================================================
   Related Categories（PDP 底部，推广指令 修改1-1，2026-09-27）
   ============================================================ */
.rcat-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rcat-item a {
  display: inline-block; padding: 9px 16px; border: 1px solid #d8dee7; border-radius: 6px;
  background: #fff; color: #1b3a63; font-size: 14px; line-height: 1.3; text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.rcat-item a:hover { border-color: #1b3a63; background: #1b3a63; color: #fff; }

/* ============================================================
   分类页 Popular Series 链接行（推广指令 修改1-4，2026-09-27）
   ============================================================ */
.pl-series-wrap { padding: 14px 0 0; }
.pl-series { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.pl-series-label { color: #5a6b80; font-weight: 600; }
.pl-series-link { color: #1b3a63; text-decoration: none; border-bottom: 1px dashed #9fb0c6; padding-bottom: 1px; }
.pl-series-link:hover { color: #0f2544; border-bottom-color: #0f2544; }
@media (max-width: 767px) {
  .rcat-item a { padding: 8px 13px; font-size: 13px; }
  .pl-series { font-size: 13px; }
}

/* ============================================================
   第 6 项（主人 2026-09-30 13:27）：政策页翻译免责声明 banner
   非英文版政策页顶部展示；醒目但不遮挡正文（不使用弹窗）。
   英文版为权威版，不渲染此区块。
   ============================================================ */
.legal-disclaimer {
  background: #fff8e6;
  border-bottom: 1px solid #f0d9a0;
  border-left: 4px solid #d99a1a;
  padding: 14px 0;
}
.legal-disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.legal-disclaimer-icon {
  flex: 0 0 auto;
  color: #b8791a;
  margin-top: 2px;
  line-height: 0;
}
.legal-disclaimer-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b4c0f;
}
.legal-disclaimer-link {
  margin-left: 6px;
  font-weight: 600;
  color: #8a5c00;
  text-decoration: underline;
  white-space: nowrap;
}
.legal-disclaimer-link:hover { color: #5d3d00; }

/* 阿拉伯语等 RTL 语种：icon 与左边框镜像到右侧 */
[dir="rtl"] .legal-disclaimer {
  border-left: 0;
  border-right: 4px solid #d99a1a;
}
[dir="rtl"] .legal-disclaimer-link { margin-left: 0; margin-right: 6px; }

@media (max-width: 640px) {
  .legal-disclaimer { padding: 12px 0; }
  .legal-disclaimer-text { font-size: 0.84rem; }
  .legal-disclaimer-link { display: inline-block; margin: 4px 0 0; }
}

/* ============================================================
   证书区块重建（方案 B，主人 2026-09-30 14:07）
   左 45% 真实 ISO 9001 证书大图（contain 不裁切）+ 右 55% 认证信息卡
   移动端上下堆叠，证书图在前。
   背景：旧 cert-1/2/3.jpg 为占位假图 + 编造认证（CE/SGS），已全站移除。
   ============================================================ */
.cert-iso {
  display: flex;
  /* ⚠️ 主人 2026-09-30 14:45 反馈「证书右边文字下面不要太多空白」：
     flex-start 时右卡只有内容高（约 384px），左图撑到 528px
     → 右卡下方露出 144px 空白。改 stretch 让两栏等高。 */
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.cert-iso-visual {
  flex: 0 0 45%;
  max-width: 45%;
  /* ⚠️ 主人 2026-09-30 14:43 反馈「图还是太高」：
     图片是 width:100% + height:auto → 高度按容器宽度和图片比例算，
     改图片文件尺寸【完全不影响】显示高度！必须限制容器宽度。
     竖版证书比例 494:700 ≈ 0.706，容器 380px → 显示高度约 525px。 */
  width: 380px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.cert-iso-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;   /* 完整显示证书，不裁切 CQC 标识 / 日期 / 签名 */
  border-radius: 4px;
}
/* 证书图未上传时的占位卡（绝不回退到旧假图） */
.cert-iso-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1200 / 1699;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 12px, #f1f5f9 12px, #f1f5f9 24px);
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  text-align: center;
  padding: 20px;
}
.cert-iso-fallback-mark {
  font-size: 1.15rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.cert-iso-fallback-note {
  font-size: 0.78rem;
  color: #a8b3c2;
}
.cert-iso-info {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* 内容竖向分布：标题顶、验证链接底，中间 dl 均匀撑开 */
  justify-content: space-between;
}
.cert-iso-title {
  margin: 0 0 18px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text, #1f2937);
  line-height: 1.35;
}
.cert-iso-list { margin: 0; padding: 0; }
.cert-iso-row {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border, #eef1f5);
}
.cert-iso-row:last-child { border-bottom: 0; }
.cert-iso-row dt {
  flex: 0 0 150px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding-top: 1px;
}
.cert-iso-row dd {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text, #1f2937);
  word-break: break-word;
}
.cert-iso-verify {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted, #6b7280);
}
.cert-iso-verify a { color: var(--primary, #0f6cb6); text-decoration: underline; }

/* 移动端：上下堆叠，证书图在前 */
@media (max-width: 860px) {
  .cert-iso { flex-direction: column; gap: 24px; }
  .cert-iso-visual { flex: 1 1 auto; max-width: 100%; width: 100%; }
  .cert-iso-info { flex: 1 1 auto; width: 100%; }
  .cert-iso-row { flex-direction: column; gap: 4px; }
  .cert-iso-row dt { flex: 0 0 auto; }
  .cert-iso-title { font-size: 1.15rem; }
}
