/* ============================================
   普方众智 Pufang Zhongzhi - 专业天线制造商
   参考 kbt-china.com B2B 工业风格
   ============================================ */

/* --- CSS Variables (Pufang Zhongzhi Brand Blue - 深蓝主色调) --- */
:root {
  --primary: #1a2a4a;
  --primary-dark: #0f1a33;
  --primary-light: #243860;
  --primary-lighter: #2e4875;
  --primary-gradient: linear-gradient(135deg, #1a2a4a 0%, #0f1a33 100%);
  --accent: #1a2a4a;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-gray: #eef1f6;
  --text-dark: #222222;
  --text-body: #444444;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e0e4ea;
  --border-dark: #c8ced9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-md: 6px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }
h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 20px; } h4 { font-size: 16px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ============================================
   TOP BAR - 语言切换 + 联系方式
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  height: 34px;
  line-height: 34px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.85); margin-left: 15px; transition: opacity 0.2s; }
.top-bar a:hover { color: #fff; opacity: 1; }
.lang-switch { display: flex; gap: 8px; align-items: center; }
.lang-switch span { cursor: pointer; opacity: 0.65; transition: opacity 0.2s; }
.lang-switch span:hover, .lang-switch span.active { opacity: 1; color: #fff; }

/* Bilingual toggle button group (top bar + nav) */
.lang-btn-group { display: flex; gap: 2px; align-items: center; border-radius: 4px; overflow: hidden; }
.lang-btn {
  padding: 3px 10px; font-size: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3); background: transparent;
  color: rgba(255,255,255,0.65); transition: all 0.2s;
  font-family: inherit; line-height: 1.4;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.lang-btn.active { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.5); font-weight: 600; }

/* Nav bar version (on white background) */
.header .lang-switch { margin-left: 12px; }
.header .lang-btn { border-color: #ccc; color: #666; }
.header .lang-btn:hover { color: var(--primary); border-color: var(--primary); }
.header .lang-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.top-contact { display: flex; gap: 18px; }

/* ============================================
   HEADER - LOGO + 导航栏
   ============================================ */
.header-wrapper { background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { 
  height: 62px; 
  width: auto; 
  max-width: 220px; 
  object-fit: contain;
  /* 蓝色提鲜：增强饱和度 + 稍微提高亮度 */
  filter: saturate(1.5) brightness(1.08);
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.nav-item {
  position: relative;
  padding: 12px 18px;
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item:hover, .nav-item.active { color: var(--primary); background: rgba(13,71,161,0.04); }
.nav-item .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  z-index: 1001;
  overflow: hidden;
  animation: fadeDown 0.2s ease;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-body);
  font-size: 13.5px;
  border-bottom: 1px solid var(--bg-gray);
  transition: all 0.15s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--primary); color: #fff; padding-left: 26px; }

/* Mobile Menu Toggle */
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-dark); cursor: pointer; padding: 8px; }

/* ============================================
   HERO BANNER - 专业大图区域
   ============================================ */
.hero-banner {
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
/* 轮播容器 */
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 深色遮罩，保证文字清晰可读 */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 30, 70, 0.55);
  z-index: 1;
}
/* 左右箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px; height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  line-height: 1;
  padding: 0;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.85);
}
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }
/* 底部指示点 */
.hero-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active { background: #fff; width: 26px; }
.hero-content { position: relative; z-index: 1; }
.hero-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; color: #fff; }
.hero-subtitle { font-size: 17px; opacity: 0.88; margin-bottom: 28px; font-weight: 300; max-width: 650px; line-height: 1.7; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============================================
   SECTION - 通用区块样式
   ============================================ */
.section { padding: 55px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: 26px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-desc { color: var(--text-light); font-size: 14.5px; margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================
   PRODUCT CATEGORIES - 产品分类（4列网格）
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lighter);
}
.cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}
.cat-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.category-card h3 { font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.category-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.cat-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--primary);
  background: rgba(13,71,161,0.08);
  padding: 3px 10px;
  border-radius: 10px;
}

/* ============================================
   FEATURED PRODUCTS - 最新产品展示（横向卡片）
   ============================================ */
.products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.prod-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.prod-image-placeholder {
  font-size: 48px;
  color: var(--primary-lighter);
  opacity: 0.35;
}
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.prod-info { padding: 18px; }
.prod-info h3 {
  font-size: 15.5px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.prod-params { display: flex; flex-direction: column; gap: 5px; }
.prod-param {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.prod-param-label { color: var(--text-muted); }
.prod-param-value { color: var(--text-body); font-weight: 500; }
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.prod-link svg { width: 14px; height: 14px; }
.prod-link:hover { gap: 8px; }

/* 首页热门产品缩小 1/3 */
#featured .prod-image { height: 133px; }
#featured .prod-info { padding: 12px; }
#featured .prod-info h3 { font-size: 13px; }
#featured .prod-param { font-size: 11px; }
#featured .prod-link { font-size: 11.5px; margin-top: 8px; }
#featured .prod-link svg { width: 12px; height: 12px; }
#featured .prod-badge { font-size: 9px; padding: 2px 8px; top: 6px; left: 6px; }

/* ============================================
   APPLICATIONS - 产品应用领域
   ============================================ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s;
}
.app-item:hover { border-color: var(--primary-lighter); box-shadow: var(--shadow-sm); }
.app-icon { font-size: 36px; margin-bottom: 12px; }
.app-item h4 { font-size: 14.5px; margin-bottom: 6px; }
.app-item p { font-size: 12px; color: var(--text-muted); }

/* ============================================
   COMPANY STATS / ADVANTAGES - 公司优势
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  border-top: 3px solid transparent;
  transition: all 0.3s;
}
.stat-card:hover { border-top-color: var(--primary); box-shadow: var(--shadow-sm); }
.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.1;
}
.stat-label { font-size: 14px; color: var(--text-light); }
.stat-unit { font-size: 14px; color: var(--primary); font-weight: 500; }

/* ============================================
   ABOUT PREVIEW - 关于我们预览
   ============================================ */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text p { font-size: 14.5px; line-height: 1.85; color: var(--text-body); margin-bottom: 16px; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.highlight-item svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.highlight-text h5 { font-size: 13.5px; font-weight: 600; color: var(--text-dark); }
.highlight-text span { font-size: 12px; color: var(--text-muted); }

.about-side {
  background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
}
.about-side h3 { font-size: 20px; margin-bottom: 16px; }
.about-data { display: flex; flex-direction: column; gap: 18px; }
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.data-label { font-size: 13px; color: var(--text-muted); }
.data-value { font-size: 16px; font-weight: 700; color: var(--primary); }

/* ============================================
   NEWS - 新闻动态
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  gap: 14px;
  transition: all 0.2s;
}
.news-item:hover { background: var(--bg-light); padding-left: 10px; }
.news-date {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 6px 0;
}
.news-date .day { font-size: 18px; font-weight: 700; line-height: 1; }
.news-date .month { font-size: 10px; opacity: 0.8; }
.news-title { font-size: 14px; color: var(--text-body); flex: 1; }
.news-item:hover .news-title { color: var(--primary); }

/* ============================================
   FOOTER - 页脚
   ============================================ */
.footer { background: #1a2744; color: rgba(255,255,255,0.7); padding: 50px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.8fr;
  gap: 30px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-about p { font-size: 13px; line-height: 1.75; margin-bottom: 12px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--primary-lighter); }
.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   PRODUCT LIST PAGE - 产品列表页
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
}

/* 锚点跳转时补偿 sticky 导航栏高度，避免内容被遮挡 */
[id] {
  scroll-margin-top: 80px;
}
.page-hero h1 { font-size: 28px; color: #fff; margin-bottom: 8px; }
.breadcrumb { font-size: 13px; opacity: 0.75; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* Product Filter Bar */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 24px auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-label { font-size: 13px; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.filter-tag {
  padding: 5px 14px;
  font-size: 12.5px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Product Grid (List Page) */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

/* Product Detail Table */
.param-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.param-table thead { background: var(--primary); color: #fff; }
.param-table th { padding: 6px 12px; font-weight: 600; font-size: 12px; text-align: left; }
.param-table td { padding: 5px 12px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.param-table tr:last-child td { border-bottom: none; }
.param-table tbody tr:hover { background: var(--bg-light); }
.param-name { font-weight: 600; color: var(--text-dark); width: 140px; background: var(--bg-light); }

/* ============================================
   ABOUT PAGE - 关于我们页
   ============================================ */
.about-section { padding: 45px 0; }
.about-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.intro-text h2 { font-size: 24px; margin-bottom: 18px; color: var(--primary); }
.intro-text p { font-size: 14.5px; line-height: 1.85; color: var(--text-body); margin-bottom: 14px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary-lighter);
}
.t-year { font-size: 18px; font-weight: 700; color: var(--primary); }
.t-event { font-size: 13.5px; color: var(--text-body); margin-top: 4px; }

/* ============================================
   横向时间轴 Timeline Horizontal
   ============================================ */
.timeline-h-wrap {
  overflow-x: auto;
  padding: 20px 0 30px;
  -webkit-overflow-scrolling: touch;
}
.timeline-h-wrap::-webkit-scrollbar { height: 6px; }
.timeline-h-wrap::-webkit-scrollbar-thumb {
  background: var(--primary-lighter);
  border-radius: 3px;
}
.timeline-h {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding-top: 16px;
}
/* 横向主轴线 */
.timeline-h::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lighter));
  border-radius: 2px;
}
.timeline-h-item {
  flex: 0 0 auto;
  width: 180px;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.th-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary), 0 2px 8px rgba(22,80,160,0.25);
  margin: 18px auto 10px;
  position: relative;
  z-index: 2;
}
.th-line {
  display: none;
}
.th-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.th-event {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  transition: all 0.25s;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.th-event:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22,80,160,0.12);
  transform: translateY(-2px);
}

/* Certificates / Qualifications */
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.cert-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-lighter); }
.cert-icon { font-size: 36px; margin-bottom: 10px; }
.cert-card h4 { font-size: 14px; margin-bottom: 6px; }
.cert-card p { font-size: 12px; color: var(--text-muted); }

/* Bases / Production */
.base-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.base-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  border-top: 4px solid var(--primary);
}
/* 深圳总部卡片 - 公司前台背景图 */
.base-card-shenzhen {
  background: transparent !important;
  position: relative !important;
  overflow: hidden !important;
}
.base-card-bg-shenzhen {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/公司前台.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  z-index: 0;
  opacity: 0.35;
}
.base-card-shenzhen > * { position: relative; z-index: 1; }
/* 梧州基地背景 */
.base-card-wuzhou .base-card-bg { opacity: 0.4 !important; }
.base-card h3 { font-size: 19px; color: var(--primary); margin-bottom: 14px; }
.base-card p { font-size: 14px; line-height: 1.75; color: var(--text-body); margin-bottom: 10px; }
.base-features { margin-top: 16px; }
.base-feat { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; }
.base-feat svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ============================================
   CONTACT PAGE - 联系我们
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 35px; }
.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 35px 30px;
}
.contact-info-card h3 { font-size: 22px; color: #fff; margin-bottom: 24px; }
.ci-item { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.ci-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.ci-item div h4 { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 3px; }
.ci-item div p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 35px 30px;
}
.contact-form-card h3 { font-size: 20px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-body);
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,71,161,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ============================================
   规格书下载闸口 / 内部入口 弹窗
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.55);
  display: none; align-items: center; justify-content: center; z-index: 2000;
  padding: 20px;
}
.modal-box {
  position: relative; background: #fff; border-radius: 12px; padding: 28px 26px;
  width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: modalIn .2s ease-out;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border: none; background: transparent; font-size: 24px; line-height: 1; color: #888;
  cursor: pointer; border-radius: 6px;
}
.modal-close:hover { background: #f0f0f0; color: #333; }
#gate-form .gate-row { margin-bottom: 12px; }
#gate-form input, #gate-form textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px; font-size: 14px;
  border: 1px solid #d6dbe3; border-radius: 8px; font-family: inherit;
}
#gate-form input:focus, #gate-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,71,161,.1); }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,71,161,0.3); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  padding: 10px 24px;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ============================================
   PARTNERS / CLIENTS LOGOS
   ============================================ */
.partners-strip {
  background: #fff;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.partner-logo {
  width: 100%;
  height: 64px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  padding: 4px 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.partner-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.partner-en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1px;
  line-height: 1.1;
}

/* ============================================
   EQUIPMENT / 设备展示
   ============================================ */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.equip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s;
}
.equip-card:hover { box-shadow: var(--shadow-sm); }
.equip-img {
  height: 120px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 32px;
  color: var(--primary-lighter);
  opacity: 0.4;
}
.equip-card h4 { font-size: 13.5px; color: var(--text-dark); }

/* ============================================
   RESPONSIVE 响应式
   ============================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; }
  .about-preview .about-side { order: -1; }
}
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .main-nav { display: none; }

  /* Mobile nav open state */
  .main-nav.nav-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav.nav-open .nav-item {
    padding: 14px 22px;
    border-bottom: 1px solid #eee;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .main-nav.nav-open .nav-item .arrow {
    align-self: flex-start;
    transition: transform 0.2s;
  }
  .main-nav.nav-open .nav-item.open > .arrow {
    transform: rotate(180deg);
  }
  .main-nav.nav-open .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    margin-top: 4px;
    background: #f5f7fa;
    border-radius: 4px;
    padding-left: 0;
    animation: none;
  }
  .main-nav.nav-open .nav-item.open > .dropdown-menu {
    display: block;
  }
  .main-nav.nav-open .dropdown-menu a {
    padding: 10px 16px;
    border-bottom: 1px solid #e8eaef;
  }
  .main-nav.nav-open .dropdown-menu a:last-child { border-bottom: none; }
  .main-nav.nav-open .nav-lang-switch { display: flex; padding: 10px 22px; }
  .hero-title { font-size: 26px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .base-cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .partner-logo { height: 56px; padding: 2px 6px; }
  .partner-text { font-size: 11px; }
  .partner-en { font-size: 8px; }
  .section { padding: 35px 0; }
  .hero-banner { padding: 40px 0; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partner-logo { height: 50px; padding: 2px 4px; }
  .partner-text { font-size: 10px; }
}
  .about-highlights { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-10 { gap: 10px; }

/* ============================================
   PRODUCT CENTER - 产品中心（左右布局版）
   匹配竞品KBT架构：左侧深蓝二级侧边栏 + 右侧内容区
   ============================================ */

/* --- 整体布局：左侧边栏 + 右侧内容 --- */
.product-center-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 0;              /* 左侧边栏与顶部导航/面包屑贴合 */
  padding-bottom: 50px;
  scroll-margin-top: 150px;   /* 点击分类滚动时预留顶部导航空间 */
}

/* --- 左侧深蓝分类侧边栏 --- */
.product-sidebar {
  flex: 0 0 240px;
  min-width: 240px;
  background: #1a2744;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.product-sidebar-title {
  background: linear-gradient(135deg, #0f1a33, #1a2a4a);
  font-weight: 700;
  padding: 18px 20px;
  letter-spacing: 1px;
}
.product-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 一级分类 */
.product-sidebar-menu > li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-sidebar-menu > li:last-child { border-bottom: none; }
.product-sidebar-menu > li > a,
.product-sidebar-menu > li > .cat-link {
  display: block;
  padding: 14px 20px;
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.product-sidebar-menu > li > a:hover,
.product-sidebar-menu > li > .cat-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding-left: 26px;
}

/* 带子菜单的项 - 三角箭头 */
.product-sidebar-menu > li.has-submenu > a::after,
.product-sidebar-menu > li.has-submenu > .cat-link::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
  pointer-events: none;  /* 点击穿透箭头，确保始终触发 a 标签点击事件 */
}
.product-sidebar-menu > li.has-submenu.expanded > a::after,
.product-sidebar-menu > li.has-submenu.expanded > .cat-link::after {
  transform: translateY(-30%) rotate(180deg);
}
.product-sidebar-menu > li.has-submenu.active > a,
.product-sidebar-menu > li.has-submenu.active > .cat-link {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* 二级子分类列表 - 灰色底+深灰文字 */
.submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background: #f0f2f5;
}
.submenu-list.open { display: block; }
.submenu-list li {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.submenu-list li:last-child { border-bottom: none; }
.submenu-list li::before {
  content: '\2022';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: #999;
}
.submenu-list li a {
  display: block;
  padding: 10px 18px 10px 30px;
  font-size: 13px;
  color: #444;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.submenu-list li a:hover {
  background: #e2e6eb;
  color: #1a2a4a;
  padding-left: 34px;
}
.submenu-list li a.active {
  color: #1a2a4a;
  font-weight: 600;
  background: #dce2ea;
}

/* 新品推荐快捷入口 */
.sidebar-new-badge {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

/* --- 右侧内容区 --- */
.product-main-content {
  flex: 1;
  min-width: 0;
  padding-top: 40px;          /* 产品网格整体下移，避免贴顶 */
  scroll-margin-top: 150px;   /* 点击分类滚动时预留 sticky header+top-bar 高度 */
}

/* 搜索筛选栏（匹配竞品图1） */
.product-search-bar {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.product-search-bar select {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-body);
  background: #fff;
  min-width: 150px;
  outline: none;
  transition: border-color 0.2s;
}
.product-search-bar select:focus { border-color: var(--primary); }
.product-search-input {
  flex: 1;
  min-width: 160px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.product-search-input:focus { border-color: var(--primary); }
.product-search-btn {
  padding: 7px 22px;
  background: #1a2744;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.product-search-btn:hover { background: #0f1a33; }

/* 区域标题 */
.content-section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2.5px solid var(--primary);
  display: inline-block;
}
.content-section-title .new-icon {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 600;
  line-height: 1.3;
}

/* --- 产品型号卡片网格 --- */
.product-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.product-model-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-model-card:hover {
  box-shadow: 0 6px 20px rgba(26,42,74,0.15);
  transform: translateY(-4px);
  border-color: var(--primary-lighter);
}
.product-model-card-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f0f2f5 0%, #e2e6eb 100%);
  font-size: 32px;
  color: #555;
}
.product-model-card-img img {
  opacity: 1;
  max-width: 85%;
  max-height: 85%;
}
.product-model-card-img:not(:has(img)) {
  opacity: 0.35;
}
.product-model-card-info {
  padding: 10px 10px 12px;
  text-align: center;
}
.product-model-card-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 4px;
}
.product-model-card-info p {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
}
.product-model-card:hover h4 { color: var(--primary); }

/* 应用场景卡片（匹配竞品图2） */
.app-scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.app-scenario-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 20px 24px;
  text-align: center;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.app-scenario-card:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.app-scenario-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #e8f0fe, #d0e2f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
}
.app-scenario-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.app-scenario-card p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.55;
}

/* ============================================
   PRODUCT DETAIL PANEL - 产品详情展开面板
   点击卡片后在下方展示规格书（左图+右参数表）
   ============================================ */
.product-detail-panel {
  display: none;
  margin-top: 8px;
  background: #fff;
  border: 2px solid var(--primary-lighter);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: panelSlideIn 0.3s ease-out;
}
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.detail-panel-inner {
  padding: 16px 18px 14px;
}

/* 面板头部 */
.detail-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
}
.detail-panel-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.panel-close-btn {
  background: none;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-close-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 面板主体：左图 + 右参数表 */
.detail-panel-body {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* 左侧图片区 */
.detail-panel-image {
  flex: 0 0 230px;
  min-width: 230px;
}
.panel-photo-area {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #EBF4FF, #D6EAFF, #C5DDF7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panel-icon-placeholder span {
  font-size: 58px;
  opacity: 0.25;
  filter: grayscale(30%);
}

/* 右侧参数表 */
.detail-panel-specs {
  flex: 1;
  min-width: 0;
}
.panel-spec-table {
  width: 100%;
  margin: 0;
  border: 1px solid var(--border);
}
.panel-spec-table .param-name {
  width: 140px;
  white-space: nowrap;
}
.panel-spec-table .spec-value {
  word-break: break-all;
}
.panel-spec-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* 底部操作栏 */
.detail-panel-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  text-align: right;
}
.panel-consult-btn {
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 900px) {
  .detail-panel-body { flex-direction: column; }
  .detail-panel-image { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .panel-photo-area { height: 260px; }
}

/* 产品详情多图缩略图 */
.panel-gallery {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.panel-gallery-thumb {
  width: 62px;
  height: 62px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.panel-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.panel-gallery-thumb:hover,
.panel-gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-lighter);
}
.panel-gallery-thumb.active {
  background: var(--primary-lighter);
}
.product-detail-wrapper {
  display: flex;
  gap: 40px;
  padding: 30px 0 40px;
}
.product-detail-image {
  flex: 0 0 400px;
  min-width: 400px;
}
.detail-main-photo {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #EBF4FF, #D6EAFF);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  opacity: 0.3;
  color: var(--primary);
}
.detail-photo-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.detail-action-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12.5px;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}
.detail-action-btn:hover { border-color: var(--primary); color: var(--primary); }

.product-detail-specs { flex: 1; min-width: 0; }
.detail-product-name {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.detail-product-sku {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.spec-list { list-style: none; padding: 0; margin: 0 0 28px; }
.spec-list li {
  display: flex;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  line-height: 1.5;
}
.spec-list li:last-child { border-bottom: none; }
.spec-label {
  flex: 0 0 130px;
  min-width: 130px;
  color: var(--text-light);
  font-weight: 500;
}
.spec-value { color: var(--text-dark); font-weight: 400; }

.download-section {
  padding-top: 18px;
  border-top: 2px solid var(--bg-gray);
  margin-bottom: 24px;
}
.download-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #cc0000, #ee3333);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.download-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204,0,0,0.3);
  background: linear-gradient(135deg, #b30000, #dd2222);
  color: #fff;
}

.consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 34px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.consult-btn:hover {
  background: linear-gradient(135deg, #0f1a33, #1a2a4a);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,42,74,0.35);
  color: #fff;
}

/* ============================================
   PRODUCT CENTER 响应式
   ============================================ */
@media (max-width: 1024px) {
  .product-model-grid { grid-template-columns: repeat(3, 1fr); }
  .app-scenario-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-wrapper { flex-direction: column; }
  .product-detail-image { flex: none; min-width: 100%; max-width: 450px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .product-center-layout { flex-direction: column; }
  .product-sidebar { flex: none; width: 100%; min-width: 100%; }
  .product-model-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .app-scenario-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-search-bar { flex-direction: column; align-items: stretch; }
  .product-search-bar select { min-width: 100%; }
  .product-search-input { min-width: 100%; }
}
@media (max-width: 480px) {
  .product-model-grid { grid-template-columns: 1fr; }
  .app-scenario-grid { grid-template-columns: 1fr; }
}
