﻿/* ============================================================
   前台样式
   ============================================================ */
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/assets/vendor/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/assets/vendor/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-3-65-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/assets/vendor/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-3-85-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AlibabaPuHuiTi';
  src: url('/assets/vendor/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-3-105-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary:        #DA251C;
  --primary-dark:   #B71C1C;
  --primary-light:  #FDECEA;
  --accent:         #E67E22;
  --text:           #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted:     #9E9E9E;
  --text-light:     #5C5C5C;
  --border:         #E8E0DC;
  --bg:             #FFFFFF;
  --bg-secondary:   #FAF8F7;
  --bg-gray:        #FAF8F7;
  --hover-bg:       #F5F0EE;
  --shadow-color:   rgba(218,37,28,0.10);
  --shadow: 0 4px 16px var(--shadow-color);
  --shadow-lg: 0 10px 32px var(--shadow-color);
  --text-on-primary:     #ffffff;
  --text-on-primary-muted: rgba(255,255,255,0.75);
  --radius: 10px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 880px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 26px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text-on-primary); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-light { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,0.25); }

.btn-light:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { padding: 12px 34px; font-size: 15px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--primary-dark); color: var(--text-on-primary-muted); font-size: 13px; }
.topbar-inner { display: flex; gap: 28px; padding-top: 6px; padding-bottom: 6px; }
.topbar-lang { margin-left: auto; color: rgba(255,255,255,0.85); font-weight: 600; }
.topbar-lang:hover { color: #fff; }


/* ---------- 站点头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: auto; padding-right: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.logo-name { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.logo-slogan { font-size: 12px; color: var(--text-light); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px;
  color: var(--text);
  font-size: 15px;
  border-radius: 6px;
  position: relative;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 6px; font-size: 22px; padding: 4px 8px; cursor: pointer; color: var(--text); }
.nav-toggle-icon { width: 22px; height: 22px; stroke-width: 2.4; }
.nav-toggle-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon--close { display: block; }
.topbar-tel { color: inherit; text-decoration: none; }

/* ---------- 首页轮播（CMS banner） ---------- */
/* Banner 原比例：1920×625 → 32.552%；手机按 750×500（3:2，0.6666）常见比 */
.hero-swiper { position: relative; overflow: hidden; background: #fff; margin: 10px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); }
.swiper-wrapper { display: flex; transition: transform .6s ease; }
.swiper-slide { flex: 0 0 100%; }
.hero-slide {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 8px;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-img--pc {
  /* PC 原比例 1920×625 */
  aspect-ratio: 1920 / 625;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
}
.hero-img--mobile {
  display: none;
}
.hero-caption { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2; text-align: center; color: var(--text-on-primary); padding: 0 24px; }
.hero-caption h2 { font-size: 42px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-caption p { font-size: 17px; margin-bottom: 26px; opacity: .95; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(0,0,0,.55); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: all .3s;
}
.hero-dots button:hover { background: var(--primary); border-color: #fff; }
.hero-dots button.active { background: var(--primary); border-color: #fff; width: 28px; border-radius: 6px; }

/* ---------- 通用页面区块 ---------- */
.page-main { min-height: 60vh; }
.page-section { padding: 46px 0 60px; }
.page-head { text-align: center; margin-bottom: 34px; }
.page-head h1 { font-size: 32px; color: var(--primary); }
.page-head p { color: var(--text-secondary); letter-spacing: 4px; text-transform: uppercase; font-size: 13px; margin-top: 4px; }
.page-intro { background: var(--bg-gray); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 26px; color: var(--text-light); }

/* 面包屑 */
.breadcrumb { background: var(--bg-gray); border-bottom: 1px solid var(--border); font-size: 13px; padding: 6px 0; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: #c0c6cf; }
.breadcrumb .current { color: var(--primary); }

/* ---------- 首页区块 ---------- */
.home-section { padding: 20px 0; }
.home-section.stats-section { padding: 60px 0;}
.home-section:nth-of-type(even) { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--text-light); font-size: 12px; letter-spacing: 5px; text-transform: uppercase; margin-top: 4px; }
.section-more { text-align: center; margin-top: 34px; }

/* 关于区块（CMS about 双栏） */
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-text h2 { color: var(--primary); margin-bottom: 16px; }
.about-text p { margin: 12px 0; color: var(--text-light); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.about-stat { background: var(--primary-light); border-radius: var(--radius); padding: 18px; text-align: center; }
.about-stat b { display: block; font-size: 26px; color: var(--primary); }
.about-stat span { font-size: 13px; color: var(--text-light); }

/* 核心优势（CMS advantage） */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .25s; }
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.adv-icon { font-size: 40px; margin-bottom: 12px; }
.adv-item h3 { margin-bottom: 8px; font-size: 17px; }
.adv-item p { color: var(--text-light); font-size: 13px; }

/* ---------- 产品卡片 ---------- */
/* 默认产品网格（列表页 4 列） */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- 产品分类（首页 / 通用） ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 首页统一 4 列（覆盖上方默认值） */
.home-products .product-grid,
.home-categories .category-grid { grid-template-columns: repeat(4, 1fr); }
.cat-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .25s; background: #fff; display: block; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.cat-cover { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-gray); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-card:hover .cat-cover img { transform: scale(1.06); }
.cat-name { padding: 14px 16px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text); background: #fff; }
.cat-card:hover .cat-name { color: var(--primary); }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: block; color: var(--text);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb { aspect-ratio: 4/3; background: var(--bg-gray); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-info { padding: 16px 18px; }
.product-info h3 { font-size: 16px; margin-bottom: 6px; }
.product-info p { color: var(--text-light); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- 新闻列表 ---------- */
.news-list li { border-bottom: 1px dashed var(--border); }
.news-list li a { display: flex; align-items: center; gap: 20px; padding: 16px 4px; color: var(--text); }
.news-list li a:hover { color: var(--primary); padding-left: 12px; }
.news-date { flex-shrink: 0; color: var(--text-light); font-size: 13px; width: 96px; }
.news-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-arrow { color: var(--accent); }
.tag-top { font-style: normal; background: var(--accent); color: var(--text-on-primary); font-size: 11px; padding: 1px 8px; border-radius: 4px; margin-left: 8px; }

/* ---------- 产品列表分类 Banner ---------- */
.cat-banner-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.cat-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.cat-banner-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- 筛选条 ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;}
.filter-tabs .tab, .tab {
  padding: 7px 20px; border: 1px solid var(--border); border-radius: 20px;
  color: var(--text-light); font-size: 14px; background: #fff;
}
.filter-tabs .tab:hover { color: var(--primary); border-color: var(--primary); }
.filter-tabs .tab.active { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.filter-search { display: flex; position: relative; }
.search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.search-field input {
  width: 100%;
  border: 1px solid var(--border); border-right: none; border-radius: 6px 0 0 6px;
  padding: 8px 38px 8px 14px; outline: none;
}
.filter-search input:focus { border-color: var(--primary); }
.filter-search .clear-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px 2px; line-height: 1; border-radius: 4px;
  color: var(--text-muted); font-size: 18px; display: none; z-index: 2;
}
.filter-search .clear-btn:hover { color: var(--text); }
.search-field input:not(:placeholder-shown) + .clear-btn { display: block; }
.filter-search button {
  background: var(--primary); color: var(--text-on-primary); border: none; border-radius: 0 6px 6px 0;
  padding: 0 18px; cursor: pointer; flex-shrink: 0;
}

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; margin-bottom: 44px; }
.gallery-main {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-gray);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb {
  width: 72px; height: 56px; object-fit: cover; border-radius: 6px;
  border: 2px solid var(--border); cursor: pointer; opacity: .7;
}
.gallery-thumbs .thumb.active { border-color: var(--primary); opacity: 1; }
.detail-info h1 { font-size: 26px; margin-bottom: 14px; }
.detail-summary { color: var(--text-light); margin-bottom: 20px; }
.detail-meta { display: flex; gap: 22px; font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-block { margin-bottom: 40px; }
.detail-block h2 { font-size: 21px; padding-left: 12px; border-left: 4px solid var(--primary); margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 16px; font-size: 14px; }
.spec-table th { background: var(--primary-light); width: 180px; text-align: left; color: var(--primary-dark); }
.rich-text { color: var(--text); }
.rich-text img { border-radius: 8px; margin: 10px 0; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin-bottom: 12px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.drawing-list li { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.drawing-list li a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: var(--text); }
.drawing-list li a:hover { border-color: var(--primary); }
.drawing-icon { font-size: 20px; }
.drawing-size { margin-left: auto; color: var(--text-light); font-size: 13px; }

/* ---------- 文章 ---------- */
.article-title { font-size: 28px; margin-bottom: 12px; }
.article-meta { color: var(--text-light); font-size: 13px; display: flex; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.article-cover { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; }
.article-summary { background: var(--bg-gray); border-left: 4px solid var(--primary); padding: 12px 18px; margin-bottom: 20px; color: var(--text-light); }
.article-content { font-size: 15.5px; }
.article-back { margin-top: 36px; }

/* ---------- 资料下载 ---------- */
.support-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.support-item { display: flex; align-items: center; gap: 20px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.support-item:last-child { border-bottom: none; }
.support-item:hover { background: var(--bg-gray); }
.support-info { flex: 1; }
.support-info h3 { font-size: 16px; margin-bottom: 6px; }
.support-info h3 a { color: var(--text); }
.support-info h3 a:hover { color: var(--primary); }
.support-info p { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.tag { background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.support-detail h1 { font-size: 26px; margin-bottom: 14px; }
.support-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-light); margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.support-actions { display: flex; gap: 14px; margin-bottom: 26px; }
.support-tip { background: var(--bg-gray); border-radius: 8px; padding: 14px 20px; font-size: 14px; color: var(--text-light); }

/* ---------- 招聘 ---------- */
.job-list { display: grid; gap: 16px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px;
  background: #fff; transition: all .25s; position: relative;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card-closed { opacity: .65; background: var(--bg-secondary); }
.job-card-closed:hover { opacity: .85; border-color: var(--border); transform: none; box-shadow: none; }
.job-status-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--bg-gray); color: var(--text-muted); font-size: 11px; padding: 2px 10px; border-radius: 20px; border: 1px solid var(--border);
}
.job-main h3 { font-size: 18px; margin-bottom: 8px; }
.job-main p { display: flex; gap: 18px; font-size: 13px; color: var(--text-light); }
.job-side { text-align: right; }
.job-salary { display: block; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.job-more { font-size: 13px; color: var(--primary); }
.job-detail h1 { font-size: 26px; margin-bottom: 14px; }
.job-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); background: var(--bg-gray); border-radius: 8px; padding: 12px 18px; margin-bottom: 26px; flex-wrap: wrap; }
.job-block { margin-bottom: 26px; }
.job-block h2 { font-size: 19px; border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 14px; }
.job-apply { border-top: 1px dashed var(--border); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- 证书（CMS cert） ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cert-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: all .25s; }
.cert-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cert-img { position: relative; aspect-ratio: 4/3; background: var(--bg-gray); }
.cert-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.cert-hover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.38); color: #fff; font-size: 15px;
  opacity: 0; transition: opacity .25s;
}
.cert-item:hover .cert-hover { opacity: 1; }
.cert-meta { padding: 14px 18px; }
.cert-meta h3 { font-size: 15px; }
.cert-meta p { font-size: 13px; color: var(--text-light); }

/* ---------- 联系我们 ---------- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* 联系页地图 */
.contact-map { margin-bottom: 18px; }
.contact-map iframe, .contact-map #amap-container, .contact-map #leaflet-map, .contact-map #baidu-map { width: 100%; height: 280px; border: 0; border-radius: var(--radius); display: block; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--bg-gray); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.map-addr { font-size: 14px; color: var(--text-secondary); max-width: 280px; }
.map-pin-svg { width: 36px; height: 36px; color: var(--primary); }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 240px; padding: 24px; background: var(--bg-secondary); border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
.map-placeholder .map-pin-svg { width: 44px; height: 44px; color: var(--primary); }
.map-placeholder .map-addr { font-size: 15px; color: var(--text); font-weight: 600; }
.contact-info h3 { color: var(--primary); margin-bottom: 10px; }
.contact-info p { color: var(--text-light); margin-bottom: 8px; }
.contact-wechat { text-align: center; }
.contact-wechat img { max-width: 240px; border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: #fff; margin: 0 auto 10px; }
.contact-form-wrap {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 36px;
  box-shadow: var(--shadow); position: sticky; top: 24px;
}
.contact-form-wrap h2 { font-size: 22px; margin-bottom: 4px; }
.form-sub { color: var(--text-light); font-size: 13px; margin-bottom: 24px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; }
.form-group label em { color: var(--primary); font-style: normal; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 14px; font-size: 14px; outline: none; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 71, 161, .1); }
.form-tip { margin-top: 12px; font-size: 14px; }
.form-tip.ok { color: #2e7d32; }
.form-tip.err { color: var(--primary); }

/* ---------- 侧栏 ---------- */
.page-sidebar .side-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.side-card h4 { font-size: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); }
.side-line { display: block; padding: 6px 0; color: var(--text-light); font-size: 14px; }
.side-line:hover { color: var(--primary); }

/* ---------- 分页 ---------- */
.pagination { margin-top: 36px; }
.pagination ul { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  display: inline-block; min-width: 38px; padding: 7px 12px; text-align: center;
  border: 1px solid var(--border); border-radius: 6px; font-size: 14px; color: var(--text);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: var(--text-on-primary); }
.pagination .disabled span { color: #c0c6cf; }

.empty-tip { text-align: center; color: var(--text-light); padding: 60px 0; font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #14243e; color: #b9c6da; margin-top: 20px; }
.footer-col h4 { color: #ffffff; }
.footer-col a { display: block; color: #b9c6da; padding: 4px 0; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top-color: rgba(255,255,255,0.08); }
.footer-bottom p { color: rgba(255,255,255,0.4); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding: 52px 20px 40px; }
.footer-about .footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-about .footer-logo img { height: 60px; width: auto; display: block; }
.footer-col h4 { color: var(--text-on-primary); font-size: 20px; margin-bottom: 16px; }
.footer-col a { display: block; color: #b9c6da; padding: 4px 0; font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: 14px; margin-bottom: 6px; }
.footer-addr { margin-top: 10px; }

/* 页脚小地图（公司位置跳转卡片） */
.footer-map {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; 
  background: rgba(255,255,255,.06); border-radius: 8px;
  color: #b9c6da; text-decoration: none; font-size: 13px; line-height: 1.4;
  transition: background .2s, color .2s;
}

.footer-col .footer-map {padding: 10px 12px; margin-right: 30%;}
.footer-map:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-map-pin { width: 28px; height: 28px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.footer-map-svg { width: 28px; height: 28px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.footer-map-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.footer-map-title { color: #fff; font-weight: 500; font-size: 13px; }
.footer-map-addr {
  color: #b9c6da; font-size: 12px; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.footer-map-go { color: var(--primary); font-size: 12px; flex-shrink: 0; }
.footer-map:hover .footer-map-go { color: #fff; }

/* 页脚关注我们 */
.footer-h4-social { margin-top: 18px; }
.footer-social {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.footer-social-item {
  position: relative; cursor: pointer; user-select: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.footer-social-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.footer-social-svg { width: 20px; height: 20px; stroke: #fff; }
.footer-social-item:hover .footer-social-icon {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.footer-social-name { color: #b9c6da; font-size: 12px; }
.footer-social-item:hover .footer-social-name { color: #fff; }

/* hover 弹二维码 */
.footer-social-pop {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: #fff; padding: 10px; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 10; min-width: 140px; text-align: center;
}
.footer-social-pop img { display: block; width: 140px; height: 140px; object-fit: contain; }
.footer-social-pop p { margin: 6px 0 0; color: #1A1A1A; font-size: 12px; font-weight: 500; }
.footer-social-pop::after {
  content: ''; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%); border: 6px solid transparent; border-top-color: #fff;
}
.footer-social-item:hover .footer-social-pop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 480px) {
  .footer-social { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .footer-social-icon { width: 28px; height: 28px; }
  .footer-social-svg { width: 18px; height: 18px; }
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 404 ---------- */
.error-section { padding: 100px 0; text-align: center; }
.error-code { font-size: 110px; font-weight: 800; color: var(--primary); line-height: 1; text-shadow: 0 10px 30px rgba(13, 71, 161, .2); }
.error-box h1 { font-size: 26px; margin: 18px 0 10px; }
.error-box p { color: var(--text-light); margin-bottom: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout, .product-detail, .contact-cms, .contact-page-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-section .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1097px) {
  .header-inner { height: 60px; position: relative; padding-right: 12px; gap: 12px; }
  .filter-bar {gap: 0;}
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 40px; padding: 0; margin-left: 0; background: var(--bg-secondary); border-radius: 8px; }
  .nav-toggle:active { background: var(--primary-light); transform: scale(.96); }
  .main-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0; z-index: 999;
    background: #fff; flex-direction: column; padding: 6px 0 12px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: calc(100vh - 60px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex !important; }
  .main-nav a { padding: 12px 20px; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a:hover, .main-nav a:active { color: var(--primary); background: var(--primary-light); }
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 14px; }
/* 移端：隐藏 PC 图、显示移动图，caption 调小 */
.hero-img--pc { display: none; }
.hero-img--mobile { display: block; aspect-ratio: 750 / 1000; object-fit: contain; background: #f5f5f5; border-radius: 8px; }
.hero-caption h2 { font-size: 26px; }
  .topbar-item:nth-child(2) { display: none; }
  .topbar-item:first-child { display: inline-flex; }
  .site-header .logo { gap: 10px; align-items: center; min-width: 0; flex: 1 1 auto; }
  .site-header .logo img { height: 34px !important; width: auto; max-height: 34px; flex-shrink: 0; }
  .site-header .logo-text { min-width: 0; overflow: hidden; }
  .site-header .logo-name { font-size: 17px; letter-spacing: 0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header .logo-slogan { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .home-products .product-grid { grid-template-columns: repeat(2, 1fr); }
  .home-categories .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-section .about-stat { flex: 1 1 calc(50% - 8px); }
  .stats-section .about-stat b { font-size: 30px; }
  .equipment-section .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-year { font-size: 18px; }
  .about-img { display: none; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cert-grid { grid-template-columns: 1fr; gap: 18px; }
  .cert-grid .cert-meta { padding: 12px 14px; }
  .cert-grid .cert-meta h3 { font-size: 14px; line-height: 1.45; }
  .cert-grid .cert-meta p { font-size: 12px; line-height: 1.5; }
  .spec-table th { width: 110px; padding: 8px 12px; }
  .detail-meta { flex-wrap: wrap; gap: 12px; }
  .filter-search { flex: 1; min-width: 0; }
  .filter-search input { width: 100%; }
  .support-item { align-items: flex-start; gap: 12px; padding: 14px 16px; }
  .support-info p { gap: 10px; font-size: 12px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { position: static !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 20px 24px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-side { text-align: left; }
  .news-list li a { gap: 10px; flex-wrap: wrap; }
  .news-date { width: auto; }
  .filter-tabs { gap: 8px; }
  .filter-tabs .tab, .tab { padding: 6px 14px; font-size: 13px; }
  .filter-search input { width: 100%; }
  .page-section { padding: 28px 0 40px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 11px; letter-spacing: 3px; }
  .section-more { margin-top: 24px; }
  .section-more .btn { width: 100%; }
}
@media (max-width: 480px) {
  .home-products .product-grid,
  .home-categories .category-grid,
  .product-grid { grid-template-columns: 2fr 2fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .site-header .logo-name { font-size: 15px; }
  .site-header .logo img { height: 30px !important; max-height: 30px; }
  .site-header .logo { gap: 8px; }
.hero-caption h2 { font-size: 22px; }

}

/* ============ 区块化 CMS + Lucide 图标适配 ============ */

/* 顶部栏图标 */
.topbar-item { display: inline-flex; align-items: center; }
.topbar-icon { width: 13px; height: 13px; margin-right: 5px; opacity: .85; flex-shrink: 0; }

/* 侧栏图标 */
.side-line { display: flex; align-items: flex-start; gap: 6px; }
.side-icon { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; color: var(--primary); }

/* 按钮内图标 */
.btn-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.drawing-icon svg { width: 34px; height: 34px; color: var(--primary); }

/* 核心优势图标（Lucide SVG） */
.adv-icon { display: flex; align-items: center; justify-content: center; }
.adv-icon .adv-svg { width: 40px; height: 40px; color: var(--primary); }

/* 数据统计区块（项数不固定 → flex 居中 + 卡片化 + 数字滚动） */
.stats-section .about-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
.stats-section .about-stat {
  flex: 0 1 220px;
  background: var(--primary-light);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.stats-section .about-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; border-color: var(--primary); }
.stats-section .about-stat b { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--primary); margin-bottom: 6px; }
.stats-section .about-stat span { display: block; font-size: 14px; color: var(--text-secondary); }

/* 成长历程时间轴 - 横向布局 */
.timeline-section .timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 0 20px;
  gap: 0;
}
.timeline-section .timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-light), var(--primary), var(--primary-light));
}
.timeline-item {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0 8px;
}
.timeline-marker {
  position: absolute;
  left: 50%;
  top: -42px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--primary-light), 0 2px 8px rgba(218,37,28,0.25);
  z-index: 2;
}
.timeline-year {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  background: #fff;
  padding: 0 12px;
  margin-bottom: 16px;
  position: relative;
}
.timeline-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  min-height: 120px;
}
.timeline-item:hover .timeline-body {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(218,37,28,0.15);
}
.timeline-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text);
}
.timeline-body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

/* 响应式 - 768px 以下回退竖向 */
@media (max-width: 768px) {
  .timeline-section .timeline {
    flex-direction: column;
    padding: 28px 0 0 32px;
    gap: 20px;
  }
  .timeline-section .timeline::before {
    left: 9px;
    right: auto;
    top: 6px;
    bottom: 6px;
    height: auto;
    width: 2px;
    background: var(--border);
  }
  .timeline-item {
    text-align: left;
    padding: 0 0 20px 20px;
  }
  .timeline-marker {
    left: -32px;
    top: 0;
    transform: none;
  }
  .timeline-year {
    padding: 0;
    margin-bottom: 8px;
  }
  .timeline-body {
    min-height: auto;
    padding: 16px;
  }
}

/* 公司设备 */
.equipment-section .equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.equipment-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.equipment-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.equipment-img { aspect-ratio: 4 / 3; background: var(--bg-secondary); }
.equipment-img img { width: 100%; height: 100%; object-fit: cover; }
.equipment-meta { padding: 14px 16px; }
.equipment-meta h3 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.equipment-meta p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* 图文简介：只有图片或只有文字时的布局 */
.about-img-solo { max-width: 560px; margin: 0 auto; }
.about-text-solo { max-width: 860px; margin: 0 auto; text-align: left; }


.container .home-section.richtext-section { padding: 10px 0; }

/*.home-section:nth-of-type(2n) { background: #fff !important; }*/
/* ============ 前台悬浮联系窗 ============ */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 148px; /* 位于 .float-trigger（bottom:80 + 高56 + 间距12）之上 */
  z-index: 9989; /* < .float-contact 的 9990，避免遮挡联系面板 */
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  opacity: 0;
  transform: translateY(8px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}
.back-to-top:active { transform: scale(.94); }
.back-to-top svg { display: block; }
.float-contact { position: fixed; right: 18px; bottom: 80px; z-index: 9990; }
.float-trigger {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; width: 56px; height: 56px; border: none; border-radius: 14px;
  background: var(--primary); color: var(--text-on-primary); cursor: pointer;
  box-shadow: 0 6px 20px var(--shadow-color); transition: transform .18s ease, background .18s ease;
}
.float-trigger:hover { background: var(--primary-dark); transform: translateY(-2px); }
.float-trigger-icon { width: 24px; height: 24px; }
.float-trigger-text { font-size: 12px; line-height: 1; margin-top: 2px; }

.float-panel {
  position: absolute; right: 0; bottom: 66px; width: 260px;
  background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.16);
  overflow: visible; transform-origin: bottom right; animation: floatPop .18s ease;
}
.float-panel[hidden] { display: none; }
@keyframes floatPop { from { opacity: 0; transform: scale(.92) translateY(6px); } to { opacity: 1; transform: none; } }
.float-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--primary); color: var(--text-on-primary); font-size: 15px; font-weight: 600;
  border-radius: 14px 14px 0 0;
}
.float-close { background: none; border: none; color: var(--text-on-primary); cursor: pointer; display: flex; padding: 2px; opacity: .85; }
.float-close:hover { opacity: 1; }
.float-list { list-style: none; margin: 0; padding: 6px 0; }
.float-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; position: relative; }
.float-item:hover { background: var(--bg-secondary); }
.float-item-icon { flex: 0 0 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--primary-light); color: var(--primary); }
.float-item-icon .float-item-svg { width: 18px; height: 18px; }
.float-item-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.float-item-label { font-size: 12px; color: var(--text-muted); }
.float-item-value { font-size: 14px; color: var(--text); text-decoration: none; word-break: break-all; }
.float-item-value:hover { color: var(--primary); }
.float-item-tail { margin-left: auto; color: var(--text-muted); display: flex; }
.float-item-tail .float-item-tail-icon { width: 16px; height: 16px; }
.float-submenu-go { cursor: pointer; }
.float-submenu-go:hover { background: var(--bg-secondary); }
/* 二级菜单：覆盖整个悬浮窗口（panel 内部） */
.float-submenu-overlay {
  position: absolute; inset: 0; z-index: 30; border-radius: 14px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.float-submenu-overlay[hidden] { display: none; }
.float-submenu-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  background: var(--primary); color: var(--text-on-primary); font-weight: 600; font-size: 15px;
  border-radius: 14px 14px 0 0;
  flex: 0 0 auto;
}
.float-submenu-back {
  background: none; border: none; color: var(--text-on-primary); cursor: pointer; display: flex; padding: 2px;
}
.float-submenu-back:hover { opacity: .85; }
.float-submenu-back .float-submenu-back-icon { width: 20px; height: 20px; }
.float-submenu-title { margin-left: 4px; }
.float-submenu-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.float-submenu-row {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 12px 10px; border-radius: 8px; cursor: pointer;
}
.float-submenu-row:hover { background: var(--bg-secondary); }
.float-submenu-row .fs-avatar {
  width: 32px; height: 32px; flex: 0 0 32px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary); border-radius: 50%;
  font-size: 18px;
}
.float-submenu-row .fs-avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.float-submenu-row .fs-avatar-icon { width: 20px; height: 20px; }
/* 微信/QQ 入口统一企鹅图标：以腾讯企鹅橙为背景主色 */
.float-submenu-row .fs-avatar-qq { background: #ffffff; color: var(--primary); }
.float-submenu-row .fs-name { flex: 1 1 auto; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; min-width: 0; }
.float-submenu-row .fs-name .fs-extra { font-size: 12px; color: var(--text-muted); font-weight: normal; white-space: nowrap; }
.float-submenu-row .fs-tail { color: var(--text-muted); display: flex; }
.float-submenu-row .fs-tail-icon { width: 18px; height: 18px; }
.float-submenu-row:hover .fs-tail { color: var(--primary); }

/* 二维码独立浮窗：位置独立于悬浮窗，鼠标移出列表项也不消失（移动端可长按扫码） */
.float-qr-fixed {
  position: fixed; right: 280px; bottom: 50%; transform: translateY(50%);
  z-index: 35; background: #fff; border-radius: 14px;
  padding: 36px 14px 12px; box-shadow: 0 12px 36px rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--border);
}
.float-qr-fixed[hidden] { display: none; }
.float-qr-fixed .fqr-close {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; line-height: 22px; text-align: center;
  border: 0; border-radius: 12px; background: #f5f0ee; color: var(--text-secondary);
  font-size: 18px; font-weight: 600; cursor: pointer; padding: 0;
}
.float-qr-fixed .fqr-close:hover { background: var(--primary-light); color: var(--primary); }
.float-qr-fixed .fqr-name { font-size: 14px; color: var(--text); font-weight: 600; }
.float-qr-fixed .fqr-img { display: block; }
.float-qr-fixed .fqr-img img {
  display: block; width: 200px; height: 200px; max-width: 200px; max-height: 200px; object-fit: contain; border-radius: 6px;
  /* 微信/X5 内核长按识别二维码要求：保留浏览器默认长按行为，绝不能设 user-select:none / touch-callout:none */
  -webkit-touch-callout: default; /* 关键：不能 none，否则 X5 只弹「保存图片」 */
  -webkit-user-select: auto;
}
.float-qr-fixed .fqr-hint { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 600px) {
  .float-qr-fixed {
    right: auto; left: 50%; bottom: 100px; transform: translateX(-50%);
    width: calc(100vw - 32px); max-width: 280px;
  }
  .float-qr-fixed .fqr-img img { width: 180px; height: 180px; max-width: 180px; max-height: 180px; }
}
.float-leave {
  display: block; text-align: center; margin: 4px 14px 14px; padding: 10px;
  background: var(--primary); color: var(--text-on-primary); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600;
}
.float-leave:hover { background: var(--primary-dark); }

/* 移动端：贴底居中一点 */
@media (max-width: 480px) {
  .float-contact { right: 12px; bottom: 70px; }
  .float-panel { width: 260px; }
  .back-to-top { right: 12px; bottom: 138px; width: 40px; height: 40px; }
}

/* 联系区块微信列表 */
.contact-wechat-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-wechat-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.contact-wechat-list .cms-ic { flex: 0 0 18px; width: 18px; height: 18px; color: var(--primary); }

.footer-social-icon svg {transform:scale(1.05);}

.detail-block {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #E5E5E5 #fafafa; /* Firefox：滑块 轨道 */
}

/* ===== 自定义横向滚动条（Chrome / Edge / Safari）===== */
.detail-block::-webkit-scrollbar {
  height: 12px;                     /* 滚动条高度，比默认大一点 */
}

.detail-block::-webkit-scrollbar-track {
  background: #fafafa;              /* 轨道背景 */
  border-top: 1px solid #E5E5E5;   /* 轨道上边框，与表格分隔 */
}

.detail-block::-webkit-scrollbar-thumb {
  background: #E5E5E5;              /* 滑块颜色 */
  border-radius: 6px;
  border: 2px solid #fafafa;        /* 滑块两侧留白，视觉更精致 */
}

.detail-block::-webkit-scrollbar-thumb:hover {
  background: #d0d0d0;              /* 悬停时稍深，便于识别可拖动 */
}

/* ===== 表格 ===== */
.spec-table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid #E5E5E5;       /* 单元格内边框，形成网格 */
  text-align: left;
  width: auto;
}

.detail-gallery {
  position: relative;   /* 作为放大图的定位参考 */
}

.gallery-zoom-result {
  position: absolute;
  top: 0;
  left: 105%;
  z-index: 20;
  /* left 由 JS 动态设置，不写死 */
  border-radius: 8px;
  border: 1px solid #E5E5E5;
}

.site-logo-name {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer-company-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}