/* =========================================================
   hc986 cluster — 基础样式系统
   工业 B2B · 深绿主色 · 无框架依赖
   ========================================================= */

:root {
  --ink: #0d1a12;
  --ink-2: #2b3a31;
  --muted: #63736a;
  --line: #e3e9e4;
  --bg: #f6f8f6;
  --paper: #ffffff;

  --green-900: #06281a;
  --green-800: #0a4728;
  --green-700: #0b5c33;
  --green-600: #137a44;
  --green-500: #16a05a;
  --green-050: #eaf5ee;

  --gold: #c9922f;
  --gold-050: #fbf3e2;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 18, .06);
  --shadow: 0 6px 24px rgba(13, 26, 18, .08);
  --shadow-lg: 0 18px 48px rgba(13, 26, 18, .12);

  --wrap: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--green-900);
  color: #cfe3d6;
  font-size: 13px;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar a { color: #cfe3d6; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; overflow: hidden; white-space: nowrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left svg { width: 14px; height: 14px; opacity: .8; }

/* 语言切换 */
.lang { position: relative; }
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.22); color: #e8f3ec;
  border-radius: 999px; padding: 4px 12px; font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center;
}
.lang-btn:hover { background: rgba(255,255,255,.08); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 6px; display: none; z-index: 60;
}
.lang.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; color: var(--ink-2);
  border-radius: 3px; font-size: 14px;
}
.lang-menu a:hover { background: var(--green-050); color: var(--green-700); }
.lang-menu a.on { color: var(--green-700); font-weight: 600; }

/* ---------- 头部 ---------- */
.header {
  position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }

.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 6px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.02em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 18px; letter-spacing: .02em; }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; font-size: 15px;
  font-weight: 500; color: var(--ink-2); border-radius: var(--radius);
}
.nav > li > a:hover, .nav > li.on > a { color: var(--green-700); background: var(--green-050); }
.nav .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }

/* 产品大菜单 */
/* 关键：mega 与父项之间有 10px 空隙，必须用透明伪元素填满，
   否则鼠标往下移动的瞬间脱离 :hover，菜单会立刻消失 */
.nav > li.has-drop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 88vw);
  height: 12px;
  z-index: 59;
}
.nav > li.has-drop:hover::after { display: block; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(900px, 88vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 4px 26px; z-index: 60;
}
.nav > li:hover .mega, .nav > li:focus-within .mega { display: grid; }
.mega a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; font-size: 14px; border-radius: 3px; color: var(--ink-2); }
/* 长类目名必须截断，否则会和右侧数量叠在一起 */
.mega a > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega a > span:last-child { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.mega a:hover { background: var(--green-050); color: var(--green-700); }
.mega a span { color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.mega-all {
  grid-column: 1 / -1; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex !important; justify-content: space-between; font-weight: 600; color: var(--green-700) !important;
}

.header-cta { flex: 0 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); box-shadow: 0 6px 18px rgba(11,92,51,.25); }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-gold { background: var(--gold); color: #22190a; }
.btn-gold:hover { filter: brightness(.95); }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 16.5px; }
.section-head .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; color: var(--green-700); font-weight: 600; font-size: 14.5px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 82% 18%, #12603a 0%, #0a3f26 42%, #06251a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 85%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 74px; padding-bottom: 74px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: #a9e0bf; border: 1px solid rgba(169,224,191,.32);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: #7ee0a6; }
.hero-lead { margin: 20px 0 30px; font-size: 17px; color: #c8dccf; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 27px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12.5px; color: #9cb9a7; letter-spacing: .04em; }

.hero-visual { position: relative; }
.hero-visual .frame {
  display: block;                 /* a 默认 inline，行高会把容器撑高，露出边框竖线 */
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  background: #fff;
}
.hero-visual img { display: block; width: 100%; aspect-ratio: 4/3.2; object-fit: contain; background: #fff; padding: 18px; }
.hero-chip {
  position: absolute; background: rgba(255,255,255,.97); color: var(--ink); border-radius: 8px;
  padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 12.5px; line-height: 1.35;
}
.hero-chip b { display: block; font-size: 15px; color: var(--green-700); }
.hero-chip.c1 { left: -18px; bottom: 34px; }
.hero-chip.c2 { right: -14px; top: 28px; }

/* ---------- 信任条 ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: flex; align-items: center; gap: 40px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.trust-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.trust-items { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-items div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.trust-items svg { width: 18px; height: 18px; color: var(--green-600); }

/* ---------- 类目卡 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px 20px; transition: .2s ease; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
}
.cat-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green-500);
  transform: scaleY(0); transform-origin: top; transition: .25s ease;
}
.cat-card:hover { border-color: #cfe0d5; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card .ico { width: 40px; height: 40px; border-radius: 7px; background: var(--green-050); display: grid; place-items: center; color: var(--green-700); }
.cat-card h3 { font-size: 16px; line-height: 1.35; }
.cat-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .cnt { margin-top: auto; font-size: 12px; color: var(--green-700); font-weight: 600; letter-spacing: .04em; }

/* ---------- 产品卡 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: .2s ease;
}
.prod-card:hover { border-color: #cfe0d5; box-shadow: var(--shadow); transform: translateY(-3px); }
.prod-thumb { display: block; aspect-ratio: 1/1; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); }
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-model { font-size: 11.5px; letter-spacing: .1em; color: var(--green-700); font-weight: 700; text-transform: uppercase; }
.prod-body h3 { font-size: 15px; line-height: 1.4; }
.prod-body h3 a:hover { color: var(--green-700); }
.prod-lead { margin: 0; font-size: 12.8px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-spec { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.prod-spec span { font-size: 11.5px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); padding: 3px 8px; border-radius: 3px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 16px; }
.prod-foot .link { font-size: 13px; font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- 分类页布局 ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-050), #fff); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.crumb a:hover { color: var(--green-700); }
.crumb i { font-style: normal; opacity: .5; }
.page-hero h1 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; max-width: 900px; }
.page-hero .lead { margin: 14px 0 0; max-width: 760px; color: var(--ink-2); font-size: 16px; }
.page-hero .meta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: 12.5px; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; color: var(--ink-2); }

.cat-layout { display: grid; grid-template-columns: 268px 1fr; gap: 40px; align-items: start; }
.side { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.side h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 18px 10px; }
.side li a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 18px; font-size: 14px; color: var(--ink-2); border-left: 3px solid transparent; }
.side li a:hover { background: var(--bg); color: var(--green-700); }
.side li.on a { background: var(--green-050); color: var(--green-700); font-weight: 600; border-left-color: var(--green-600); }
.side li a span { color: var(--muted); font-size: 12px; }
.side .side-cta { padding: 18px; border-top: 1px solid var(--line); background: var(--bg); }
.side .side-cta p { font-size: 13px; color: var(--muted); margin: 0 0 10px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.toolbar .count b { color: var(--ink); }

.pagination { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); background: #fff;
}
.page-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.page-btn.active { background: var(--green-700); border-color: var(--green-700); color: #fff; font-weight: 600; }
.page-btn.disabled { opacity: .45; pointer-events: none; }

/* ---------- 产品详情 ---------- */
.pd-layout { display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: start; padding-top: 36px; }
.pd-gallery { position: sticky; top: 100px; }
.pd-main { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 20px; aspect-ratio: 1/1; display: grid; place-items: center; }
.pd-main img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 74px; height: 74px; border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 6px; }
.pd-thumbs button.on { border-color: var(--green-600); box-shadow: 0 0 0 2px var(--green-050); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-tags a { font-size: 12px; background: var(--green-050); color: var(--green-700); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.pd-title { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.pd-model { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); font-weight: 700; margin-bottom: 8px; }
.pd-lead { color: var(--ink-2); font-size: 16px; margin: 14px 0 22px; }

.keyinfo { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.keyinfo div { flex: 1 1 calc(33.333% - 1px); min-width: 130px; background: #fff; padding: 14px 16px; }
.keyinfo dt { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.keyinfo dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; color: var(--green-800); letter-spacing: -.01em; }

.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pd-note { font-size: 12.5px; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.spec-table th { background: var(--bg); width: 34%; font-weight: 600; color: var(--ink-2); }
.spec-table tr:nth-child(even) td { background: #fcfdfc; }

.prose h2 { font-size: 22px; margin: 34px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.prose ul { margin: 0 0 1em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--green-500); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 9px 12px; }
/* 多列对比表（型号横向排列）：窄屏横向滚动，避免撑破版心 */
.tbl-scroll { margin: 18px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-scroll table { margin: 0; min-width: 100%; white-space: nowrap; }
.tbl-scroll table td, .tbl-scroll table th { white-space: nowrap; }

/* ---------- CTA ---------- */
.cta-band { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,160,90,.35), transparent 65%);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 52px; padding-bottom: 52px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; }
.cta-band p { margin: 10px 0 0; color: #b9d2c2; max-width: 620px; }

/* ---------- 页脚 ---------- */
.footer { background: #08160f; color: #9fb3a6; font-size: 14px; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 9px; }
.footer .brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer .brand-row .logo-mark { width: 34px; height: 34px; font-size: 15px; }
.footer .brand-row b { color: #fff; font-size: 16px; }
.footer p { line-height: 1.75; color: #8fa596; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; flex: 0 0 auto; opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #6f8577; }

/* ---------- 浮动询价 ---------- */
.float-quote {
  position: fixed; right: 22px; bottom: 26px; z-index: 40; display: flex; flex-direction: column; gap: 10px;
}
.float-quote a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: #fff; box-shadow: 0 10px 24px rgba(6,40,26,.28);
}
.float-quote a.wa { background: #25d366; }
.float-quote a:hover { transform: translateY(-2px); }
.float-quote svg { width: 22px; height: 22px; }

/* ---------- 表格/移动 ---------- */
@media (max-width: 1080px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .cat-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header .wrap { height: 64px; position: relative; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .keyinfo { grid-template-columns: repeat(2, 1fr); }
  .topbar-left { display: none; }
  .hero-chip.c1 { left: 8px; bottom: 8px; }
  .hero-chip.c2 { right: 8px; top: 8px; }

  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats span { font-size: 10.5px; line-height: 1.3; display: block; word-break: break-word; }

  /* 移动端抽屉菜单 */
  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 10px 24px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 55;
  }
  body.nav-open .nav > li > a { display: flex; width: 100%; padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15.5px; }
  body.nav-open .nav .mega { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 520px) {
  .prod-grid, .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 22px; }
}

/* RTL（阿拉伯语站） */
[dir="rtl"] .side li a { border-left: 0; border-right: 3px solid transparent; }
[dir="rtl"] .side li.on a { border-right-color: var(--green-600); }
[dir="rtl"] .cat-card::before { left: auto; right: 0; }
[dir="rtl"] .prose ul li { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .prose ul li::before { left: auto; right: 4px; }

/* ---------- 无实物图占位块 ---------- */
.ph {
  width: 100%; height: 100%; border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background:
    repeating-linear-gradient(45deg, #f8faf8 0 9px, #f2f6f3 9px 18px);
  border: 1px dashed #dbe5de;
}
.ph b { font-size: 12.5px; letter-spacing: .1em; color: #6f8277; font-weight: 700; }
.ph i { font-style: normal; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #a9b7ae; }

/* RTL 下拉丁/数字串保持从左到右（避免 ≤400 bar 变成 bar 400≤） */
[dir="rtl"] .hero-chip,
[dir="rtl"] .hero-chip b,
[dir="rtl"] .hero-stats b,
[dir="rtl"] .keyinfo dd,
[dir="rtl"] .prod-spec span,
[dir="rtl"] .pd-model,
[dir="rtl"] .crumb,
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"],
[dir="rtl"] .spec-table td,
[dir="rtl"] .spec-table th {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .keyinfo dt,
[dir="rtl"] .hero-stats span { text-align: right; }

/* ---------- 详情页无实物图占位 ---------- */
.pd-main.noimg {
  aspect-ratio: auto;
  height: 300px;
  background:
    repeating-linear-gradient(45deg, #fafcfa 0 10px, #f3f7f4 10px 20px);
  border-style: dashed;
  border-color: #dbe5de;
  position: relative;
}
.pd-nophoto { text-align: center; padding: 0 18px; }
.pd-nophoto .badge {
  display: inline-block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #8fa297; border: 1px solid #d7e2da; background: #fff;
  border-radius: 999px; padding: 4px 10px; margin-bottom: 14px;
}
.pd-nophoto b { display: block; font-size: 30px; letter-spacing: .02em; color: #35513f; line-height: 1.1; }
.pd-nophoto i { display: block; font-style: normal; font-size: 12.5px; color: #84988a; margin-top: 8px; line-height: 1.5; }
@media (max-width: 820px) {
  .pd-main.noimg { height: 220px; }
  .pd-nophoto b { font-size: 24px; }
}

/* ---------- 官方 logo（取自 hc689.com/assets/img/logo.png） ---------- */
.logo-img { height: 40px; width: auto; display: block; }
.footer-logo { height: 38px; width: auto; display: block; background: #fff; padding: 5px 9px; border-radius: 5px; }
@media (max-width: 820px) { .logo-img { height: 34px; } }

/* ---------- 类目卡文字图标（沿用 hc689 的 cat-icon 写法） ---------- */
.cat-card .cat-icon {
  width: auto; min-width: 40px; height: 40px; padding: 0 9px;
  border-radius: 7px; background: var(--green-050); color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}

/* 语种自动推荐条 */
.langsug{background:#0f2b46;color:#fff;font-size:13.5px;line-height:1.5;border-bottom:1px solid rgba(255,255,255,.12)}
.langsug .wrap{display:flex;align-items:center;gap:12px;padding:9px 0;flex-wrap:wrap}
.langsug-globe{font-size:15px;line-height:1;opacity:.85}
.langsug p{margin:0;flex:1 1 260px;color:rgba(255,255,255,.88)}
.langsug-go{background:#c9a227;color:#12181f;font-weight:600;padding:5px 14px;border-radius:999px;white-space:nowrap}
.langsug-go:hover{background:#dcb43a;color:#12181f}
.langsug-x{background:transparent;border:1px solid rgba(255,255,255,.35);color:rgba(255,255,255,.85);padding:5px 12px;border-radius:999px;cursor:pointer;font-size:12.5px;white-space:nowrap}
.langsug-x:hover{border-color:rgba(255,255,255,.7);color:#fff}
@media(max-width:640px){.langsug p{flex:1 1 100%;font-size:12.5px}.langsug .wrap{gap:8px;padding:8px 0}}

/* ---------- 相关关键词（产品页） ---------- */
.kw-block{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 14px;padding:16px 18px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-lg)}
.kw-label{flex:0 0 auto;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.kw-list{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 auto}
.kw-tag{display:inline-block;padding:5px 12px;font-size:13px;line-height:1.5;color:var(--ink-2);background:var(--paper);border:1px solid var(--line);border-radius:999px;text-decoration:none;transition:border-color .15s,color .15s,background .15s}
a.kw-tag:hover{border-color:var(--green-600);color:var(--green-700);background:var(--green-050)}
.kw-tag:not(a){color:var(--muted)}
/* 阿语等 RTL：标签不参与方向翻转导致的错位 */
[dir="rtl"] .kw-label{text-transform:none;letter-spacing:0}
@media(max-width:640px){
  .kw-block{padding:12px 13px;gap:7px 8px}
  .kw-label{font-size:11.5px}
  .kw-tag{padding:3px 9px;font-size:12px;line-height:1.45}
}
