/* =====================================================
   恒科翔业电子官网 - 仿 BOMAN 电商风格
   主色：科技蓝 #1565D8 / #0E4FAB，背景浅灰 #F6F6F6，白底卡片
   类型：B2B电子元器件现货商城
   ===================================================== */

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f6f6f6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1565D8;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ========== Variables ========== */
:root {
  --color-primary: #1565D8;
  --color-primary-dark: #0E4FAB;
  --color-primary-light: #E8F1FC;
  --color-accent: #FF5722;
  --color-blue: #0EA5E9;
  --color-blue-light: #E0F2FE;
  --color-green: #2E7D32;
  --color-green-light: #E8F5E9;
  --color-orange: #F59E0B;
  --color-orange-light: #FFF6E5;
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-bg: #F6F6F6;
  --color-white: #FFFFFF;
  --color-border: #EEEEEE;
  --color-border-dark: #DDDDDD;
  --color-dark: #2B2B2B;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.1);
  --max-width: 1280px;
  --header-h: 90px;
  --nav-h: 46px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== Top Bar ========== */
.top-bar {
  background: #0A1E3F;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  line-height: 34px;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-right { display: flex; gap: 20px; }
.top-bar-right a { display: inline-flex; align-items: center; gap: 5px; transition: color .2s; }
.top-bar-right a:hover { color: #fff; }
.top-bar svg { vertical-align: middle; }

/* ========== 吸顶头容器: 下拉后整体吸顶，永不显示不全 ========== */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .25s;
}
.header-sticky.is-stuck {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* ========== Site Header ========== */
.site-header {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
}

.header-logo {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 10px;
  align-items: center;
  width: 280px;
  text-decoration: none;
}
.header-logo:hover { text-decoration: none; }
.header-logo .logo-mark {
  width: 100%;
  height: auto;
  max-height: 36px;
  object-fit: contain;
}
.logo-mark {
  height: auto;
  width: auto;
  max-height: 36px;
  display: block;
  object-fit: contain;
}
.logo-info { display: flex; flex-direction: column; }
.logo-info strong {
  font-size: 20px;
  color: var(--color-primary);
  letter-spacing: .5px;
  line-height: 1.2;
}
.logo-info span { font-size: 11px; color: var(--color-text-muted); letter-spacing: 1px; }

.header-search { max-width: 620px; width: 100%; }
.search-form {
  display: flex;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  height: 46px;
}
.search-form input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: 14px;
  color: var(--color-text);
  min-width: 0;
}
.search-form input::placeholder { color: #aaa; }
.search-btn {
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 0 32px;
  transition: background .2s;
}
.search-btn:hover { background: var(--color-primary-dark); }
.search-hot {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-hot span { margin-right: 4px; }
.search-hot a {
  color: var(--color-text-muted);
  margin-right: 10px;
  transition: color .2s;
}
.search-hot a:hover { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.bom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.bom-btn:hover { background: var(--color-primary-light); }
.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}
.tel-btn svg { color: var(--color-primary); }
.tel-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.tel-btn small { font-size: 11px; color: var(--color-text-muted); }
.tel-btn span strong { font-size: 18px; font-weight: 700; color: var(--color-primary); }

/* ========== Site Nav ========== */
.site-nav {
  background: #fff;
  border-bottom: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; height: var(--nav-h); }
.category-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  height: var(--nav-h);
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  margin-left: -16px;
}
.category-trigger svg { stroke-width: 2.5; }
.nav-menu { display: flex; flex: 1; margin-left: 10px; }
.nav-menu li a {
  display: block;
  padding: 0 22px;
  line-height: var(--nav-h);
  font-size: 15px;
  color: var(--color-text);
  transition: color .2s;
  position: relative;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-primary);
  font-weight: 600;
}
.nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-primary);
}
.nav-inquiry {
  margin-left: auto;
  background: var(--color-primary);
  color: #fff;
  padding: 0 24px;
  line-height: var(--nav-h);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s;
}
.nav-inquiry:hover { background: var(--color-primary-dark); }

/* ========== Hero Layout ========== */
.hero-section { padding: 16px 0 24px; }
.hero-layout {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 14px;
  align-items: start;
}

/* Category Sidebar */
.category-sidebar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.category-title {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-list li a {
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  border-bottom: 1px solid #f2f2f2;
  transition: all .2s;
}
.category-list li a:hover { background: #f0f6ff; }
.category-list li a strong {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 2px;
}
.category-list li a span {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Banner Carousel */
.hero-center { display: flex; flex-direction: column; gap: 14px; }
.banner-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
}
.banner-track { position: relative; height: 100%; }
.banner-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
  display: flex;
  align-items: center;
  padding: 0 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}
.banner-slide.active { opacity: 1; visibility: visible; }
.banner-content { color: #fff; max-width: 420px; }
.banner-tag {
  display: inline-block;
  background: rgba(255,87,34,.9);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 14px;
}
.banner-tag.blue { background: rgba(30,111,255,.9); }
.banner-tag.green { background: rgba(46,125,50,.9); }
.banner-content h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.banner-content h2 b { color: #FFE082; }
.banner-content p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: .95;
}
.banner-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.banner-btn.light { background: #fff; color: var(--color-primary); }
.banner-btn:hover { background: var(--color-primary-dark); }
.banner-btn.light:hover { background: #f0f0f0; }
.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
.banner-dots button.active { background: #fff; }

/* Quick Cards */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
  border: 1px solid transparent;
}
.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-card.red { border-left: 4px solid var(--color-primary); }
.quick-card.blue { border-left: 4px solid var(--color-blue); }
.quick-card.orange { border-left: 4px solid var(--color-orange); }
.quick-card svg { color: var(--color-text-muted); }
.quick-card.red svg { color: var(--color-primary); }
.quick-card.blue svg { color: var(--color-blue); }
.quick-card.orange svg { color: var(--color-orange); }
.quick-card strong { display: block; font-size: 15px; color: var(--color-text); }
.quick-card span { font-size: 12px; color: var(--color-text-muted); }

/* Service Panel */
.service-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}
.panel-head {
  background: linear-gradient(135deg, var(--color-primary), #4A90E2);
  color: #fff;
  padding: 16px;
  text-align: center;
}
.avatar {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.panel-head p { font-size: 13px; opacity: .95; }
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}
.panel-item {
  background: #fff;
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 12px;
  transition: background .2s;
}
.panel-item:hover { background: #f0f6ff; color: var(--color-primary); }
.panel-item svg { color: var(--color-primary); }
.panel-notice { padding: 14px; }
.panel-notice h4 {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--color-primary);
}
.panel-notice ul { display: flex; flex-direction: column; gap: 8px; }
.panel-notice li {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: flex;
  gap: 6px;
}
.tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
  height: fit-content;
}
.tag.red { background: var(--color-primary); }
.tag.blue { background: var(--color-blue); }
.tag.orange { background: var(--color-orange); }

/* ========== Stats Bar ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  margin-bottom: 24px;
}
.stat-item { text-align: center; border-right: 1px solid #f0f0f0; }
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
}
.stat-item span { font-size: 13px; color: var(--color-text-secondary); }

/* ========== Section Common ========== */
.section { padding: 32px 0; }
.page-hero { background: linear-gradient(135deg, var(--color-dark), var(--color-primary)); color: #fff; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-head.plain { flex-direction: column; align-items: flex-start; gap: 4px; }
.section-head.plain p { color: var(--color-text-muted); font-size: 14px; }
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title svg { color: var(--color-primary); }
.section-head h2 {
  font-size: 22px;
  color: var(--color-text);
  font-weight: 700;
}
.section-head .subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-left: 4px;
}
.more-link {
  color: var(--color-text-muted);
  font-size: 13px;
  transition: color .2s;
}
.more-link:hover { color: var(--color-primary); }

/* ========== Brand Section ========== */
.brand-section { padding: 24px 0; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.brand-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  transition: all .2s;
}
.brand-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.brand-card span {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 600;
  text-align: center;
}

/* ========== Hot Products ========== */
.hot-products { padding: 24px 0; }
.hot-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.hot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: var(--radius);
  transition: all .2s;
}
.hot-item:hover { background: var(--color-primary-light); }
.hot-icon { font-style: normal; font-size: 14px; }
.hot-sku {
  flex: 1;
  font-size: 14px;
  color: var(--color-text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.hot-brand {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ========== Service Section ========== */
.service-section { padding: 24px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-border-dark);
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon.red { background: var(--color-primary-light); color: var(--color-primary); }
.service-icon.blue { background: var(--color-blue-light); color: var(--color-blue); }
.service-icon.orange { background: var(--color-orange-light); color: #E65100; }
.service-icon.green { background: var(--color-green-light); color: var(--color-green); }
.service-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--color-text); }
.service-card p { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 14px; line-height: 1.7; }
.service-card .link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}
.service-card .link:hover { text-decoration: underline; }

/* ========== Solutions ========== */
.solutions-section { padding: 24px 0; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.solution-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sol-icon { font-size: 32px; margin-bottom: 12px; }
.solution-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--color-text); }
.solution-card p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; }

/* ========== News Section ========== */
.news-section { padding: 24px 0; }
.news-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
}
.news-feature {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.news-thumb { height: 180px; }
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-tag {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  width: fit-content;
  margin-bottom: 10px;
}
.news-body h3 {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 10px;
  font-weight: 600;
}
.news-body p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 14px; }
.news-body time { margin-top: auto; font-size: 12px; color: var(--color-text-muted); }
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.news-item:hover { background: var(--color-primary-light); }
.news-item .num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #f2f2f2;
  color: var(--color-text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.news-item:nth-child(-n+3) .num { background: var(--color-primary); color: #fff; }
.news-item .text {
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Value Section ========== */
.value-section { padding: 32px 0; background: #fff; margin: 24px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card { display: flex; gap: 16px; }
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.value-icon.red { background: var(--color-primary-light); }
.value-icon.blue { background: var(--color-blue-light); }
.value-icon.orange { background: var(--color-orange-light); }
.value-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--color-text); }
.value-card h3 span { font-size: 13px; color: var(--color-primary); margin-left: 6px; font-weight: 500; }
.value-card p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; }

/* ========== About Section ========== */
.about-section { padding: 32px 0; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--color-primary);
}
.about-content h2 { font-size: 26px; margin-bottom: 18px; color: var(--color-text); }
.about-content p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.9; margin-bottom: 14px; }
.about-content p strong { color: var(--color-text); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.about-stats div strong { display: block; font-size: 22px; color: var(--color-primary); font-weight: 800; }
.about-stats div span { font-size: 12px; color: var(--color-text-muted); }
.about-timeline {
  border-left: 2px solid var(--color-primary-light);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary-light);
}
.timeline-item span {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-item p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.7; }

/* ========== FAQ Section ========== */
.faq-section { padding: 32px 0; }
.faq-list {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ========== Contact Section ========== */
.contact-section { padding: 40px 0; background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%); }
.contact-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; margin-bottom: 10px; color: var(--color-text); }
.contact-info > p { color: var(--color-text-secondary); margin-bottom: 24px; font-size: 14px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list strong { color: var(--color-text); font-size: 15px; }
.contact-list span { color: var(--color-text-secondary); font-size: 13px; }
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 18px; margin-bottom: 20px; color: var(--color-text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--color-text);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--color-primary); }
.contact-form textarea { resize: vertical; margin-bottom: 16px; }
.submit-btn {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: background .2s;
}
.submit-btn:hover { background: var(--color-primary-dark); }
.form-tip {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 10px;
}
.form-message { margin-top: 12px; }
.form-message.success {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--color-green-light);
  color: var(--color-green);
  font-size: 13px;
  border: 1px solid rgba(46,125,50,.2);
}
.form-message.error {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 13px;
  border: 1px solid rgba(21,101,216,.2);
}

/* ========== Product Grid (products page) ========== */
.product-grid > div {
  transition: all .2s;
}
.product-grid > div:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ========== Footer ========== */
.site-footer {
  background: linear-gradient(180deg, #0c2447 0%, #0A1E3F 100%);
  color: rgba(255,255,255,.7);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.6fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo-mark {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-brand dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 13px;
}
.footer-brand dt { color: rgba(255,255,255,.5); }
.footer-brand dd { color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(255,255,255,.25);
  transition: all .2s;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-col a:hover::before { border-left-color: var(--color-primary); }

.footer-contact h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.footer-hotline {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.footer-hotline strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.footer-hotline strong span {
  color: var(--color-primary);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.75);
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}
.footer-contact-item a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-qq {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-qq a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 50px;
  transition: background .2s;
}
.footer-qq a:hover { background: var(--color-primary-dark); }

.footer-cert {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-cert-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-cert-label { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-cert-list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-cert-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.footer-cert-list svg { color: var(--color-primary); }

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ========== Article Body ========== */
.article-body { color: var(--color-text); line-height: 1.9; font-size: 15px; }
.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary-light);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 24px 0 12px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
  list-style: disc;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--color-dark); }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid #e0e0e0; text-align: left; }
.article-body th { background: #f5f7fa; font-weight: 600; }
.related-list li { margin-bottom: 10px; }
.related-list a { color: var(--color-primary); transition: color .2s; }
.related-list a:hover { color: var(--color-primary-dark); }

/* ========== Back to Top ========== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  z-index: 1000;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .hero-layout { grid-template-columns: 200px 1fr 220px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-bar { grid-template-columns: repeat(5, 1fr); }
  .footer-top { grid-template-columns: 1.2fr repeat(3, 1fr) 1.4fr; gap: 24px; }
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .header-search { order: 3; grid-column: 1 / -1; max-width: 100%; }
  .hero-layout { grid-template-columns: 1fr; }
  .category-sidebar, .service-panel { display: none; }
  .banner-carousel { height: 280px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .top-bar-right { width: 100%; justify-content: space-between; }
  .header-inner { grid-template-columns: 1fr; gap: 12px; }
  .header-actions { justify-content: space-between; width: 100%; }
  .site-nav { top: 155px; }
  .nav-menu { display: none; }
  .category-trigger { width: 100%; justify-content: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item { border-right: none; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-list { grid-template-columns: 1fr; }
  .service-grid, .solution-grid, .value-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-cert-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .banner-content h2 { font-size: 22px; }
  .banner-carousel { height: 360px; }
  .quick-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-logo .logo-info strong { font-size: 16px; }
  .logo-mark { width: 44px; height: 44px; font-size: 14px; }
  .tel-btn span strong { font-size: 15px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stats-bar { grid-template-columns: 1fr; }
  .about-layout { padding: 24px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}


.category-tree a.active,
.category-tree a.active small,
.cat-l2-label a.active { color: var(--color-primary); font-weight: 600; }
.cat-label a { color: inherit; text-decoration: none; }
.cat-label a:hover { color: var(--color-primary); }
/* ========== 现货商城分类树与产品卡片 ========== */
.category-tree { font-size: 13px; color: var(--color-text-secondary); }
.category-tree ul { list-style: none; }
.cat-l1 { margin-bottom: 10px; }
.cat-label {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 6px;
}
.cat-label small,
.cat-l2-label small,
.cat-l3-list small { color: var(--color-text-muted); font-weight: 400; font-size: 11px; }
.cat-l2-list { padding-left: 0; }
.cat-l2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 4px;
}
.cat-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: transform .2s;
  padding: 0;
  margin-top: 2px;
}
.cat-toggle[aria-expanded="true"] { transform: rotate(90deg); }
.cat-l2-label {
  flex: 1;
  padding: 4px 0;
  cursor: pointer;
  color: var(--color-text-secondary);
}
.cat-l2-label:hover { color: var(--color-primary); }
.cat-l3-list {
  width: 100%;
  padding-left: 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.cat-l3-list.open { max-height: 800px; }
.cat-l3-list li { padding: 3px 0; }
.cat-l3-list a {
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-l3-list a:hover { color: var(--color-primary); }

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-primary-light);
}
.product-brand {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-model {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.product-model a { color: inherit; }
.product-model a:hover { color: var(--color-primary); }
.product-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
  min-height: 36px;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price {
  color: var(--color-price, #E53935);
  font-weight: 700;
  font-size: 15px;
}
.btn-inquiry {
  padding: 6px 14px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}
.btn-inquiry:hover { background: var(--color-primary-dark); }

aside ul label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
aside ul label input { accent-color: var(--color-primary); }

/* ========== 产品详情页 ========== */
.breadcrumb a { color: #fff; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep { opacity: .6; margin: 0 6px; }

.pd-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
}
.pd-gallery {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f6f6f6 0%, #fff 100%);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}
.pd-image-placeholder span {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.pd-image-placeholder small {
  font-size: 12px;
  color: var(--color-text-muted);
}
.pd-info { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; }
.pd-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pd-title-row h2 { font-size: 24px; font-weight: 800; color: var(--color-text); }
.pd-badge {
  background: var(--color-green-light);
  color: var(--color-green);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.pd-desc { font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 18px; }
.pd-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fafafa;
  border-radius: var(--radius);
}
.pd-meta li { display: flex; justify-content: space-between; font-size: 13px; }
.pd-meta li span { color: var(--color-text-muted); }
.pd-meta li strong { color: var(--color-text); font-weight: 600; }
.pd-price-row { display: flex; align-items: center; gap: 16px; }
.pd-price small { display: block; font-size: 12px; color: var(--color-text-muted); }
.pd-price span { font-size: 28px; font-weight: 800; color: #E53935; }
.pd-buy-btn {
  padding: 12px 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
}
.pd-buy-btn:hover { background: var(--color-primary-dark); }
.pd-qq-btn {
  padding: 12px 24px;
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}
.pd-qq-btn:hover { background: var(--color-primary-light); }

.pd-tabs { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 24px; }
.pd-tab-nav { display: flex; border-bottom: 1px solid var(--color-border); }
.pd-tab-nav button {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.pd-tab-nav button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: #fff;
}
.pd-tab-content { display: none; padding: 24px; }
.pd-tab-content.active { display: block; }
.pd-params-table { width: 100%; border-collapse: collapse; }
.pd-params-table th,
.pd-params-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  font-size: 14px;
}
.pd-params-table th {
  width: 220px;
  background: #fafafa;
  color: var(--color-text-secondary);
  font-weight: 500;
}
.pd-params-table td { color: var(--color-text); }
.pd-datasheet { text-align: center; padding: 40px 20px; }
.pd-datasheet p { color: var(--color-text-secondary); margin-bottom: 20px; }
.pd-faq-list { display: flex; flex-direction: column; gap: 16px; }
.pd-faq-item h4 { font-size: 14px; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.pd-faq-item p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.7; }

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.pd-related-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-related-card strong { font-size: 15px; color: var(--color-text); }
.pd-related-card span { font-size: 13px; color: var(--color-primary); }
.pd-related-card:hover { border-color: var(--color-primary); }

@media (max-width: 1024px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .pd-meta { grid-template-columns: 1fr; }
  .pd-price-row { flex-wrap: wrap; }
  .pd-tab-nav { overflow-x: auto; }
  .pd-params-table th { width: 120px; }
}
