/* ==========================================================================
   博金体育企业站前台样式
   断点：>=1200 桌面 / 992-1199 小桌面 / 768-991 平板 / <768 手机
   ========================================================================== */

:root {
  --brand: #1b87c8;
  --brand-dark: #12689c;
  --brand-soft: #eaf4fb;
  --ink: #222222;
  --text: #4a4a4a;
  --muted: #888888;
  --line: #e9e9e9;
  --bg-soft: #f5f7fa;
  --bg-footer: #f2f3f5;
  --header-h: 80px;
  --radius: 2px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .08);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, ul, ol, dl, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, opacity .25s; }
a:hover { color: var(--brand); }
img { max-width: 100%; border: 0; vertical-align: middle; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; }
iframe { border: 0; display: block; width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 9px 26px;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .25s;
  text-align: center;
}
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); color: #fff; }
.btn-line { background: #fff; color: var(--text); border-color: #d8d8d8; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-ghost:hover { background: #fff; color: var(--brand); }

/* ==========================================================================
   顶栏
   ========================================================================== */
.topbar { background: #111; color: #b9b9b9; font-size: 12px; line-height: 36px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-left { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar a { color: #b9b9b9; }
.topbar a:hover { color: #fff; }
.tb-tel b { color: #ffd48a; font-weight: 600; letter-spacing: .5px; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 2px 16px rgba(0, 0, 0, .1); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 20px; }

.logo { display: block; flex: 0 0 auto; max-width: 240px; }
.logo img { height: 46px; width: auto; }

.main-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  display: block;
  padding: 0 20px;
  line-height: var(--header-h);
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: all .3s;
  transform: translateX(-50%);
}
.nav-item:hover > a, .nav-item.active > a { color: var(--brand); }
.nav-item:hover > a::after, .nav-item.active > a::after { width: 26px; }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 168px;
  padding: 8px 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 2px solid var(--brand);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
}
.nav-item:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu li { position: relative; }
.sub-menu a {
  display: block;
  padding: 8px 22px;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.sub-menu a:hover { background: var(--brand-soft); color: var(--brand); }

.nav-search { display: flex; align-items: center; flex: 0 0 auto; margin-left: 6px; }
.nav-search input {
  width: 120px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  background: var(--bg-soft);
}
.nav-search input:focus { border-color: var(--brand); background: #fff; }
.nav-search button {
  width: 34px; height: 32px;
  border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E") center/16px no-repeat;
}

.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px 6px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .3s; }
.nav-mask {
  position: fixed; inset: 0; z-index: 950; background: rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: .3s;
}
.nav-mask.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   首页轮播
   ========================================================================== */
.hero { position: relative; height: clamp(360px, 62vh, 680px); overflow: hidden; background: #123; }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background: var(--bg) center/cover no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 60%, rgba(0, 0, 0, .05)); }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-inner { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-stretch { position: static; }
.hero-title { font-size: clamp(24px, 3.4vw, 44px); font-weight: 700; letter-spacing: 2px; line-height: 1.35; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero-sub { margin: 12px 0 26px; font-size: clamp(14px, 1.5vw, 20px); letter-spacing: 3px; opacity: .92; }
.hero-slide .btn { pointer-events: auto; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots .dot { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); transition: .3s; }
.hero-dots .dot.is-active { background: #fff; }

.hero-arrow {
  position: absolute; top: 50%; z-index: 5; width: 44px; height: 60px; margin-top: -30px;
  border: 0; background: rgba(0, 0, 0, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") center/22px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.hero-arrow.next { right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.hero-arrow.prev { left: 0; }
.hero:hover .hero-arrow { opacity: 1; }

/* ==========================================================================
   区块通用
   ========================================================================== */
.section { padding: 62px 0 70px; }
.section-soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: var(--ink); letter-spacing: 3px; }
.sec-en { margin-top: 8px; font-size: 13px; color: #b3b3b3; letter-spacing: 1px; }
.sec-tip { margin-top: 6px; font-size: 14px; color: var(--muted); }
.sec-more { text-align: center; margin-top: 34px; }

/* ---------- 产品卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all .3s;
}
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.pc-img { display: block; position: relative; padding-top: 66%; background: #f2f2f2; overflow: hidden; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .pc-img img { transform: scale(1.07); }
.pc-body { display: block; padding: 16px 18px 20px; position: relative; }
.pc-body em { display: block; font-size: 12px; font-style: normal; color: var(--muted); letter-spacing: 1px; }
.pc-body strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--ink); }
.product-card:hover .pc-body strong { color: var(--brand); }
.pc-more { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -6px; opacity: 0; transform: translateX(-8px); transition: .3s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b87c8' stroke-width='2'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.product-card:hover .pc-more { opacity: 1; transform: translateX(0); }

/* ---------- 品牌矩阵 ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-card { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .3s; }
.brand-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand); }
.brand-card img { width: 100%; height: 168px; object-fit: cover; }
.bc-body { display: block; padding: 14px 16px 18px; text-align: center; }
.bc-body strong { display: block; font-size: 16px; color: var(--ink); }
.bc-body em { display: block; margin-top: 4px; font-size: 12px; font-style: normal; color: var(--muted); }

/* ---------- 品牌实力 ---------- */
.power {
  position: relative;
  padding: 74px 0;
  background: var(--bg) center/cover no-repeat fixed;
  color: #fff;
}
.power::after { content: ""; position: absolute; inset: 0; background: rgba(6, 30, 48, .68); }
.power-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: 46px; align-items: center; }
.power-text h2 { font-size: clamp(20px, 2.3vw, 30px); letter-spacing: 2px; margin-bottom: 18px; }
.power-text p { font-size: 15px; line-height: 2.1; color: rgba(255, 255, 255, .88); }
.power-actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.btn-video { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: #fff; font-size: 15px; letter-spacing: 1px; }
.bv-play { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); position: relative; transition: .3s; }
.bv-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; transition: .3s; }
.btn-video:hover .bv-play { background: var(--brand); border-color: var(--brand); }
.btn-video:hover .bv-play::after { border-left-color: #fff; }

.power-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.power-points li { padding: 18px 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.power-points strong { display: block; font-size: 16px; margin-bottom: 6px; letter-spacing: 1px; }
.power-points em { display: block; font-size: 12.5px; font-style: normal; color: rgba(255, 255, 255, .75); line-height: 1.7; }

/* ---------- 首页新闻 ---------- */
.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: stretch; }
.news-feature { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .3s; }
.news-feature:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.nf-img { display: block; height: 260px; overflow: hidden; }
.nf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-feature:hover .nf-img img { transform: scale(1.06); }
.nf-body { display: block; padding: 20px 22px 24px; position: relative; }
.nf-tag { display: inline-block; padding: 2px 10px; font-size: 12px; font-style: normal; color: var(--brand); background: var(--brand-soft); }
.nf-body strong { display: block; margin: 10px 0 6px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.news-feature:hover .nf-body strong { color: var(--brand); }
.nf-date { display: block; font-size: 12.5px; font-style: normal; color: #aaa; }
.nf-body p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }

.news-list { background: var(--bg-soft); padding: 22px 24px 26px; }
.nl-title { font-size: 16px; color: var(--ink); padding-bottom: 12px; border-bottom: 1px solid #e2e2e2; margin-bottom: 6px; }
.news-list ul li { border-bottom: 1px dashed #dcdcdc; }
.news-list ul a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; }
.news-list strong { font-size: 14.5px; font-weight: 400; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list time { font-size: 12.5px; color: #a5a5a5; flex: 0 0 auto; }
.news-list ul a:hover strong { color: var(--brand); }
.news-list .btn { margin-top: 20px; }

/* ==========================================================================
   内页
   ========================================================================== */
.inner-banner {
  height: clamp(180px, 26vw, 300px);
  background: var(--bg) center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.inner-banner::after { content: ""; position: absolute; inset: 0; background: rgba(10, 40, 62, .45); }
.ib-inner { position: relative; z-index: 2; color: #fff; }
.ib-inner h1 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 3px; }
.ib-inner p { margin-top: 8px; font-size: 14px; letter-spacing: 2px; opacity: .85; }

.crumbs-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crumbs-bar .container { display: flex; align-items: center; gap: 8px; line-height: 44px; overflow: hidden; }
.cb-home { width: 14px; height: 14px; flex: 0 0 auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b87c8' stroke-width='2'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.crumbs-bar a:hover { color: var(--brand); }
.cb-sep { font-style: normal; color: #ccc; }
.cb-current { color: var(--text); }

.page-body { display: grid; grid-template-columns: 230px 1fr; gap: 30px; padding: 34px 15px 70px; align-items: start; }
.page-body-single { grid-template-columns: 1fr; }

.side-card { background: #fff; border: 1px solid var(--line); margin-bottom: 18px; }
.side-card h3 { padding: 14px 18px; font-size: 17px; color: #fff; background: var(--brand); letter-spacing: 1px; }
.side-cats li + li { border-top: 1px solid #f0f0f0; }
.side-cats a { display: block; padding: 11px 18px; font-size: 14px; color: var(--text); }
.side-cats li.active > a, .side-cats a:hover { background: var(--brand-soft); color: var(--brand); }
.side-cats.small a { padding: 9px 18px; font-size: 13px; }
.side-consult { padding-bottom: 20px; text-align: center; }
.side-consult p { padding: 14px 16px 16px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.side-consult .btn { width: calc(100% - 32px); margin: 0 16px; }

.detail-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-head h1 { font-size: clamp(19px, 2.2vw, 26px); color: var(--ink); line-height: 1.6; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 12.5px; color: #a8a8a8; }
.dm-back { margin-left: auto; color: var(--brand); }
.detail-lead { margin: 18px 0 6px; padding: 14px 18px; background: var(--bg-soft); border-left: 3px solid var(--brand); font-size: 14.5px; color: var(--text); }
.detail-cover { margin: 20px 0; }

/* ---------- 产品详情 ---------- */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 22px 0; }
.p-gallery .pg-main { display: block; background: #f7f7f7; }
.p-gallery .pg-main img { width: 100%; height: 320px; object-fit: cover; }
.pg-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pg-thumbs img { width: 76px; height: 58px; object-fit: cover; border: 2px solid transparent; cursor: pointer; flex: 0 0 auto; }
.pg-thumbs img.active, .pg-thumbs img:hover { border-color: var(--brand); }
.p-attrs { width: 100%; font-size: 14px; }
.p-attrs caption { text-align: left; font-size: 16px; font-weight: 600; color: var(--ink); padding-bottom: 10px; }
.p-attrs th, .p-attrs td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.p-attrs th { width: 34%; background: var(--bg-soft); font-weight: 400; color: var(--muted); }
.p-attrs .pa-cta td { border: 0; padding-top: 16px; text-align: center; }

.detail-gallery { margin-top: 34px; }
.detail-gallery h3, .article h3 { font-size: 17px; color: var(--ink); margin-bottom: 14px; }
.dg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dg-grid img { width: 100%; height: 150px; object-fit: cover; }

/* ---------- 富文本 ---------- */
.article { padding: 24px 0 6px; font-size: 15px; line-height: 2.05; color: #444; overflow-wrap: break-word; }
.article h2 { font-size: 20px; margin: 26px 0 14px; color: var(--ink); }
.article h3 { font-size: 17px; margin: 24px 0 12px; color: var(--ink); }
.article h4 { font-size: 15.5px; margin: 20px 0 10px; }
.article p { margin: 0 0 14px; }
.article img { height: auto !important; max-width: 100%; margin: 10px 0; border-radius: var(--radius); }
.article ul, .article ol { margin: 0 0 14px 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin: 4px 0; }
.article a { color: var(--brand); text-decoration: underline; }
.article blockquote { margin: 16px 0; padding: 12px 18px; background: var(--bg-soft); border-left: 3px solid var(--brand); color: #666; }
.article table { width: 100%; margin: 14px 0; }
.article td, .article th { border: 1px solid var(--line); padding: 9px 11px; }
.article pre { background: #f6f8fa; padding: 14px; overflow: auto; }
.article video, .article iframe { width: 100%; max-width: 100%; }
.cat-intro { padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }

/* ---------- 列表卡 ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.item-card { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .3s; }
.item-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.ic-img { display: block; position: relative; padding-top: 66%; overflow: hidden; background: #f2f2f7; }
.ic-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.item-card:hover .ic-img img { transform: scale(1.06); }
.ic-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; background: rgba(27, 135, 200, .75); opacity: 0; transition: .3s; }
.item-card:hover .ic-hover { opacity: 1; }
.ic-body { display: block; padding: 14px 16px 18px; }
.ic-body strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-body em { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; color: var(--muted); line-height: 1.8; height: 2.6em; overflow: hidden; }
.ic-body time { display: block; margin-top: 6px; font-size: 12.5px; color: #aaa; }
.news-cards .ic-body strong { font-size: 14.5px; font-weight: 400; white-space: normal; height: 2.9em; overflow: hidden; }

/* ---------- 新闻行列表 ---------- */
.news-rows li + li { border-top: 1px solid var(--line); }
.news-rows a { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; align-items: center; }
.nr-img { display: block; overflow: hidden; }
.nr-img img { width: 200px; height: 130px; object-fit: cover; transition: transform .6s; }
.news-rows a:hover .nr-img img { transform: scale(1.06); }
.nr-body strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.news-rows a:hover .nr-body strong { color: var(--brand); }
.nr-body p { font-size: 13.5px; color: var(--muted); line-height: 1.9; margin-bottom: 8px; height: 2em; overflow: hidden; }
.nr-body time { font-size: 12.5px; color: #aaa; }

/* ---------- 分页 ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; font-size: 13.5px; }
.pager a, .pager span { display: inline-block; min-width: 34px; padding: 6px 12px; text-align: center; border: 1px solid var(--line); color: var(--text); background: #fff; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .disabled { color: #c4c4c4; background: #fafafa; }
.pager .dots { border: 0; }
.pager-total { border: 0; color: var(--muted); background: none; }
.ico-prev, .ico-next { display: inline-block; width: 6px; height: 6px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; margin: 0 8px; }
.ico-prev { transform: rotate(45deg); }
.ico-next { transform: rotate(-135deg); }

.empty-tip { padding: 60px 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- 翻页上/下篇 ---------- */
.turn-pages { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.turn-pages span { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.turn-pages a { color: var(--text); }
.turn-pages a:hover { color: var(--brand); }

/* ---------- 搜索 ---------- */
.search-form { display: flex; gap: 10px; margin-bottom: 22px; }
.search-form input { flex: 1; height: 44px; padding: 0 16px; font-size: 14px; border: 1px solid var(--line); outline: none; }
.search-form input:focus { border-color: var(--brand); }
.search-count { color: var(--muted); font-size: 13.5px; }
.search-count b { color: var(--brand); }
.search-rows li + li { border-top: 1px dashed var(--line); }
.search-rows a { display: grid; grid-template-columns: 56px 1fr 90px; gap: 14px; align-items: center; padding: 16px 0; }
.sr-type { align-self: start; margin-top: 3px; padding: 2px 0; font-size: 12px; font-style: normal; text-align: center; color: var(--brand); background: var(--brand-soft); }
.sr-body strong { display: block; font-size: 16px; color: var(--ink); }
.sr-body p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.search-rows time { font-size: 12.5px; color: #aaa; text-align: right; }
.search-rows a:hover strong { color: var(--brand); }

/* ---------- 联系 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 6px; }
.cc-item { padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); }
.cc-item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.cc-item i { display: block; font-style: normal; font-size: 14px; color: var(--brand); }
.cc-item em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cc-ico { display: block; width: 34px; height: 34px; margin-bottom: 10px; background: var(--brand) center/18px no-repeat; border-radius: 50%; }
.cc-tel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1z'/%3E%3C/svg%3E"); }
.cc-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7L4 7v10h16V7z'/%3E%3C/svg%3E"); }
.cc-add { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); }
.cc-chat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M4 4h16a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H8l-5 4V5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }
.map-box { margin-top: 24px; border: 1px solid var(--line); }
.map-box iframe { height: 360px; }
.contact-qr { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px; background: var(--bg-soft); }
.contact-qr img { width: 120px; height: 120px; }
.contact-qr p { font-size: 13.5px; color: var(--muted); }

.err-box { padding: 60px 0 80px; text-align: center; }
.err-box h2 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.err-actions { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--bg-footer); color: #6f6f6f; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1fr 250px; gap: 30px; padding: 46px 0 34px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 12px; font-weight: 600; }
.fcol li { line-height: 2.1; }
.fcol a { color: #7a7a7a; }
.fcol a:hover { color: var(--brand); }
.footer-contact { text-align: center; border-left: 1px solid #e3e3e3; padding-left: 26px; }
.fc-label { font-size: 13px; color: var(--muted); }
.fc-tel { font-size: 24px; font-weight: 700; color: var(--brand); letter-spacing: 1px; margin: 4px 0; }
.fc-time { font-size: 12.5px; color: #999; margin-bottom: 14px; }
.fc-qr img { width: 104px; height: 104px; }
.fc-qr span { display: block; font-size: 12.5px; color: #999; margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0 22px; border-top: 1px solid #e3e3e3; font-size: 12.5px; color: #9a9a9a; }
.footer-bottom a { color: #9a9a9a; margin-left: 8px; }
.footer-bottom a:hover { color: var(--brand); }
.fb-links span { margin: 0 6px; }

/* ==========================================================================
   侧边咨询浮窗
   ========================================================================== */
.side-bar { position: fixed; right: 14px; top: 50%; z-index: 800; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
.side-item { position: relative; display: flex; align-items: center; width: 52px; height: 52px; background: #2b2f33; color: #fff; border: 0; padding: 0; overflow: visible; transition: background .25s; }
.side-item:hover { background: var(--brand); color: #fff; }
.side-ico { width: 52px; height: 52px; flex: 0 0 auto; background: center/22px no-repeat; }
.side-tel .side-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1z'/%3E%3C/svg%3E"); }
.side-wechat .side-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 3C5 3 2 5.7 2 9c0 1.9 1 3.5 2.7 4.6L4 16l2.6-1.3c.8.2 1.6.3 2.4.3h.6c-.1-.5-.2-1-.2-1.5C9.9 10.4 12.7 8 16.3 8h.6C16.3 5.1 13 3 9 3z'/%3E%3Cpath d='M22 14.2c0-2.6-2.6-4.7-5.7-4.7s-5.7 2.1-5.7 4.7 2.6 4.7 5.7 4.7c.7 0 1.3-.1 1.9-.3l2.1 1.1-.5-1.8c1.3-.9 2.2-2.2 2.2-3.7z'/%3E%3C/svg%3E"); }
.side-msg .side-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M4 4h16a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H8l-5 4V5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }
.side-top .side-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 19V6M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
.side-box { position: absolute; right: 52px; top: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; width: 0; padding: 0; height: 52px; background: rgba(0, 0, 0, .82); white-space: nowrap; opacity: 0; transition: all .3s; }
.side-box b { font-size: 13.5px; font-weight: 600; }
.side-box i { font-size: 12px; font-style: normal; color: #dcdcdc; }
.side-item:hover .side-box { width: max-content; padding: 0 16px; opacity: 1; }
.side-pop { position: absolute; right: 52px; top: -70px; width: 150px; padding: 8px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; }
.side-pop img { width: 100%; }
.side-wechat:hover .side-pop { opacity: 1; visibility: visible; }
.side-bar.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; background: #fff; border-top: 1px solid var(--line); }
.mobile-bar a { flex: 1; text-align: center; line-height: 48px; font-size: 15px; color: #fff; }
.mobile-bar a:first-child { background: var(--brand); }
.mobile-bar a:last-child { background: #2b2f33; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1199px) {
  .nav-item > a { padding: 0 14px; font-size: 15px; }
  .product-grid { gap: 16px; }
  .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 991px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .logo img { height: 38px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-search { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
    width: min(78vw, 320px); padding: 66px 0 30px;
    background: #fff; box-shadow: -4px 0 20px rgba(0, 0, 0, .12);
    transform: translateX(100%); transition: transform .32s ease; overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-item { border-bottom: 1px solid #f0f0f0; }
  .nav-item > a { line-height: 50px; padding: 0 20px; font-size: 15px; }
  .nav-item > a::after { display: none; }
  .nav-item.has-child > a { position: relative; }
  .nav-item.has-child > a::before {
    content: ""; position: absolute; right: 22px; top: 21px; width: 8px; height: 8px;
    border-right: 1.5px solid #bbb; border-bottom: 1.5px solid #bbb; transform: rotate(45deg); transition: .3s;
  }
  .nav-item.is-open > a::before { transform: rotate(-135deg); }
  .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; background: #fafafa; }
  .nav-item.is-open .sub-menu { display: block; }
  .sub-menu a { padding-left: 34px; white-space: normal; }

  .hero { height: clamp(230px, 42vh, 400px); }
  .hero-arrow { display: none; }
  .power { background-attachment: scroll; }
  .power-inner { grid-template-columns: 1fr; gap: 26px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .page-body { grid-template-columns: 1fr; padding-bottom: 90px; }
  .side-col { order: 2; }
  .side-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
  .side-cats li + li { border: 0; }
  .side-cats a { padding: 7px 14px; border: 1px solid var(--line); font-size: 13px; }
  .side-cats li.active > a, .side-cats a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
  .side-consult { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact { border-left: 0; padding-left: 0; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .side-bar { display: none; }
  .mobile-bar { display: flex; }
  .article { font-size: 15px; }
}

@media (max-width: 767px) {
  .section { padding: 40px 0 46px; }
  .sec-head { margin-bottom: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-body { padding: 12px 12px 16px; }
  .pc-body strong { font-size: 15px; }
  .pc-more { display: none; }
  .power { padding: 46px 0; }
  .power-points { grid-template-columns: 1fr; }
  .nf-img { height: 200px; }
  .news-list { padding: 16px; }
  .news-list strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ic-body { padding: 10px 10px 14px; }
  .ic-body strong { font-size: 14px; line-height: 1.5; white-space: normal; height: 3em; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
  .ic-body em { font-size: 12px; line-height: 1.6; height: 3.2em; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
  .product-top { grid-template-columns: 1fr; }
  .p-gallery .pg-main img { height: 240px; }
  .dg-grid { grid-template-columns: repeat(2, 1fr); }
  .news-rows a { grid-template-columns: 1fr; gap: 10px; }
  .nr-img img { width: 100%; height: 180px; }
  .contact-cards { grid-template-columns: 1fr; }
  .search-rows a { grid-template-columns: 46px 1fr; }
  .search-rows time { display: none; }
  .turn-pages { flex-direction: column; gap: 8px; }
  .turn-pages span { max-width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .body-with-bar { padding-bottom: 0; }
}

@media (max-width: 420px) {
  .brand-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 1px; }
  .hero-sub { letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .topbar, .site-header, .side-bar, .mobile-bar, .site-footer, .hero-arrow, .hero-dots { display: none !important; }
}
