/*
Theme Name: InstruTrade 仪器优选
Theme URI: https://example.com/instrutrade
Author: InstruTrade
Author URI: https://example.com
Description: 专为二手仪器设备回收与销售企业打造的 WordPress 主题。内置设备管理(自定义文章类型)、设备分类与品牌、回收询价表单、微信/电话快捷咨询、ICP 备案信息等功能,不依赖任何外部字体与第三方脚本,国内访问友好。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: instrutrade
Tags: business, e-commerce, custom-menu, custom-logo, featured-images, two-columns
*/

/* ==========================================================================
   0. 设计变量 —— 精密仪器 / 校准刻度体系
   ========================================================================== */
:root {
  /* 色板:墨蓝仪表盘 × 黄铜刻度 × 规格纸 */
  --c-ink: #0b2136;          /* 墨蓝(深) */
  --c-primary: #12456b;      /* 钢蓝(主色) */
  --c-primary-soft: #1c5c8c; /* 钢蓝(浅) */
  --c-accent: #d9962e;       /* 黄铜(强调) */
  --c-accent-ink: #2a1c05;   /* 黄铜上的文字色 */
  --c-bg: #f5f3ed;           /* 规格纸底色 */
  --c-surface: #ffffff;
  --c-line: #e4dfd2;
  --c-text: #243642;         /* 石墨 */
  --c-muted: #7c8b96;        /* 刻度灰 */
  --c-ok: #2e8b57;
  --c-warn: #b7791f;
  --c-sold: #93a1ab;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    "Helvetica Neue", Arial, sans-serif;
  /* 数字/型号用仪表盘式窄体(系统自带,无外链) */
  --font-num: "Bahnschrift", "DIN Alternate", "Avenir Next Condensed",
    "Arial Narrow", var(--font-sans);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 2px 6px rgba(11, 33, 54, 0.06);
  --shadow-2: 0 14px 34px rgba(11, 33, 54, 0.12);
  --container: 1200px;
  --header-h: 74px;
}

/* ==========================================================================
   1. 基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--c-ink); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--c-ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

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

.icon { width: 1em; height: 1em; vertical-align: -0.12em; flex: none; }

/* ==========================================================================
   2. 按钮 / 徽章 / 标签
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-accent:hover { background: #c1811d; color: var(--c-accent-ink); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(217,150,46,.35); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-ink); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; line-height: 1.6;
  background: rgba(18,69,107,.08); color: var(--c-primary);
}
.chip a { color: inherit; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; line-height: 1.7;
}
.badge-onsale { background: rgba(46,139,87,.12); color: var(--c-ok); }
.badge-reserved { background: rgba(183,121,31,.14); color: var(--c-warn); }
.badge-sold { background: rgba(147,161,171,.2); color: #5d6b74; }

/* ==========================================================================
   3. 版块标题 —— 校准刻度签名元素
   ========================================================================== */
.section { padding: 84px 0; }
.section-alt { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

/* 刻度尺眉题:一排细刻度线 + 一根黄铜主刻度 */
.eyebrow {
  display: inline-flex; align-items: flex-end; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .32em;
  color: var(--c-accent); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 74px; height: 12px; flex: none;
  background:
    linear-gradient(90deg, var(--c-accent) 0 2px, transparent 2px) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--c-muted) 0 1px, transparent 1px 9px) 0 4px / 100% 8px no-repeat;
  opacity: .95;
}
.section-head.is-center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: .01em; margin-bottom: 12px; }
.section-desc { color: var(--c-muted); font-size: 16px; margin: 0; }
.section-more { margin-top: 36px; text-align: center; }

/* 卡片右上角的校准角标(悬停显现) */
.tick-corner { position: relative; }
.tick-corner::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent);
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.tick-corner:hover::after { opacity: 1; transform: translate(0, 0); }

/* ==========================================================================
   4. 顶栏 + 页头
   ========================================================================== */
.topbar { background: var(--c-ink); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar-item .icon { color: var(--c-accent); }
a.topbar-item:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.site-branding { display: flex; align-items: center; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 52px; width: auto; }
.site-logo-text { display: inline-flex; align-items: center; gap: 11px; color: var(--c-ink); }
.site-logo-text:hover { color: var(--c-ink); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--c-primary), var(--c-ink));
  color: var(--c-accent);
}
.logo-mark .icon { width: 24px; height: 24px; }
.logo-title { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.logo-title small { font-weight: 400; font-size: 11px; letter-spacing: .18em; color: var(--c-muted); margin-top: 3px; }

.site-nav { margin-left: auto; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500;
  color: var(--c-text); border-radius: 6px; position: relative;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-ancestor > a::after,
.nav-menu > li.current_page_item > a::after { transform: scaleX(1); }
.nav-menu > li > a:hover { color: var(--c-ink); }

.nav-menu .sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 8px;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(2px); }
.nav-menu .sub-menu a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 6px; color: var(--c-text); }
.nav-menu .sub-menu a:hover { background: var(--c-bg); color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--c-line);
  border-radius: 8px; background: #fff; color: var(--c-ink);
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ==========================================================================
   5. 首页 Hero —— 仪表盘蓝图
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, var(--c-ink) 0%, #0e3050 52%, var(--c-primary) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 10%, #000 40%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(217,150,46,.22), transparent 65%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center; padding: 88px 0 96px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .3em; color: var(--c-accent);
  font-weight: 700; margin-bottom: 18px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 34px; height: 8px;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 7px) 0 100% / 100% 6px no-repeat;
  opacity: .8;
}
.hero-title { color: #fff; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: .015em; margin-bottom: 18px; }
.hero-title .accent { color: var(--c-accent); }
.hero-desc { color: rgba(255,255,255,.82); font-size: 17px; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.85); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--c-accent); }

/* 右侧:设备档案卡 */
.hero-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-card::before, .hero-card::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
}
.hero-card::before { top: 12px; left: 12px; border-top: 2px solid var(--c-accent); border-left: 2px solid var(--c-accent); }
.hero-card::after { bottom: 12px; right: 12px; border-bottom: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); }
.hero-card img { width: 100%; height: 420px; object-fit: cover; }
.hero-card-ph {
  height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(255,255,255,.55);
}
.hero-card-ph .icon { width: 96px; height: 96px; color: var(--c-accent); opacity: .85; }
.hero-card-ph span { font-size: 13px; letter-spacing: .35em; }
.hero-card-label {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  padding: 14px 20px; font-size: 13px; letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  background: linear-gradient(transparent, rgba(11,33,54,.85));
  display: flex; justify-content: space-between; align-items: center;
}
.hero-card-label b { color: var(--c-accent); font-family: var(--font-num); font-size: 15px; letter-spacing: .06em; }

/* 数据条 */
.stats-bar { position: relative; z-index: 1; background: rgba(9,26,42,.55); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 26px 18px; text-align: center;
  border-left: 1px solid rgba(255,255,255,.1);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-num); font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  color: #fff; letter-spacing: .03em; line-height: 1.1; display: block;
}
.stat-num .suffix { color: var(--c-accent); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.66); letter-spacing: .12em; margin-top: 6px; display: block; }

/* ==========================================================================
   6. 分类 / 优势 / 流程 / 品牌
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.cat-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px 20px; color: var(--c-text);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(217,150,46,.5); color: var(--c-text); }
.cat-glyph {
  width: 52px; height: 52px; flex: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--c-accent);
  background: linear-gradient(145deg, var(--c-primary), var(--c-ink));
}
.cat-name { font-weight: 700; color: var(--c-ink); font-size: 16px; }
.cat-count { font-size: 13px; color: var(--c-muted); font-family: var(--font-num); letter-spacing: .05em; }
.cat-card .arrow { margin-left: auto; color: var(--c-muted); transition: transform .2s ease, color .2s ease; }
.cat-card:hover .arrow { transform: translateX(4px); color: var(--c-accent); }

.feature-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18,69,107,.08); color: var(--c-primary);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* 流程(真实顺序,编号承载信息) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 58px 24px 26px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 18px; left: 24px;
  font-family: var(--font-num); font-size: 34px; font-weight: 700;
  color: var(--c-accent); letter-spacing: .04em; line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 40px; right: -13px; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-muted) 0 4px, transparent 4px 8px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--c-muted); margin: 0; }

.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.brand-chip:hover { border-color: var(--c-accent); color: var(--c-primary); transform: translateY(-2px); }

/* CTA 横幅 */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--c-ink), var(--c-primary)); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--c-accent); letter-spacing: .04em; }
.cta-phone:hover { color: #f0b654; }

/* ==========================================================================
   7. 设备卡片 / 列表
   ========================================================================== */
.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.eq-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease;
}
.eq-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.eq-card:hover .eq-thumb img { transform: scale(1.05); }
.eq-thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eceae3; }
.eq-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #c9c4b6; }
.thumb-ph .icon { width: 56px; height: 56px; }
.eq-thumb .badge { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: 0 2px 6px rgba(0,0,0,.12); background-color: #fff; }
.eq-thumb .badge-onsale { color: var(--c-ok); }
.eq-thumb .badge-reserved { color: var(--c-warn); }

.is-sold .eq-thumb::after {
  content: "已售出"; position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(36,54,66,.55); color: #fff;
  font-size: 20px; font-weight: 700; letter-spacing: .35em; text-indent: .35em;
}
.is-sold .eq-thumb img { filter: grayscale(.6); }

.eq-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.eq-meta-line { font-size: 12.5px; color: var(--c-muted); letter-spacing: .04em; font-family: var(--font-num); }
.eq-title { font-size: 16px; margin: 0; line-height: 1.45; }
.eq-title a { color: var(--c-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eq-title a:hover { color: var(--c-primary); }
.eq-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eq-tag { font-size: 12px; color: var(--c-muted); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 4px; padding: 1px 8px; }
.eq-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--c-line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eq-price { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: #c2410c; letter-spacing: .02em; }
.eq-price .cur { font-size: 14px; margin-right: 1px; }
.eq-price.is-negotiable { font-size: 15px; color: var(--c-primary); font-weight: 600; }
.is-sold .eq-price { color: var(--c-sold); }
.eq-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--c-muted); }
.eq-card:hover .eq-more { color: var(--c-accent); }

/* ==========================================================================
   8. 页面横幅 / 面包屑 / 筛选 / 分页
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--c-ink), var(--c-primary)); color: #fff; padding: 54px 0; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(110deg, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(110deg, #000 30%, transparent 90%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 6px; }
.page-hero .page-desc { color: rgba(255,255,255,.78); margin: 0; max-width: 46em; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: rgba(255,255,255,.92); }

.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 32px; padding: 14px 16px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.filter-label { font-size: 13px; color: var(--c-muted); margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.filter-pill {
  padding: 6px 16px; border-radius: 999px; font-size: 14px;
  color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line);
  transition: all .2s ease;
}
.filter-pill:hover { border-color: var(--c-accent); color: var(--c-primary); }
.filter-pill.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.filter-search { margin-left: auto; }

.search-form { display: flex; align-items: stretch; max-width: 320px; }
.search-field {
  flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid var(--c-line);
  border-right: 0; border-radius: 8px 0 0 8px; background: #fff; color: var(--c-text);
}
.search-field:focus { outline: none; border-color: var(--c-accent); }
.search-submit {
  padding: 0 16px; border: 0; border-radius: 0 8px 8px 0;
  background: var(--c-primary); color: #fff; display: flex; align-items: center;
}
.search-submit:hover { background: var(--c-ink); }

.pagination-wrap { margin-top: 44px; }
.pagination-wrap .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination-wrap .page-numbers {
  min-width: 42px; padding: 9px 14px; text-align: center;
  border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-surface);
  color: var(--c-text); font-family: var(--font-num); font-size: 15px;
}
.pagination-wrap .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination-wrap a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-primary); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--c-muted); }
.empty-state .icon { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--c-line); display: block; }

/* ==========================================================================
   9. 设备详情页
   ========================================================================== */
.eq-single { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }

.eq-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.eq-main-img {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line); background: #fff; aspect-ratio: 4 / 3;
}
.eq-main-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.eq-main-img::before, .eq-main-img::after { content: ""; position: absolute; width: 18px; height: 18px; z-index: 2; pointer-events: none; }
.eq-main-img::before { top: 10px; left: 10px; border-top: 2px solid var(--c-accent); border-left: 2px solid var(--c-accent); }
.eq-main-img::after { bottom: 10px; right: 10px; border-bottom: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); }
.eq-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.eq-thumbs button {
  width: 86px; height: 66px; padding: 0; border: 2px solid var(--c-line); border-radius: 8px;
  overflow: hidden; background: #fff; transition: border-color .2s ease;
}
.eq-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.eq-thumbs button.is-active, .eq-thumbs button:hover { border-color: var(--c-accent); }

.eq-info { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; }
.eq-info-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.eq-info h1 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 16px; }
.eq-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 20px; border-top: 1px solid var(--c-line); }
.eq-specs > div { display: flex; gap: 10px; padding: 11px 4px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; }
.eq-specs dt { color: var(--c-muted); flex: none; margin: 0; }
.eq-specs dd { margin: 0; color: var(--c-ink); font-weight: 500; word-break: break-all; }
.eq-price-box {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; margin-bottom: 20px;
  background: linear-gradient(120deg, rgba(217,150,46,.1), rgba(18,69,107,.06));
  border: 1px dashed rgba(217,150,46,.55); border-radius: 8px;
}
.eq-price-box .label { font-size: 14px; color: var(--c-muted); }
.eq-price-box .eq-price { font-size: 32px; }
.eq-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.eq-assure { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--c-line); display: grid; gap: 8px; font-size: 14px; color: var(--c-muted); }
.eq-assure li { display: flex; align-items: center; gap: 8px; }
.eq-assure .icon { color: var(--c-ok); }

.eq-detail-section { margin-top: 56px; }
.eq-detail-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  font-size: 20px; font-weight: 700; color: var(--c-ink);
}
.eq-detail-head::before { content: ""; width: 5px; height: 22px; background: var(--c-accent); border-radius: 3px; }
.eq-notice {
  margin-top: 26px; padding: 16px 20px; border-radius: 8px;
  background: rgba(217,150,46,.08); border: 1px solid rgba(217,150,46,.35);
  font-size: 14px; color: #7a5a1a;
}

/* ==========================================================================
   10. 正文排版
   ========================================================================== */
.entry-content { font-size: 16px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2 { font-size: 24px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content img { border-radius: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 1.4em 0; padding: 14px 22px; border-left: 4px solid var(--c-accent);
  background: var(--c-surface); border-radius: 0 8px 8px 0; color: var(--c-muted);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--c-bg); }
.entry-content pre { background: var(--c-ink); color: #dbe7f0; padding: 18px 20px; border-radius: 8px; overflow: auto; font-size: 14px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--c-muted); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }

/* 文章卡片(资讯) */
.post-card {
  display: flex; flex-direction: column; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-card-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #eceae3; display: block; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-meta { font-size: 12.5px; color: var(--c-muted); font-family: var(--font-num); letter-spacing: .05em; }
.post-card h3 { font-size: 17px; margin: 0; }
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card p { font-size: 14px; color: var(--c-muted); margin: 0; }

.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--c-muted); margin-bottom: 28px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 14px; }
.post-nav a { display: block; max-width: 46%; }

/* ==========================================================================
   11. 表单 / 回收页 / 联系页
   ========================================================================== */
.form-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-1); position: relative; overflow: hidden;
}
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); }
.form-card h3 { font-size: 21px; margin-bottom: 4px; }
.form-card .form-sub { font-size: 13.5px; color: var(--c-muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.form-group label .req { color: #c0392b; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  background: #fff; color: var(--c-text); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(217,150,46,.15);
}
.form-group.has-error input, .form-group.has-error textarea { border-color: #c0392b; }
.field-msg { font-size: 12.5px; color: #c0392b; margin-top: 4px; display: none; }
.has-error .field-msg { display: block; }
.form-tip { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; text-align: center; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-notice { padding: 13px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.form-notice.is-ok { background: rgba(46,139,87,.1); border: 1px solid rgba(46,139,87,.4); color: #226844; }
.form-notice.is-fail { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.4); color: #922b21; }

.recycle-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
.recycle-form-col { position: sticky; top: calc(var(--header-h) + 24px); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list .icon { color: var(--c-ok); margin-top: 4px; }
.mini-steps { display: grid; gap: 14px; counter-reset: ms; margin-bottom: 28px; }
.mini-steps li {
  list-style: none; position: relative; padding: 14px 16px 14px 62px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 8px; font-size: 14.5px;
}
.mini-steps li::before {
  counter-increment: ms; content: "0" counter(ms);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--c-accent);
}
.mini-steps b { color: var(--c-ink); }
.call-strip {
  margin-top: 18px; padding: 14px 18px; border-radius: 8px; text-align: center;
  background: var(--c-ink); color: rgba(255,255,255,.85); font-size: 14px;
}
.call-strip a { color: var(--c-accent); font-family: var(--font-num); font-size: 20px; font-weight: 700; letter-spacing: .04em; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.contact-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.contact-card .feature-icon { margin: 0 auto 14px; }
.contact-card h3 { font-size: 15px; color: var(--c-muted); font-weight: 500; margin-bottom: 6px; }
.contact-card .val { font-size: 16px; font-weight: 700; color: var(--c-ink); word-break: break-all; }
.contact-card .val a { color: var(--c-ink); }
.contact-card .val a:hover { color: var(--c-primary); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); background: #fff; }
.map-embed iframe { display: block; width: 100%; min-height: 380px; border: 0; }

/* ==========================================================================
   12. 页脚 / 浮动咨询 / 移动底栏 / 微信弹层
   ========================================================================== */
.site-footer { background: var(--c-ink); color: rgba(255,255,255,.72); font-size: 14px; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding: 60px 24px 44px;
}
.footer-col h4 {
  color: #fff; font-size: 15px; letter-spacing: .1em; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-col h4::before { content: ""; width: 16px; height: 2px; background: var(--c-accent); }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: .02em; }
.footer-about p { color: rgba(255,255,255,.62); font-size: 13.5px; }
.footer-line { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: rgba(255,255,255,.78); }
.footer-line .icon { color: var(--c-accent); }
.footer-line a { color: inherit; }
.footer-line a:hover { color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { color: rgba(255,255,255,.66); }
.footer-menu a:hover { color: var(--c-accent); }
.footer-qr-box {
  width: 130px; padding: 8px; background: #fff; border-radius: 8px;
}
.footer-qr-box img { border-radius: 4px; }
.footer-qr-id { font-size: 13px; margin-top: 10px; color: rgba(255,255,255,.66); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--c-accent); }

/* 桌面浮动咨询条 */
.float-contact {
  position: fixed; right: 18px; bottom: 120px; z-index: 600;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--c-line);
  background: #fff; color: var(--c-primary); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-1); position: relative; transition: all .2s ease;
}
.float-btn:hover { background: var(--c-primary); color: #fff; transform: translateX(-3px); }
.float-btn .icon { width: 24px; height: 24px; }
.float-btn .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--c-ink); color: #fff; font-size: 13px; padding: 7px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.float-btn:hover .tip { opacity: 1; }
.to-top { opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* 移动端底部快捷栏 */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700;
  background: #fff; border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 20px rgba(11,33,54,.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar-inner { display: grid; grid-template-columns: 1fr 1fr 1.3fr; }
.mobile-bar a, .mobile-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; font-size: 12px; border: 0; background: none; color: var(--c-text);
}
.mobile-bar .icon { width: 21px; height: 21px; color: var(--c-primary); }
.mobile-bar .mb-sell { background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; font-size: 15px; flex-direction: row; gap: 8px; }
.mobile-bar .mb-sell .icon { color: var(--c-accent-ink); }

/* 微信弹层 */
.wechat-modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wechat-modal[hidden] { display: none; }
.wechat-backdrop { position: absolute; inset: 0; background: rgba(11,33,54,.6); backdrop-filter: blur(2px); }
.wechat-panel {
  position: relative; background: #fff; border-radius: 14px; padding: 30px 28px 26px;
  width: min(340px, 100%); text-align: center; box-shadow: var(--shadow-2);
}
.wechat-panel h3 { font-size: 18px; margin-bottom: 4px; }
.wechat-panel .sub { font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.wechat-panel .qr { width: 200px; margin: 0 auto 14px; border: 1px solid var(--c-line); border-radius: 8px; padding: 8px; }
.wechat-panel .wid {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--c-ink);
}
.wechat-panel .wid button {
  font-size: 12px; padding: 4px 10px; border-radius: 5px; border: 1px solid var(--c-line);
  background: var(--c-bg); color: var(--c-primary);
}
.wechat-close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border: 0; background: none; color: var(--c-muted); display: flex; align-items: center; justify-content: center;
}
.wechat-close:hover { color: var(--c-ink); }

/* 404 */
.error-404 { text-align: center; padding: 100px 24px 110px; }
.error-code { font-family: var(--font-num); font-size: clamp(80px, 14vw, 150px); font-weight: 700; color: var(--c-primary); line-height: 1; letter-spacing: .04em; }
.error-code span { color: var(--c-accent); }
.error-404 .search-form { margin: 28px auto 0; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* 评论 */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 8px; margin-bottom: 12px;
}
.comment-form .submit { border: 0; }

/* 渐显动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   13. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .equipment-grid, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-card img, .hero-card-ph { height: 340px; }
  .eq-single { grid-template-columns: 1fr; }
  .eq-gallery { position: static; }
  .recycle-grid { grid-template-columns: 1fr; }
  .recycle-form-col { position: static; }
  .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
    margin: 0; padding: 84px 22px 32px; background: #fff;
    border-left: 1px solid var(--c-line); box-shadow: var(--shadow-2);
    transform: translateX(105%); transition: transform .3s ease;
    overflow-y: auto; z-index: 560;
  }
  .nav-open .site-nav { transform: translateX(0); }
  .nav-menu { flex-direction: column; gap: 2px; }
  .nav-menu > li > a { font-size: 16px; padding: 12px 10px; }
  .nav-menu > li > a::after { display: none; }
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--c-line);
    border-radius: 0; margin: 0 0 6px 14px; padding: 0 0 0 8px; display: none;
  }
  .nav-menu li.is-open > .sub-menu { display: block; }
  .nav-toggle { display: inline-flex; z-index: 580; position: relative; }
  .header-cta { display: none; }
  .topbar-left .hide-sm, .topbar .topbar-hours { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .equipment-grid, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 44px 24px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .eq-cta { grid-template-columns: 1fr; }
  .eq-specs { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .float-contact, .hide-sm { display: none !important; }
  .mobile-bar { display: block; }
  body { padding-bottom: 62px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .equipment-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2, .steps, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .topbar-right .topbar-wechat { display: none; }
  .filter-search { margin-left: 0; width: 100%; }
  .search-form { max-width: none; }
}

/* ==========================================================================
   14. 追加工具类(详情页/联系页)
   ========================================================================== */
.page-hero.is-slim { padding: 20px 0; }
.page-hero.is-slim .breadcrumb { margin: 0; }
.section-sm { padding: 44px 0 84px; }
.mb-16 { margin-bottom: 16px; }
.mb-28 { margin-bottom: 28px; }
.mb-44 { margin-bottom: 44px; }
.contact-side { display: grid; gap: 20px; align-content: start; }
.qr-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.qr-card img { width: 180px; margin: 0 auto 12px; border: 1px solid var(--c-line); border-radius: 8px; padding: 6px; background: #fff; }
.qr-card .wid-line { font-weight: 600; color: var(--c-ink); }
.qr-card .sub { font-size: 13px; color: var(--c-muted); margin: 4px 0 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .section-sm { padding: 30px 0 60px; } }
