/* =========================================================
 * style.css — 设计系统 + 全站样式
 * 规范：内容安全区 1200px / 全宽背景 1920px
 * 色彩：主橙 #FF6A00 · 链接蓝 #1565C0 · 成功绿 #0E9F6E · 灰阶 #333→#F5F5F5
 * 字体：单一无衬线族（≤2 种），字号阶梯 12/14/16/20/24/32/40
 * ========================================================= */

:root {
  --orange: #FF6A00;
  --orange-d: #E05E00;
  --orange-bg: #FFF3EA;
  --blue: #1565C0;
  --blue-bg: #EDF4FC;
  --green: #0E9F6E;
  --green-bg: #E7F6EF;
  --red: #D93025;
  --red-bg: #FCEBEA;
  --ink: #333333;
  --ink-2: #666666;
  --ink-3: #999999;
  --line: #E6E6E6;
  --bg: #F5F5F5;
  --bg-2: #FFFFFF;
  --gold: #C9A03D;
  --w: 1200px;
  --rad: 8px;
  --rad-lg: 14px;
  --shadow: 0 2px 10px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

.container { width: var(--w); max-width: 100%; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }
.boot-loading { min-height: 60vh; display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 18px; letter-spacing: 2px; }

/* ---------- 字号阶梯 ---------- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
.t-hero { font-size: 40px; }
.t-h1 { font-size: 32px; }
.t-h2 { font-size: 24px; }
.t-h3 { font-size: 20px; }
.t-body { font-size: 14px; }
.t-small { font-size: 12px; color: var(--ink-2); }

/* ---------- 按钮（主 CTA 对比度 ≥ 4.5:1） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--rad);
  padding: 9px 22px; font-size: 15px; font-weight: 600; line-height: 1.4;
  text-decoration: none !important; transition: all .15s ease; white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(255,106,0,.4); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-outline { background: #fff; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange-bg); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0d4f97; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }
.btn-lg { padding: 13px 34px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 30px;
  padding: 4px 14px; font-size: 13px; color: var(--ink-2);
}
.chip:hover { border-color: var(--orange); color: var(--orange); }

.badge { display: inline-block; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.badge-hot { background: var(--orange); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-soft { background: var(--orange-bg); color: var(--orange-d); }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-gray { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { font-size: var(--t-h2, 24px); margin-bottom: 8px; }
.section-head p { color: var(--ink-2); }

/* ---------- 店招 + 导航 ---------- */
.topbar { background: #2b2b2b; color: #ccc; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar a { color: #ddd; margin-left: 14px; }
.topbar a:hover { color: #fff; text-decoration: none; }

.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 100; }
.header-main { display: flex; align-items: center; gap: 28px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.logo-mark {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--orange), #FF9A4D);
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.logo-text { line-height: 1.25; }
.logo-text .cn { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.logo-text .en { font-size: 14px; font-weight: 700; color: var(--orange); }
.logo-kw { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.header-search { flex: 1; display: flex; max-width: 560px; }
.header-search input {
  flex: 1; border: 2px solid var(--orange); border-radius: var(--rad) 0 0 var(--rad);
  padding: 9px 14px; outline: none; min-width: 0;
}
.header-search input:focus { box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.header-search button {
  background: var(--orange); color: #fff; border: none; border-radius: 0 var(--rad) var(--rad) 0;
  padding: 0 26px; font-weight: 600;
}
.header-search button:hover { background: var(--orange-d); }
.search-kw { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.search-kw a { margin-right: 10px; color: var(--ink-2); }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid var(--line); background: #fff; border-radius: 5px;
  padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--ink-2);
}
.lang-switch button.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.nav-bar { border-top: 1px solid var(--line); }
.nav-bar .container { display: flex; gap: 4px; height: 46px; align-items: stretch; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px; height: 100%; padding: 0 18px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none !important;
  border-bottom: 3px solid transparent;
}
.nav-item > a:hover, .nav-item.open > a { color: var(--orange); border-bottom-color: var(--orange); }
.nav-item > a::after {
  content: ""; border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px); opacity: .6;
}
.nav-drop {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px;
  border: 1px solid var(--line); border-radius: 0 0 var(--rad) var(--rad);
  box-shadow: var(--shadow-lg); padding: 8px 0; display: none; z-index: 50;
}
.nav-item:hover .nav-drop, .nav-item.open .nav-drop { display: block; }
.nav-drop a {
  display: flex; justify-content: space-between; padding: 8px 18px;
  color: var(--ink-2); text-decoration: none !important; font-size: 14px;
}
.nav-drop a:hover { background: var(--orange-bg); color: var(--orange-d); }
.nav-cta { margin-left: auto; align-self: center; }

/* ---------- 首屏 Banner（1920×690 通栏，内容限 1200px） ---------- */
.hero { position: relative; height: 690px; max-height: 82vh; overflow: hidden; background: #241d16; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: flex; align-items: center; pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; width: var(--w); max-width: 100%; margin: 0 auto; padding: 0 16px; color: #fff; }
.hero-tag {
  display: inline-block; background: var(--orange); color: #fff; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; padding: 5px 14px; border-radius: 4px; margin-bottom: 18px;
}
.hero-inner h2 { font-size: 44px; line-height: 1.15; margin-bottom: 14px; max-width: 640px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-inner p { font-size: 17px; opacity: .92; margin-bottom: 28px; max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 34px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,.4);
}
.hero-dots button.active { background: var(--orange); }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.why-item {
  background: #fff; border-radius: var(--rad-lg); padding: 26px 18px; text-align: center;
  box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: all .2s;
}
.why-item:hover { border-bottom-color: var(--orange); transform: translateY(-4px); }
.why-item .num { font-size: 30px; font-weight: 800; color: var(--orange); line-height: 1.1; }
.why-item .lab { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ---------- 首页：左侧工厂视频 + 右侧 3×2 分类网格 ---------- */
.cats-split { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: stretch; }
.cats-video { min-width: 0; }
.video-card {
  background: #fff; border-radius: var(--rad-lg); box-shadow: var(--shadow);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
}
.video-card video { width: 100%; flex: 1; min-height: 260px; object-fit: cover; background: #000; }
.video-cap { padding: 12px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.video-empty { align-items: center; justify-content: center; display: flex; min-height: 320px; }
.video-empty .ve-inner { text-align: center; color: var(--ink-3); padding: 30px; }
.video-empty .ve-inner p { font-size: 13.5px; margin-top: 10px; max-width: 260px; }
.cat-grid.grid-6 { grid-template-columns: repeat(3, 1fr); }
.cat-grid.grid-6 .cc-body strong { font-size: 14px; }

/* ---------- 视频后台管理 ---------- */
.video-admin { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.va-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: center; }
.va-row input { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; font-size: 13px; width: 100%; }
.va-row input:focus { outline: none; border-color: var(--blue); }
.cat-card {
  background: #fff; border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none !important; color: var(--ink); transition: all .2s; display: block;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .cc-img { aspect-ratio: 1/1; padding: 0; border-bottom: 1px solid var(--line); }
.cat-card .cc-img svg { width: 100%; height: 100%; }
.cat-card .cc-body { padding: 14px 12px; text-align: center; }
.cat-card .cc-body strong { font-size: 14px; display: block; line-height: 1.35; min-height: 38px; }

/* ---------- 产品卡片（橱窗图 1:1 统一比例） ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.prod-card {
  background: #fff; border-radius: var(--rad-lg); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none !important; color: var(--ink); display: flex; flex-direction: column;
  transition: all .2s; position: relative;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-card .pc-img { aspect-ratio: 1/1; position: relative; }
.prod-card .pc-img svg { width: 100%; height: 100%; }
.prod-card .pc-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.prod-card .pc-cmp {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 6px;
  font-size: 12px; padding: 3px 9px; color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center;
}
.prod-card .pc-cmp:hover, .prod-card .pc-cmp.on { border-color: var(--orange); color: var(--orange-d); background: var(--orange-bg); }
.prod-card .pc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card .pc-name { font-weight: 600; line-height: 1.4; min-height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prod-card .pc-price { color: var(--orange-d); font-weight: 800; font-size: 15px; }
.prod-card .pc-price span { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.prod-card .pc-moq { font-size: 12px; color: var(--ink-2); }
.prod-card .pc-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.prod-card .pc-actions .btn { flex: 1; padding: 6px 4px; font-size: 13px; }

/* ---------- 认证墙 ---------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert-badge {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad); padding: 12px 20px; font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.cert-badge .cb-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green-bg); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none;
}

/* ---------- 营销活动模块 ---------- */
.promo-band { background: linear-gradient(100deg, #241d16 0%, #4a2c12 60%, #8a4a10 100%); border-radius: var(--rad-lg); color: #fff; padding: 44px 48px; display: flex; align-items: center; gap: 32px; overflow: hidden; position: relative; }
.promo-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.35), transparent 70%);
}
.promo-tag { background: var(--red); font-weight: 800; letter-spacing: 2px; font-size: 12px; padding: 4px 12px; border-radius: 4px; }
.promo-band h3 { font-size: 28px; margin: 10px 0 8px; }
.promo-band p { opacity: .85; margin-bottom: 6px; }
.promo-band .promo-right { margin-left: auto; text-align: center; z-index: 2; }
.promo-code { font-family: Consolas, monospace; font-size: 18px; font-weight: 800; background: rgba(255,255,255,.14); border: 1px dashed rgba(255,255,255,.5); border-radius: 8px; padding: 10px 18px; margin-top: 12px; }

/* ---------- 买家评价 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border-radius: var(--rad-lg); padding: 26px; box-shadow: var(--shadow); }
.testi-stars { color: #F5A623; letter-spacing: 3px; margin-bottom: 10px; }
.testi-card p { color: var(--ink-2); font-style: italic; margin-bottom: 16px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.testi-who strong { display: block; font-size: 14px; }
.testi-who span { font-size: 12px; color: var(--ink-3); }

/* ---------- 首页询盘入口 ---------- */
.cta-band { background: var(--orange-bg); border-radius: var(--rad-lg); padding: 44px 48px; text-align: center; }
.cta-band h3 { font-size: 28px; color: var(--orange-d); }
.cta-band p { color: var(--ink-2); margin: 8px 0 22px; }
.cta-band .cta-alt { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.cta-band .cta-alt a { color: var(--blue); font-weight: 600; }

/* ---------- 底部矩阵 ---------- */
.site-footer { background: #262626; color: #bbb; margin-top: 60px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 46px 0 36px; }
.footer-main h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-main a { display: block; color: #bbb; margin-bottom: 8px; font-size: 13px; }
.footer-main a:hover { color: var(--orange); text-decoration: none; }
.footer-about p { font-size: 13px; line-height: 1.7; margin-top: 12px; }
.footer-contact li { list-style: none; font-size: 13px; margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: #3a3a3a; color: #ddd;
  display: flex !important; align-items: center; justify-content: center; margin: 0;
}
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-bottom { border-top: 1px solid #3a3a3a; padding: 16px 0; font-size: 12px; color: #888; text-align: center; }
.footer-bottom .staff-link { color: #666; font-size: 11px; opacity: .7; }
.footer-bottom .staff-link:hover { color: #999; opacity: 1; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 18px 0; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs .sep { margin: 0 8px; }

/* ---------- 产品列表页 ---------- */
.page-wrap { background: #fff; padding: 8px 0 60px; }
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.filters { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 20px; position: sticky; top: 120px; }
.filters h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filter-group { margin-bottom: 18px; }
.filter-group .fg-title { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.filter-group a { display: block; padding: 5px 8px; border-radius: 5px; font-size: 13px; color: var(--ink-2); text-decoration: none !important; }
.filter-group a.active { background: var(--orange-bg); color: var(--orange-d); font-weight: 600; }
.filter-group a:hover { color: var(--orange-d); }
.list-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--bg); border-radius: var(--rad); padding: 10px 16px; margin-bottom: 18px;
}
.list-toolbar .count { font-size: 13px; color: var(--ink-2); }
.list-toolbar select { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; background: #fff; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-3); }

/* ---------- 对比栏 ---------- */
.compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0; background: #fff; z-index: 90;
  box-shadow: 0 -4px 24px rgba(0,0,0,.14); padding: 14px 0; display: none;
}
.compare-bar.show { display: block; }
.compare-bar .container { display: flex; align-items: center; gap: 14px; }
.compare-items { display: flex; gap: 10px; flex: 1; }
.compare-item { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 8px; padding: 6px 12px 6px 6px; font-size: 12px; }
.compare-item .ci-img { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex: none; }
.compare-item .ci-img svg { width: 100%; height: 100%; }
.compare-item button { border: none; background: none; color: var(--ink-3); font-size: 15px; line-height: 1; }
.compare-item button:hover { color: var(--red); }

/* 对比弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal {
  background: #fff; border-radius: var(--rad-lg); max-width: 960px; width: 100%;
  max-height: 90vh; overflow: auto; padding: 28px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { font-size: 22px; }
.modal-close { border: none; background: var(--bg); border-radius: 50%; width: 34px; height: 34px; font-size: 16px; color: var(--ink-2); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 13px; vertical-align: top; }
.compare-table th { background: var(--bg); width: 130px; color: var(--ink-2); }
.compare-table td img { width: 90px; border-radius: 8px; }

/* ---------- 产品详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 480px 1fr; gap: 40px; align-items: start; }
.detail-gallery .dg-main { border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); background: #F7F4EE; }
.detail-gallery .dg-main svg { width: 100%; aspect-ratio: 1/1; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumbs button {
  width: 78px; height: 78px; border-radius: 8px; overflow: hidden; border: 2px solid var(--line); background: #F7F4EE; padding: 0;
}
.detail-thumbs button.active { border-color: var(--orange); }
.detail-thumbs svg { width: 100%; height: 100%; }
.detail-info h1 { font-size: 26px; margin: 6px 0 14px; }
.detail-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.detail-meta .row { display: flex; gap: 10px; align-items: baseline; }
.detail-meta .k { width: 110px; color: var(--ink-2); font-size: 13px; flex: none; }
.detail-meta .v { font-weight: 700; }
.detail-meta .price { font-size: 24px; color: var(--orange-d); font-weight: 800; }
.trust-strip { display: flex; gap: 16px; background: var(--green-bg); border-radius: var(--rad); padding: 10px 16px; font-size: 13px; color: #0b7a55; margin-bottom: 20px; }
.trust-strip b { color: var(--green); }
.detail-ctas { display: flex; gap: 14px; margin: 22px 0 10px; }
.detail-autonote { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.color-swatches { display: flex; gap: 8px; margin: 14px 0; }
.color-swatches span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.detail-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin: 36px 0 24px; }
.detail-tabs button {
  border: none; background: none; padding: 12px 22px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.detail-tabs button.active { color: var(--orange-d); border-bottom-color: var(--orange); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; width: 200px; background: var(--bg); color: var(--ink-2); }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 11px 16px; font-size: 14px; }
.trade-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trade-card { background: var(--bg); border-radius: var(--rad); padding: 16px 18px; }
.trade-card .k { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.trade-card .v { font-weight: 600; font-size: 14px; }

/* ---------- 表单 ---------- */
.inquiry-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; }
.field label b { color: var(--red); }
.field label .opt { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--rad); padding: 10px 13px;
  transition: border-color .15s, box-shadow .15s; background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--red); background: var(--red-bg); }
.field-err { color: var(--red); font-size: 12px; min-height: 0; margin: 0; }
.field-product input { background: var(--orange-bg); border-color: #ffd9bd; color: var(--orange-d); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-privacy { font-size: 12px; color: var(--ink-3); }
.coupon-applied { background: var(--green-bg); color: #0b7a55; border-radius: var(--rad); padding: 10px 16px; margin-bottom: 18px; font-size: 14px; }

/* ---------- 感谢页 ---------- */
.thanks-box { text-align: center; background: #fff; border-radius: var(--rad-lg); padding: 60px 40px; box-shadow: var(--shadow); max-width: 640px; margin: 40px auto; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.thanks-ref { font-family: Consolas, monospace; background: var(--bg); border-radius: 8px; display: inline-block; padding: 8px 20px; font-weight: 700; margin: 14px 0; }
.thanks-note { color: var(--ink-2); max-width: 460px; margin: 0 auto 26px; }

/* ---------- 公司页 ---------- */
.company-hero { background: linear-gradient(120deg, #241d16, #4a2c12); color: #fff; padding: 70px 0; }
.company-hero p { opacity: .85; margin-top: 10px; }
.company-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.company-card { background: #fff; border-radius: var(--rad-lg); padding: 30px; box-shadow: var(--shadow); }
.company-card h3 { margin-bottom: 14px; }
.company-card p { color: var(--ink-2); margin-bottom: 12px; }
.process-steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process-step { background: var(--bg); border-radius: var(--rad); padding: 18px 12px; text-align: center; font-size: 13px; position: relative; counter-increment: step; }
.process-step::before { content: counter(step); display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin: 0 auto 10px; line-height: 30px; }
.case-card { border-left: 4px solid var(--orange); background: var(--bg); border-radius: 0 var(--rad) var(--rad) 0; padding: 18px 22px; margin-bottom: 14px; }
.case-card strong { display: block; margin-bottom: 4px; }
.case-card span { color: var(--ink-2); font-size: 13px; }

/* ---------- 联系页 / 帮助中心 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: start; }
.contact-info { background: #fff; border-radius: var(--rad-lg); padding: 30px; box-shadow: var(--shadow); }
.contact-info h3 { margin-bottom: 18px; }
.contact-info li { list-style: none; display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.contact-info .ci-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--orange-bg); color: var(--orange-d); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.contact-info .ci-label { display: block; font-size: 12px; color: var(--ink-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.policy-block { background: #fff; border-radius: var(--rad-lg); padding: 26px 30px; box-shadow: var(--shadow); line-height: 1.8; color: var(--ink-2); }

/* ---------- 客服聊天 ---------- */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; border: none;
  background: var(--orange); color: #fff; box-shadow: 0 6px 24px rgba(255,106,0,.45);
  display: flex; align-items: center; justify-content: center;
}
.chat-fab:hover { background: var(--orange-d); transform: scale(1.06); }
.chat-fab-dot { position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; }
.chat-fab-dot.on { background: #2ecc71; }
.chat-fab-dot.off { background: #95a5a6; }

.chat-window {
  position: fixed; right: 24px; bottom: 96px; z-index: 150;
  width: 372px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: var(--rad-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { background: var(--orange); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-head-info strong { display: block; font-size: 15px; }
.chat-status { font-size: 11px; opacity: .95; }
.chat-status.on::before, .chat-status.off::before { content: "●"; margin-right: 5px; }
.chat-status.on::before { color: #b9ffcf; }
.chat-status.off::before { color: #ddd; }
.chat-close { border: none; background: rgba(255,255,255,.2); color: #fff; width: 28px; height: 28px; border-radius: 50%; }
.chat-close:hover { background: rgba(255,255,255,.35); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; }
.chat-msg.me { justify-content: flex-end; }
.chat-msg .bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.5;
  background: #fff; box-shadow: var(--shadow); word-wrap: break-word;
}
.chat-msg.me .bubble { background: var(--orange); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg.bot .bubble { border-bottom-left-radius: 3px; }
.chat-offline-note { background: #fff7e0; color: #8a6d1a; font-size: 12px; border-radius: 8px; padding: 10px 12px; text-align: center; }
.chat-offline-form { padding: 10px 12px 12px; background: #fff; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.chat-offline-form input, .chat-offline-form textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; font-size: 13px; width: 100%;
}
.chat-offline-form input:focus, .chat-offline-form textarea:focus { outline: none; border-color: var(--orange); }
.co-err { color: var(--red); font-size: 11px; min-height: 0; margin: 0; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 4px; background: #fff; }
.chat-quick .chip { font-size: 12px; padding: 3px 11px; }
.chat-input-row { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.chat-input-row input { flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: 8px 15px; min-width: 0; }
.chat-input-row input:focus { outline: none; border-color: var(--orange); }
.chat-input-row .btn { border-radius: 20px; padding: 8px 18px; }
.chat-product-card { display: flex; gap: 10px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); max-width: 250px; }
.chat-product-card .cpc-img { width: 64px; height: 64px; border-radius: 8px; overflow: none; flex: none; }
.chat-product-card .cpc-img svg { width: 100%; height: 100%; }
.chat-product-card .cpc-body strong { display: block; font-size: 12px; line-height: 1.35; margin-bottom: 2px; }
.chat-product-card .cpc-body span { display: block; font-size: 11px; color: var(--ink-3); }
.chat-product-card .cpc-link { font-size: 12px; font-weight: 600; margin-top: 3px; display: inline-block; }

/* ---------- 后台控制台 ---------- */
.admin-top { background: #1f2733; color: #fff; padding: 30px 0; margin-bottom: 30px; }
.admin-top h1 { font-size: 24px; }
.admin-top p { opacity: .7; font-size: 13px; margin-top: 4px; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.admin-tabs button {
  border: none; background: none; padding: 11px 20px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.admin-tabs button.active { color: var(--orange-d); border-bottom-color: var(--orange); }
.stat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: var(--rad); padding: 16px 18px; box-shadow: var(--shadow); }
.stat-card .sc-num { font-size: 24px; font-weight: 800; color: var(--ink); }
.stat-card .sc-num.warn { color: var(--orange-d); }
.stat-card .sc-lab { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filters input, .admin-filters select { border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; }
.admin-filters input[type="text"] { flex: 1; min-width: 220px; }
.admin-table-wrap { background: #fff; border-radius: var(--rad-lg); box-shadow: var(--shadow); overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 1080px; }
.admin-table th { background: #f4f6f8; text-align: left; padding: 11px 12px; color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.admin-table td { border-top: 1px solid var(--line); padding: 11px 12px; vertical-align: top; }
.admin-table tr:hover td { background: #fbfbfb; }
.admin-table .ref { font-family: Consolas, monospace; font-weight: 700; white-space: nowrap; }
.admin-table .sla-warn td { background: var(--orange-bg); }
.status-pill { display: inline-block; border-radius: 12px; padding: 2px 11px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-pill.unassigned { background: #fdf0e0; color: #b25e00; }
.status-pill.assigned { background: var(--blue-bg); color: var(--blue); }
.status-pill.replied { background: #e8f0fe; color: #3b6fd4; }
.status-pill.quoted { background: #efe6fb; color: #7b46c2; }
.status-pill.accepted { background: var(--green-bg); color: var(--green); }
.status-pill.ordered { background: #e0f2f1; color: #00796b; }
.status-pill.done { background: #e8e8e8; color: #555; }
.status-pill.invalid { background: var(--red-bg); color: var(--red); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions select { border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; font-size: 12px; }
.quote-box { border: 2px solid var(--orange); border-radius: var(--rad-lg); padding: 26px; }
.quote-box h3 { color: var(--orange-d); }
.quote-rows { margin: 16px 0; }
.quote-rows .qrow { display: grid; grid-template-columns: 160px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.quote-rows .qrow .qk { color: var(--ink-2); }
.quote-rows .qrow input, .quote-rows .qrow select { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.bar-track { background: var(--bg); border-radius: 6px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), #FF9A4D); border-radius: 6px; }
.bar-row.blue .bar-fill { background: linear-gradient(90deg, var(--blue), #5b9bd5); }
.tm-list { display: flex; flex-direction: column; gap: 12px; }
.tm-item { background: #fff; border-radius: var(--rad); box-shadow: var(--shadow); padding: 16px 20px; }
.tm-item .tm-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.tm-item .tm-head .ref { font-family: Consolas, monospace; font-weight: 700; }
.setting-row { background: #fff; border-radius: var(--rad); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.setting-row .sr-label { font-weight: 600; flex: 1; min-width: 200px; }
.sla-note { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.pagination { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 14px; }

/* ---------- 打印（报价单）：仅打印弹层内容 ---------- */
@media print {
  body * { visibility: hidden; }
  .modal-mask, .modal-mask * { visibility: visible; }
  .modal-mask { position: absolute; inset: 0; display: block; background: #fff; padding: 0; }
  .modal { box-shadow: none; max-height: none; max-width: 100%; border: 2px solid #333; }
  .quote-box { border-color: #333; }
  .modal-close { display: none; }
}

/* ---------- Toast ---------- */
#toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%);
  background: #333; color: #fff; padding: 10px 24px; border-radius: 30px;
  z-index: 300; font-size: 14px; box-shadow: var(--shadow-lg); display: none;
}
#toast.show { display: block; animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---------- 后台登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #241d16 0%, #4a2c12 55%, #8a4a10 100%);
  padding: 24px;
}
.login-card {
  background: #fff; border-radius: var(--rad-lg); box-shadow: var(--shadow-lg);
  width: 400px; max-width: 100%; padding: 36px 34px 28px;
}
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.login-title { font-size: 22px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.login-brand .logo-mark { width: 48px; height: 48px; }
.login-brand strong { display: block; font-size: 18px; color: var(--ink); }
.login-brand span:last-child { display: block; font-size: 12px; color: var(--ink-3); }
.login-card .field { margin-bottom: 16px; }
.login-card .field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.login-card .field input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--rad); padding: 10px 13px;
}
.login-card .field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 2px; }
.captcha-img { border: 1px solid var(--line); border-radius: 6px; height: 44px; overflow: hidden; padding: 0; background: #F3EFE7; flex: none; }
.captcha-img:hover { border-color: var(--orange); }
.login-err { color: var(--red); font-size: 13px; min-height: 20px; margin: 4px 0 10px; }
.login-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 16px; line-height: 1.5; }
.login-back { text-align: center; margin-top: 10px; font-size: 13px; }

/* ---------- 修改密码 / 设置表单 ---------- */
.pw-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.pw-form .field { margin: 0; width: 200px; }
.pw-form .field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.pw-form .field input {
  width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px;
}
.pw-form .field input:focus { outline: none; border-color: var(--blue); }
.pw-err { color: var(--red); font-size: 12px; margin-top: 8px; width: 100%; }

/* ---------- 内容管理（CMS）表单 ---------- */
.cms-head h3 { margin-bottom: 4px; }
.cms-head .t-small { color: var(--ink-3); max-width: 720px; }
.cms-group { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 16px; margin-bottom: 18px; }
.cms-group h4 { font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.cms-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; margin-bottom: 10px; align-items: end; }
.cms-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cms-f span { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.cms-f input, .cms-f textarea {
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; font-size: 13px; width: 100%;
}
.cms-f input:focus, .cms-f textarea:focus { outline: none; border-color: var(--blue); }
.cms-f-wide { grid-column: span 2; }
.cms-f textarea { resize: vertical; }
.cms-del { justify-self: end; }
.cms-add { margin-top: 4px; }
@media (max-width: 860px) { .cms-row { grid-template-columns: 1fr 1fr; } .cms-f-wide { grid-column: span 2; } }

/* ---------- 推广/统计代码表单 ---------- */
.code-form { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.code-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px;
  font-family: Consolas, 'Courier New', monospace; font-size: 12px; color: var(--ink-2);
  background: #fafafa; resize: vertical; white-space: pre-wrap;
}
.code-form textarea:focus { outline: none; border-color: var(--blue); }
.code-form label { font-size: 12px; color: var(--ink-2); }

/* ---------- 站点信息表单 ---------- */
.site-row { flex-direction: column; align-items: stretch; }
.site-form { width: 100%; }
.site-form .form-grid { grid-template-columns: 1fr 1fr; }
.site-form .field input { border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; }
.site-form .field input:focus { outline: none; border-color: var(--blue); }

/* ---------- 后台顶栏（登录态） ---------- */
.admin-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-top-user { display: flex; align-items: center; gap: 14px; }
.admin-top-user .t-small { color: #fff; opacity: .75; }
.admin-top-user .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.admin-top-user .btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ---------- 询盘回复 / 产品表单 ---------- */
.reply-box { border-top: 2px solid var(--orange-bg); margin-top: 18px; padding-top: 16px; }
.reply-box label { display: block; margin-bottom: 8px; }
.reply-box textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--rad); padding: 10px 13px; resize: vertical;
}
.reply-box textarea:focus { outline: none; border-color: var(--blue); }
.reply-item { background: var(--bg); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; font-size: 13.5px; }
.readonly-input { background: var(--bg); color: var(--ink-2); }
#pf-grid .field { margin-bottom: 0; }
#pf-grid { gap: 14px 18px; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--orange); }

/* ---------- 汉堡菜单（移动端） ---------- */
.burger { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 44px; height: 44px; font-size: 20px; }

/* =========================================================
 * 响应式（独立断点思维，非简单缩放）
 * ========================================================= */
@media (max-width: 1220px) {
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cats-split { grid-template-columns: 1fr; }
  .video-card video { min-height: 220px; }
}
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid, .company-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header-main { flex-wrap: wrap; gap: 14px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .burger { display: block; }
  .nav-bar .container { flex-wrap: wrap; height: auto; display: none; padding: 8px 0; }
  .nav-bar .container.mobile-open { display: flex; flex-direction: column; }
  .nav-bar .container a { padding: 12px 4px; }
  .nav-drop { position: static; display: block; box-shadow: none; border: none; min-width: 0; padding: 0 0 8px 14px; }
  .nav-cta { margin: 8px 0; }
  .hero { height: 480px; }
  .hero-inner h2 { font-size: 30px; }
  .hero-inner p { font-size: 15px; }
  .prod-grid, .prod-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid.grid-6 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .promo-band { flex-direction: column; text-align: center; padding: 32px 24px; }
  .promo-band .promo-right { margin: 18px auto 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid, .cat-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .detail-ctas { flex-direction: column; }
  .detail-ctas .btn { width: 100%; }
  /* 聊天窗口小屏半屏浮层 */
  .chat-window { right: 16px; left: 16px; width: auto; bottom: 88px; height: 70vh; }
  .chat-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .inquiry-wrap { padding: 20px 16px; }
  .compare-bar .container { flex-wrap: wrap; }
  .hero { height: 420px; }
  .hero-inner h2 { font-size: 24px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
