/* ─── 全局样式 ─────────────────────────────────────── */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #0ea5e9;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1280px;
  --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── 按钮 ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: #f1f5f9; }
.btn-white-outline { background: transparent; color: white; border: 2px solid white; }
.btn-white-outline:hover { background: white; color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; font-weight: 500; }
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulk-bar select { min-width: 180px; }
.bulk-bar button { min-width: 100px; justify-content: center; }
.bulk-bar .btn-sm { padding: 6px 12px; font-size: 12px; }
th input[type="checkbox"], td input[type="checkbox"] { cursor: pointer; width: 16px; height: 16px; }
.btn-sm-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-sm-primary { background: var(--primary); color: white; border: none; }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  background: white; border-bottom: 1px solid var(--border);
  height: var(--header-height); position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; display: block; }
.footer-logo-word { font-size: 24px; font-weight: 900; letter-spacing: 1.5px; color: #fff; }
.logo-text { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 24px; }
.logo-main { font-size: 18px; font-weight: 800; color: var(--text); }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  padding: 8px 0; position: relative; transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search-form { display: flex; align-items: center; }
.header-search-box {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 20px; transition: all .2s; min-width: 180px;
}
.header-search-box:focus-within { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(102,126,234,.15); }
.header-search-box input {
  border: none; background: transparent; outline: none; font-size: 13px;
  color: var(--text); width: 100%; min-width: 120px;
}
.header-search-box input::placeholder { color: var(--text-light); }
.btn-inquiry-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--primary-light); color: var(--primary);
  border-radius: 20px; font-size: 14px; font-weight: 600;
  position: relative;
}
.btn-inquiry-header .badge {
  background: var(--primary); color: white; font-size: 11px;
  padding: 2px 8px; border-radius: 10px;
}
.lang-switcher { display: flex; gap: 2px; background: var(--bg-alt); border-radius: 18px; padding: 2px; }
.lang-switcher .lang-btn {
  padding: 5px 10px; border-radius: 14px; font-size: 12px; font-weight: 700;
  color: var(--text-secondary); transition: all 0.2s; text-decoration: none; letter-spacing: 0.5px;
}
.lang-switcher .lang-btn.active { background: var(--primary); color: white; }

/* ─── Language Dropdown ──────────────────────────────── */
.lang-dropdown { position: relative; }
.lang-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 18px; cursor: pointer; font-size: 13px; color: var(--text);
  transition: all .2s;
}
.lang-dropdown-toggle:hover { border-color: var(--primary); background: white; }
.lang-dropdown-toggle .lang-dropdown-current { font-weight: 600; }
.lang-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12); min-width: 180px;
  z-index: 1000; display: none; overflow: hidden;
}
.lang-dropdown-menu.open { display: block; }
.lang-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; color: var(--text); text-decoration: none;
  font-size: 13px; transition: background .15s;
}
.lang-dropdown-item:hover { background: var(--bg-alt); }
.lang-dropdown-item.active { color: var(--primary); background: rgba(102,126,234,.06); }
.lang-dropdown-item .lang-flag { font-size: 16px; }
.lang-dropdown-item .lang-label { flex: 1; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 70px;
  background: linear-gradient(120deg, #0b1220 0%, #12203c 45%, #1e3a8a 100%);
  color: white;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 78% 18%, rgba(37,99,235,.35), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); padding: 8px 16px;
  border-radius: 20px; font-size: 13px; margin-bottom: 20px;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
}
.hero-title { font-size: 46px; line-height: 1.12; font-weight: 800; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(90deg, #fbbf24, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 800; }
.stat-label { font-size: 13px; opacity: 0.8; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.3); }
.hero-visual { position: relative; height: 460px; }
.hero-card {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.45); transition: transform 0.3s;
  border: 3px solid rgba(255,255,255,0.14);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.card-1 { width: 360px; height: 270px; top: 10px; left: 0; z-index: 3; transform: rotate(-2deg); }
.hero-card.card-2 { width: 220px; height: 170px; top: 70px; right: 0; z-index: 2; transform: rotate(2deg); }
.hero-card.card-3 { width: 210px; height: 158px; bottom: 6px; left: 120px; z-index: 4; transform: rotate(-1deg); }
.hero-card:hover { transform: rotate(0) scale(1.02); }
.hero-chip {
  position: absolute; right: 6px; bottom: 110px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 9px 15px; border-radius: 30px; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
}

/* ─── Trust Bar ─────────────────────────────────────── */
.trust-bar { background: white; border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.trust-item i { color: var(--primary); }

/* ─── Sections ─────────────────────────────────────── */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; padding: 6px 16px; background: var(--primary-light); color: var(--primary);
  border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px;
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.section-desc { font-size: 16px; color: var(--text-secondary); }

/* ─── Categories Grid ──────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; transition: all 0.2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.category-icon { font-size: 48px; margin-bottom: 12px; }
.category-card h3 { font-size: 18px; margin-bottom: 6px; }
.category-count { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.section-footer { text-align: center; margin-top: 36px; }
.category-arrow { display: inline-block; color: var(--primary); font-weight: 700; font-size: 20px; }

/* ─── Products Grid ───────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.products-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── Products Page (Category Layout) ─────────────── */
.products-page-section { background: #f7f8fa; padding: 32px 0 60px; }
.products-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }

.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
.sidebar-card { background: white; border: 1px solid #e8eaed; border-radius: 6px; overflow: hidden; }
.sidebar-title {
  font-size: 16px; font-weight: 700; color: #1f2937; padding: 14px 16px;
  background: #f5f6f8; border-bottom: 1px solid #e8eaed; margin: 0;
}

/* 分类列表 */
.category-list { list-style: none; margin: 0; padding: 4px 0; }
.category-list li { margin: 0; }
.cat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 16px; font-size: 13.5px; color: #4b5563;
  border-left: 3px solid transparent; transition: all .18s;
}
.cat-item:hover { background: #eff6ff; color: var(--primary-dark); border-left-color: #93c5fd; }
.cat-item.active { background: #eff6ff; color: var(--primary-dark); border-left-color: var(--primary); font-weight: 600; }
.cat-name { flex: 1; line-height: 1.45; }
.cat-count { font-size: 12px; color: #9ca3af; flex-shrink: 0; }
.cat-item.active .cat-count { color: var(--primary); font-weight: 600; }

/* Contact Us 卡片 */
.contact-card { padding-bottom: 18px; }
.contact-card .sidebar-title { background: white; border-bottom: none; padding-bottom: 4px; font-size: 17px; }
.contact-item { padding: 6px 16px 12px; display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-size: 14px; font-weight: 600; color: #374151; }
.contact-email { font-size: 13px; color: var(--primary); word-break: break-all; }
.contact-phone { font-size: 13px; color: #6b7280; }
.contact-channels { display: flex; gap: 8px; padding: 0 16px 14px; }
.contact-icon-btn {
  width: 34px; height: 34px; border-radius: 50%; background: #f3f4f6;
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.contact-icon-btn:hover { background: #e5e7eb; transform: translateY(-2px); }
.chat-now-btn {
  display: block; margin: 0 16px; padding: 9px 0; text-align: center;
  background: var(--primary); color: white; border-radius: 22px; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.chat-now-btn:hover { background: var(--primary-dark); }

/* 主区域 */
.products-main { min-width: 0; }
.products-category-header {
  background: white; border: 1px solid #e8eaed; border-radius: 6px;
  padding: 16px 20px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.category-header-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.category-header-right { display: flex; align-items: center; gap: 12px; }
.category-title { font-size: 20px; font-weight: 700; color: var(--primary); margin: 0; }
.products-category-header .results-count { font-size: 13px; color: #9ca3af; }

/* 排序选择器 */
.sort-select {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  background: white;
  cursor: pointer;
  min-width: 140px;
}
.sort-select:focus { outline: none; border-color: var(--primary); }

/* 视图切换按钮 */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: all .2s;
}
.view-btn:hover { border-color: var(--primary); color: var(--primary); }
.view-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

/* 列表视图 */
.products-grid.list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}
.products-grid.list-view .product-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 120px;
}
.products-grid.list-view .product-image-wrap {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-bottom: none;
  border-right: 1px solid #f0f0f0;
  padding: 8px;
}
.products-grid.list-view .product-image-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.products-grid.list-view .product-info {
  text-align: left;
  padding: 12px 16px;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.products-grid.list-view .product-name {
  flex: 1;
  min-height: auto;
  -webkit-line-clamp: 3;
  font-size: 14px;
}
.products-grid.list-view .product-partno {
  display: none;
}
.products-grid.list-view .btn-best-price {
  margin-top: 0;
  width: auto;
  min-width: 100px;
  padding: 10px 16px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .products-grid.list-view .product-card {
    min-height: 100px;
  }
  .products-grid.list-view .product-image-wrap {
    width: 100px;
    min-width: 100px;
    height: 100px;
  }
  .products-grid.list-view .product-info {
    padding: 10px 12px;
    gap: 10px;
  }
  .products-grid.list-view .product-name {
    font-size: 13px;
  }
  .products-grid.list-view .btn-best-price {
    min-width: 80px;
    padding: 8px 12px;
  }
}

/* 产品卡片（参考图风格） */
.products-page-section .product-card {
  background: white; border: 1px solid #e8eaed; border-radius: 6px;
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column;
}
.products-page-section .product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); border-color: #d1d5db; }
.products-page-section .product-image-wrap {
  aspect-ratio: 1 / 1; background: white; border-bottom: 1px solid #f0f0f0;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.products-page-section .product-image-wrap img { object-fit: contain; }
.products-page-section .product-card:hover .product-image-wrap img { transform: scale(1.03); }
.products-page-section .product-info {
  padding: 12px 12px 14px; display: flex; flex-direction: column;
  flex: 1; text-align: center;
}
.products-page-section .product-name {
  font-size: 12.5px; font-weight: 500; line-height: 1.5; margin: 0 0 6px;
  color: #374151; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 38px;
}
.products-page-section .product-name a { color: #374151; }
.products-page-section .product-name a:hover { color: var(--primary); }
.products-page-section .product-partno {
  font-size: 11.5px; color: #9ca3af; margin: 0 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-best-price {
  margin-top: auto; width: 100%; padding: 8px 10px;
  border: 1.5px solid #93c5fd; border-radius: 20px;
  background: white; color: var(--primary); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.btn-best-price:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* 圆形分页 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; padding: 10px 0; flex-wrap: wrap; }
.pagination .page-link {
  min-width: 34px; height: 34px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e5e7eb; border-radius: 50%;
  font-size: 13.5px; color: #4b5563; text-decoration: none;
  background: white; transition: all .18s;
}
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-link.active { background: var(--primary); border-color: var(--primary); color: white; font-weight: 600; }
.pagination .page-dots { color: #9ca3af; font-size: 13px; padding: 0 2px; }
.product-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f1f5f9; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 60px; background: #f1f5f9;
}
.badge-hot {
  position: absolute; top: 12px; left: 12px; background: #ef4444; color: white;
  padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700;
}
.btn-add-inquiry {
  position: absolute; bottom: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: 1px solid var(--border); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow); transition: all 0.2s;
}
.btn-add-inquiry:hover { background: var(--primary); color: white; transform: scale(1.1); }
.product-info { padding: 16px; }
.product-cat { font-size: 12px; color: var(--text-light); font-weight: 500; }
.product-name { font-size: 15px; margin: 6px 0; line-height: 1.4; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--primary); }
.product-oem { font-size: 12px; color: var(--primary); font-weight: 600; margin: 4px 0; }
.product-material { font-size: 13px; color: var(--text-secondary); margin: 8px 0; }
.product-actions { display: flex; gap: 8px; margin-top: 12px; }
.product-actions .btn-sm { flex: 1; text-align: center; justify-content: center; }

/* ─── Why Section ─────────────────────────────────── */
.why-section { background: var(--bg-alt); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text .section-tag, .why-text .section-title { text-align: left; }
.why-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.why-features { display: grid; gap: 20px; }
.why-feature { display: flex; gap: 16px; }
.why-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-feature h4 { font-size: 15px; margin-bottom: 4px; }
.why-feature p { font-size: 14px; color: var(--text-secondary); }
.why-visual { position: relative; }
.why-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.why-stat-card {
  position: absolute; bottom: -20px; right: -20px; background: white;
  padding: 20px 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  text-align: center;
}
.big-num { display: block; font-size: 32px; font-weight: 800; color: var(--primary); }
.why-stat-card span:last-child { font-size: 13px; color: var(--text-secondary); }

/* ─── CTA Section ──────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: white; padding: 80px 0; text-align: center; }
.cta-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 18px; opacity: 0.8; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ───────────────────────────────────────── */
.site-footer { background: #0f172a; color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: #94a3b8; line-height: 1.6; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: #1e293b; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.footer-social a:hover { background: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #94a3b8; font-size: 14px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; text-align: center; color: #64748b; font-size: 13px; }
.footer-seo { margin-top: 8px; font-size: 12px; color: #475569; }

/* ─── WhatsApp Float ───────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ─── Inquiry Float ────────────────────────────────── */
.inquiry-float {
  position: fixed; bottom: 100px; right: 30px; z-index: 90;
}
.inquiry-float a {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white; box-shadow: var(--shadow-lg);
  position: relative;
}
.inquiry-badge {
  position: absolute; top: -4px; right: -4px; background: #ef4444; color: white;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 10px;
}

/* ─── Page Header ─────────────────────────────────── */
.page-header { background: var(--bg-alt); padding: 40px 0 30px; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.breadcrumb span { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.page-header h1 { font-size: 36px; font-weight: 800; }

/* ─── Product Detail ───────────────────────────────── */
.detail-breadcrumb { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 12px 0; }
.detail-breadcrumb a { color: var(--primary); }
.detail-breadcrumb a:hover { text-decoration: underline; }
.detail-breadcrumb span { color: #94a3b8; margin: 0 8px; }

.product-title-block { margin: 40px 0 30px; }
.product-title-block h1 { font-size: 28px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; line-height: 1.3; }
.product-meta-line { display: flex; gap: 24px; font-size: 14px; color: #666; }
.meta-item strong { color: #333; }

.product-detail-layout { display: grid; grid-template-columns: 420px 1fr; gap: 40px; margin-bottom: 40px; }
.product-gallery .main-image { 
  border-radius: 8px; overflow: hidden; background: #f8f9fa; border: 1px solid #e2e8f0;
  padding: 20px; aspect-ratio: 1;
}
.product-gallery .main-image img { 
  width: 100%; height: 100%; object-fit: contain;
}

/* 详情表格样式 */
.detail-table-wrap { background: #f8f9fa; border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.detail-table-title { 
  background: #0f172a; color: white; padding: 12px 16px; font-size: 14px; font-weight: 600; margin: 0;
}
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr:nth-child(even) { background: white; }
.detail-table tr:nth-child(odd) { background: #f8f9fa; }
.detail-table td { padding: 10px 16px; font-size: 13px; border-bottom: 1px solid #e2e8f0; }
.detail-table .label { color: #666; font-weight: 500; width: 40%; }
.detail-table .value { color: #1a1a1a; font-weight: 500; }

/* 询盘按钮区 */
.product-inquiry-actions { display: flex; gap: 12px; margin: 24px 0; }
.btn-chatnow {
  background: #25d366; color: white; padding: 14px 28px; font-size: 15px; font-weight: 600;
  border-radius: 6px; display: inline-flex; align-items: center; gap: 8px;
}
.btn-chatnow:hover { background: #1da851; }
.btn-inquiry-main {
  background: var(--primary); color: white; padding: 14px 28px; font-size: 15px; font-weight: 600;
  border-radius: 6px; display: inline-flex; align-items: center; gap: 8px;
}
.btn-inquiry-main:hover { background: var(--primary-dark); }

/* 详细描述区块 */
.product-description-block { margin-top: 30px; }
.desc-title { 
  font-size: 18px; font-weight: 700; color: #1a365d; 
  padding-bottom: 10px; border-bottom: 2px solid #1a365d; margin-bottom: 20px;
}
.desc-content { margin-bottom: 30px; }
.desc-content p { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 10px; }
.desc-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.desc-content table td { padding: 8px 12px; border: 1px solid #e2e8f0; vertical-align: top; }
.desc-content table td:first-child { background: #f1f5f9; color: #64748b; font-weight: 500; width: 28%; white-space: nowrap; }
.desc-content table td:last-child { background: white; color: #1a1a1a; word-break: break-word; }
.desc-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; border: 1px solid #e2e8f0; }
.desc-content iframe { width: 100%; height: 400px; border-radius: 8px; margin: 12px 0; border: 1px solid #e2e8f0; }
.desc-content strong { color: #1a365d; }
.desc-content a { color: var(--primary); text-decoration: underline; }
.desc-content ul, .desc-content ol { margin: 8px 0 8px 20px; }
.desc-content li { margin-bottom: 4px; font-size: 14px; line-height: 1.7; color: #444; }

/* 零件号清单表格（多列 parts list） */
.desc-content table.part-table { font-size: 13px; border: 1px solid #e2e8f0; }
.desc-content table.part-table thead th {
  background: #1a365d; color: #fff; padding: 10px 12px; font-size: 13px;
  font-weight: 600; text-align: left; border: 1px solid #1a365d; white-space: nowrap;
}
.desc-content table.part-table td {
  background: #fff; border: 1px solid #e2e8f0; color: #1a1a1a;
  padding: 7px 12px; width: auto; white-space: normal;
}
.desc-content table.part-table td:nth-child(1) { width: 66px; color: #64748b; white-space: nowrap; }
.desc-content table.part-table td:nth-child(2) { font-weight: 600; white-space: nowrap; color: #1a365d; }
.desc-content table.part-table td:nth-child(3) { width: 56px; text-align: center; white-space: nowrap; }
.desc-content table.part-table tbody tr:nth-child(even) td { background: #f8fafc; }
.desc-content table.part-table tbody tr:hover td { background: #eef6ff; }
.desc-content h3 { font-size: 15px; font-weight: 700; color: #1a365d; margin: 22px 0 10px; }

/* 零件图 */
.desc-content figure.part-figure {
  margin: 16px 0 22px; padding: 12px; background: #fbfcfe;
  border: 1px solid #e2e8f0; border-radius: 8px; text-align: center;
}
.desc-content figure.part-figure img {
  max-width: 100%; height: auto; border: 1px solid #edf2f7; border-radius: 6px;
  background: #fff; margin: 0 auto; display: block; transition: box-shadow .2s;
}
.desc-content figure.part-figure img:hover { box-shadow: 0 6px 20px rgba(26,54,93,.15); }
.desc-content figure.part-figure figcaption {
  margin-top: 8px; font-size: 12px; color: #718096; line-height: 1.6;
}
.desc-content p.part-note {
  font-size: 13px; color: #4a5568; background: #f0f7ff;
  border-left: 3px solid #1a365d; padding: 8px 12px; border-radius: 0 4px 4px 0;
}
@media (max-width: 640px) {
  .desc-content table.part-table { font-size: 12px; }
  .desc-content table.part-table thead th,
  .desc-content table.part-table td { padding: 6px 8px; }
}

/* 参数表格 */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.spec-table td { padding: 12px 16px; font-size: 13px; border: 1px solid #e2e8f0; }
.spec-table .label { background: #f1f5f9; color: #64748b; font-weight: 500; width: 30%; }
.spec-table .value { background: white; color: #1a1a1a; }

/* 相关产品区块 */
.related-products-block { margin-top: 40px; padding-top: 30px; border-top: 2px solid #e2e8f0; }
.related-title { 
  font-size: 16px; font-weight: 700; color: #1a365d; 
  padding: 12px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px;
}
.related-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-item { 
  border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; 
  background: white; transition: all 0.2s;
}
.related-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: var(--primary); }
.related-item img { width: 100%; height: 120px; object-fit: cover; }
.related-placeholder { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: #f8f9fa; font-size: 40px; }
.related-name { 
  display: block; padding: 10px 12px; font-size: 12px; color: #333; 
  line-height: 1.4; height: 50px; overflow: hidden;
}

/* 关于公司区块 */
.about-company-block { margin-top: 40px; padding: 24px; background: #f8f9fa; border-radius: 8px; }
.about-company-block p { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 16px; }
.about-company-block strong { color: #1a365d; }

/* 保留旧样式兼容 */
.product-info-detail .product-cat-tag { display: none; }
.product-title { display: none; }
.product-sku { display: none; }
.product-oem-detail, .product-brands, .product-material-detail, .product-applications { display: none; }
.product-price-actions { display: none; }
.trust-badges { display: none; }
.product-tabs { display: none; }
.product-inquiry-form { display: none; }
.related-products { display: none; }

/* 旧样式兼容 */
.product-gallery .main-image { border-radius: var(--radius-lg); overflow: hidden; background: #f1f5f9; aspect-ratio: 1; }
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.product-gallery .gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery .gallery-thumb { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: 0.7; transition: all 0.2s; flex-shrink: 0; }
.product-gallery .gallery-thumb:hover, .product-gallery .gallery-thumb.active { border-color: var(--primary); opacity: 1; }
.product-gallery .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 10000; padding: 24px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 18px; right: 24px; color: white; font-size: 36px; cursor: pointer; font-weight: 300; line-height: 1; opacity: 0.85; }
.lightbox-close:hover { opacity: 1; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group.full-width { grid-column: 1 / -1; }
.btn-whatsapp { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #1da851; }

/* ─── About ────────────────────────────────────────── */
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.about-text { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.about-text h2 { font-size: 28px; margin-bottom: 16px; color: var(--text); }
.about-text p { margin-bottom: 16px; }
.about-text ul { margin: 16px 0; padding-left: 24px; }
.about-text li { margin-bottom: 8px; }
.info-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.info-card h4 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.info-card ul { list-style: none; }
.info-card li { padding: 6px 0; font-size: 14px; }
.contact-card p { font-size: 14px; margin: 6px 0; }

/* ─── Contact ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 28px; margin-bottom: 12px; }
.contact-desc { color: var(--text-secondary); margin-bottom: 32px; }
.contact-items { display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }
.contact-form-wrap { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form-wrap h3 { font-size: 22px; margin-bottom: 24px; }
.contact-form .btn-block { width: 100%; justify-content: center; margin-top: 8px; }

/* ─── Inquiry Basket ───────────────────────────────── */
.inquiry-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.inquiry-products { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.inquiry-products h3 { font-size: 20px; margin-bottom: 16px; }
.basket-list { display: grid; gap: 12px; }
.basket-item {
  display: flex; align-items: center; gap: 16px; padding: 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
}
.basket-item-img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #f1f5f9; flex-shrink: 0; }
.basket-item-info { flex: 1; min-width: 0; }
.basket-item-info h4 { font-size: 14px; margin-bottom: 4px; }
.basket-item-info p { font-size: 12px; color: var(--text-light); }
.basket-item-qty {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 20px; padding: 3px 6px; background: var(--bg-alt);
}
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%; border: none; background: white;
  color: var(--text-secondary); cursor: pointer; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: all 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-value { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; color: var(--text); }
.basket-item-remove {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: #fee2e2;
  color: #ef4444; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.empty-basket { text-align: center; padding: 60px 0; color: var(--text-light); }
.inquiry-form-wrap { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; height: fit-content; position: sticky; top: calc(var(--header-height) + 24px); }
.inquiry-form-wrap h3 { font-size: 20px; margin-bottom: 16px; }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1280px) {
  .header-search-box { min-width: 140px; }
  .header-search-box input { min-width: 90px; }
}
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 40px; }
  .categories-grid, .products-grid, .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout, .why-grid, .about-content, .contact-grid, .inquiry-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-search-form { display: none; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .categories-grid, .products-grid, .products-grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* 产品列表页：侧边栏改为顶部横向滚动分类 */
  .products-layout { display: block; }
  .sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .sidebar-card {
    min-width: max-content;
    max-width: none;
    border-radius: 999px;
    padding: 6px 4px;
  }
  .sidebar-title { display: none; }
  .category-list {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    margin: 0;
    list-style: none;
  }
  .category-list li { margin: 0; }
  .cat-item {
    flex: 0 0 auto;
    border-left: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    background: white;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
  }
  .cat-item:hover,
  .cat-item.active {
    border-left-color: transparent;
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  .contact-card { display: none; }

  /* 产品详情页：上下布局，图片自适应 */
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-gallery .main-image {
    aspect-ratio: 1 / 1;
    padding: 12px;
  }
  .product-gallery .gallery-thumb {
    width: 60px;
    height: 60px;
  }
  .product-title-block h1 {
    font-size: 22px;
  }
  .product-meta-line {
    flex-wrap: wrap;
    gap: 12px;
  }
  .detail-table .label {
    width: 45%;
  }

  /* 产品列表头：排序与视图切换 */
  .products-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }
  .category-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .sort-select {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    padding: 8px 10px;
  }
  .view-btn {
    width: 34px;
    height: 34px;
  }

  /* 列表视图在移动端也保持单列，但去掉横向卡片样式 */
  .products-grid.list-view .product-card {
    flex-direction: column;
  }
  .products-grid.list-view .product-image-wrap {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .products-grid.list-view .product-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .products-grid.list-view .btn-best-price {
    width: 100%;
    min-width: 0;
    margin-top: 10px;
  }

  /* 语言下拉 */
  .lang-dropdown-menu {
    right: auto;
    left: 0;
  }
}
@media (max-width: 640px) {
  .header-actions { gap: 8px; }
  .btn-inquiry-header { padding: 8px 10px; font-size: 13px; }
  .products-page-section { padding: 20px 0 40px; }
  .products-category-header {
    padding: 12px 16px;
  }
  .category-title { font-size: 18px; }
  .btn-best-price { font-size: 12px; padding: 8px 10px; }
  .pagination .page-link { min-width: 30px; height: 30px; font-size: 12px; }
  .product-title-block h1 { font-size: 20px; }
  .desc-content table.part-table { font-size: 12px; }
  .desc-content table.part-table thead th,
  .desc-content table.part-table td { padding: 6px 8px; }
}

/* ─── 联系页信息栏 ───────────────────────────────────── */
.contact-info-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-wrap h3 { font-size: 22px; margin-bottom: 10px; }
.contact-info-list { list-style: none; margin-top: 20px; }
.contact-info-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-secondary);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list li i { color: var(--primary); flex: 0 0 auto; }
.contact-info-list a { color: var(--text); text-decoration: none; }
.contact-info-list a:hover { color: var(--primary); }

/* ─── 阿拉伯语等 RTL 语言的基本对齐 ─────────────────── */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .contact-info-list li { text-align: right; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .hero-text { text-align: right; }

/* ─── 顶部信息条 ─────────────────────────────────────── */
.topbar {
  background: #0f172a; color: #cbd5e1; font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 36px; padding-top: 6px; padding-bottom: 6px;
}
.topbar-note { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1; transition: color .2s; }
.topbar-links a:hover { color: #fff; }
.topbar-ico { width: 14px; height: 14px; opacity: .85; }

/* ─── 应用行业 ───────────────────────────────────────── */
.industries-section { background: var(--bg-alt); }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; transition: all .2s;
}
.industry-card:hover {
  border-color: var(--primary); transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15,23,42,.09);
}
.industry-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.industry-card h3 { font-size: 17px; margin-bottom: 6px; color: var(--text); }
.industry-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ─── 合作流程 ───────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
  position: relative; padding: 28px 22px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.process-step::after {
  content: '→'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--border); font-weight: 700; font-size: 18px;
}
.process-step:last-child::after { display: none; }
.process-num {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: var(--primary); background: var(--primary-light);
  padding: 4px 10px; border-radius: 20px; margin-bottom: 12px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ─── 常见问题 ───────────────────────────────────────── */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 20px; font-weight: 400; color: var(--primary); transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }

/* ─── 页脚补充样式 ───────────────────────────────────── */
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.footer-logo-icon { font-size: 22px; }
.footer-about p { color: #94a3b8; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-cert {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.15); color: #bfdbfe;
  border: 1px solid rgba(37,99,235,.35);
  padding: 7px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600;
}
.footer-contact li { color: #94a3b8; font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact li a { color: #94a3b8; }
.footer-contact li a:hover { color: #fff; }
.footer-contact li strong { color: #e2e8f0; }
.footer-cta {
  display: inline-block; margin-top: 14px; padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 22px;
  color: #fff; font-size: 13.5px; font-weight: 600; transition: all .2s;
}
.footer-cta:hover { background: var(--primary); border-color: var(--primary); }

/* ─── 新板块的响应式 ─────────────────────────────────── */
@media (max-width: 1024px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 900px) {
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .hero-visual { height: 380px; }
  .hero-card.card-1 { width: 280px; height: 210px; }
  .hero-card.card-2 { width: 180px; height: 140px; }
  .hero-card.card-3 { width: 170px; height: 128px; left: 90px; }
  .hero-chip { display: none; }
}
@media (max-width: 640px) {
  .industries-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ─── 产品详情页：信任点与快速询盘 ───────────────────── */
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.detail-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: -4px 0 26px;
}
.detail-trust li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--text-secondary);
}
.detail-trust li i { color: #16a34a; flex: 0 0 auto; }
.quote-card {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; margin-top: 26px;
}
.quote-card h3 { font-size: 19px; margin-bottom: 6px; }
.quote-note { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 16px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.quote-card input, .quote-card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.quote-card textarea { margin-bottom: 14px; resize: vertical; }
.quote-card input:focus, .quote-card textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
@media (max-width: 640px) {
  .quote-row { grid-template-columns: 1fr; }
  .product-inquiry-actions { flex-wrap: wrap; }
}

/* ─── 联系页补充：保障点 ─────────────────────────────── */
.contact-assure { list-style: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.contact-assure li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary); padding: 7px 0;
}
.contact-assure li i { color: #16a34a; flex: 0 0 auto; }

/* ─── 关于页：能力与质量 ─────────────────────────────── */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px;
}
.about-stats > div {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 12px; text-align: center;
}
.about-stats .num { display: block; font-size: 24px; font-weight: 800; color: var(--primary); }
.about-stats .lbl { font-size: 12.5px; color: var(--text-secondary); }
.about-block { margin-top: 56px; }
.factory-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.factory-strip img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--border); display: block;
}
.factory-strip > img { max-height: 420px; }
.factory-strip-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.factory-strip-side img { max-height: 202px; }
@media (max-width: 768px) {
  .factory-strip { grid-template-columns: 1fr; }
  .factory-strip-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .factory-strip > img, .factory-strip-side img { max-height: 220px; }
}
.about-block h2 { font-size: 28px; margin-bottom: 20px; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 20px; text-align: left;
}
.cap-card .cap-ico {
  width: 44px; height: 44px; border-radius: 10px; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.cap-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.cap-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.quality-panel {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.quality-panel p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; max-width: 900px; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } .about-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ─── 404 ────────────────────────────────────────────── */
.err-wrap { text-align: center; padding: 70px 0 40px; }
.err-code { font-size: 96px; font-weight: 800; line-height: 1; color: var(--primary-light); letter-spacing: 4px; }
.err-wrap h1 { font-size: 30px; margin: 10px 0 12px; }
.err-wrap p { color: var(--text-secondary); margin-bottom: 26px; }
.err-search { max-width: 460px; margin: 0 auto 28px; display: flex; gap: 10px; }
.err-search input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit;
}
.err-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.err-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.err-links a {
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 13.5px; color: var(--text-secondary); transition: all .2s;
}
.err-links a:hover { border-color: var(--primary); color: var(--primary); }

/* ─── 移动端细节修正 ─────────────────────────────────── */
@media (max-width: 768px) {
  .topbar { font-size: 11.5px; }
  .topbar-links { gap: 10px 14px; }
  .header-inner { gap: 10px; }
  .logo { min-width: 0; }
  .logo-img { height: 34px; }
  .logo-main { font-size: 15px; white-space: nowrap; }
  .logo-icon { font-size: 20px; }
  .logo-text { gap: 6px; }
  .header-actions { gap: 8px; flex-shrink: 0; }
  .btn-inquiry-header { padding: 7px 11px; font-size: 13px; }
  .lang-dropdown-toggle { padding: 7px 10px; font-size: 13px; }
  .lang-dropdown-current {
    max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block;
  }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 15.5px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stats { gap: 8px; justify-content: space-between; align-items: flex-start; }
  .stat-num { font-size: 25px; }
  .stat-label { font-size: 11px; line-height: 1.3; }
  .stat-divider { align-self: stretch; }
  .trust-items { gap: 10px 22px; }
  .trust-item { font-size: 12.5px; }
}
@media (max-width: 420px) {
  .logo-main { font-size: 14px; }
  .lang-dropdown-current { display: none; }
}

/* ─── 产品图统一比例（修复图片不满框、卡片高度参差）──── */
.product-image-wrap { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
/* 列表页产品图用 contain 展示完整产品，不裁切 */
.products-page-section .product-image-wrap { display: block; padding: 0; aspect-ratio: 1 / 1; }
.products-page-section .product-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
/* 排序/视图栏不再显示重复标题，改为轻量工具条 */
.products-page-section .products-category-header {
  background: transparent; border: 0; box-shadow: none; padding: 0; margin-bottom: 14px;
}
.products-page-section .product-card { height: 100%; }
.products-page-section .product-actions-row { margin-top: auto; }

/* ─── 手机端：产品网格 2 列 + 紧凑卡片 ───────────────── */
@media (max-width: 768px) {
  .products-grid,
  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* 列表视图仍然保持单列横向卡片 */
  .products-grid.list-view { grid-template-columns: 1fr; }

  .product-card .product-info { padding: 10px; }
  .product-card .product-cat { font-size: 11px; }
  .product-card .product-name { font-size: 13px; line-height: 1.35; margin: 4px 0; }
  .product-card .product-oem,
  .product-card .product-partno,
  .product-card .product-material { font-size: 11px; line-height: 1.4; margin: 2px 0; }
  .product-card .badge-hot { font-size: 10px; padding: 2px 6px; }
  .product-card .btn-add-inquiry { width: 30px; height: 30px; }

  .product-actions-row { flex-direction: column; gap: 6px; margin-top: 8px; }
  .product-actions-row .btn-sm,
  .product-actions-row .btn-best-price {
    width: 100%; flex: none; font-size: 12px; padding: 7px 6px; margin: 0;
  }
  .product-actions-row .btn-sm { display: flex; justify-content: center; }

  /* 同一行卡片等高，按钮贴底对齐 */
  .products-page-section .product-card { height: 100%; }
  .products-page-section .product-actions-row { margin-top: auto; }
  .products-page-section .products-category-header { flex-wrap: wrap; }
  .products-page-section .category-header-right { width: 100%; }
  .products-page-section .sort-select { flex: 1; min-width: 0; }

  /* 列表视图：横向小图卡片，避免整屏大图 */
  .products-grid.list-view .product-card { flex-direction: row; min-height: 0; }
  .products-grid.list-view .product-image-wrap {
    width: 104px; min-width: 104px; height: auto; aspect-ratio: 1 / 1;
    border-right: 1px solid #f0f0f0; border-bottom: none;
  }
  .products-grid.list-view .product-info {
    flex: 1; text-align: left; align-items: flex-start; padding: 10px 12px;
  }
  .products-grid.list-view .product-name { -webkit-line-clamp: 2; font-size: 13px; }
  .products-grid.list-view .product-actions-row { flex-direction: row; margin-top: 6px; }
  .products-grid.list-view .product-actions-row .btn-sm,
  .products-grid.list-view .product-actions-row .btn-best-price {
    width: auto; flex: 1; font-size: 11.5px; white-space: nowrap; padding: 7px 4px;
  }

  /* 分类横向滚动条留出右侧呼吸位 */
  .sidebar { padding-right: 24px; }
}

/* ─── 手机端：页面标题与分类导航优化 ─────────────────── */
@media (max-width: 768px) {
  /* 页头标题不要撑成两行大字 */
  .page-header { padding: 22px 0 16px; }
  .page-header h1 { font-size: 24px; line-height: 1.28; }
  .page-header p { font-size: 13px; margin-top: 6px; color: var(--text-secondary); }
  .breadcrumb { font-size: 12.5px; margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }

  /* 分类：横向胶囊导航，隐藏滚动条、强化选中态 */
  .sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 20px 10px 0;
    margin-bottom: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  /* 手机上隐藏「联系客服」卡片，避免被压成胶囊 */
  .sidebar .contact-card { display: none; }
  .sidebar-card {
    border: 0; background: transparent; border-radius: 0;
    padding: 0; overflow: visible; min-width: auto; max-width: none;
  }
  .sidebar-title { display: none; }
  .category-list {
    display: flex; align-items: center; gap: 8px;
    padding: 0; margin: 0; list-style: none;
  }
  .cat-item {
    flex: 0 0 auto;
    border: 1px solid #e2e8f0; border-left-width: 1px;
    border-radius: 999px; padding: 9px 14px;
    background: #fff; color: #4b5563; font-size: 13px;
    white-space: nowrap; scroll-snap-align: start;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  }
  .cat-item:hover { background: #fff; color: var(--primary); }
  .cat-item.active {
    background: var(--primary); border-color: var(--primary); color: #fff;
    border-left-color: var(--primary); font-weight: 600;
  }
  .cat-item.active .cat-count { color: rgba(255, 255, 255, .9); }
  .cat-count { font-size: 12px; }

  /* 详情页：收掉多余的上下留白 */
  .product-detail-section { padding: 14px 0 40px; }
  .product-title-block { margin: 6px 0 18px; }
  .product-title-block h1 { font-size: 21px; }
  .detail-table td { padding: 9px 12px; font-size: 12.5px; }
  .detail-breadcrumb { font-size: 12.5px; }

  /* 通用区块在手机上不必留 80px */
  .section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
  .cta-content h2 { font-size: 24px; }
  .cta-content p { font-size: 15px; }

  /* 分类卡：手机上两列，避免一屏一个 */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 18px 12px; }
  .category-icon { font-size: 34px; margin-bottom: 8px; }
  .category-card h3 { font-size: 14px; line-height: 1.35; }
  .category-count { font-size: 12px; margin-bottom: 8px; }
  .category-arrow { font-size: 16px; }
}

/* ─── 手机端：搜索框 + 分类选择器（桌面隐藏）──────────── */
.mobile-toolbar { display: none; }
.mobile-search-link { display: none; }

@media (max-width: 768px) {
  .mobile-toolbar { display: block; margin-bottom: 14px; }
  /* 手机上用分类选择器替代侧边栏，避免横向滚动找不到分类 */
  .sidebar { display: none; }

  .mobile-search {
    display: flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 999px; padding: 4px 5px 4px 16px; margin-bottom: 10px;
  }
  .mobile-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 14px; padding: 8px 0; color: var(--text); font-family: inherit;
  }
  .mobile-search button {
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex: 0 0 auto;
  }

  .cat-picker {
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
  }
  .cat-picker summary {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 12px 14px; font-size: 14px; cursor: pointer;
    list-style: none; color: var(--text-secondary);
  }
  .cat-picker summary::-webkit-details-marker { display: none; }
  .cat-picker summary strong { color: var(--text); font-weight: 600; }
  .cat-picker-chevron { transition: transform .2s; flex: 0 0 auto; }
  .cat-picker[open] .cat-picker-chevron { transform: rotate(180deg); }
  .cat-picker ul {
    list-style: none; margin: 0; padding: 4px 6px 8px;
    border-top: 1px solid var(--border);
  }
  .cat-picker li a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 12px; border-radius: 8px;
    font-size: 14px; color: var(--text-secondary);
  }
  .cat-picker li a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
  .cat-picker li a > span:last-child { color: var(--text-light); font-size: 12.5px; }

  .mobile-search-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; color: var(--text-secondary);
  }
}

/* ─── 页头「询价」按钮（原购物车图标）────────────────── */
.btn-inquiry-header { gap: 7px; font-weight: 600; }
.btn-inquiry-header .inquiry-label { font-size: 13px; line-height: 1; }
.btn-inquiry-header .inquiry-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
}
.btn-inquiry-header:hover { background: var(--primary); color: #fff; }
.btn-inquiry-header:hover .inquiry-count { background: #fff; color: var(--primary); }

@media (max-width: 768px) {
  .btn-inquiry-header { padding: 7px 10px; gap: 5px; }
  .btn-inquiry-header .inquiry-label { display: none; }
}

/* ─── 首页新增：品牌条 / 主推产品 / 工厂实力 ───────────── */
.brands-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 20px 0; }
.brands-inner { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.brands-label {
  font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #64748b; font-weight: 600;
}
.brands-list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; }
.brands-list span {
  font-size: 15px; font-weight: 800; letter-spacing: .3px; color: #94a3b8;
  transition: color .2s;
}
.brands-list span:hover { color: var(--text); }

.spotlight-section { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 65%); }
.spotlight {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}
.spotlight-media { position: relative; background: #f1f5f9; aspect-ratio: 1 / 1; }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 13px; border-radius: 20px; letter-spacing: .6px;
}
.spotlight-body { padding: 42px 46px 42px 42px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-body h2 { font-size: 30px; line-height: 1.25; margin: 10px 0 12px; color: var(--text); }
.spotlight-desc { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.spotlight-specs {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 14px; margin-bottom: 26px;
}
.spotlight-specs li {
  background: #f8fafc; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; display: flex; flex-direction: column; gap: 3px;
}
.spotlight-specs span { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-light); }
.spotlight-specs strong { font-size: 14px; color: var(--text); font-weight: 600; }
.spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.factory-section { background: #0f172a; color: #fff; }
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.factory-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: 430px; }
.factory-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 14px; }
.factory-media .fm-1 { grid-row: span 2; min-height: 0; }
.factory-body .section-tag { background: rgba(37, 99, 235, .22); color: #bfdbfe; }
.factory-body h2 { font-size: 34px; line-height: 1.2; margin: 10px 0 14px; color: #fff; }
.factory-body p { font-size: 15px; line-height: 1.75; color: #94a3b8; }
.factory-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 20px 0; }
.factory-list li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #cbd5e1; }
.factory-list i { color: #60a5fa; flex: 0 0 auto; }
.factory-stats {
  display: flex; gap: 32px; padding: 18px 0 22px; margin-bottom: 6px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.factory-stats b { display: block; font-size: 26px; font-weight: 800; color: #fff; line-height: 1.2; }
.factory-stats span { font-size: 12.5px; color: #94a3b8; }

.why-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-features-grid .why-feature {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; transition: all .2s;
}
.why-features-grid .why-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 23, 42, .08); }
.why-features-grid .why-feature h4 { font-size: 16px; margin: 14px 0 6px; }
.why-features-grid .why-feature p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 1024px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { aspect-ratio: 16 / 10; }
  .factory-grid { grid-template-columns: 1fr; gap: 32px; }
  .factory-media { height: 360px; }
  .why-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .brands-list { gap: 16px; }
  .brands-list span { font-size: 13px; }
  .spotlight-body { padding: 24px 22px 28px; }
  .spotlight-body h2 { font-size: 22px; }
  .spotlight-specs { grid-template-columns: 1fr; }
  .factory-media { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 140px; }
  .factory-media .fm-1 { grid-column: 1 / -1; grid-row: 1; }
  .factory-media .fm-2 { grid-column: 1; grid-row: 2; }
  .factory-media .fm-3 { grid-column: 2; grid-row: 2; }
  .factory-body h2 { font-size: 26px; }
  .factory-list { grid-template-columns: 1fr; }
  .why-features-grid { grid-template-columns: 1fr; }
}

/* ─── HTML 站点地图页 ───────────────────────────────── */
.sitemap-page { max-width: 1000px; margin: 0 auto; }.sitemap-block { margin-bottom: 44px; }
.sitemap-block h2 { font-size: 22px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sitemap-pages { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.sitemap-pages a {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 14px; color: var(--text-secondary); transition: all .2s;
}
.sitemap-pages a:hover { border-color: var(--primary); color: var(--primary); }
.sitemap-cats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sitemap-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; color: var(--text); transition: all .2s;
}
.sitemap-cats a:hover { border-color: var(--primary); background: var(--primary-light); }
.sitemap-cat-count { color: var(--text-light); font-size: 12.5px; }
.sitemap-group { margin-bottom: 26px; }
.sitemap-group h3 { font-size: 16px; margin-bottom: 10px; }
.sitemap-group h3 a { color: var(--primary); }
.sitemap-products { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.sitemap-products li { font-size: 14px; color: var(--text-secondary); display: flex; gap: 8px; flex-wrap: wrap; }
.sitemap-products a { color: var(--text); }
.sitemap-products a:hover { color: var(--primary); }
.sitemap-oem { font-size: 12px; color: var(--text-light); }
@media (max-width: 768px) {
  .sitemap-cats { grid-template-columns: 1fr; }
  .sitemap-products { grid-template-columns: 1fr; }
}

/* ─── 分类图标通用对齐（emoji / 图片）────────────────── */
.cat-ico { display: inline-block; vertical-align: -0.18em; }
.cat-ico-img { display: inline-block; vertical-align: middle; }
.category-icon .cat-ico-img { display: block; margin: 0 auto 2px; }
.cat-name .cat-ico,
.sitemap-cat-name .cat-ico { margin-right: 3px; }
.cat-picker .cat-ico { margin-right: 4px; }

/* ─── 语言下拉里的国旗图片 ───────────────────────────── */
.lang-flag-img {
  width: 20px; height: 14px; border-radius: 2px; object-fit: cover;
  display: inline-block; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}
.lang-dropdown-item .lang-flag-img { margin-right: 2px; }

/* ─── 手机 / 平板：Hero 改成可横滑的实拍图片带 ───────── */
@media (max-width: 1024px) {
  .hero { padding: 38px 0 30px; }
  .hero-content { gap: 24px; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 15px; margin-bottom: 22px; }
  .hero-buttons { margin-bottom: 24px; }
  .hero-stats { gap: 12px; justify-content: space-between; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 11.5px; line-height: 1.3; }

  .hero-visual {
    display: flex;
    position: relative;
    gap: 12px;
    height: auto;
    margin-top: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .hero-visual::-webkit-scrollbar { display: none; }
  .hero-card {
    position: relative;
    inset: auto;
    width: auto !important;
    height: auto !important;
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
    background: #0b1220;
    transform: none !important;
    scroll-snap-align: center;
    border-width: 0;
    box-shadow: 0 10px 24px rgba(2, 6, 23, .3);
  }
  /* contain：整张图完整显示，不被裁切 */
  .hero-card img { width: 100%; height: 100%; object-fit: contain; }
  .hero-chip { display: none; }
  .hero-visual { margin-bottom: 4px; }

  /* 圆点指示器 */
  .hero-dots {
    display: flex; justify-content: center; gap: 7px; margin-top: 10px;
  }
  .hero-dots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .35); cursor: pointer; transition: all .2s;
  }
  .hero-dots button.active { background: #fff; width: 18px; border-radius: 4px; }
}

/* 桌面端不显示图片带指示器 */
@media (min-width: 1025px) {
  .hero-dots { display: none; }
}

/* ─── 手机：悬浮按钮收小，避免压住数据 ───────────────── */
@media (max-width: 768px) {
  .whatsapp-float { width: 46px; height: 46px; bottom: 16px; right: 14px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .inquiry-float { bottom: 72px; right: 14px; }
  .inquiry-float a { width: 46px; height: 46px; }
}

.gallery-assure {
  display: grid; gap: 10px; margin-top: 18px;
  background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px;
}
.gallery-assure div { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.gallery-assure div i { color: var(--primary); flex: 0 0 auto; }

/* ─── 产品列表页：卡片操作区与底部 CTA ───────────────── */
.products-page-section .product-info { display: flex; flex-direction: column; }
.product-actions-row { display: flex; gap: 8px; margin-top: 12px; }
.product-actions-row .btn-sm {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; font-size: 12.5px;
}
.product-actions-row .btn-best-price {
  flex: 1; width: auto; margin-top: 0; padding: 8px 10px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
}
.products-cta { padding: 56px 0; }
.products-cta .cta-content h2 { font-size: 30px; }
.products-page-section .products-category-header { justify-content: flex-end; }

/* ─── 车削定制密封件：目录页 ─────────────────────────── */
.cst-section { background: #f8fafc; padding-top: 30px; }
.cst-filter { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cst-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cst-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 20px;
  background: #fff; font-size: 13.5px; color: var(--text-secondary); transition: all .2s;
}
.cst-chip span { font-size: 12px; color: var(--text-light); }
.cst-chip:hover { border-color: var(--primary); color: var(--primary); }
.cst-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.cst-chip.active span { color: rgba(255, 255, 255, .85); }
.cst-search {
  display: flex; align-items: center; background: #fff; border: 1px solid var(--border);
  border-radius: 22px; padding: 4px 6px 4px 16px; min-width: 300px;
}
.cst-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; padding: 7px 0; font-family: inherit; }
.cst-search button {
  width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cst-count { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.cst-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cst-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all .2s;
}
.cst-card:hover { border-color: var(--primary); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); transform: translateY(-2px); }
.cst-thumb {
  aspect-ratio: 380 / 240; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; padding: 6px;
}
.cst-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cst-meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.cst-code { font-size: 14px; color: var(--text); }
.cst-fam { font-size: 12px; line-height: 1.35; color: var(--text-secondary); }
.cst-variant {
  align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary); font-size: 11px;
}
.cst-empty { text-align: center; padding: 60px 0; color: var(--text-secondary); }
.cst-grid-sm { grid-template-columns: repeat(4, 1fr); }

/* ─── 车削定制密封件：详情页 ─────────────────────────── */
.cst-detail-section { padding-top: 26px; }
.cst-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.cst-detail-img {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  aspect-ratio: 380 / 240; display: flex; align-items: center; justify-content: center;
}
.cst-detail-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cst-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cst-tag { padding: 5px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-alt); font-size: 12px; color: var(--text-secondary); }
.cst-tag-accent { background: var(--primary-light); border-color: transparent; color: var(--primary); }
.cst-detail-body h1 { font-size: 28px; margin: 8px 0 10px; }
.cst-detail-desc { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 18px; }
.cst-specs { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cst-specs th {
  width: 38%; text-align: left; font-weight: 500; font-size: 13.5px;
  padding: 9px 12px; background: var(--bg-alt); color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.cst-specs td { padding: 9px 12px; font-size: 13.5px; border-bottom: 1px solid var(--border); color: var(--text); }
.cst-product-link {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px;
}
.cst-product-link img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cst-product-link em { display: block; font-style: normal; font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); }
.cst-product-link strong { font-size: 14px; color: var(--text); }
.cst-quote { background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.cst-quote h3 { font-size: 18px; margin-bottom: 6px; }
.cst-quote-note { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 14px; }
.cst-form input, .cst-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff; margin-bottom: 10px;
}
.cst-form textarea { resize: vertical; }
.cst-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cst-related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.cst-related h3 { font-size: 18px; margin-bottom: 16px; }

@media (max-width: 1200px) { .cst-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) {
  .cst-grid { grid-template-columns: repeat(3, 1fr); }
  .cst-detail { grid-template-columns: 1fr; gap: 26px; }
  .cst-grid-sm { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cst-grid, .cst-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cst-filter { flex-direction: column; }
  .cst-search { width: 100%; min-width: 0; }
  .cst-detail-img { padding: 10px; }
  .cst-row { grid-template-columns: 1fr; }
  .cst-detail-body h1 { font-size: 22px; }
}@media (max-width: 768px) {
  .cst-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .cst-chips::-webkit-scrollbar { display: none; }
  .cst-chip { flex: 0 0 auto; }
}
/* ─── 定制询价页（三步表单 + 粘性摘要）────────────────── */
.cst-custom-section { padding-top: 26px; }
.cst-custom-head { margin-bottom: 24px; }
.cst-custom-head h1 { font-size: 30px; margin-bottom: 8px; }
.cst-custom-head p { color: var(--text-secondary); font-size: 15px; max-width: 760px; line-height: 1.7; }
.cst-custom-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.cst-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.cst-type-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.cst-type-media { background: #fff; border-bottom: 1px solid var(--border); padding: 14px; }
.cst-type-media img { width: 100%; height: auto; display: block; }
.cst-type-info { padding: 16px 18px 6px; }
.cst-type-info h2 { font-size: 20px; margin: 8px 0 4px; }
.cst-type-code { font-size: 13px; color: var(--text-light); letter-spacing: .4px; margin-bottom: 8px; }
.cst-type-info p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 12px; }
.cst-type-specs { list-style: none; margin: 0 0 8px; }
.cst-type-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 13px; }
.cst-type-specs span { color: var(--text-secondary); }
.cst-type-specs b { color: var(--text); font-weight: 600; text-align: right; }
.cst-type-switch { padding: 14px 18px 18px; border-top: 1px solid var(--border); background: #f8fafc; }
.cst-type-switch label { display: block; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; }
.cst-type-switch select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; font-family: inherit; background: #fff;
}
.cst-summary { background: #0f172a; color: #fff; border-radius: 16px; padding: 18px 20px; }
.cst-summary h4 { font-size: 14px; margin-bottom: 12px; color: #cbd5e1; letter-spacing: .5px; text-transform: uppercase; }
.cst-summary ul { list-style: none; margin: 0; }
.cst-summary li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cst-summary li:last-child { border-bottom: 0; }
.cst-summary span { color: #94a3b8; }
.cst-summary b { font-weight: 600; text-align: right; }
.cst-summary-empty { font-size: 12px; color: #94a3b8; margin-top: 10px; }

.cst-form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px; }
.cst-step { border: 0; padding: 0; margin: 0 0 26px; }
.cst-step legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; padding: 0 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); width: 100%; }
.cst-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; }
.cst-hint { font-size: 12.5px; color: var(--text-light); margin: 10px 0 14px; line-height: 1.6; }
.cst-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cst-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cst-field { margin-bottom: 12px; }
.cst-field label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 5px; }
.cst-field .unit { color: var(--text-light); font-size: 11.5px; }
.cst-field .req { color: #ef4444; }
.cst-field input, .cst-field select, .cst-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.cst-field textarea { resize: vertical; }
.cst-field input:focus, .cst-field select:focus, .cst-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.cst-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cst-opt {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 20px; font-size: 12.5px;
  color: var(--text-secondary); cursor: pointer; background: #fff;
}
.cst-opt input { accent-color: var(--primary); margin: 0; }
.cst-opt:has(input:checked) { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.cst-upload { display: block; border: 1px dashed var(--border); border-radius: 8px; padding: 12px; text-align: center; font-size: 12.5px; color: var(--text-light); cursor: pointer; background: #f8fafc; }
.cst-upload input { display: none; }
.cst-err { display: none; font-size: 12px; color: #ef4444; margin-top: 4px; }
.cst-submit-row { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.cst-note { font-size: 11.5px; color: var(--text-light); line-height: 1.6; }

.cst-success { margin-top: 26px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 22px 24px; }
.cst-success h3 { font-size: 18px; color: #047857; margin-bottom: 8px; }
.cst-success p { font-size: 14px; color: #065f46; margin-bottom: 12px; }
.cst-success-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cst-success pre { background: #fff; border: 1px solid #d1fae5; border-radius: 8px; padding: 12px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; color: #065f46; }

@media (max-width: 1100px) {
  .cst-custom-grid { grid-template-columns: 1fr; }
  .cst-aside { position: static; }
  .cst-type-card { display: grid; grid-template-columns: 200px 1fr; }
  .cst-type-media { border-bottom: 0; border-right: 1px solid var(--border); display: flex; align-items: center; }
  .cst-type-switch { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .cst-type-card { grid-template-columns: 1fr; }
  .cst-type-media { border-right: 0; border-bottom: 1px solid var(--border); }
  .cst-3col, .cst-2col { grid-template-columns: 1fr; }
  .cst-form-card { padding: 20px 18px; }
  .cst-custom-head h1 { font-size: 24px; }
}
/* 手机端：定制页分类筛选改为 2 列网格 */
@media (max-width: 768px) {
  .cst-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .cst-chip {
    width: 100%;
    justify-content: center;
    padding: 9px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .cst-chip span { margin-left: 4px; }
}
/* 手机端：All 占整行，6 个分类正好 2 列 × 3 行 */
@media (max-width: 768px) {
  .cst-chips .cst-chip:first-child { grid-column: 1 / -1; }
}
/* ─── 多选框：均匀网格排布 ───────────────────────────── */
.cst-opts { display: grid; gap: 8px; }
.cst-opts-materials { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cst-opts-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cst-opt {
  display: flex; align-items: center; justify-content: flex-start; gap: 8px;
  min-height: 44px; padding: 8px 12px; text-align: left;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; font-size: 12.5px; color: var(--text-secondary);
  cursor: pointer; transition: all .15s;
}
.cst-opt span { line-height: 1.35; }
.cst-opt input {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 0;
  accent-color: var(--primary);
}
.cst-opt:hover { border-color: var(--primary); }
.cst-opt:has(input:checked) { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
@media (max-width: 768px) {
  .cst-opts-materials, .cst-opts-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 复选框与文字间距（兜底，确保均匀对齐） */
.cst-opt { gap: 9px; }
.cst-opt input { margin: 0 0 0 1px; }
.cst-opt span { margin-left: 1px; }
/* 提高优先级：.cst-field label 的 display:block 会覆盖 .cst-opt，这里显式覆盖回来 */
.cst-field .cst-opts .cst-opt {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 9px; margin-bottom: 0;
}
.cst-field .cst-opts .cst-opt input {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 0;
}
/* 手机端：分类筛选 3 列 × 2 行（All 单独占整行） */
@media (max-width: 768px) {
  .cst-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .cst-chip {
    padding: 9px 4px;
    font-size: 11.5px;
    gap: 3px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .cst-chip span { font-size: 11px; }
  .cst-chips .cst-chip:first-child { grid-column: 1 / -1; }
}
/* 手机端：分类筛选改为等宽卡片（名称在上、数量在下） */
@media (max-width: 768px) {
  .cst-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cst-chip {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 6px;
    min-height: 56px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
  .cst-chip span { font-size: 11px; color: var(--text-light); }
  .cst-chip.active span { color: rgba(255, 255, 255, .85); }
  .cst-chips .cst-chip:first-child { min-height: 46px; flex-direction: row; gap: 6px; }
}
/* 修复：手机上筛选区未撑满宽度（右侧留白） */
@media (max-width: 768px) {
  .cst-filter { align-items: stretch; }
  .cst-chips { width: 100%; }
  .cst-search { width: 100%; }
}
/* 首页产品卡：等高 + 按钮贴底对齐 */
.products-section .product-card {
  display: flex; flex-direction: column; height: 100%;
}
.products-section .product-info {
  display: flex; flex-direction: column; flex: 1;
}
.products-section .product-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.8em;
}
.products-section .product-material,
.products-section .product-oem {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-section .product-actions { margin-top: auto; }
@media (max-width: 768px) {
  .products-section .product-info { padding: 10px; }
  .products-section .product-name { font-size: 13px; min-height: 2.6em; }
  .products-section .product-material,
  .products-section .product-oem { font-size: 11px; }
  .products-section .product-actions { gap: 6px; }
  .products-section .product-actions .btn-sm { flex: 1; justify-content: center; font-size: 12px; padding: 7px 4px; }
}
/* ─── 隐私政策页 & 页脚合规链接 ───────────────────────── */
.legal-page { max-width: 840px; margin: 0 auto; }
.legal-page h2 { font-size: 20px; margin: 30px 0 10px; }
.legal-page p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 12px; }
.legal-page ul { margin: 0 0 14px 20px; }
.legal-page li { font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; }
.legal-page a { color: var(--primary); }
.legal-updated { font-size: 13px; color: var(--text-light); }
.footer-legal-link { color: #94a3b8; margin-left: 10px; text-decoration: underline; }
.footer-legal-link:hover { color: #fff; }
@media (max-width: 768px) {
  .legal-page h2 { font-size: 18px; }
  .legal-page p, .legal-page li { font-size: 14px; }
}
/* ─── 详情页标题层级调整后的样式（h2 替代原 h3/h4）─────── */
.cst-type-title { font-size: 20px; font-weight: 700; margin: 8px 0 4px; color: var(--text); line-height: 1.3; }
.cst-summary-title {
  font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: #cbd5e1; margin: 0 0 12px;
}
.cst-form-title { font-size: 20px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
h2.detail-table-title, h2.desc-title, h2.related-title { display: block; }
/* ─── 产品详情页 FAQ ──────────────────────────────────── */
.product-faq { margin: 40px 0; }
.faq-item {
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 14px 18px; font-size: 14.5px; font-weight: 600;
  color: var(--text); list-style: none; position: relative; padding-right: 42px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--primary); font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 18px 16px; font-size: 14px; line-height: 1.75; color: var(--text-secondary); margin: 0; }
.faq-more { margin-top: 14px; font-size: 14px; }
.faq-more a { color: var(--primary); font-weight: 500; }
/* ─── 分类空态（该分类暂未上架产品）────────────────────── */
.no-results-cat { text-align: center; padding: 56px 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.no-results-cat h2 { font-size: 22px; margin-bottom: 12px; }
.no-results-cat p { max-width: 620px; margin: 0 auto 22px; font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); }
.no-results-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) {
  .no-results-cat { padding: 36px 18px; }
  .no-results-actions .btn { width: 100%; justify-content: center; }
}
/* 首页分类网格：末尾「查看全部」卡占两列，补齐最后一行 */
.categories-grid .category-card-all { grid-column: span 2; border-style: dashed; }
@media (max-width: 768px) {
  .categories-grid .category-card-all { grid-column: auto; }
}
/* ─── 分类卡无图标后的排版（内容垂直居中、高度统一）────── */
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 160px; padding: 26px 22px;
}
.category-card h3 { margin: 0 0 6px; line-height: 1.3; }
.category-count { margin-bottom: 14px; }
@media (max-width: 768px) {
  .category-card { min-height: 128px; padding: 20px 14px; }
  .category-card h3 { font-size: 14px; }
  .category-count { margin-bottom: 10px; }
}