/* ============================================================
   【基础样式重置】
   作用：清除浏览器默认样式，统一所有浏览器的显示效果
   小白说明：这里一般不需要修改，除非你要改全局字体、颜色等
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* ============================================================
   【网站顶部导航栏】
   作用：控制网站最顶部的导航栏样式，包括顶部信息条、logo、菜单
   小白说明：
   - .header-top 是最顶部的深色条（显示邮箱、WhatsApp、语言切换）
   - .header-main 是主要导航栏（logo + 菜单 + 获取报价按钮）
   - .logo 是左上角的公司logo文字
   - .nav 是导航菜单容器
   - .nav a 是每个菜单项的样式
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-top {
  background: #0f2942;
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.header-top a { margin-left: 16px; opacity: 0.9; }
.header-top a:hover { opacity: 1; color: #f59e0b; }
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #1a56db;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: #f59e0b; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav a:hover, .nav a.active { color: #1a56db; }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1a56db;
}
/* 【手机端汉堡菜单按钮】
   作用：屏幕宽度小于1024px时显示的三横线菜单按钮
   小白说明：点击这个按钮会从右侧滑出导航菜单，手机端用户用这个导航 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a56db;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* 【手机端菜单背景遮罩】
   作用：手机端菜单展开时，后面的半透明黑色遮罩，点击遮罩可关闭菜单 */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-overlay.show { display: block; opacity: 1; }
.lang-switch {
  padding: 6px 16px;
  border: 1px solid #1a56db;
  border-radius: 4px;
  font-size: 13px;
  color: #1a56db;
  transition: all 0.3s;
  white-space: nowrap;
}
.lang-switch:hover {
  background: #1a56db;
  color: #fff;
}
/* ============================================================
   【首页首屏大横幅】
   作用：首页最顶部的大横幅区域，显示主标题、副标题、按钮
   小白说明：
   - .hero 是整个横幅区域（改背景色/背景图在这里）
   - .hero h1 是大标题（改字体大小、颜色在这里）
   - .hero p 是副标题说明文字
   - .hero-buttons 是按钮容器
   - .btn 是所有按钮的通用样式
   - .btn-primary 是橙色主按钮
   - .btn-outline 是白色边框按钮
   ============================================================ */
.hero {
  position: relative;
  height: 520px;
  background: linear-gradient(135deg, #0f2942 0%, #1a56db 100%);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: #f59e0b;
  color: #fff;
}
.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #1a56db;
}
/* ============================================================
   【通用内容区块】
   作用：网站每个内容板块的通用样式
   小白说明：
   - .section 是每个内容板块（改上下间距在这里）
   - .section-title 是板块标题区域
   - .section-title h2 是板块大标题
   - .section-title p 是板块副标题说明
   - .section-title .line 是标题下面的橙色装饰线
   ============================================================ */
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0f2942;
  margin-bottom: 12px;
}
.section-title p {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .line {
  width: 60px;
  height: 3px;
  background: #f59e0b;
  margin: 16px auto 0;
}
/* ============================================================
   【首页"为什么选择我们"优势板块】
   作用：首页展示四大核心优势的卡片区域
   小白说明：
   - .adv-grid 是优势卡片的网格布局（改一行几个卡片在这里）
   - .adv-card 是每个优势卡片（改卡片背景、圆角、阴影在这里）
   - .adv-icon 是卡片顶部的图标
   - .adv-card h3 是卡片标题
   - .adv-card p 是卡片说明文字
   ============================================================ */
.advantages { background: #f8fafc; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: #fff;
  padding: 36px 24px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: #1a56db;
}
.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a56db, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.adv-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0f2942;
}
.adv-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
/* ============================================================
   【产品展示板块】
   作用：首页和产品页的产品卡片展示区域
   小白说明：
   - .product-grid 是产品卡片的网格布局（改一行几个产品在这里）
   - .product-card 是每个产品卡片（改卡片样式在这里）
   - .product-img 是产品卡片顶部的图片区域（改图片高度在这里）
   - .product-info 是产品卡片的文字信息区域
   - .product-info h3 是产品名称
   - .product-info p 是产品描述
   - .product-tags 是产品标签容器
   - .product-tags span 是每个标签（改标签颜色、圆角在这里）
   - .product-link 是"查看详情"链接
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.product-img {
  height: 220px;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
}
.product-img .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f59e0b;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.product-info { padding: 20px; }
.product-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f2942;
}
.product-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.product-tags span {
  font-size: 12px;
  padding: 3px 10px;
  background: #eff6ff;
  color: #1a56db;
  border-radius: 12px;
}
.product-link {
  color: #1a56db;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-link:hover { color: #f59e0b; }
/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #0f2942 0%, #1a56db 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}
/* ===== Certificates ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cert-card {
  text-align: center;
  padding: 24px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s;
}
.cert-card:hover {
  border-color: #1a56db;
  box-shadow: 0 4px 12px rgba(26,86,219,0.15);
}
.cert-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.cert-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f2942;
}
.cert-card p {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
/* ===== Cases ===== */
.cases { background: #f8fafc; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.case-img {
  height: 200px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.case-info { padding: 20px; }
.case-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f2942;
}
.case-info p {
  font-size: 13px;
  color: #666;
}
/* ===== OEM Section ===== */
.oem-section { background: #f8fafc; }
.oem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
.oem-content h2 {
  font-size: 30px;
  color: #0f2942;
  margin-bottom: 20px;
}
.oem-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.8;
}
.oem-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.oem-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.oem-feature .check {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.oem-feature span {
  font-size: 14px;
  color: #444;
}
.oem-visual {
  height: 400px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}
/* ===== Page Header (内页) ===== */
.page-header {
  background: linear-gradient(135deg, #0f2942 0%, #1a56db 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.page-header p {
  font-size: 16px;
  opacity: 0.85;
}
.breadcrumb {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}
.breadcrumb a:hover { color: #f59e0b; }
/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.product-gallery {
  background: #f8fafc;
  border-radius: 8px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}
.product-detail-info h1 {
  font-size: 28px;
  color: #0f2942;
  margin-bottom: 16px;
}
.product-detail-info .desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.8;
}
.detail-specs {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.detail-specs h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #0f2942;
}
.detail-specs ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px dashed #e5e7eb;
}
.detail-specs ul li:last-child { border-bottom: none; }
.detail-specs ul li::before {
  content: '✓ ';
  color: #10b981;
  font-weight: bold;
}
.inquiry-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 20px;
}
.inquiry-box h4 {
  font-size: 16px;
  color: #92400e;
  margin-bottom: 12px;
}
.inquiry-box p {
  font-size: 14px;
  color: #78350f;
  margin-bottom: 16px;
}
/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.about-img {
  height: 380px;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}
.about-text h2 {
  font-size: 28px;
  color: #0f2942;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
}
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #1a56db;
}
.stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}
/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.contact-info h2 {
  font-size: 26px;
  color: #0f2942;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: #1a56db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.contact-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f2942;
  margin-bottom: 4px;
}
.contact-text p {
  font-size: 14px;
  color: #666;
}
.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.contact-form h2 {
  font-size: 24px;
  color: #0f2942;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}
.form-group label .required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #1a56db;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover { background: #1e40af; }
/* ===== OEM Page ===== */
.oem-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.process-step {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  position: relative;
}
.process-step .step-num {
  width: 36px;
  height: 36px;
  background: #1a56db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}
.process-step h4 {
  font-size: 15px;
  color: #0f2942;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 12px;
  color: #888;
}
/* ===== Footer ===== */
.footer {
  background: #0f2942;
  color: #fff;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}
.footer-col p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.8;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: #f59e0b; }
.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo span { color: #f59e0b; }
/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== Responsive ===== */
/* 大屏以下：缩小导航间距和字体，防止换行 */
/* 【响应式：屏幕宽度 ≤ 1280px】
   作用：中等屏幕（小笔记本）时缩小导航间距和字体，防止菜单换行 */
@media (max-width: 1280px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .logo { font-size: 20px; }
  .header-main .btn { padding: 6px 14px; font-size: 13px; }
}
/* 平板：汉堡菜单 + 侧边导航 */
/* 【响应式：屏幕宽度 ≤ 1024px】
   作用：平板屏幕时隐藏桌面导航，显示汉堡菜单按钮，点击从右侧滑出菜单 */
@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .header-main .btn { display: none; }
  .header-main { padding: 12px 0; }
  .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    padding: 80px 24px 24px;
    gap: 0;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav a {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }
  .nav a.active::after { display: none; }
  .nav a.active { color: #1a56db; font-weight: 600; }
}
/* 移动端 */
/* 【响应式：屏幕宽度 ≤ 768px】
   作用：手机屏幕时，所有多列布局变成单列，字体缩小，按钮变宽 */
@media (max-width: 768px) {
  .hero { height: auto; padding: 60px 0; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
  .section-title { margin-bottom: 36px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .oem-grid { grid-template-columns: 1fr; }
  .oem-visual { height: 250px; font-size: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-img { height: 250px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .oem-process { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .header-top { font-size: 12px; }
  .header-top a { margin-left: 10px; }
  .cta-section h2 { font-size: 22px; }
  .page-header h1 { font-size: 26px; }
  .page-header { padding: 40px 0; }
  .contact-form { padding: 20px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 24px; bottom: 20px; right: 20px; }
}
/* 【响应式：屏幕宽度 ≤ 480px】
   作用：小屏手机（如iPhone SE）时的额外优化 */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
}


/* ========== 详情页子分类大图区（参考产品中心 product-img） ========== */
.subcat-img {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.subcat-emoji {
  font-size: 64px;
  line-height: 1;
}
.subcat-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
}


/* ========== 图片统一约束：拉升填满+居中，不溢出 ========== */
.product-img img,
.about-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}
.product-img {
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.about-img {
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}


/* ========== 图片容器背景统一白色，去掉彩色渐变边 ========== */
.product-img,
.about-img,
.subcat-img {
  background: #ffffff !important;
}


/* ========== 内联Grid统一样式（原内联style改为class，支持移动端适配） ========== */
.inline-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.inline-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.inline-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.inline-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.inline-grid-auto {
  display: grid;
  gap: 24px;
}

/* ========== 移动端适配补充（覆盖内联grid改为class后的布局） ========== */
@media (max-width: 1024px) {
  .inline-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .inline-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .inline-grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .inline-grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .inline-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .inline-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* 详情页子分类卡片内边距调整 */
  .subcat-img { height: 160px; }
}
@media (max-width: 480px) {
  .inline-grid-4 { grid-template-columns: 1fr; }
  .inline-grid-5 { grid-template-columns: 1fr; }
  .subcat-img { height: 140px; }
}
