/* ============================================================
   BioInborn 百翌博科技 — 改版网站样式表（绿色主题 v2）
   仿 amyjet.com 结构 | SEO 友好 | 全站互联互通 | 响应式
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2ba86b;
  --primary-dark: #1a8048;
  --primary-light: #3cc280;
  --accent: #36c481;
  --accent-light: #e8f9f0;
  --green: #2db572;
  --green-light: #e8f9f0;
  --text: #333b45;
  --text-light: #6b7686;
  --border: #d9ece2;
  --bg: #ffffff;
  --bg-gray: #f6faf8;
  --bg-green: #eef9f3;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(43, 168, 107, 0.08);
  --shadow-lg: 0 8px 30px rgba(43, 168, 107, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; color: var(--primary-dark); font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 仅屏幕阅读器可见（SEO/无障碍） */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 22px; }
.topbar-left i { margin-right: 5px; font-style: normal; }
.topbar-right a { margin-left: 18px; }

/* ---------- Header / Nav ---------- */
.header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(26,128,72,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  font-family: Georgia, serif;
}
.logo-text strong { display: block; font-size: 21px; color: var(--primary-dark); letter-spacing: 1px; }
.logo-text small { font-size: 11.5px; color: var(--text-light); letter-spacing: 2px; }

.nav { display: flex; gap: 0; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 22px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  letter-spacing: .5px;
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--primary); border-bottom-color: var(--primary); }
.nav .dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 50;
}
.nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .dropdown a {
  display: block; padding: 10px 20px; font-size: 15px; color: var(--text);
}
.nav .dropdown a:hover { color: var(--primary); background: var(--bg-green); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary-dark); }
.nav-submenu-toggle { display: none; }

.header-search { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--bg-gray); }
.header-search input { border: none; outline: none; padding: 8px 14px; width: 190px; font-size: 14px; background: transparent; }
.header-search button {
  border: none; background: var(--primary); color: #fff;
  width: 38px; height: 38px; cursor: pointer; font-size: 15px;
  border-radius: 0 24px 24px 0;
}

/* -----新增加----- Hero ---------- */

.hero-slide{
    min-height:auto;
}
.banner-pc,.banner-mob{
    width:100%;
    height:auto;
    object-fit:cover;
    display:block;
}
.banner-mob{display:none;}

@media (max-width:768px){
    .banner-pc{display:none;}
    .banner-mob{display:block;}
    .hero h1, .hero p.lead, .hero-stats { display: none; }
}

.hero {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; width: 100%; }

/* ---------- Hero 轮播 ---------- */
.hero-slider {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.hero-track {
  display: flex;
  flex: 1;
  height: 100%;
  align-items: stretch;
  transition: transform .65s ease;
  will-change: transform;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 每张幻灯使用独立纯图背景 *
.hero-slide:nth-child(1) { background-image: url('../images/banners/banner-1.svg'); }
.hero-slide:nth-child(2) { background-image: url('../images/banners/banner-2.svg'); }
.hero-slide:nth-child(3) { background-image: url('../images/banners/banner-3.svg'); }
/* 统一暗色遮罩，保证文字可读性 */
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 3px;
  transition: all .25s;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 20px; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .3s; padding: 0;
}
.hero-dots button.is-active { width: 26px; background: #fff; }

/* 触屏滑动支持（鼠标拖拽/触摸滑动） */
.hero-track.grabbing { cursor: grabbing; transition: none; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 6px 16px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: 42px; font-weight: 800;
  max-width: 720px; margin-bottom: 18px; line-height: 1.3;
}
.hero h1 em { font-style: normal; color: #a8f0c8; }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 46px; margin-top: 40px; }
.hero-stats b { display: block; font-size: 30px; color: #fff; font-weight: 800; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.7); }
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 30px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all .25s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(54,196,129,.4); }
.btn-primary:hover { background: #25a55e; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--accent-light); }
.btn-green { background: var(--primary); color: #fff; }
.btn-green:hover { background: var(--primary-light); transform: translateY(-2px); }
.hero-actions { display: flex; gap: 16px; }

/* ---------- Section Common ---------- */
.section { padding: 66px 0; }
.section-gray { background: var(--bg-gray); }
.section-green { background: var(--bg-green); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .en {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; display: block; margin-bottom: 6px;
}
.section-head h2 { font-size: 30px; margin-bottom: 10px; }
.section-head p { color: var(--text-light); font-size: 15px; }
.section-more { text-align: center; margin-top: 36px; }
.more-link {
  display: inline-block; color: var(--primary); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--primary); padding: 9px 28px; border-radius: 26px; transition: all .25s;
}
.more-link:hover { background: var(--primary); color: #fff; }

/* ---------- Product Category Tags ---------- */
.category-section { padding: 28px 0; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}
.category-card {
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 12px 10px;
  font-size: 14px; font-weight: 500;
  text-align: center;
  transition: all .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-card:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(43,168,107,.22);
}
/* ---------- Category Swipe Hint (mobile only) ---------- */
.category-swiper { position: relative; }
.category-swipe-hint {
  position: absolute; right: 0; top: 0; bottom: 0; width: 56px;
  display: none; align-items: center; justify-content: flex-end; padding-right: 6px;
  background: linear-gradient(90deg, rgba(238,247,241,0) 0%, rgba(238,247,241,.94) 72%);
  pointer-events: none; z-index: 2; transition: opacity .3s;
}
.category-swipe-hint .hint-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(43,168,107,.35);
  animation: hintNudge 1.5s ease-in-out infinite;
}
@keyframes hintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.category-dots {
  display: none; justify-content: center; align-items: center;
  gap: 7px; margin-top: 12px;
}
.category-dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #b9e6d0; cursor: pointer; transition: all .25s;
}
.category-dots .dot.is-active {
  width: 20px; border-radius: 4px; background: var(--primary);
}

/* ---------- Brand Section ---------- */
.brand-block { margin-bottom: 40px; }
.brand-block:last-child { margin-bottom: 0; }
.brand-block-title {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.brand-block-title i {
  font-style: normal; background: var(--green); color: #fff; font-size: 12px;
  padding: 4px 12px; border-radius: 4px; letter-spacing: 1px;
}
.brand-block-title i.blue { background: var(--primary); }
.brand-block-title h3 { font-size: 21px; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 10px 14px; text-align: center; font-weight: 600; font-size: 14.5px;
  color: var(--text); transition: all .2s; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  min-height: 112px; word-break: break-all;
}
.brand-item .brand-logo {
  width: 90px; height: auto; border-radius: 0;
  background: transparent; border: none;
  transition: transform .25s;
}
.brand-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-item:hover .brand-logo { transform: scale(1.06); }

/* ---------- Brand Showcase（首页：左大右小网格） ---------- */
.brand-showcase { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.brand-featured {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px 24px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: all .25s; position: relative; overflow: hidden;
}
.brand-featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.brand-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
/* img 标签上的品牌 logo 需要覆盖上方默认方块样式 */
img.brand-logo {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  object-fit: contain;
}
/* LOGO 展示窗：浅色圆角面板衬托品牌 logo */
.brand-logo-wrap {
  width: 100%;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 18px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.brand-featured:hover .brand-logo-wrap { background: var(--bg-green); }
.brand-featured .brand-logo {
  width: 200px;
  height: auto;
  max-height: 96px;
  border-radius: 0;
  margin: 0;
  background: transparent;
  border: none;
  object-fit: contain;
}
.brand-featured .badge {
  position: absolute; top: 16px; right: 14px;
  background: var(--accent-light); color: var(--primary-dark);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 1px;
}
.brand-featured h3 { font-size: 21px; margin-bottom: 8px; }
.brand-featured .brand-country {
  display: inline-block; font-size: 12.5px; color: var(--primary-dark);
  background: var(--accent-light); padding: 3px 14px; border-radius: 14px;
  margin-bottom: 12px; letter-spacing: 1px;
}
.brand-featured .brand-lines {
  font-size: 12.5px; color: var(--text-light); margin-bottom: 12px; letter-spacing: .5px;
}
.brand-featured .brand-desc {
  font-size: 13.5px; color: var(--text-light); margin-bottom: 18px; line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.brand-featured .btn-sm { margin-top: auto; }

.brand-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.brand-mini {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 16px; display: flex; align-items: center; justify-content: center;
  text-align: center; transition: all .2s;
}
.brand-mini:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-mini .brand-logo {
  width: 150px;
  height: auto;
  max-height: 56px;
  border-radius: 0;
  background: transparent; border: none; flex-shrink: 0;
  object-fit: contain;
}

/* ---------- Brand Alphabet Index Layout ---------- */
.inner-layout.brand-alpha-layout { display: flex; gap: 28px; align-items: flex-start; }
.alpha-nav {
  position: sticky; top: 96px;
  width: 52px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 6px; max-height: calc(100vh - 120px); overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  box-shadow: var(--shadow);
}
.alpha-nav::-webkit-scrollbar { width: 4px; }
.alpha-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.alpha-nav a {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-light); border-radius: 8px;
  transition: all .2s;
}
.alpha-nav a:hover, .alpha-nav a.active { background: var(--primary); color: #fff; }
.brand-alpha-main { flex: 1; min-width: 0; }
.alpha-group { margin-bottom: 38px; scroll-margin-top: 100px; }
.alpha-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.alpha-title span {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.alpha-title::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.brand-alpha-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-alpha-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 14px 16px; text-align: center; transition: all .25s;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.brand-alpha-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.brand-alpha-logo {
  width: 100%; height: 62px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.brand-alpha-logo img { max-width: 100%; max-height: 56px; width: auto; object-fit: contain; }
.brand-alpha-name {
  font-size: 14px; font-weight: 600; color: var(--text);
  word-break: break-word; line-height: 1.4;
}
.brand-alpha-card:hover .brand-alpha-name { color: var(--primary); }

/* ---------- Product Cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
  box-shadow: 0 1px 4px rgba(43,168,107,.04);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--accent); }
.product-thumb {
  height: 190px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-green), #fff);
  font-size: 52px; color: var(--primary); position: relative; overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: #fff; font-size: 11px;
  padding: 4px 12px; border-radius: 4px; letter-spacing: 1px; z-index: 2;
}
.product-tag.hot { background: linear-gradient(135deg, #ff6b6b, #ee5253); }
.product-tag.new { background: linear-gradient(135deg, #36c481, #2ba86b); }
.product-tag.pop { background: linear-gradient(135deg, #feca57, #ff9f43); color: #fff; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 15.5px; line-height: 1.55; margin-bottom: 12px; min-height: 48px; color: var(--text); font-weight: 600; }
.product-body h3:hover { color: var(--primary); }
.product-meta { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.product-meta b { color: var(--primary); font-weight: 600; }
.product-meta a.brand-link { color: var(--primary); font-weight: 600; }
.product-meta a.brand-link:hover { text-decoration: underline; }
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border);
}
.product-price { font-size: 13px; color: var(--text-light); }
.product-price b { color: var(--accent); font-size: 14px; }
.btn-sm { padding: 6px 16px; font-size: 12.5px; border-radius: 20px; background: var(--primary); color: #fff; }
.btn-sm:hover { background: var(--primary-light); }
.btn-sm.ghost { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-sm.ghost:hover { background: var(--bg-green); }

/* ---------- Product Slider（首页热销产品多版面轮播） ---------- */
.product-slider { position: relative; overflow: hidden; }
.product-slider .product-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}
.product-slider .product-slide {
  flex: 0 0 100%;
  padding: 0 2px;
  box-sizing: border-box;
}
.product-slider .product-slide .product-grid { margin: 0; }
.ps-arrow {
  position: absolute; top: -68px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--primary); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 0 2px;
  transition: all .2s;
}
.ps-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ps-prev { right: 54px; }
.ps-next { right: 12px; }
.ps-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 22px;
}
.ps-dots button {
  width: 9px; height: 9px; border-radius: 20px; border: none; cursor: pointer;
  background: var(--border); transition: all .3s; padding: 0;
}
.ps-dots button.is-active { width: 24px; background: var(--primary); }

/* ---------- New Products List (amyjet style) ---------- */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; min-width: 0; overflow: hidden; }
.news-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 4px; border-bottom: 1px dashed var(--border); font-size: 14px;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.news-list li a {
  flex: 1 1 0; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: inherit;
}
.news-list li:hover { color: var(--primary); }
.news-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.news-list .stock {
  flex-shrink: 0; font-size: 11px; color: #fff; background: var(--green);
  padding: 2px 8px; border-radius: 3px; margin-left: auto;
}
.news-list .date {
  color: var(--text-light); font-size: 12px; flex-shrink: 0;
  padding-left: 12px; white-space: nowrap;
}

/* ---------- Service Section ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 34px 28px; transition: all .25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .25s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-num {
  font-size: 34px; font-weight: 800; color: var(--accent-light); margin-bottom: 8px;
  font-family: Georgia, serif;
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--text-light); margin-bottom: 14px; }
.service-card a { color: var(--primary); font-size: 13.5px; font-weight: 600; }
.service-card a:hover { text-decoration: underline; }

/* ---------- News Tabs ---------- */
.news-tabs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.news-col-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-green); }
.news-col-head h3 { font-size: 18px; }
.news-col-head a { font-size: 13px; color: var(--accent); font-weight: 600; }
.news-item { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: none; }
.news-item a { font-size: 15px; display: block; margin-bottom: 4px; }
.news-item a:hover { color: var(--primary); }
.news-item time { font-size: 12px; color: var(--text-light); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #36c481);
  color: #fff; text-align: center; padding: 56px 0;
}
.cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 15px; }
.cta .phone {
  font-size: 26px; font-weight: 800; color: #a8f0c8; letter-spacing: 1px;
}

/* ---------- WeChat Strip（页脚内微信扫码卡片） ---------- */
.wechat-strip {
  background: linear-gradient(120deg, #1a6240, var(--primary) 55%, #36c481);
  color: #fff; padding: 28px 30px; position: relative; overflow: hidden;
  border-radius: 16px; margin-bottom: 44px;
}
.wechat-strip::before {
  content: ""; position: absolute; right: -40px; top: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 65%);
}
.wechat-strip::after {
  content: ""; position: absolute; left: -30px; bottom: -90px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(43,181,114,.35) 0%, transparent 60%);
}
.wechat-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; z-index: 1;
}
.wechat-strip-text { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wechat-strip-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px;
  background: #07c160; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(7,193,96,.35);
}
.wechat-strip-text h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.wechat-strip-text h3 em { font-style: normal; color: #a8f0c8; }
.wechat-strip-text p { font-size: 13.5px; color: rgba(255,255,255,.85); }
.wechat-strip-text p b { color: #fff; font-weight: 700; }
.wechat-strip-card {
  flex: 0 0 auto; background: #fff; border-radius: 14px; padding: 10px 10px 8px;
  text-align: center; box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .3s, box-shadow .3s;
}
.wechat-strip-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,.25); }
.wechat-strip-card img { width: 118px; height: 118px; display: block; border-radius: 6px; }
.wechat-strip-tip {
  display: inline-block; margin-top: 6px; font-size: 11px; color: var(--primary);
  background: var(--bg-green); padding: 2px 10px; border-radius: 999px; font-weight: 600;
}

/* ---------- Footer ---------- */
.footer { background: #1a4d35; color: rgba(255,255,255,.75); padding: 60px 0 0; font-size: 14.5px; }
/*.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr 0.9fr; gap: 36px; padding-bottom: 40px; align-items: start; } */
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-about p { margin-top: 14px; font-size: 13px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: #a8f0c8; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 8px; }
.footer-contact b { color: #fff; font-weight: 600; }

/* ---------- Footer QR 卡片 ---------- */
.footer-qr {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #fff; border-radius: 12px; padding: 10px 10px 9px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .3s, box-shadow .3s;
}
.footer-qr:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.28); }
.footer-qr img { width: 108px; height: 108px; display: block; border-radius: 6px; }
.footer-qr span {
  margin-top: 8px; font-size: 11.5px; color: #555;
  background: var(--bg-green); padding: 2px 10px; border-radius: 999px;
  font-weight: 600; white-space: nowrap;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #a8f0c8; }

/* ---------- Inner Page Hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 52px 0;
}
.page-hero::before {
  content: ""; position: absolute; right: -70px; top: -130px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.13) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; left: -60px; bottom: -120px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,196,129,.32) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.hero-deco {
  position: absolute; right: 7%; top: 50%; transform: translateY(-50%);
  width: 148px; height: 148px; border-radius: 26px; z-index: 1;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 58px; pointer-events: none;
  animation: heroDecoFloat 5s ease-in-out infinite;
}
@keyframes heroDecoFloat {
  0%, 100% { transform: translateY(-50%) rotate(-3deg); }
  50% { transform: translateY(-46%) rotate(3deg); }
}
.page-hero h1 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 15px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 12px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- Inner Page Layout ---------- */
.inner-layout { display: grid; grid-template-columns: 1fr 280px; gap: 36px; padding: 44px 0 60px; align-items: start; }
.inner-layout.no-sidebar { grid-template-columns: 1fr; }
.sidebar { position: sticky; top: 96px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.side-card h3 { font-size: 16px; padding: 15px 18px; background: var(--bg-green); color: var(--primary-dark); border-bottom: 1px solid var(--border); }
.side-card ul { padding: 8px 0; }
.side-card li a { display: block; padding: 10px 18px; font-size: 14.5px; border-left: 3px solid transparent; }
.side-card li a:hover, .side-card li.active a { color: var(--primary); border-left-color: var(--primary); background: var(--bg-green); }
.side-contact { background: linear-gradient(135deg, var(--primary), #36c481); color: #fff; padding: 22px 18px; text-align: center; }
.side-contact h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.side-contact p { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 6px; }
.side-contact .tel { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 1px; }

/* ---------- Table ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 13.5px; }
.data-table th { background: var(--primary); color: #fff; text-align: left; padding: 13px 16px; font-weight: 600; white-space: nowrap; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: var(--bg-green); }
.data-table .tag { font-size: 11px; background: var(--green-light); color: var(--green); padding: 3px 10px; border-radius: 3px; }

/* ---------- Article / About ---------- */
.article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.article-card h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.article-card p { margin-bottom: 14px; font-size: 15.5px; }
.article-card .sub { color: var(--text-light); font-size: 14px; }

/* ---------- 新闻列表行卡片（响应式） ---------- */
.news-row { display: flex; gap: 22px; align-items: flex-start; padding: 20px 0; margin-bottom: 0; border-bottom: 1px dashed var(--border); background: transparent; }
.news-row-thumb { flex-shrink: 0; display: block; width: 200px; height: 130px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-green); }
.news-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-row-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 30px; color: var(--primary-light); }
.news-row-body { flex: 1; min-width: 0; }
.news-row-title { font-size: 19px; margin: 0 0 10px; line-height: 1.5; }
.news-row-title a { color: var(--text); }
.news-row-title a:hover { color: var(--primary); }
.news-row-meta { margin: 0 0 10px; font-size: 14px; }
.news-row-desc { margin: 0 0 12px; font-size: 15px; line-height: 1.8; color: var(--text-light); }
.news-row-more { color: var(--primary); font-size: 14px; font-weight: 600; }
.news-row-tags { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 4px; line-height: 2; }
.news-row-tags:not(:has(.tag-chip)) { display: none; }
.tag-label { display: inline-block; margin-right: 8px; font-weight: 600; color: var(--primary-dark); font-size: 13px; }
.tag-chip {
  display: inline-block; background: var(--bg-green); border: 1px solid var(--primary-light);
  color: var(--primary); border-radius: 14px; padding: 2px 12px; margin-right: 6px;
  font-size: 13px; text-decoration: none; white-space: nowrap; transition: all .2s;
}
.tag-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 联系页表单（响应式两列） ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0; }
.value-box { background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.value-box b { display: block; color: var(--primary); font-size: 15.5px; margin-bottom: 6px; }
.value-box span { font-size: 13px; color: var(--text-light); }

/* ---------- Filter Bar (list pages) ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-bar a {
  font-size: 13px; padding: 7px 18px; border: 1px solid var(--border); border-radius: 20px; color: var(--text);
}
.filter-bar a:hover, .filter-bar a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-bar .filter-label {
  display: inline-flex; align-items: center; font-size: 13px; color: var(--text-light);
  margin-right: 4px; white-space: nowrap;
}
.brand-filter { margin-top: 14px; padding-top: 18px; border-top: 1px dashed var(--border); }

/* ---------- Pagination（适配 PbootCMS {page:bar} 结构，自适应换行） ---------- */
.pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px; margin-top: 36px; line-height: 1;
}
.pagination .page-status {
  width: 100%; text-align: center; font-size: 13px; color: var(--text-light);
  margin-bottom: 4px; white-space: nowrap;
}
.pagination > span { display: inline-flex; }
.pagination a {
  min-width: 36px; height: 36px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px; font-size: 13.5px;
  color: var(--text); background: #fff; white-space: nowrap; transition: all .2s;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a.page-num-current,
.pagination a.active {
  background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600;
}
.pagination .page-num { display: inline-flex; align-items: center; color: var(--text-light); padding: 0 2px; }
.pagination .page-none { color: #999; font-size: 14px; }

/* ============================================================
   详情页组件（产品 / 品牌 / 新闻）
   ============================================================ */

/* ---------- 产品详情 ---------- */
.detail-layout { display: grid; grid-template-columns: 380px 1fr; gap: 36px; padding: 44px 0 20px; align-items: start; }
.detail-gallery {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 30px; display: flex; flex-direction: column; align-items: center;
  position: sticky; top: 96px;
}
.gallery-main { font-size: 96px; line-height: 1; margin-bottom: 18px; }
/* 可切换产品图库：大图 + 缩略图 */
.gallery-view { width: 100%; margin-bottom: 14px; }
.gallery-view .gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-gray);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-view .gallery-item:first-child { display: flex; }
.gallery-view .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}
.gallery-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs span {
  width: 64px; height: 64px; border: 2px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer;
  background: var(--bg-gray); overflow: hidden; padding: 0; flex-shrink: 0;
  transition: border-color .2s;
}
.gallery-thumbs span img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs span:hover { border-color: var(--primary-light); }
.gallery-thumbs span.active { border-color: var(--primary); background: var(--bg-green); }
.detail-info h1 { font-size: 24px; margin-bottom: 12px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-tags .tag { background: var(--green-light); color: var(--green); font-size: 12px; padding: 4px 12px; border-radius: 20px; }
.detail-tags .tag.brand { background: var(--primary); color: #fff; }
.detail-tags .tag a:hover { text-decoration: underline; }
.detail-meta-table { width: 100%; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 0 0 20px; font-size: 13.5px; }
.detail-meta-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.detail-meta-table tr:last-child td { border-bottom: none; }
.detail-meta-table td:first-child { width: 116px; background: var(--bg-gray); font-weight: 600; color: var(--primary-dark); }
.detail-price { font-size: 13.5px; color: var(--text-light); margin-bottom: 16px; }
.detail-price b { font-size: 20px; color: var(--accent); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-note { font-size: 12.5px; color: var(--text-light); margin-top: 14px; }
.detail-main { min-width: 0; }
.panel {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px 28px; margin-bottom: 22px;
}
.panel h2 { font-size: 19px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); position: relative; }
.panel h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px; background: var(--primary); }
.panel p { font-size: 14px; margin-bottom: 12px; }
.panel p:last-child { margin-bottom: 0; }
.panel ul, .panel ol { padding-left: 22px; margin-bottom: 12px; font-size: 14px; }
.panel ul li { list-style: disc; margin-bottom: 6px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th { background: var(--bg-green); color: var(--primary-dark); text-align: left; padding: 11px 14px; border: 1px solid var(--border); font-weight: 600; }
.spec-table td { padding: 11px 14px; border: 1px solid var(--border); }
.spec-table tr:nth-child(even) td { background: var(--bg-gray); }

/* ---------- 品牌详情 ---------- */
.brand-hero-card {
  display: flex; gap: 28px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 32px; margin: 44px 0 26px; box-shadow: var(--shadow);
}
.brand-logo {
  width: 120px; height: 120px; border-radius: 18px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800;
  color: var(--primary); background: linear-gradient(135deg, var(--bg-green), var(--bg-gray)); flex-shrink: 0;
}
.brand-hero-info { flex: 1; min-width: 0; }
.brand-hero-info h1 { font-size: 26px; margin-bottom: 6px; }
.brand-hero-info .brand-meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.brand-hero-info .brand-meta a { color: var(--primary); }
.brand-hero-info p { font-size: 14px; margin-bottom: 8px; }
.brand-stats { display: flex; gap: 30px; margin-top: 16px; flex-wrap: wrap; }
.brand-stats b { display: block; font-size: 20px; color: var(--primary); }
.brand-stats span { font-size: 12px; color: var(--text-light); }
.brand-hero-actions { display: flex; gap: 12px; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.brand-products-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.brand-products-head h2 { font-size: 20px; }
.brand-products-head a { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---------- 新闻详情 ---------- */
.news-detail-wrap { padding: 44px 0 20px; }
.news-detail-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 40px 44px; }
.news-detail-card h1 { font-size: 26px; margin-bottom: 14px; line-height: 1.45; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-light); padding-bottom: 16px; border-bottom: 1px dashed var(--border); margin-bottom: 24px; }
.article-meta a { color: var(--primary); }
.article-body { font-size: 17px; line-height: 2; }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 19px; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article-body h3 { font-size: 16.5px; margin: 20px 0 10px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body ol li { list-style: decimal; margin-bottom: 6px; }
.article-body blockquote { border-left: 4px solid var(--accent); background: var(--accent-light); padding: 12px 18px; margin: 18px 0; color: var(--text-light); border-radius: 0 8px 8px 0; }
.article-body img { border-radius: 8px; margin: 18px auto; max-width: 100%; height: auto; display: block; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body table th, .article-body table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-body table th { background: var(--bg-green); color: var(--primary-dark); }
.tag-cloud { margin-top: 18px; }
.tag-cloud a {
  display: inline-block; border: 1px solid var(--border); padding: 5px 14px; border-radius: 20px;
  font-size: 12.5px; margin: 0 6px 8px 0; color: var(--text-light);
}
.tag-cloud a:hover { border-color: var(--primary); color: var(--primary); }
.share-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 26px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.prev-next a { border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 14.5px; transition: all .2s; background: #fff; }
.prev-next a:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
.prev-next .next { text-align: right; }
.prev-next small { display: block; color: var(--text-light); font-size: 12px; margin-bottom: 3px; }
.related-list li { padding: 11px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 12px; }
.related-list li:last-child { border-bottom: none; }
.related-list a { font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list a:hover { color: var(--primary); }
.related-list time { font-size: 13px; color: var(--text-light); flex-shrink: 0; }

/* ---------- Float Contact ---------- */
.float-contact {
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow-lg); transition: all .25s;
}
.float-btn:hover { background: var(--accent); transform: translateY(-3px); }
.float-btn.tel { background: var(--accent); }
.float-btn.tel:hover { background: var(--primary); }
.float-btn.mail { background: var(--primary); }
.float-btn.mail:hover { background: #25a55e; }

/* 悬浮按钮 + hover/点击弹出层 */
.float-item { position: relative; }
.float-btn.wechat { background: #07c160; }
.float-btn.wechat:hover { background: #05994c; transform: translateY(-3px); }
.float-btn.top { background: #33475b; }
.float-btn.top:hover { background: #1d2b3a; transform: translateY(-3px); }
.float-pop {
  position: absolute; right: 58px; top: 50%; z-index: 95;
  width: 208px; padding: 16px 14px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); text-align: center;
  opacity: 0; visibility: hidden; transform: translate(10px, -50%);
  transition: all .25s ease;
}
.float-item:hover .float-pop,
.float-item.show .float-pop { opacity: 1; visibility: visible; transform: translate(0, -50%); }
/* 返回顶部不需要弹窗 */
.float-item.top .float-pop { display: none; }
.float-pop::after {
  content: ""; position: absolute; right: -7px; top: 50%; margin-top: -6px;
  width: 12px; height: 12px; background: #fff;
  border-right: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.pop-head { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 10px; }
.float-item.tel .pop-head svg { color: var(--accent); }
.float-item.mail .pop-head svg { color: #3b82f6; }
.float-item.wechat .pop-head svg { color: #07c160; }
.float-item.top .pop-head svg { color: var(--primary); }
.pop-qr { width: 150px; height: 150px; border-radius: 8px; border: 1px solid var(--border); display: block; margin: 0 auto 10px; }
.pop-id { font-size: 14px; color: var(--text); margin-bottom: 6px; }
.pop-id b { color: #07c160; font-weight: 700; }
.pop-tip { font-size: 12px; color: var(--text-light); }

/* 移动端悬浮适配 */
@media (max-width: 768px) {
  .float-contact {
    right: 10px;
    bottom: 70px;
    gap: 8px;
  }
  .float-btn {
    width: 42px;
    height: 42px;
  }
  .float-btn svg {
    width: 20px;
    height: 20px;
  }
  .float-pop {
    position: fixed;
    right: 62px;
    left: auto;
    bottom: 70px;
    top: auto;
    transform: translate(0, 0);
    width: calc(100vw - 92px);
    max-width: 260px;
    min-width: 180px;
    padding: 14px 12px 12px;
  }
  .float-item:hover .float-pop,
  .float-item.show .float-pop {
    transform: translate(0, 0);
  }
  .float-pop::after {
    right: -7px;
    top: auto;
    bottom: 18px;
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
  }
  .pop-qr {
    width: 130px;
    height: 130px;
  }
}

/* 移动端悬浮弹层遮罩 */
.float-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 88;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.float-backdrop.show {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 769px) {
  .float-backdrop { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .category-card { font-size: 13px; padding: 10px 6px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-showcase { grid-template-columns: 1fr; }
  .brand-featured { max-width: 360px; margin: 0 auto; }
  .brand-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-mini { padding: 16px 10px 12px; }
  .brand-mini .brand-logo { width: 120px; max-height: 50px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .news-tabs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inner-layout { grid-template-columns: 1fr; }
  .inner-layout.brand-alpha-layout { flex-direction: row; gap: 20px; }
  .sidebar { position: static; }
  .brand-alpha-grid { grid-template-columns: repeat(4, 1fr); }
  .header-search { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { position: static; }
}
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 20px 20px;
    box-shadow: 0 8px 20px rgba(26,128,72,.12); border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--bg-gray); }
  .nav > li > a { flex: 1; padding: 12px 0; border-bottom: none; }
  .nav-submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-left: 8px;
    background: transparent; border: none; border-radius: 6px;
    color: var(--primary); font-size: 20px; line-height: 1;
    cursor: pointer; transition: background .2s, transform .2s;
  }
  .nav-submenu-toggle::before { content: "+"; }
  .nav-submenu-toggle:active { background: var(--bg-green); }
  .nav > li.open > .nav-submenu-toggle { transform: rotate(45deg); }
  .nav > li.open > .nav-submenu-toggle::before { content: "×"; }
  .nav .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    display: none; width: 100%; padding: 0 0 8px 16px;
  }
  .nav > li.open > .dropdown { display: block; }
  .nav-toggle { display: block; }
  .hero-slide {
    padding: 0;
    background-position: center center;
  }
	/*
  .hero-slide:nth-child(1) { background-image: url('../images/banners/banner-1-mobile.svg'); }
  .hero-slide:nth-child(2) { background-image: url('../images/banners/banner-2-mobile.svg'); }
  .hero-slide:nth-child(3) { background-image: url('../images/banners/banner-3-mobile.svg'); }
  .hero h1, .hero p.lead, .hero-stats { display: none; } /* 纯图 banner 已无需叠加文字 */
  .hero-arrow { width: 36px; height: 36px; font-size: 20px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-dots { bottom: 18px; }
  .hero-deco { display: none; }
  .category-grid {
    display: grid;
    grid-template-columns: repeat(6, calc((100% - 20px) / 3));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6px;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card {
    scroll-snap-align: start;
    padding: 12px 4px;
    font-size: 13px;
  }
  .category-swipe-hint { display: flex; }
  .category-dots { display: flex; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-mini { padding: 14px 8px 12px; }
  .brand-mini .brand-logo { width: 110px; max-height: 46px; }
  .inner-layout.brand-alpha-layout { flex-direction: column; gap: 18px; }
  .alpha-nav {
    position: static; width: 100%; max-height: none;
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    padding: 10px; gap: 6px;
  }
  .alpha-nav a { width: 32px; height: 32px; font-size: 12px; }
  .brand-alpha-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .brand-alpha-card { padding: 18px 10px 14px; }
  .brand-alpha-logo { height: 52px; margin-bottom: 10px; }
  .brand-alpha-logo img { max-height: 48px; }
  .brand-alpha-name { font-size: 12.5px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-thumb { height: 160px; font-size: 42px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 14px; min-height: 42px; }
  .news-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:not(.footer-about) { display: none; }
  .footer-about { display: flex; justify-content: center; text-align: center; }
  .footer-about p { display: none; }
  .footer-about .logo { justify-content: center; }
  .footer-grid { padding-bottom: 24px; }
  .footer-bottom { padding: 12px 0; font-size: 12px; }
  .about-values { grid-template-columns: 1fr; }
  .brand-hero-card { flex-direction: column; align-items: flex-start; }
  .brand-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .prev-next { grid-template-columns: 1fr; }
  .news-detail-card { padding: 26px 22px; }
  /* 微信通栏移动端适配 */
  .wechat-strip { padding: 24px 20px; margin-bottom: 34px; }
  .wechat-strip-inner { flex-direction: column; text-align: center; gap: 18px; }
  .wechat-strip-text { flex-direction: column; gap: 10px; }
  .wechat-strip-text h3 { font-size: 17px; line-height: 1.5; }
  .wechat-strip-card img { width: 132px; height: 132px; }
}
@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(6, calc((100% - 16px) / 3));
    gap: 8px;
  }
  .category-card { padding: 10px 3px; font-size: 12px; border-radius: 6px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-thumb { height: 200px; font-size: 56px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-mini { padding: 12px 6px 10px; }
  .brand-mini .brand-logo { width: 100px; max-height: 42px; }
  .brand-alpha-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-alpha-card { padding: 16px 8px 12px; }
  .brand-alpha-logo { height: 48px; }
  .brand-alpha-logo img { max-height: 44px; }
  .wechat-strip-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .wechat-strip-card img { width: 120px; height: 120px; }
  /* 现货速递：极窄屏压缩字号与间距，防止撑破 */
  .news-list { gap: 0; }
  .news-list li { gap: 8px; padding: 11px 2px; font-size: 13px; }
  .news-list li a { font-size: 13px; }
  .news-list .stock { font-size: 10px; padding: 1px 6px; }
  .news-list .date { font-size: 11px; padding-left: 8px; }
}

/* ---------- 新闻卡片移动端适配 ---------- */
@media (max-width: 640px) {
  .news-row { flex-direction: column; gap: 14px; padding: 16px 0; }
  .news-row-thumb { width: 100%; height: 180px; }
  .news-row-title { font-size: 17px; }
  .news-row-desc { font-size: 14.5px; line-height: 1.7; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .tag-chip, .tag-label { font-size: 12px; }
  .pagination { gap: 5px; margin-top: 28px; }
  .pagination a { min-width: 32px; height: 32px; padding: 0 10px; font-size: 12.5px; }
  .pagination .page-status { font-size: 12px; }
  .article-card { padding: 18px; }
  .article-body { font-size: 16px; line-height: 1.9; }
  .news-detail-card h1 { font-size: 21px; }
}



/* 分页按钮样式 修复竖排 + 自适应 */
.pagination a{
    display: inline-block !important;
    min-width: 52px;
    height: 42px;
    line-height: 42px;
    padding: 0 6px;
    border: 1px solid #99ccaa;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap !important;
    color:#333;
    text-decoration: none;
    font-size: 15px;
}
/* 当前页码激活高亮 */
.pagination a.active{
    background:#008844;
    border-color:#008844;
    color:#ffffff;
}
/*手机端 768px以下适配缩小按钮*/
@media (max-width:768px){
    .pagination a{
        min-width: 40px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
}




/*底部联系方式对齐修复*/
/*底部四栏不等宽布局优化 - 解决右侧空白拥挤*/
.footer-grid{
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 2.6fr;
    gap: 30px;
    margin-bottom:40px;
}

/*底部联系方式标签对齐*/
.footer-contact{
    list-style:none;
    padding:0;
    margin:0;
}
.footer-contact li{
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 8px;
    margin-bottom: 12px;
    align-items: start;
}
.footer-contact li b{
    text-align: right;
    display:block;
}

/*手机端自动变回单列*/
@media (max-width:768px){
    .footer-grid{
        grid-template-columns: 1fr;
        gap:24px;
    }
    .footer-contact li{
        grid-template-columns: 1fr;
    }
    .footer-contact li b{
        text-align:left;
    }
}

/* ============================================================
   404 Error Page（绿色主题 · 带产品推荐与转化）
   ============================================================ */
.error-hero {
  background: linear-gradient(180deg, var(--accent-light) 0%, #ffffff 100%);
  padding: 70px 0 60px;
  text-align: center;
}
.error-wrap { max-width: 760px; }
.error-art svg { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.error-hero h1 {
  font-size: 26px; margin: 22px 0 10px; color: var(--primary-dark);
}
.error-sub { color: var(--text-light); margin-bottom: 26px; font-size: 15px; }

/* 404 站内搜索框 */
.error-search {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto 28px;
  background: #fff; border: 1px solid var(--border); border-radius: 50px;
  padding: 5px 5px 5px 18px; box-shadow: var(--shadow);
}
.error-search input {
  flex: 1; min-width: 0; border: none; outline: none; font-size: 14px;
  color: var(--text); background: transparent;
}
.error-search button {
  flex-shrink: 0; border: none; cursor: pointer; border-radius: 50px;
  background: var(--primary); color: #fff; font-size: 14px;
  padding: 9px 22px; transition: background .2s;
}
.error-search button:hover { background: var(--primary-dark); }

/* 404 主按钮组 */
.error-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 18px;
}
.error-actions .btn { padding: 11px 26px; font-size: 15px; }
.error-actions .btn-outline {
  background: #fff; color: var(--primary);
  border: 1px solid var(--primary);
}
.error-actions .btn-outline:hover { background: var(--accent-light); }
.error-phone { color: var(--text-light); font-size: 14px; }
.error-phone a { color: var(--primary); font-weight: 700; }

/* 404 热销产品（复用 product-card，两列到四列自适应） */
.error-product-grid { grid-template-columns: repeat(4, 1fr); }
.error-product-grid .product-card { box-shadow: var(--shadow); }
.error-product-grid .product-thumb { height: 160px; }

/* 404 热门分类 */
.error-cat-grid { margin-bottom: 8px; }
.error-cat-grid .category-card { padding: 14px 10px; font-size: 14px; }

/* 404 页面移动端适配 */
@media (max-width: 768px) {
  .error-hero { padding: 48px 0 40px; }
  .error-art svg { max-width: 300px; }
  .error-hero h1 { font-size: 21px; }
  .error-sub { font-size: 14px; }
  .error-search { margin-bottom: 22px; }
  .error-search button { padding: 9px 16px; font-size: 13px; }
  .error-actions .btn { padding: 10px 20px; font-size: 14px; }
  /* 404 分类改为换行排列，不启用首页横向滑动 */
  .error-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-auto-flow: row;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .error-cat-grid .category-card { padding: 11px 6px; font-size: 13px; }
}
@media (max-width: 640px) {
  .error-product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .error-product-grid .product-thumb { height: 150px; }
}
@media (max-width: 400px) {
  .error-product-grid { grid-template-columns: 1fr; }
  .error-actions { flex-direction: column; align-items: stretch; }
  .error-actions .btn { text-align: center; }
}


