/* Yufon CMS - 前台样式 */
:root {
  --navy: #0b3a6f;
  --navy-2: #07294f;
  --accent: #ef7f1a;
  --accent-2: #d76d0c;
  --ink: #16202b;
  --muted: #5f6b78;
  --line: #e3e8ee;
  --bg: #f5f7fa;
  --white: #fff;
  --ok: #17803d;
  --danger: #b42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .12);
  --container: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.2vw, 38px); }
h2 { font-size: clamp(21px, 2.2vw, 27px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 6px; }
.btn-block { display: flex; width: 100%; }
.link-more { color: var(--navy); font-weight: 600; font-size: 14px; }
.link-more:hover { color: var(--accent); }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy-2); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-contact a { color: rgba(255, 255, 255, .82); }
.topbar-contact a:hover { color: #fff; }
.topbar-time { color: rgba(255, 255, 255, .55); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 2px 8px; border-radius: 4px; color: rgba(255, 255, 255, .7); }
.lang-switch a.on { background: rgba(255, 255, 255, .14); color: #fff; }
.topbar-link { color: rgba(255, 255, 255, .7); }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(8px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.brand-text { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.primary-nav { flex: 1 1 auto; }
.primary-nav ul { display: flex; gap: 26px; }
.primary-nav a { position: relative; display: inline-block; padding: 26px 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover, .primary-nav a.on { color: var(--navy); }
.primary-nav a.on::after, .primary-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.header-search input { border: 0; outline: 0; padding: 9px 12px; width: 160px; font-size: 14px; background: transparent; }
.header-search button { border: 0; background: transparent; color: var(--muted); padding: 8px 10px; cursor: pointer; display: flex; }
.header-search button:hover { color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; padding: 10px; }
.nav-toggle-bar { display: block; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; background: var(--navy-2); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-image); background-size: cover; background-position: center;
  transform: scale(1.02);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 50, .94) 0%, rgba(8, 34, 64, .82) 45%, rgba(8, 34, 64, .35) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; max-width: 760px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #ffd7ae; border: 1px solid rgba(255, 215, 174, .35); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 16px; letter-spacing: -.02em; }
.hero-lead { font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .78); }
.hero-points li { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); padding: 6px 12px; border-radius: 999px; }

/* ---------- 数据带 ---------- */
.stats-band { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.stat { text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); padding: 4px 8px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--bg); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { color: var(--muted); margin: 0; max-width: 760px; }
.section-head .muted { font-size: 13px; }

/* ---------- 分类卡 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: block; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd9e4; }
.cat-card-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 12px; background: #eef4fb; color: var(--navy); margin-bottom: 14px; }
.cat-card h3 { font-size: 19px; }
.cat-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.cat-card-more { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ---------- 产品卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card-media { position: relative; display: block; background: #f0f3f7; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card-media img { transform: scale(1.03); }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(11, 58, 111, .88); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.product-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-no { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.product-card h3 { font-size: 16px; margin: 0; line-height: 1.45; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--accent); }
.product-summary { color: var(--muted); font-size: 13px; margin: 0; }
.product-specs { display: grid; gap: 4px; font-size: 13px; margin-top: 2px; }
.product-specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.product-specs span { color: var(--muted); }
.product-specs b { font-weight: 600; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; color: var(--navy); font-size: 14px; }

/* ---------- 能力 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); box-shadow: var(--shadow); }
.feature h3 { font-size: 16px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 标签 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 14px; transition: all .18s ease; }
.tag-chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.tag-chip-lg { font-size: 15px; padding: 9px 16px; }
.tag-count { font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 7px; min-width: 20px; text-align: center; }
.tag-chip:hover .tag-count { background: rgba(255, 255, 255, .18); color: #fff; }
.tag-groups { display: grid; gap: 34px; padding: 20px 0 50px; }
.tag-group h2 { font-size: 19px; padding-bottom: 10px; border-bottom: 2px solid var(--line); margin-bottom: 16px; }
.tag-section { padding: 26px 0; }
.tag-section h2 { font-size: 20px; }

/* ---------- 文章 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-media { display: block; aspect-ratio: 5 / 3; background: #eef2f7; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px 18px 20px; }
.post-meta { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.post-card h3 { font-size: 17px; margin: 8px 0; line-height: 1.45; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); font-size: 13px; margin: 0; }
.post-list { display: grid; gap: 18px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; gap: 22px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.post-row-media { display: block; aspect-ratio: 16 / 10; background: #eef2f7; border-radius: 8px; overflow: hidden; }
.post-row-media img { width: 100%; height: 100%; object-fit: cover; }
.post-row-body h2 { font-size: 20px; margin: 6px 0 8px; }
.post-row-body h2 a { color: var(--ink); }
.post-row-body p { color: var(--muted); font-size: 14px; }
.post-row-body .link-more { display: inline-block; margin-top: 2px; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(120deg, var(--navy) 0%, #0f4b8b 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { color: #fff; font-size: clamp(21px, 2.4vw, 30px); }
.cta-inner p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-section .btn-primary:hover { background: #fff; color: var(--navy); }

/* ---------- 页脚 ---------- */
.pre-footer { background: #fff; border-top: 1px solid var(--line); }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 20px; }
.pre-footer h3 { margin-bottom: 6px; font-size: 20px; }
.pre-footer p { margin: 0; color: var(--muted); font-size: 14px; }
.pre-footer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pre-footer .btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.pre-footer .btn-outline:hover { border-color: var(--navy); }
.site-footer { background: #0a1a2c; color: rgba(255, 255, 255, .72); font-size: 14px; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; padding-bottom: 40px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: .02em; }
.footer-desc { color: rgba(255, 255, 255, .6); font-size: 13px; }
.footer-contact { display: grid; gap: 8px; font-size: 13px; }
.footer-contact li { display: flex; gap: 10px; }
.fc-label { color: rgba(255, 255, 255, .42); flex: 0 0 34px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; font-size: 13.5px; }
.footer-links-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-apply { display: inline-block; margin-top: 12px; color: #ffc78d !important; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 22px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.footer-bottom-inner { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-bottom-inner a { color: rgba(255, 255, 255, .5); }

/* ---------- 移动底栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 内页头部 ---------- */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 26px 0 34px; margin-bottom: 34px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-pad { padding: 22px 0 0; }
.page-head h1 { margin: 10px 0 8px; }
.page-lead { color: var(--muted); max-width: 820px; margin: 0; font-size: 15px; }

/* ---------- 列表页 ---------- */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding-bottom: 60px; }
.sidebar { position: sticky; top: 94px; display: grid; gap: 18px; }
.sidebar-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.sidebar-title { font-size: 15px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-cats { display: grid; gap: 4px; }
.side-cats a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.side-cats a:hover { background: var(--bg); color: var(--navy); }
.side-cats a.on { background: var(--navy); color: #fff; font-weight: 600; }
.filter-form .field { margin-bottom: 12px; }
.filter-actions { display: grid; gap: 8px; margin-top: 14px; }
.filter-reset { text-align: center; font-size: 13px; color: var(--muted); }
.sidebar-cta p { font-size: 13px; color: var(--muted); }
.listing-main { min-width: 0; }
.listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.result-count { font-size: 14px; color: var(--muted); }
.result-count strong { color: var(--ink); font-size: 18px; margin: 0 2px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { font-size: 12px; background: #eef4fb; color: var(--navy); border-radius: 999px; padding: 4px 10px; }
.listing-single { padding-bottom: 60px; }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 6px; justify-content: center; margin: 30px 0 0; flex-wrap: wrap; }
.pager a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; }
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 42px; padding-bottom: 16px; }
.product-gallery { min-width: 0; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); background: #f0f3f7; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb { padding: 0; width: 84px; height: 64px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.on { border-color: var(--navy); }
.product-eyebrow { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.product-info h1 { font-size: clamp(23px, 2.6vw, 32px); margin-bottom: 10px; }
.product-sub { color: var(--muted); margin-bottom: 20px; }
.key-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 20px; }
.key-specs div { display: flex; gap: 10px; font-size: 14px; }
.key-specs dt { color: var(--muted); flex: 0 0 auto; min-width: 60px; }
.key-specs dd { margin: 0; font-weight: 600; }
.buy-box { background: #fff7ee; border: 1px solid #ffe0bf; border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.buy-price-label { display: block; font-size: 12px; color: var(--muted); }
.buy-price strong { font-size: 24px; color: var(--navy); display: block; margin: 2px 0 4px; }
.buy-price small { color: var(--muted); font-size: 12px; }
.buy-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.buy-actions .btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.buy-actions .btn-outline:hover { border-color: var(--navy); }
.product-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-bottom: 16px; }
.product-tags .label { color: var(--muted); }
.assurance { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.assurance li { position: relative; padding-left: 20px; }
.assurance li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- 面板 ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 20px; margin: 0; }
.panel > .rich-text, .panel > .table-wrap, .panel > .faq-list, .panel > p { margin: 0; }
.panel > .rich-text { padding: 22px 24px; }
.panel > .table-wrap { padding: 4px 24px 0; }
.panel > .table-note { padding: 10px 24px 20px; margin: 0; }
.unit-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.unit-toggle button { border: 0; background: #fff; padding: 6px 14px; font-size: 13px; cursor: pointer; color: var(--muted); }
.unit-toggle button.on { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; background: #fafbfc; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-note { color: var(--muted); font-size: 12.5px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.content-main { min-width: 0; }
.content-side { display: grid; gap: 18px; position: sticky; top: 94px; }
.side-panel { padding: 20px; }
.side-panel h3 { font-size: 16px; margin-bottom: 8px; }
.side-panel p { font-size: 13.5px; color: var(--muted); }
.side-panel .btn + .btn { margin-top: 8px; }
.rich-text { font-size: 15.5px; line-height: 1.85; color: #26313d; }
.rich-text h2 { font-size: 21px; margin: 1.4em 0 .6em; padding-left: 12px; border-left: 4px solid var(--accent); }
.rich-text h3 { font-size: 18px; margin: 1.3em 0 .5em; }
.rich-text p { margin: 0 0 1em; }
.rich-text ul, .rich-text ol { padding-left: 1.4em; margin: 0 0 1em; list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin: .3em 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 9px 12px; }
.rich-text th { background: var(--bg); }
.rich-text img { border-radius: 8px; margin: 1em 0; }
.rich-text blockquote { margin: 1em 0; padding: 12px 18px; background: var(--bg); border-left: 3px solid var(--navy); color: var(--muted); }
.rich-text a { color: var(--navy); text-decoration: underline; }
.rich-text code { background: var(--bg); padding: 1px 5px; border-radius: 4px; font-size: .92em; }

/* ---------- FAQ ---------- */
.faq-list { padding: 8px 24px 20px; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); background: #fafbfc; }
.faq-answer { padding: 14px 16px; font-size: 14px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- 文章详情 ---------- */
.article-layout { padding-top: 6px; padding-bottom: 50px; }
.article-body { padding: 30px 34px 36px; }
.article-head h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: 0; flex-wrap: wrap; }
.article-summary { color: var(--muted); font-size: 16px; border-left: 3px solid var(--accent); padding-left: 14px; }
.article-cover { margin: 22px 0; border-radius: 10px; overflow: hidden; }
.article-cover img { width: 100%; }
.article-tags { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-faq { margin-top: 30px; padding: 0; }
.article-faq h2 { font-size: 20px; margin-bottom: 14px; }
.article-foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-products { display: grid; gap: 10px; }
.side-products a { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink); }
.side-products img { width: 66px; height: 50px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); flex: 0 0 auto; }
.side-products a:hover { color: var(--accent); }

/* ---------- 列表型内容 ---------- */
.plain-list { display: grid; gap: 0; }
.plain-list li { border-bottom: 1px solid var(--line); }
.plain-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 4px; color: var(--ink); }
.plain-list a:hover { color: var(--accent); }
.plain-list-title { font-weight: 600; }
.plain-list-meta { font-size: 13px; color: var(--muted); flex: 0 0 auto; }
.page-panel { padding: 30px 34px; }

/* ---------- 表单 ---------- */
.form-layout { padding-bottom: 60px; }
.form-layout .panel { padding: 26px; }
.form-layout > .panel { max-width: 100%; }
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; }
.field > span { font-weight: 600; font-size: 13.5px; }
.field em { color: var(--danger); font-style: normal; }
.field input[type="text"], .field input[type="email"], .field input[type="search"], .field input[type="url"],
.field input[type="number"], .field input[type="tel"], .field input[type="password"], .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 58, 111, .12); }
.field textarea { resize: vertical; min-height: 90px; }
.field input[type="file"] { padding: 8px 0; font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-help { color: var(--muted); font-size: 12px; }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.checkbox-field input { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-row input { max-width: 140px; }
.captcha-img { border: 1px solid var(--line); border-radius: 6px; height: 42px; width: 120px; object-fit: cover; cursor: pointer; background: #fff; }
.form-actions { display: grid; gap: 10px; justify-items: start; }
.form-note { font-size: 12px; color: var(--muted); margin: 0; }
.alert { border-radius: 8px; padding: 14px 18px; font-size: 14px; }
.alert ul { list-style: disc; padding-left: 20px; }
.alert p:last-child { margin-bottom: 0; }
.alert-success { background: #eefaf1; border: 1px solid #b9e6c8; color: #14532d; }
.alert-error { background: #fdf1f0; border: 1px solid #f3c3bf; color: #8a1c12; }
.selected-product { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #eef4fb; border-radius: 8px; font-size: 14px; flex-wrap: wrap; }
.selected-product span { color: var(--muted); font-size: 12px; }
.selected-product small { color: var(--muted); }
.contact-list { display: grid; gap: 10px; font-size: 13.5px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list span { flex: 0 0 64px; color: var(--muted); }
.check-list { display: grid; gap: 6px; font-size: 13.5px; margin-bottom: 14px; }
.check-list li { position: relative; padding-left: 18px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); }

/* ---------- 步骤表单 ---------- */
.steps { display: flex; gap: 10px; margin: 0 0 22px; padding: 0; counter-reset: step; }
.steps li { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 13px; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.steps li span { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.steps li.on { color: var(--navy); border-bottom-color: var(--accent); font-weight: 600; }
.steps li.on span { background: var(--navy); color: #fff; }
.steps li.done span { background: var(--ok); color: #fff; }
.step-form { border: 0; padding: 0; margin: 0; }
.step-panel { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step-panel.on { display: block; animation: fadeIn .2s ease; }
.step-panel legend { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding: 0; }
.step-actions { display: flex; gap: 10px; margin-top: 22px; }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.radio-card { display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card-body { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; transition: all .15s ease; }
.radio-card-body b { display: block; font-size: 14px; }
.radio-card-body small { color: var(--muted); font-size: 12px; }
.radio-card input:checked + .radio-card-body { border-color: var(--navy); background: #eef4fb; box-shadow: 0 0 0 2px rgba(11, 58, 110, .08); }
.radio-card input:focus-visible + .radio-card-body { outline: 2px solid var(--navy); outline-offset: 2px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 查询 ---------- */
.query-panel { padding: 24px; margin-bottom: 22px; }
.query-form { gap: 14px; }
.query-form .btn { justify-self: start; }
.result-panel { padding: 26px; margin-bottom: 50px; }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.result-head h2 { margin: 4px 0; font-size: 24px; letter-spacing: .02em; }
.result-head p { margin: 0; font-size: 13px; }
.status-pill { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #eef4fb; color: var(--navy); }
.status-3, .status-4 { background: #fff3e5; color: #9a4f08; }
.status-5 { background: #eefaf1; color: #14532d; }
.status-6 { background: #f1f3f5; color: var(--muted); }
.timeline { display: flex; gap: 6px; padding: 22px 0; }
.timeline li { flex: 1; position: relative; padding-top: 22px; font-size: 12.5px; color: var(--muted); text-align: center; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline li:first-child::before { left: 50%; }
.timeline li:last-child::before { right: 50%; }
.timeline .dot { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--navy); }
.timeline li.done .dot { background: var(--navy); border-color: var(--navy); }
.timeline li.now .dot { box-shadow: 0 0 0 4px rgba(11, 58, 111, .15); }
.result-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding-top: 8px; }
.result-grid h3 { font-size: 16px; margin-bottom: 12px; }
.quote-box { border: 1px solid #ffe0bf; background: #fff7ee; border-radius: 10px; padding: 16px; }
.quote-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #f0d3b1; font-size: 14px; }
.quote-row:last-of-type { border-bottom: 0; }
.quote-row span { color: var(--muted); }
.quote-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------- 友链 ---------- */
.friend-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.friend-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.friend-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.friend-card img { max-height: 40px; width: auto; }
.friend-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.friend-host { font-size: 11.5px; color: var(--muted); word-break: break-all; }

/* ---------- 搜索 ---------- */
.search-big { display: flex; gap: 10px; margin: 0 0 22px; max-width: 720px; }
.search-big input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15px; }
.search-big input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 58, 110, .12); }
.search-summary { font-size: 14px; color: var(--muted); }
.search-hints { padding-bottom: 60px; }

/* ---------- 空状态与 404 ---------- */
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h3 { font-size: 18px; }
.empty-state p { color: var(--muted); }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.empty { color: var(--muted); padding: 20px 0; }
.error-page { padding: 70px 0 80px; text-align: center; }
.error-code { font-size: 96px; font-weight: 800; line-height: 1; color: var(--navy); opacity: .14; margin: 0; letter-spacing: -.04em; }
.error-page h1 { margin-top: -18px; }
.error-lead { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.error-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.error-page .search-big { margin-left: auto; margin-right: auto; }
.error-sub { font-size: 17px; margin: 34px 0 16px; }
.error-page .product-grid { text-align: left; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .header-search input { width: 120px; }
  .primary-nav ul { gap: 18px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .site-header { position: sticky; }
  .header-inner { min-height: 64px; gap: 12px; }
  .nav-toggle { display: block; order: 3; }
  .brand img { height: 34px; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(16, 24, 40, .1); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: block; padding: 8px 20px 16px; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 13px 0; }
  .primary-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .header-search { display: none; }
  .header-cta { display: none; }
  .hero { min-height: 460px; }
  .hero-inner { padding-top: 46px; padding-bottom: 46px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 26px; }
  .content-layout { grid-template-columns: 1fr; }
  .content-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .pre-footer-inner { flex-direction: column; align-items: flex-start; }
  .friend-grid { grid-template-columns: repeat(3, 1fr); }
  .result-grid { grid-template-columns: 1fr; }
  .timeline { overflow-x: auto; }
  .timeline li { min-width: 76px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(16, 24, 40, .08);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 5px 0; }
  .mobile-bar a:hover { color: var(--navy); }
  .mobile-bar-cta { color: var(--accent) !important; }
  body { padding-bottom: 62px; }
  .section { padding: 44px 0; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .product-grid, .product-grid-3 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .friend-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body { padding: 22px 18px 26px; }
  .form-layout .panel { padding: 18px; }
  .panel-head { padding: 16px 18px; }
  .panel > .rich-text { padding: 18px; }
  .faq-list { padding: 8px 14px 16px; }
  .hero-points li { font-size: 12px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .steps li { font-size: 11.5px; gap: 6px; }
  .steps li span { width: 20px; height: 20px; font-size: 11px; }
  .result-head { flex-direction: column; }
}

/* 打印 */
@media print {
  .topbar, .site-header, .pre-footer, .site-footer, .mobile-bar, .cta-section, .hero-actions, .buy-actions { display: none !important; }
  body { padding: 0; }
  .panel { box-shadow: none; border: 0; }
}