/* =============================================
   Wan Hua Chemical Co.,Ltd. - 专业化工网站样式
   参考: whchemsd.com 风格
   ============================================= */

/* ===== 字体与变量 ===== */
:root {
  --primary:       #093e72;
  --primary-dark:  #062a52;
  --primary-light: #1260a4;
  --accent:        #0096d6;
  --accent-dark:   #0078b0;
  --white:         #ffffff;
  --off-white:     #f4f8fc;
  --bg-alt:        #eef3f8;
  --text:          #1e2d3d;
  --text-muted:    #62717f;
  --border:        #dde6ef;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow:        0 5px 22px rgba(0,0,0,0.10);
  --shadow-lg:     0 14px 40px rgba(0,0,0,0.14);
  --radius:        8px;
  --radius-lg:     14px;
  --ease:          0.26s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== 布局容器 ===== */
.container { max-width: 1200px !important; }

/* ===== 公共 Section 样式 ===== */
.section       { padding: 76px 0; }
.section-sm    { padding: 48px 0; }
.section-alt   { background: var(--off-white); }
.section-dark  { background: var(--primary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header-left { text-align: left; margin-bottom: 36px; }

.section-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header-left .section-title::after { margin-left: 0; }
.section-dark .section-title { color: var(--white); }
.section-dark .section-title::after { background: rgba(255,255,255,0.6); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 580px;
  margin: 0 auto;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.72); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(0,150,214,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-primary-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  padding: 7px 16px;
  font-size: 0.82rem;
}
.btn-primary-outline:hover { background: var(--accent); color: var(--white); }
.btn-ghost-sm {
  background: var(--off-white);
  color: var(--text-muted);
  border-color: var(--border);
  padding: 7px 16px;
  font-size: 0.82rem;
}
.btn-ghost-sm:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== 顶部导航 ===== */
/* ===== 导航栏 (Bootstrap navbar override) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
}
.site-navbar {
  padding: 0;
  background: var(--white) !important;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  min-height: 86px;
  flex-wrap: wrap;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 0;
}
.brand-logo {
  width: auto;
  height: 100px;
  max-width: 300px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.brand-text { min-width: 0; }
.brand-name {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  white-space: nowrap;
}
.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Toggler */
.navbar-toggler {
  border-color: var(--border) !important;
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23093e72' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Nav links */
.site-navbar .nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text) !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: color var(--ease), background var(--ease);
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--accent) !important;
  background: rgba(0,150,214,0.07);
}

/* WhatsApp contact — right side of navbar */
.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 7px 14px 7px 12px;
  border-radius: 8px;
  background: #25D366;
  color: #fff;
  flex-shrink: 0;
  transition: background .2s;
  margin-left: 12px;
}
.nav-whatsapp:hover { background: #1ebe5d; color: #fff; }
.nav-wa-icon { width: 22px; height: 22px; flex-shrink: 0; }
.nav-wa-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-wa-label { font-size: 0.7rem; opacity: .85; font-weight: 500; }
.nav-wa-num   { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }

@media (max-width: 991px) {
  .nav-whatsapp {
    margin: 8px 0 4px;
    display: inline-flex;
    width: fit-content;
  }
}

/* Bootstrap dropdown override */
.site-navbar .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  min-width: 200px;
}
.site-navbar .dropdown-item {
  font-size: 0.86rem;
  color: var(--text);
  padding: 8px 18px;
}
.site-navbar .dropdown-item:hover {
  background: var(--off-white);
  color: var(--accent);
}
.site-navbar .dropdown-item::before { content: '› '; color: var(--accent); }

/* Mobile nav */
@media (max-width: 991px) {
  .site-nav-inner { min-height: 60px; }
  .navbar-collapse { border-top: 1px solid var(--border); margin-top: 4px; }
  .site-navbar .nav-link { padding: 10px 8px !important; border-radius: 0; border-bottom: 1px solid var(--border); }
  .site-navbar .dropdown-menu { box-shadow: none; border: none; background: var(--off-white); border-radius: 0; }
  .btn-contact { margin: 8px 0 4px; display: inline-block; text-align: center; }
}

/* ===== Hero 横幅 ===== */
/* ===== Hero Slideshow ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,40,72,.78) 0%, rgba(5,40,72,.45) 55%, rgba(5,40,72,.15) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
}
.slide-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.slide-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 32px;
}
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.35); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== 内页 Banner ===== */
.page-banner {
  background: linear-gradient(135deg, #052848 0%, #0a4489 55%, #1268c0 100%);
  color: var(--white);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-banner-inner { position: relative; }
.page-banner h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.82); }
.breadcrumb a:hover { color: var(--white); }

/* ===== Qualifications ===== */
.qual-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.qual-item{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border);background:#fff;transition:transform .3s,box-shadow .3s;}
.qual-item:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);}
.qual-item img{width:100%;height:auto;object-fit:contain;display:block;transition:transform .4s;}
.qual-item:hover img{transform:scale(1.03);}
@media(max-width:768px){.qual-grid{grid-template-columns:1fr;}}

/* ===== 数据统计栏 ===== */
.stats-strip {
  background: var(--primary);
  padding: 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 7px;
  display: block;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

/* ===== 产品卡片 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.product-icon {
  width: 50px; height: 50px;
  background: rgba(0,150,214,0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.5rem;
}
.product-name {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-cas {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 9px;
  font-family: 'Courier New', monospace;
}
.product-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.55;
}
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== Homepage Featured Products Grid ===== */
.prod-home-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s;
}
.prod-home-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.13);
  transform: translateY(-4px);
}
.prod-home-card:hover .prod-home-link {
  color: var(--accent);
}

/* Image area — full width, fixed height */
.prod-home-img {
  width: 100%;
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.prod-home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.prod-home-card:hover .prod-home-img img {
  transform: scale(1.05);
}
.prod-home-img-placeholder {
  font-size: 3.5rem;
  color: var(--primary-light);
  opacity: .35;
}

/* Info area */
.prod-home-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.prod-home-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 5px;
}
.prod-home-cas {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  margin-bottom: 8px;
}
.prod-home-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.prod-home-link {
  font-size: .84rem;
  color: var(--primary);
  font-weight: 600;
  transition: color .2s;
}

/* ===== Homepage Advantages Grid ===== */
.adv-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: box-shadow .2s, transform .2s;
}
.adv-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.adv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #00507a) 100%);
}

/* ===== About Strip — Chemical Photo Mosaic ===== */
.about-chem-mosaic {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}
.about-chem-main {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-chem-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.about-chem-main:hover img { transform: scale(1.04); }
.about-chem-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-chem-sub img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease;
}
.about-chem-sub img:hover { transform: scale(1.04); }

/* ===== 关于我们区块（首页） ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.mini-stat {
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  padding: 13px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mini-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1.1;
}
.mini-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}
/* 无图片时用渐变占位 */
.about-img-placeholder {
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder .placeholder-icon { font-size: 4rem; opacity: 0.5; }

/* ===== 优势特点 ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  transition: all var(--ease);
}
.advantage-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.adv-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,150,214,0.3);
}
.advantage-card h3 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== 新闻卡片 ===== */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
}
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.news-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-light);
}
.news-card-top {
  height: 150px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light) 50%, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: rgba(255,255,255,0.25);
  position: relative;
}
.news-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 9px;
}
.news-card h3 {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.45;
  flex: 1;
}
.news-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-more:hover { text-decoration: underline; }

/* ===== 联系页面 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 36px;
  align-items: start;
}
/* ===== Contact Page ===== */
.contact-info-card {
  background: linear-gradient(160deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
}
.contact-info-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-lead {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.contact-info-card > .lead {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-icon-wrap {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.13);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-item-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.57);
  margin-bottom: 2px;
}
.contact-item-value {
  font-size: 0.95rem;
  font-weight: 600;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-card > .lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 26px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,150,214,0.14);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all var(--ease);
  width: 100%;
}
.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,150,214,0.35);
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}
.contact-info-list { margin-top: 20px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.contact-info-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-info-value { font-size: 0.95rem; font-weight: 600; }
.contact-info-value a { color: inherit; text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }
.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: #25d366;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}
.contact-wa-btn:hover { background: #1da851; transform: translateY(-2px); color: #fff; }
.contact-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
}
.contact-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
}
.req { color: #ef4444; }
.qc-item { padding: 20px 10px; }
.qc-icon { font-size: 1.8rem; margin-bottom: 8px; }
.qc-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.qc-value { font-size: 0.95rem; font-weight: 600; color: var(--primary); }
.qc-value a { color: inherit; text-decoration: none; }
.qc-value a:hover { text-decoration: underline; }

/* ===== 产品页面 ===== */
.product-cat-section { margin-bottom: 52px; }
.cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.cat-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cat-header h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
}
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.subcat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--ease);
}
.subcat-card:hover {
  border-color: var(--accent);
  background: #eef6ff;
  box-shadow: var(--shadow-sm);
}
.subcat-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subcat-card h4::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.subcat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== 关于页面 ===== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}
.about-intro-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-intro-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}
.license-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--off-white);
  width: 100%;
}
.adv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--ease);
}
.adv-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.adv-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.adv-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== 新闻页面 ===== */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--ease);
}
.news-page-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: var(--accent);
}
.news-page-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
  position: relative;
}
.news-page-body { padding: 24px; }
.news-page-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.news-cat-tag {
  background: rgba(0,150,214,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.news-page-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.news-page-card h3 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.45;
}
.news-page-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

/* News filter pills */
.news-filter-pill {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--text-muted);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  user-select: none;
}
.news-filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.news-filter-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== 页脚 ===== */
.site-footer {
  background: #0b2740;
  color: var(--white);
  padding: 58px 0 0;
}
.footer-grid {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-img {
  width: 300px; height: 100px;
  object-fit: contain;
  /* background: var(--white); */
  border-radius: 6px;
  padding: 3px;
}
.footer-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
.footer-logo-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}
.footer-about-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before { content: '›'; color: var(--accent); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-icon { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-text {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
}
.footer-contact-text strong { color: rgba(255,255,255,0.85); display: block; margin-bottom: 1px; }
.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== 进入视图动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ===== 分隔线 ===== */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* =============================================
   Products Page — Sidebar + Detail Panel
   ============================================= */

/* Products layout uses Bootstrap row/col */

/* ===== Sidebar ===== */
.prod-sidebar {
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-search-wrap {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  transition: border-color var(--ease);
}
.sidebar-search:focus-within { border-color: var(--accent); }
.sidebar-search-icon { color: var(--text-muted); font-size: 0.95rem; flex-shrink: 0; }
.sidebar-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  width: 100%;
  color: var(--text);
  font-family: inherit;
}
.sidebar-search input::placeholder { color: var(--text-muted); }
.sidebar-sec-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  padding: 14px 16px 6px;
}
.cat-nav { padding: 4px 8px 8px; }
.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}
.cat-nav-item:hover { background: var(--off-white); color: var(--accent); }
.cat-nav-item.active { background: rgba(0,150,214,0.1); color: var(--accent); font-weight: 700; }
.cat-nav-label { flex: 1; }
.cat-nav-count {
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
  transition: background var(--ease), color var(--ease);
}
.cat-nav-item.active .cat-nav-count { background: var(--accent); color: var(--white); }
.sidebar-cta-box {
  margin: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  color: var(--white);
}
.sidebar-cta-box h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.sidebar-cta-box p { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-bottom: 12px; line-height: 1.5; }
.sidebar-cta-btn {
  display: block;
  background: var(--white);
  color: var(--primary);
  border-radius: 6px;
  padding: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform var(--ease);
}
.sidebar-cta-btn:hover { transform: translateY(-1px); }

/* ===== Products Main Area ===== */
.prod-main { display: block; }
.prod-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.prod-result-count { font-size: 0.9rem; color: var(--text-muted); }
.prod-result-count strong { color: var(--primary); font-weight: 700; }
.prod-cat-heading { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

/* ===== Product Cards (grid) ===== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* Product image area */
.prod-card-img {
  width: 100%;
  height: 170px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-img-placeholder {
  font-size: 3rem;
  color: var(--primary-light);
  opacity: .25;
}

/* Info body */
.prod-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}
.prod-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.prod-card-cas {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  margin-bottom: 6px;
}
.prod-card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  white-space: nowrap;
}
.prod-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}
.btn-view-detail {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
  font-family: inherit;
}
.btn-view-detail:hover { background: var(--accent-dark); transform: translateY(-1px); }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-results-icon { font-size: 3rem; margin-bottom: 12px; }
.no-results h3 { color: var(--primary); margin-bottom: 6px; font-size: 1.1rem; }

/* ===== Pagination ===== */
.prod-pagination { margin-top: 32px; }
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  line-height: 1;
}
.page-btn:hover:not(:disabled):not(.active) {
  background: var(--bg-alt);
  border-color: var(--primary-light);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
  font-weight: 700;
}
.page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.page-prev, .page-next { padding: 0 14px; font-size: .85rem; }
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 36px;
  color: var(--text-muted);
  font-size: .9rem;
}
.page-info {
  margin-left: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== Detail Panel (right drawer) ===== */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.detail-overlay.open { opacity: 1; visibility: visible; }

.detail-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 500px;
  max-width: 100vw;
  background: var(--white);
  z-index: 600;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -6px 0 40px rgba(0,0,0,0.16);
  display: flex;
  flex-direction: column;
}
.detail-panel.open { transform: translateX(0); }

.dp-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  flex-shrink: 0;
}
.dp-header-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.dp-close {
  width: 32px; height: 32px;
  background: var(--off-white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
  font-family: inherit;
}
.dp-close:hover { background: #fee2e2; color: #dc2626; }

.dp-hero {
  padding: 26px 22px 22px;
  background: linear-gradient(135deg, #052848 0%, #0a4489 55%, #1268c0 100%);
  color: var(--white);
  flex-shrink: 0;
}
.dp-hero-icon { font-size: 2.8rem; margin-bottom: 12px; line-height: 1; }
.dp-hero h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.dp-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dp-cas-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Courier New', monospace;
}
.dp-cat-tag {
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dp-body { padding: 22px; flex: 1; }
.dp-section { margin-bottom: 22px; }
.dp-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.dp-desc { font-size: 0.9rem; color: var(--text); line-height: 1.7; }

.dp-spec-table { width: 100%; border-collapse: collapse; }
.dp-spec-table tr { border-bottom: 1px solid var(--border); }
.dp-spec-table tr:last-child { border-bottom: none; }
.dp-spec-table td { padding: 8px 0; font-size: 0.855rem; vertical-align: top; }
.dp-spec-table td:first-child { color: var(--text-muted); width: 42%; font-weight: 500; padding-right: 10px; }
.dp-spec-table td:last-child { color: var(--text); font-weight: 600; }

.dp-apps { display: flex; flex-direction: column; gap: 7px; }
.dp-app-item {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.875rem; color: var(--text); line-height: 1.5;
}
.dp-app-item::before { content: '▸'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.dp-pack-list { display: flex; flex-direction: column; gap: 7px; }
.dp-pack-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 0.875rem; color: var(--text);
}
.dp-pack-item::before { content: '📦'; font-size: 1rem; }

.dp-docs { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-doc-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  cursor: default;
  transition: all var(--ease);
}
.dp-doc-tag:hover { border-color: var(--accent); color: var(--accent); }

.dp-actions {
  display: flex; gap: 10px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
}
.dp-actions a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 700;
  text-align: center;
  transition: all var(--ease);
}
.dp-btn-quote { background: var(--accent); color: var(--white); border: 2px solid var(--accent); }
.dp-btn-quote:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.dp-btn-sample { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.dp-btn-sample:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }

/* ===== 响应式 (Bootstrap breakpoints) ===== */

/* sidebar sticky only on desktop */
@media (min-width: 992px) {
  .prod-sidebar { position: sticky; top: 80px; }
}

/* tablet */
@media (max-width: 991px) {
  .prod-sidebar { position: static; }
  .sidebar-cta-box { display: none; }
  .cat-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
  .cat-nav-item { padding: 6px 12px; font-size: 0.82rem; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 420px; }
  .slide-title { font-size: 1.8rem; }
  .slider-arrow { display: none; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
}

/* mobile */
@media (max-width: 767px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: auto; min-height: 340px; }
  .slider-track { height: auto; }
  .slide { height: auto; min-height: 340px; padding: 52px 0 64px; align-items: flex-start; }
  .slide-title { font-size: 1.4rem; }
  .slide-desc { font-size: 0.9rem; }
  .slide-cta { flex-direction: column; gap: 10px; }
  .section { padding: 40px 0; }
  .news-page-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-logo { height: 40px; max-width: 140px; }
  .brand-name { font-size: 0.85rem; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(42px + env(safe-area-inset-bottom, 0)); }
}

@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
  .hero-slider { min-height: 300px; }
  .slide { min-height: 300px; padding: 44px 0 60px; }
  .slide-title { font-size: 1.2rem; }
}
