/* ============ Reset & Base ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0A1E3F;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-dark: #0A1E3F;
  --text: #1E293B;
  --text-soft: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(10, 30, 63, 0.08);
  --shadow-hover: 0 12px 40px rgba(10, 30, 63, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ Section Title ============ */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 20px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(10, 30, 63, 0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .cn { font-size: 18px; font-weight: 700; color: var(--white); transition: var(--transition); }
.logo-text .en { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1px; transition: var(--transition); }
.navbar.scrolled .logo-text .cn { color: var(--primary); }
.navbar.scrolled .logo-text .en { color: var(--text-light); }

.nav-menu { display: flex; gap: 36px; align-items: center; }
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
}
.navbar.scrolled .nav-menu a { color: var(--text-soft); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: var(--transition);
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--cyan-light); }
.navbar.scrolled .nav-menu a.active { color: var(--blue); }
.navbar.scrolled .nav-menu a:hover { color: var(--blue); }

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.navbar.scrolled .nav-toggle span { background: var(--primary); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A1E3F 0%, #112D5E 50%, #0F4C75 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
}
.hero-bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 24px;
  font-size: 14px;
  color: var(--cyan-light);
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 1;
}

/* ============ Hero Rankings ============ */
.hero-rankings {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  align-items: flex-start;
}
.ranking-card {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 14px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.ranking-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ranking-icon {
  font-size: 18px;
  line-height: 1;
}
.ranking-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin: 0;
  flex: 1;
}
.ranking-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 20px;
}
.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ranking-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
}
.ranking-list li a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}
.rank-num {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.rank-num.rank-1 { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #fff; }
.rank-num.rank-2 { background: linear-gradient(135deg, #94A3B8, #CBD5E1); color: #fff; }
.rank-num.rank-3 { background: linear-gradient(135deg, #B45309, #D97706); color: #fff; }
.rank-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.rank-info strong {
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.rank-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  flex-shrink: 0;
}
.rank-tag.hot { background: rgba(239, 68, 68, 0.2); color: #FCA5A5; }
.rank-tag.sale { background: rgba(16, 185, 129, 0.2); color: #6EE7B7; }

/* ============ Page Banner (sub-pages) ============ */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #0A1E3F 0%, #112D5E 50%, #0F4C75 100%);
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
}
.page-banner .hero-bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { font-size: 44px; font-weight: 800; color: white; margin-bottom: 16px; letter-spacing: -0.5px; }
.page-banner p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.breadcrumb { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--cyan-light); }
.breadcrumb .sep { margin: 0 8px; }
.page-banner-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }

/* ============ Stats Bar ============ */
.stats { background: var(--bg-soft); padding: 64px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-number .plus { font-size: 32px; }
.stat-label { font-size: 15px; color: var(--text-soft); margin-top: 8px; font-weight: 500; }

/* ============ About ============ */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 24px; line-height: 1.3; }
.about-text p { font-size: 16px; color: var(--text-soft); margin-bottom: 16px; line-height: 1.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.about-feature .check {
  width: 24px; height: 24px; min-width: 24px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 6px; display: flex; align-items: center; justify-content: center; color: white;
}
.about-feature .check svg { width: 14px; height: 14px; }
.about-feature span { font-size: 14px; font-weight: 500; color: var(--text); }

.about-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #112D5E);
  padding: 48px; min-height: 400px; display: flex; flex-direction: column; justify-content: center;
}
.about-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}
.about-visual .quote { position: relative; font-size: 20px; color: rgba(255,255,255,0.9); line-height: 1.8; margin-bottom: 32px; }
.about-visual .quote-icon { font-size: 48px; color: var(--cyan); opacity: 0.3; margin-bottom: 16px; }
.about-visual .signature {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
}
.about-visual .signature .avatar {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 18px;
}
.about-visual .signature .info .name { font-size: 16px; color: white; font-weight: 600; }
.about-visual .signature .info .title { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ============ Products ============ */
.products { padding: 100px 0; background: var(--bg-soft); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: white; border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--blue);
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
}
.product-icon svg { width: 28px; height: 28px; }
.product-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.product-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 16px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag { font-size: 12px; padding: 4px 12px; background: var(--bg-soft); color: var(--text-soft); border-radius: 6px; font-weight: 500; }

/* Product detail (products page) */
.product-detail { padding: 100px 0; }
.product-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-detail-card {
  background: white; border-radius: var(--radius); padding: 40px;
  border: 1px solid var(--border); transition: var(--transition);
}
.product-detail-card:hover { box-shadow: var(--shadow-hover); }
.product-detail-card .product-icon { width: 64px; height: 64px; }
.product-detail-card .product-icon svg { width: 32px; height: 32px; }
.product-detail-card h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.product-detail-card .desc { font-size: 15px; color: var(--text-soft); line-height: 1.8; margin-bottom: 20px; }
.product-detail-card .spec-list { display: flex; flex-direction: column; gap: 10px; }
.product-detail-card .spec-item { display: flex; gap: 10px; font-size: 14px; }
.product-detail-card .spec-item .dot { color: var(--blue); font-weight: 700; }
.product-detail-card .spec-item .label { color: var(--text-soft); min-width: 80px; }
.product-detail-card .spec-item .value { color: var(--text); font-weight: 500; }

/* Category Filter */
.category-filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.cat-filter-btn {
  padding: 8px 20px; border: 2px solid var(--border); border-radius: 30px; background: white;
  font-size: 14px; font-weight: 500; color: var(--text-soft); cursor: pointer; transition: var(--transition);
}
.cat-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.cat-filter-btn.active { background: var(--blue); border-color: var(--blue); color: white; }

/* Product Meta */
.product-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.meta-brand { background: #EFF6FF; color: var(--blue); padding: 2px 10px; border-radius: 6px; font-weight: 600; }
.meta-model { color: var(--text-light); font-family: monospace; }
.meta-sep { color: var(--border); }

/* Product Tags in detail cards */
.product-detail-card .product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

/* ============ Product Center (mall style) ============ */
.product-center { padding: 80px 0 100px; background: var(--bg-soft); }

/* Toolbar */
.product-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.product-search {
  position: relative; flex: 1; min-width: 260px; max-width: 480px;
}
.product-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); pointer-events: none;
}
.product-search input {
  width: 100%; padding: 14px 16px 14px 48px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 15px; background: white; transition: var(--transition); outline: none;
}
.product-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08); }
.product-result-count { font-size: 14px; color: var(--text-soft); }
.product-result-count strong { color: var(--primary); font-size: 18px; }

/* Category Tabs */
.category-tabs {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.category-tabs::-webkit-scrollbar { height: 6px; }
.category-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 20px; border: 1px solid var(--border); border-radius: 12px;
  background: white; color: var(--text-soft); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.cat-tab svg { width: 18px; height: 18px; }
.cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.cat-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
  border-color: transparent; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Filter Panel */
.filter-panel {
  background: white; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 24px; margin-bottom: 20px;
}
.filter-group { display: flex; gap: 16px; align-items: flex-start; }
.filter-group + .filter-group { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); }
.filter-label {
  min-width: 48px; font-size: 14px; font-weight: 600; color: var(--primary);
  padding-top: 6px;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.filter-btn {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px;
  background: white; color: var(--text-soft); font-size: 13px; cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
  border-color: transparent;
}
.filter-btn:disabled { color: var(--text-light); background: var(--bg-soft); cursor: not-allowed; border-style: dashed; }
.filter-letter { min-width: 32px; padding: 6px 8px; text-align: center; font-weight: 600; }
.filter-divider { width: 100%; height: 0; }
.filter-brand-name { font-weight: 500; }

/* Product List Header */
.product-list-header {
  display: grid;
  grid-template-columns: 100px 2fr 120px 100px 160px 140px;
  gap: 16px; padding: 14px 24px; background: #F1F5F9; border-radius: 12px 12px 0 0;
  font-size: 13px; font-weight: 600; color: var(--text-soft); border: 1px solid var(--border); border-bottom: none;
}

/* Product List */
.product-list { background: white; border: 1px solid var(--border); border-radius: 0 0 16px 16px; overflow: hidden; }
.product-row {
  display: grid;
  grid-template-columns: 100px 2fr 120px 100px 160px 140px;
  gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border);
  align-items: center; transition: var(--transition);
}
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: #FAFBFC; }

.product-row-img { display: flex; justify-content: center; }
.product-img-placeholder {
  width: 80px; height: 80px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.product-img-placeholder svg { width: 32px; height: 32px; }

.product-row-info { min-width: 0; }
.pi-top { margin-bottom: 10px; }
.pi-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pi-name a { color: var(--primary); text-decoration: none; transition: color .2s; }
.pi-name a:hover { color: var(--blue); }
.pi-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pi-brand-tag {
  display: inline-block; padding: 2px 10px; background: #EFF6FF; color: var(--blue);
  border-radius: 6px; font-size: 12px; font-weight: 600;
}
.pi-pkg { font-size: 12px; color: var(--text-light); }
.pi-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pi-tag { font-size: 11px; padding: 2px 8px; background: #F1F5F9; color: var(--text-soft); border-radius: 4px; }
.pi-specs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.pi-spec { font-size: 13px; }
.pi-spec-label { color: var(--text-light); margin-right: 4px; }
.pi-spec-value { color: var(--text); font-weight: 500; }
.pi-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-row-stock { text-align: center; }
.pi-stock-num { font-size: 18px; font-weight: 700; color: var(--primary); }
.pi-stock-label { font-size: 12px; color: var(--text-light); margin-top: 4px; }

.product-row-batch { text-align: center; font-size: 13px; color: var(--text-soft); }

.product-row-price { text-align: center; }
.pi-price-main { font-size: 20px; font-weight: 800; color: #DC2626; }
.pi-price-negotiable { color: var(--text); font-size: 18px; }
.pi-price-moq { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.pi-price-ladder { margin-top: 6px; font-size: 11px; color: var(--text-light); }
.pi-price-ladder span { display: block; }

.product-row-action { display: flex; flex-direction: column; gap: 8px; }
.btn-inquiry, .btn-buy-now {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-align: center; border: none;
}
.btn-inquiry {
  background: linear-gradient(135deg, #DC2626, #EF4444); color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.btn-inquiry:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3); }
.btn-buy-now {
  background: white; color: #DC2626; border: 1px solid #FECACA;
}
.btn-buy-now:hover { background: #FEF2F2; border-color: #EF4444; }

/* Inquiry FAB */
.inquiry-fab {
  position: fixed; right: 24px; bottom: 92px; z-index: 998;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); transition: var(--transition);
}
.inquiry-fab:hover { transform: scale(1.06); }
.inquiry-fab svg { width: 24px; height: 24px; }
.inquiry-count {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px;
  background: #DC2626; color: white; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid white;
}

/* Toast */
.product-toast {
  position: fixed; top: 100px; left: 50%; transform: translateX(-50%) translateY(-10px);
  background: var(--primary); color: white; padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 500; z-index: 2000; opacity: 0; transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.product-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Product Center Responsive */
@media (max-width: 1100px) {
  .product-list-header { display: none; }
  .product-row {
    grid-template-columns: 90px 1fr; gap: 16px; padding: 20px;
    align-items: start;
  }
  .product-row-img { grid-row: 1 / 3; }
  .product-row-info { grid-column: 2; }
  .product-row-stock, .product-row-batch, .product-row-price, .product-row-action {
    grid-column: 2; display: flex; align-items: center; gap: 12px; text-align: left;
  }
  .product-row-stock::before { content: '库存：'; font-size: 13px; color: var(--text-light); }
  .product-row-batch::before { content: '批次：'; font-size: 13px; color: var(--text-light); }
  .product-row-price::before { content: '价格：'; font-size: 13px; color: var(--text-light); }
  .product-row-action { flex-direction: row; margin-top: 8px; }
}
@media (max-width: 640px) {
  .product-center { padding: 60px 0 80px; }
  .product-toolbar { flex-direction: column; align-items: stretch; }
  .product-search { max-width: none; }
  .filter-group { flex-direction: column; gap: 10px; }
  .filter-options { gap: 6px; }
  .product-row { grid-template-columns: 1fr; }
  .product-row-img { grid-row: auto; justify-content: flex-start; }
  .product-row-info { grid-column: 1; }
  .product-row-stock, .product-row-batch, .product-row-price, .product-row-action { grid-column: 1; }
  .product-row-action { flex-direction: column; }
  .pi-specs { gap: 10px; }
}

/* ============ Advantages ============ */
.advantages { padding: 100px 0; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  text-align: center; padding: 40px 28px; border-radius: var(--radius);
  background: white; border: 1px solid var(--border); transition: var(--transition);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.adv-icon {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}
.adv-icon svg { width: 32px; height: 32px; }
.adv-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.adv-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ============ Applications ============ */
.applications { padding: 100px 0; background: var(--bg-soft); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px;
  display: flex; align-items: flex-end; padding: 28px;
  background: linear-gradient(135deg, var(--primary), #112D5E);
  transition: var(--transition); cursor: pointer;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.app-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 60%);
}
.app-card .app-content { position: relative; z-index: 2; }
.app-card .app-icon { color: rgba(255,255,255,0.9); margin-bottom: 12px; }
.app-card .app-icon svg { width: 32px; height: 32px; }
.app-card h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 6px; }
.app-card p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ============ Brands ============ */
.brands { padding: 100px 0; }
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand-item {
  display: flex; align-items: center; justify-content: center; height: 90px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 18px; font-weight: 700; color: var(--text-light); transition: var(--transition);
}
.brand-item:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ============ Contact ============ */
.contact { padding: 100px 0; background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.contact-info > p { font-size: 16px; color: var(--text-soft); margin-bottom: 36px; line-height: 1.8; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item .ci-text .label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.contact-item .ci-text .value { font-size: 16px; color: var(--text); font-weight: 600; }

.contact-form {
  background: white; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.contact-form h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.contact-form .form-desc { font-size: 14px; color: var(--text-soft); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group label .req { color: #EF4444; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg-soft); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px; background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: var(--transition); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4); }
.form-success {
  display: none; padding: 16px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px; color: #16A34A; font-size: 14px; font-weight: 500; margin-bottom: 20px; text-align: center;
}

.wechat-qr-card {
  margin-top: 36px; padding: 24px; background: white; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
}
.wechat-qr-header {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px;
}
.wechat-qr-header .wechat-icon { width: 22px; height: 22px; color: #07C160; }
.wechat-qr-img-wrap {
  max-width: 180px; margin: 0 auto 12px; padding: 10px;
  background: linear-gradient(135deg, rgba(7,193,96,0.08), rgba(7,193,96,0.03));
  border-radius: 12px; border: 1px dashed rgba(7,193,96,0.25);
}
.wechat-qr-img { width: 100%; height: auto; border-radius: 6px; }
.wechat-qr-tip { font-size: 13px; color: var(--text-soft); }

/* ============ Quick Entry (home) ============ */
.quick-entry { padding: 100px 0; background: var(--bg-soft); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quick-card {
  background: white; border-radius: 20px; padding: 48px 36px; text-align: center;
  border: 1px solid var(--border); transition: all 0.4s ease; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center;
}
.quick-card:hover {
  transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  border-color: var(--blue);
}
.quick-icon {
  width: 72px; height: 72px; margin-bottom: 24px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}
.quick-icon svg { width: 32px; height: 32px; color: white; }
.quick-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.quick-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.quick-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600; font-size: 15px; margin-top: auto;
}
@media (max-width: 768px) {
  .quick-grid { grid-template-columns: 1fr; }
}

/* ============ CTA Section ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #112D5E);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: 32px; font-weight: 800; color: white; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ============ Timeline (about page) ============ */
.timeline { padding: 100px 0; background: var(--bg-soft); }
.timeline-list { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-list::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--blue), var(--cyan));
}
.timeline-item { position: relative; padding-left: 60px; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .timeline-dot {
  position: absolute; left: 11px; top: 4px; width: 20px; height: 20px;
  background: white; border: 3px solid var(--blue); border-radius: 50%;
}
.timeline-item .timeline-year { font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.timeline-item .timeline-title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-item .timeline-desc { font-size: 15px; color: var(--text-soft); line-height: 1.8; }

/* ============ Values (about page) ============ */
.values { padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: white; border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--border); transition: var(--transition); text-align: center;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card .value-num { font-size: 36px; font-weight: 800; color: var(--blue); opacity: 0.15; margin-bottom: 12px; }
.value-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ============ Process (products page) ============ */
.process { padding: 100px 0; background: var(--bg-soft); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  text-align: center; position: relative; padding: 32px 20px;
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
}
.process-step .step-num {
  width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.process-step h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ============ Footer ============ */
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text .cn { color: white; }
.footer-brand .logo-text .en { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-logo-dark { filter: none; }
.footer-col h4 { font-size: 16px; color: white; font-weight: 600; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--cyan-light); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ============ Scroll Animation ============ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============ Back to Top ============ */
.back-top {
  position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: white;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; border: none; cursor: pointer;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-4px); }

/* ============ WeChat Float Button ============ */
.wechat-float {
  position: fixed; bottom: 96px; right: 32px; z-index: 998;
}
.wechat-float-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #07C160, #10B981); color: white;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35); transition: var(--transition);
  position: relative;
}
.wechat-float-btn svg { width: 26px; height: 26px; }
.wechat-float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(7, 193, 96, 0.45); }
.wechat-float-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #EF4444; color: white; font-size: 11px; font-weight: 700; line-height: 18px;
  text-align: center; border: 2px solid white;
}
.wechat-float-popup {
  position: absolute; bottom: 60px; right: 0;
  width: 380px; padding: 20px; background: white; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10, 30, 63, 0.18); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition);
  pointer-events: none;
}
.wechat-float-popup-inner { text-align: center; }
.wechat-float-title { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.wechat-qr-list {
  display: flex; gap: 16px; justify-content: center;
}
.wechat-qr-item {
  flex: 1; max-width: 160px;
}
.wechat-qr-item-label {
  font-size: 13px; font-weight: 600; color: #07C160; margin-bottom: 8px;
}
.wechat-qr-item img {
  width: 100%; border-radius: 8px; margin-bottom: 6px;
  border: 1px solid var(--border);
}
.wechat-qr-item-id {
  font-size: 12px; color: var(--text-soft); word-break: break-all;
}
.wechat-float-desc { font-size: 12px; color: var(--text-soft); margin-top: 14px; }
.wechat-float:hover .wechat-float-popup,
.wechat-float-popup.active {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.wechat-float-popup::after {
  content: ''; position: absolute; bottom: -8px; right: 18px;
  width: 14px; height: 14px; background: white; transform: rotate(45deg);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/* ============ SEO Content ============ */
.seo-content {
  padding: 60px 0; background: #F8FAFC;
}
.seo-text {
  max-width: 900px; margin: 0 auto; text-align: left;
}
.seo-text h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
  color: var(--text-primary);
}
.seo-text p {
  font-size: 0.95rem; line-height: 1.9; color: var(--text-secondary);
  margin-bottom: 14px;
}
.seo-text strong {
  color: var(--blue); font-weight: 600;
}

/* ============ Highlights (Core Advantages) ============ */
.highlights {
  padding: 100px 0; background: var(--bg-dark); color: white; position: relative; overflow: hidden;
}
.highlights::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}
.highlights .container { position: relative; z-index: 2; }
.highlights .section-title h2 { color: white; }
.highlights .section-title p { color: rgba(255,255,255,0.7); }
.highlights .section-title .label { background: rgba(37,99,235,0.2); color: var(--cyan-light); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.highlight-card {
  text-align: center; padding: 36px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition); backdrop-filter: blur(4px);
}
.highlight-card:hover {
  transform: translateY(-6px); background: rgba(255,255,255,0.08);
  border-color: rgba(37,99,235,0.4); box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}
.highlight-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.2));
  border: 1px solid rgba(37,99,235,0.3); color: var(--cyan-light);
}
.highlight-icon svg { width: 30px; height: 30px; }
.highlight-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
.highlight-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============ FAQ Section ============ */
.faq-section { padding: 80px 0; background: #F8FAFC; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--primary); user-select: none; }
.faq-question .faq-icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 18px; }
.faq-answer p { font-size: 14px; line-height: 1.7; color: var(--text-soft); margin: 0; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-rankings { max-width: 100%; justify-content: center; }
  .ranking-card { flex: 1; min-width: 0; max-width: 360px; }
}
@media (max-width: 720px) {
  .hero-rankings { flex-direction: column; }
  .ranking-card { min-width: auto; padding: 18px; }
  .ranking-header h3 { font-size: 16px; }
  .rank-info strong { font-size: 13px; }
}
@media (max-width: 968px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .products-grid, .adv-grid, .app-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .page-banner h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: white; padding: 24px; gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .nav-menu.active a { color: var(--text); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 36px; }
  .products-grid, .adv-grid, .app-grid, .values-grid, .process-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section-title h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner { padding: 130px 0 60px; }
  .wechat-float { bottom: 84px; right: 20px; }
  .wechat-float-btn { width: 44px; height: 44px; }
  .wechat-float-popup { right: -10px; width: 320px; padding: 16px; }
  .wechat-qr-list { gap: 10px; }
  .wechat-qr-item { max-width: 140px; }
  .wechat-qr-card { padding: 20px; }
  .wechat-qr-img-wrap { max-width: 160px; }
}

/* ============ Admin Panel ============ */
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #112D5E); padding: 20px;
}
.login-card {
  background: white; border-radius: 20px; padding: 48px 40px; text-align: center;
  max-width: 400px; width: 100%; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.login-icon {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}
.login-icon svg { color: white; }
.login-card h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.login-card > p { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-input {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: 12px;
  font-size: 16px; transition: var(--transition); outline: none; box-sizing: border-box;
}
.login-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }
.login-error { color: #DC2626; font-size: 14px; margin-top: 4px; }
.login-hint { margin-top: 24px; font-size: 13px; color: var(--text-light); }

/* Admin Header */
.admin-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 32px;
}
.admin-header h1 { font-size: 28px; font-weight: 800; color: var(--primary); }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-sm { padding: 10px 20px !important; font-size: 14px !important; }
.btn-danger { color: #DC2626 !important; border-color: #FECACA !important; }
.btn-danger:hover { background: #FEF2F2 !important; }

/* Batch Action Bar */
.batch-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px; padding: 20px 24px;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(6,182,212,0.05));
  border: 1px solid rgba(37,99,235,0.15); border-radius: 16px;
}
.batch-bar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.batch-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 16px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white; border: none; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
  transition: all 0.2s;
}
.batch-upload-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.batch-upload-btn:active { transform: translateY(0); }
.batch-secondary-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: white; color: var(--text); border: 1px solid var(--border); border-radius: 10px;
  transition: all 0.2s;
}
.batch-secondary-btn:hover { border-color: var(--blue); color: var(--blue); }

/* Batch Create Hint */
.batch-create-hint {
  background: #f0f4ff; border: 1px solid #c7d2fe; border-radius: 10px;
  padding: 14px 16px; font-size: 13px; color: #4338ca; line-height: 1.7;
}
.batch-create-hint strong { color: #312e81; }
#batchCreateInput {
  width: 100%; font-family: 'Courier New', monospace; font-size: 14px;
  padding: 12px; border: 1px solid var(--border); border-radius: 10px;
  resize: vertical; line-height: 1.6;
}
#batchCreateInput:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

.batch-ai-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 16px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: white; border: none; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
  transition: all 0.2s;
}
.batch-ai-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
.batch-ai-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* AI Optimize Description Button (batch) */
.batch-optimize-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 16px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, #059669, #0EA5E9);
  color: white; border: none; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(5,150,105,0.3);
  transition: all 0.2s;
}
.batch-optimize-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,0.4); }
.batch-optimize-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* AI Optimize Description Button (single, in form) */
.ai-optimize-desc-btn {
  display: inline-block; float: right;
  padding: 4px 14px; font-size: 13px; font-weight: 600;
  color: white; background: linear-gradient(135deg, #059669, #0EA5E9);
  border: none; border-radius: 6px; cursor: pointer;
  transition: all 0.2s;
}
.ai-optimize-desc-btn:hover { opacity: 0.9; box-shadow: 0 2px 8px rgba(5,150,105,0.3); }
.ai-optimize-desc-btn:disabled { opacity: 0.5; cursor: wait; }

/* AI Batch Progress */
.ai-batch-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.ai-batch-modal {
  background: white; border-radius: 20px; padding: 40px; max-width: 500px; width: 90%; text-align: center;
}
.ai-batch-modal h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.ai-batch-modal .ai-batch-subtitle { color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.ai-batch-progress-bar {
  width: 100%; height: 8px; background: #F1F5F9; border-radius: 4px; overflow: hidden; margin-bottom: 16px;
}
.ai-batch-progress-fill {
  height: 100%; background: linear-gradient(90deg, #7C3AED, #EC4899); border-radius: 4px;
  transition: width 0.3s;
}
.ai-batch-progress-text { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.ai-batch-progress-detail { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.ai-batch-results { text-align: left; margin-bottom: 24px; }
.ai-batch-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; border-radius: 8px; margin-bottom: 6px; font-size: 14px;
}
.ai-batch-result-row.full { background: rgba(34,197,94,0.1); color: #15803D; }
.ai-batch-result-row.partial { background: rgba(245,158,11,0.1); color: #B45309; }
.ai-batch-result-row.none { background: rgba(239,68,68,0.08); color: #B91C1C; }
.ai-batch-result-row .label { font-weight: 600; }
.ai-batch-result-row .count { font-size: 20px; font-weight: 800; }

/* Admin Stats */
.admin-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.admin-stat-item {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 24px; display: flex; flex-direction: column; gap: 4px; min-width: 120px;
}
.admin-stat-item.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); border: none;
}
.admin-stat-item.primary .stat-num, .admin-stat-item.primary .stat-text { color: white; }
.admin-stat-item .stat-num { font-size: 28px; font-weight: 800; color: var(--blue); }
.admin-stat-item .stat-text { font-size: 13px; color: var(--text-light); }

/* Admin Table */
.admin-table-wrap { overflow-x: auto; background: white; border-radius: 16px; border: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.admin-table th {
  background: var(--bg-soft); padding: 16px 20px; text-align: left; font-size: 14px;
  font-weight: 600; color: var(--text-light); border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.admin-table td { padding: 16px 20px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #F8FAFC; }
.admin-table .action-cell { display: flex; gap: 8px; white-space: nowrap; }
.btn-edit, .btn-del {
  padding: 6px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-edit { background: #EFF6FF; color: var(--blue); }
.btn-edit:hover { background: var(--blue); color: white; }
.btn-del { background: #FEF2F2; color: #DC2626; }
.btn-del:hover { background: #DC2626; color: white; }
.tag-sm {
  display: inline-block; padding: 2px 10px; background: #F1F5F9; border-radius: 6px;
  font-size: 12px; color: var(--text-light); margin-right: 4px; margin-bottom: 4px;
}

/* Empty State */
.admin-empty { text-align: center; padding: 80px 20px; color: var(--text-light); }
.admin-empty svg { color: var(--border); margin-bottom: 16px; }
.admin-empty h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.modal {
  background: white; border-radius: 20px; width: 100%; max-width: 600px; margin: auto;
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 20px; font-weight: 700; color: var(--primary); }
.modal-close {
  background: none; border: none; font-size: 28px; color: var(--text-light);
  cursor: pointer; line-height: 1; padding: 0; width: 36px; height: 36px;
  border-radius: 8px; transition: var(--transition);
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }
.modal-body { padding: 32px; overflow-y: auto; }
.modal-footer {
  display: flex; gap: 12px; justify-content: flex-end;
  padding: 20px 32px; border-top: 1px solid var(--border);
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 8px;
}
.form-group label .required { color: #DC2626; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; transition: var(--transition); outline: none; box-sizing: border-box;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; }

/* Spec Rows */
.spec-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; }
.spec-row input { flex: 1; padding: 10px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; outline: none; transition: var(--transition); }
.spec-row input:focus { border-color: var(--blue); }
.spec-remove {
  width: 36px; height: 36px; min-width: 36px; border: none; border-radius: 8px;
  background: #FEF2F2; color: #DC2626; font-size: 20px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.spec-remove:hover { background: #DC2626; color: white; }
.btn-add-spec {
  background: none; border: 2px dashed var(--border); border-radius: 8px;
  padding: 10px 20px; font-size: 14px; color: var(--text-light); cursor: pointer;
  transition: var(--transition); width: 100%;
}
.btn-add-spec:hover { border-color: var(--blue); color: var(--blue); }

/* Dynamic product cards (products page) */
.product-detail-card.dynamic { animation: fadeInUp 0.5s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Admin mobile */
@media (max-width: 768px) {
  .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-actions { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .spec-row { flex-wrap: wrap; }
  .spec-row input { min-width: 120px; }
}

/* ============ AI Assistant Widget ============ */
.ai-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; animation: aiPulse 2s ease-in-out infinite;
}
.ai-fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45); }
.ai-fab svg { color: white; }
.ai-fab.active { animation: none; }
.ai-fab .ai-badge {
  position: absolute; top: -2px; right: -2px; width: 16px; height: 16px;
  background: #10B981; border-radius: 50%; border: 2px solid white;
}
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35), 0 0 0 12px rgba(37, 99, 235, 0.08); }
}

.ai-chat {
  position: fixed; right: 24px; bottom: 96px; z-index: 999;
  width: 380px; max-width: calc(100vw - 48px); height: 560px; max-height: calc(100vh - 130px);
  background: white; border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  display: none; flex-direction: column; overflow: hidden;
  animation: aiSlideUp 0.3s ease;
}
.ai-chat.open { display: flex; }
@keyframes aiSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.ai-chat-header {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); padding: 20px 24px;
  display: flex; align-items: center; gap: 12px; color: white;
}
.ai-chat-header .ai-avatar {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.ai-chat-header .ai-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.ai-chat-header .ai-info p { font-size: 12px; opacity: 0.8; display: flex; align-items: center; gap: 4px; }
.ai-chat-header .ai-info p .dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; display: inline-block; }
.ai-chat-close { margin-left: auto; background: none; border: none; color: white; cursor: pointer; padding: 4px; opacity: 0.7; transition: opacity 0.2s; }
.ai-chat-close:hover { opacity: 1; }

.ai-chat-body {
  flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px;
  background: #F8FAFC;
}
.ai-chat-body::-webkit-scrollbar { width: 6px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

.ai-msg { display: flex; gap: 10px; max-width: 90%; }
.ai-msg.user { flex-direction: row-reverse; margin-left: auto; }
.ai-msg .msg-avatar {
  width: 32px; height: 32px; min-width: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.ai-msg.ai .msg-avatar { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; }
.ai-msg.user .msg-avatar { background: #E2E8F0; color: var(--text); }
.ai-msg .msg-bubble {
  padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.7;
  word-break: break-word;
}
.ai-msg.ai .msg-bubble { background: white; color: var(--text); border: 1px solid var(--border); border-top-left-radius: 4px; }
.ai-msg.user .msg-bubble { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white; border-top-right-radius: 4px; }
.ai-msg .msg-bubble p { margin: 0; }
.ai-msg .msg-bubble p + p { margin-top: 8px; }

.ai-typing { display: flex; gap: 4px; padding: 4px 0; }
.ai-typing span {
  width: 8px; height: 8px; background: var(--text-light); border-radius: 50%;
  animation: aiTyping 1.4s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiTyping { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.ai-quick {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px;
  background: #F8FAFC;
}
.ai-quick-btn {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 13px; color: var(--text-soft); background: white; cursor: pointer;
  transition: var(--transition);
}
.ai-quick-btn:hover { border-color: var(--blue); color: var(--blue); background: #EFF6FF; }

.ai-chat-input {
  padding: 16px 20px; border-top: 1px solid var(--border); background: white;
  display: flex; gap: 10px; align-items: center;
}
.ai-chat-input textarea {
  flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px;
  font-size: 14px; resize: none; outline: none; font-family: inherit;
  max-height: 80px; transition: var(--transition); box-sizing: border-box;
}
.ai-chat-input textarea:focus { border-color: var(--blue); }
.ai-send {
  width: 40px; height: 40px; min-width: 40px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: white;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.ai-send:hover { transform: scale(1.05); }
.ai-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* AI product recommendation card in chat */
.ai-product-card {
  margin-top: 10px; background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; display: flex; gap: 12px; align-items: center; transition: var(--transition);
}
.ai-product-card:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(37,99,235,0.1); }
.ai-product-card .apc-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.ai-product-card .apc-info { flex: 1; }
.ai-product-card .apc-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ai-product-card .apc-meta { font-size: 12px; color: var(--text-light); }
.ai-product-card .apc-link {
  font-size: 12px; color: var(--blue); text-decoration: none; font-weight: 600;
  padding: 6px 12px; border: 1px solid var(--blue); border-radius: 8px; transition: var(--transition);
}
.ai-product-card .apc-link:hover { background: var(--blue); color: white; }

/* AI Settings (admin) */
.ai-settings-modal { max-width: 480px; }
.ai-settings-modal .modal-body { padding: 28px 32px; }
.ai-settings-guide {
  background: #F0F9FF; border: 1px solid #BAE6FD; border-radius: 12px; padding: 16px;
  font-size: 13px; color: var(--text-soft); line-height: 1.8; margin-bottom: 20px;
}
.ai-settings-guide a { color: var(--blue); font-weight: 600; }
.ai-settings-guide strong { color: var(--text); }
.ai-status-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 600;
}
.ai-status-badge.on { background: #DCFCE7; color: #16A34A; }
.ai-status-badge.off { background: #FEE2E2; color: #DC2626; }
.ai-status-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.ai-status-badge.on .dot { background: #16A34A; }
.ai-status-badge.off .dot { background: #DC2626; }

/* AI Generate button in product form */
.ai-generate-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  border: 2px solid var(--blue); border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--blue); background: #EFF6FF; cursor: pointer; transition: var(--transition);
}
.ai-generate-btn:hover { background: var(--blue); color: white; }
.ai-generate-btn:disabled { opacity: 0.5; cursor: wait; }

/* Field Settings (admin) */
.field-settings-guide {
  background: #F0F9FF; border: 1px solid #BAE6FD; border-radius: 12px; padding: 14px 16px;
  font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 20px;
}
.field-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #F8FAFC; border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 8px;
}
.field-num {
  width: 28px; height: 28px; min-width: 28px; border-radius: 8px;
  background: var(--blue); color: white; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.field-label { font-weight: 600; font-size: 14px; color: var(--text); min-width: 80px; }
.field-example { font-size: 13px; color: var(--text-light); flex: 1; }
.field-add-row {
  display: flex; gap: 10px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.field-add-row input {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; transition: var(--transition);
}
.field-add-row input:focus { border-color: var(--blue); }

/* Custom fields in product form */
.custom-fields-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
}
@media (max-width: 768px) {
  .custom-fields-grid { grid-template-columns: 1fr; }
}

/* Scrollable table with many columns */
.admin-table { min-width: 800px; }
.admin-table th, .admin-table td { white-space: nowrap; }

/* Custom specs in product cards (front-end) */
.spec-list.custom-specs {
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.spec-list.custom-specs .spec-item .label {
  color: var(--cyan);
}
.ai-generate-btn svg { flex-shrink: 0; }

/* AI Widget mobile */
@media (max-width: 768px) {
  .ai-chat { right: 12px; left: 12px; bottom: 88px; width: auto; height: 70vh; }
  .ai-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ===== AI Assistant Drawer ===== */
.ai-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  border-left: 1px solid var(--border);
}
.ai-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: #fff;
  flex-shrink: 0;
}
.ai-drawer-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-drawer-title h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.ai-drawer-title span { color: rgba(255,255,255,0.8); }
.ai-drawer-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ai-drawer-close:hover { background: rgba(255,255,255,0.3); }

.ai-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #F9FAFB;
}

.ai-chat-welcome {
  text-align: center;
  padding: 40px 20px;
}
.ai-chat-welcome-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ai-chat-welcome h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.ai-chat-welcome > p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 0 24px;
  line-height: 1.6;
}
.ai-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.ai-suggestion-chip {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.ai-suggestion-chip:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  background: #FAF5FF;
}
.ai-chat-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: #EF4444;
  background: #FEF2F2;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 12px;
}

.ai-chat-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  animation: chatMsgIn 0.3s ease;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #7C3AED, #6366F1);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-chat-msg.ai {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #E5E7EB;
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.ai-chat-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.ai-chat-typing span {
  width: 8px;
  height: 8px;
  background: #D1D5DB;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}
.ai-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.ai-chat-action-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ECFDF5;
  border-radius: 10px;
  font-size: 13px;
  color: #065F46;
}
.ai-chat-action-result .ai-action-result-icon {
  width: 28px;
  height: 28px;
  background: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ai-drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}
.ai-chat-input-wrap {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.ai-chat-input {
  flex: 1;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  max-height: 100px;
  line-height: 1.5;
}
.ai-chat-input:focus { border-color: #7C3AED; }
.ai-chat-input:disabled { background: #F3F4F6; color: #9CA3AF; cursor: not-allowed; }
.ai-chat-send-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, opacity 0.2s;
}
.ai-chat-send-btn:hover:not(:disabled) { transform: scale(1.05); }
.ai-chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-chat-footer-hint {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
  text-align: center;
}

/* AI Drawer mobile */
@media (max-width: 768px) {
  .ai-drawer { width: 100vw; }
}

/* ============ News Page ============ */
.news-section { padding: 60px 0 80px; }

/* Filter */
.news-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
  justify-content: center;
}
.news-cat-btn {
  padding: 8px 20px; border: 2px solid var(--border); border-radius: 24px;
  background: white; color: var(--text); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .25s;
}
.news-cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.news-cat-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent; color: white;
}

/* Search */
.news-search { margin-bottom: 32px; display: flex; justify-content: center; }
.news-search-box {
  position: relative; width: 100%; max-width: 480px;
}
.news-search-box svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-light);
}
.news-search-box input {
  width: 100%; padding: 12px 16px 12px 46px;
  border: 2px solid var(--border); border-radius: 12px;
  font-size: 14px; outline: none; transition: border-color .25s;
}
.news-search-box input:focus { border-color: var(--blue); }

/* Grid */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.news-card-featured { grid-column: span 2; }
@media (max-width: 900px) { .news-card-featured { grid-column: span 1; } }

.news-card {
  background: white; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; cursor: pointer; transition: all .3s;
  display: flex; flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10,30,63,.1);
  border-color: var(--blue);
}
.news-card-featured { flex-direction: row; }
@media (max-width: 900px) { .news-card-featured { flex-direction: column; } }

/* Cover / Icon */
.news-card-cover { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; }
.news-card-featured .news-card-cover { width: 45%; height: auto; min-height: 240px; }
@media (max-width: 900px) {
  .news-card-featured .news-card-cover { width: 100%; height: 200px; }
}
.news-card-cover img { width: 100%; height: 100%; object-fit: cover; }

.news-card-icon {
  width: 100%; height: 160px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EFF6FF, #E0F2FE); flex-shrink: 0;
}
.news-card-featured .news-card-icon { width: 45%; height: auto; min-height: 240px; }
@media (max-width: 900px) {
  .news-card-featured .news-card-icon { width: 100%; height: 160px; }
}
.news-card-icon svg { width: 56px; height: 56px; color: var(--blue); opacity: .6; }

/* Body */
.news-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.news-card-cat {
  font-size: 12px; font-weight: 600; color: var(--blue);
  background: #EFF6FF; padding: 3px 10px; border-radius: 6px;
}
.news-card-date { font-size: 12px; color: var(--text-light); }

.news-card-title {
  font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px;
  line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-featured .news-card-title { font-size: 20px; -webkit-line-clamp: 2; }

.news-card-summary {
  font-size: 14px; color: var(--text-soft); line-height: 1.7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.news-card-featured .news-card-summary { -webkit-line-clamp: 4; font-size: 14px; }

.news-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.news-card-tag {
  font-size: 12px; color: var(--text-soft); background: #F1F5F9;
  padding: 2px 8px; border-radius: 4px;
}

.news-card-footer {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-light); margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.news-card-views { margin-left: auto; }
.news-card-read { color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* Load More */
.news-load-more { text-align: center; margin-top: 20px; }
.news-load-more .btn-outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.news-load-more .btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* Empty */
.news-section .admin-empty { grid-column: 1 / -1; }

/* ============ News Detail Modal ============ */
.news-modal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: flex-start; justify-content: center; padding: 40px 20px;
  overflow-y: auto;
}
.news-modal.active { display: flex; }
.news-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
}
.news-modal-content {
  position: relative; background: white; border-radius: 16px;
  max-width: 760px; width: 100%; padding: 40px 48px; margin: auto;
  z-index: 1; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
@media (max-width: 768px) {
  .news-modal { padding: 16px; }
  .news-modal-content { padding: 28px 20px; }
}
.news-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: #F1F5F9; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.news-modal-close:hover { background: #E2E8F0; transform: rotate(90deg); }

.news-detail-cat {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue);
  background: #EFF6FF; padding: 4px 14px; border-radius: 8px; margin-bottom: 16px;
}
.news-detail-title {
  font-size: 26px; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 16px;
}
.news-detail-meta {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-light);
  padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.news-detail-meta span { display: flex; align-items: center; gap: 6px; }
.news-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.news-detail-tag {
  font-size: 13px; color: var(--blue); background: #EFF6FF;
  padding: 4px 12px; border-radius: 6px;
}
.news-detail-summary {
  font-size: 16px; color: var(--text-soft); line-height: 1.8; font-weight: 500;
  padding: 16px 20px; background: #F8FAFC; border-radius: 12px; margin-bottom: 24px;
  border-left: 4px solid var(--blue);
}
.news-detail-content { font-size: 15px; color: var(--text); line-height: 1.9; }
.news-detail-content p { margin-bottom: 16px; }
.news-detail-content strong { color: var(--text); font-weight: 700; }
.news-detail-content h2, .news-detail-content h3 {
  margin: 24px 0 12px; font-size: 18px; color: var(--text);
}
.news-detail-content ul, .news-detail-content ol { padding-left: 20px; margin-bottom: 16px; }
.news-detail-content li { margin-bottom: 8px; }
.news-detail-content img { max-width: 100%; border-radius: 12px; margin: 16px 0; }

.news-detail-footer {
  margin-top: 32px; padding: 24px; text-align: center;
  background: linear-gradient(135deg, #EFF6FF, #F0FDFA); border-radius: 12px;
}
.news-detail-footer p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }

/* ============ Admin News Management ============ */
.admin-news-toolbar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.admin-news-actions {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.admin-news-actions .btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--text); font-size: 13px; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.admin-news-actions .btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
}
.admin-news-search {
  flex: 1; min-width: 200px; position: relative;
}
.admin-news-search input {
  width: 100%; padding: 10px 14px 10px 40px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none;
}
.admin-news-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-light);
}

.news-table-wrap { overflow-x: auto; }
.news-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.news-table th {
  text-align: left; padding: 10px 14px; background: #F8FAFC;
  color: var(--text-light); font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
.news-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text);
  vertical-align: middle;
}
.news-table tr:hover { background: #F8FAFC; }
.news-table .news-row-title { font-weight: 600; max-width: 300px; }
.news-table .news-row-cat {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px;
  background: #EFF6FF; color: var(--blue); white-space: nowrap;
}
.news-table .news-row-status {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px;
  white-space: nowrap;
}
.news-table .news-row-status.published { background: #ECFDF5; color: #065F46; }
.news-table .news-row-status.draft { background: #FEF3C7; color: #92400E; }
.news-table .news-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.news-table .news-row-actions button {
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px;
  background: white; color: var(--text); font-size: 12px; cursor: pointer; transition: all .2s;
}
.news-table .news-row-actions button:hover { border-color: var(--blue); color: var(--blue); }
.news-table .news-row-actions button.del-btn:hover { border-color: #EF4444; color: #EF4444; }

/* News Form */
.news-form-group { margin-bottom: 16px; }
.news-form-group label {
  display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.news-form-group input[type="text"],
.news-form-group input[type="date"],
.news-form-group select,
.news-form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none; font-family: inherit;
}
.news-form-group input:focus, .news-form-group select:focus, .news-form-group textarea:focus {
  border-color: var(--blue);
}
.news-form-group textarea { resize: vertical; min-height: 100px; }
.news-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .news-form-row { grid-template-columns: 1fr; } }

.news-content-editor {
  min-height: 280px; line-height: 1.8; font-size: 14px;
}
.news-content-editor:focus { border-color: var(--blue); }

.news-form-toolbar {
  display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap;
}
.news-form-toolbar button {
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px;
  background: white; color: var(--text); font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.news-form-toolbar button:hover { background: #EFF6FF; border-color: var(--blue); color: var(--blue); }

.news-form-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px;
  padding-top: 16px; border-top: 1px solid var(--border);
}

/* ============ Product News Page ============ */
.pn-section { padding: 60px 0; background: var(--bg-soft); }
.pn-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 992px) {
  .pn-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.pn-sidebar {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.pn-search {
  position: relative;
  margin-bottom: 16px;
}
.pn-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-light);
}
.pn-search input {
  width: 100%; padding: 10px 12px 10px 38px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; outline: none;
}
.pn-search input:focus { border-color: var(--blue); }

.pn-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pn-filter-btn {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px;
  background: white; color: var(--text-soft); font-size: 13px;
  cursor: pointer; transition: all .2s;
}
.pn-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.pn-filter-btn.active {
  background: var(--blue); color: white; border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.pn-list { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; }
.pn-list-item {
  padding: 14px; border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: all .2s; background: white;
}
.pn-list-item:hover {
  border-color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}
.pn-list-item.active {
  border-color: var(--blue); background: linear-gradient(135deg,#EFF6FF 0%,#FFFFFF 100%);
  box-shadow: 0 4px 16px rgba(37,99,235,0.15);
}
.pn-list-model {
  font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 4px;
}
.pn-list-title {
  font-size: 13px; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.pn-list-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-light);
}
.pn-list-cat {
  padding: 2px 8px; background: #F1F5F9; border-radius: 10px;
  color: var(--text-soft);
}

.pn-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 20px; color: var(--text-light); text-align: center;
}
.pn-empty svg { margin-bottom: 12px; }

/* Main Detail */
.pn-main { min-width: 0; }
.pn-detail {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pn-detail-header {
  padding: 28px 32px;
  background: linear-gradient(135deg,#0F172A 0%,#1E3A5F 100%);
  color: white;
}
.pn-detail-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.pn-tag {
  padding: 4px 10px; background: rgba(255,255,255,0.15);
  border-radius: 12px; font-size: 12px; color: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
}
.pn-detail-header h1 {
  font-size: 26px; font-weight: 700; line-height: 1.4; margin-bottom: 18px;
}
.pn-detail-meta {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  font-size: 13px; color: rgba(255,255,255,0.8);
}
.pn-detail-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.pn-detail-meta svg { color: var(--cyan-light); }
@media (max-width: 768px) {
  .pn-detail-header { padding: 22px; }
  .pn-detail-header h1 { font-size: 20px; }
}

/* Inquiry Card */
.pn-inquiry-card {
  margin: 24px 32px;
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden;
}
.pn-inquiry-title {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; background: linear-gradient(90deg,#DC2626 0%,#EF4444 100%);
  color: white; font-size: 15px; font-weight: 600;
}
.pn-inquiry-title svg { color: white; }
.pn-inquiry-form { padding: 18px; }
.pn-form-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pn-form-row.pn-form-contact { grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
@media (max-width: 1200px) {
  .pn-form-row { grid-template-columns: repeat(2, 1fr); }
  .pn-form-row.pn-form-contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .pn-form-row { grid-template-columns: 1fr; }
  .pn-form-row.pn-form-contact { grid-template-columns: 1fr; }
}
.pn-form-group {
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0;
}
.pn-form-group label {
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.pn-form-group.required label::after {
  content: '*'; color: #DC2626; margin-left: 3px;
}
.pn-form-group input {
  width: 100%; min-width: 0;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; outline: none; box-sizing: border-box;
}
.pn-form-group input:focus { border-color: var(--blue); }
.pn-form-note {
  margin: 12px 0; padding: 10px 14px; background: #FEF9C3;
  border-radius: 8px; font-size: 13px; color: #854D0E;
}
.pn-submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 12px; padding: 12px 32px;
  background: linear-gradient(90deg,#DC2626 0%,#EF4444 100%);
  color: white; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.pn-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220,38,38,0.3);
}

/* Content Cards */
.pn-content-card {
  margin: 0 32px 24px; padding: 24px;
  border: 1px solid var(--border); border-radius: 14px;
  background: white;
}
.pn-content-card h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--primary);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px solid #EFF6FF;
}
.pn-content-card h2 svg { color: var(--blue); }
.pn-overview { font-size: 15px; line-height: 1.9; color: var(--text); }
.pn-overview p { margin-bottom: 14px; }
.pn-overview strong { color: var(--primary); }
.pn-overview h3 { font-size: 16px; margin: 18px 0 10px; color: var(--primary); }
.pn-features { display: grid; gap: 12px; }
.pn-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: #F8FAFC; border-radius: 10px;
  font-size: 14px; color: var(--text);
}
.pn-features li svg {
  flex-shrink: 0; margin-top: 2px; color: #059669;
}

.pn-contact-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  margin: 0 32px 32px; padding: 16px 20px;
  background: #F8FAFC; border-radius: 10px;
  font-size: 14px; color: var(--text-soft);
}
.pn-contact-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600;
}
.pn-contact-bar a:hover { color: var(--blue-light); }
@media (max-width: 768px) {
  .pn-inquiry-card, .pn-content-card, .pn-contact-bar { margin-left: 20px; margin-right: 20px; }
}

/* Admin Product News table extra */
#productNewsPanel .news-table th:first-child,
#productNewsPanel .news-table td:first-child { width: 140px; }

/* ============ Product Detail Page ============ */
.pd-section { padding: 50px 0 80px; background: var(--bg-soft); min-height: 500px; }

.pd-loading, .pd-not-found {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 20px; color: var(--text-light); text-align: center;
}
.pd-loading svg { animation: spin 1.2s linear infinite; margin-bottom: 16px; color: var(--blue); }
.pd-not-found svg { margin-bottom: 20px; color: var(--text-light); }
.pd-not-found h2 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.pd-not-found p { font-size: 15px; margin-bottom: 24px; max-width: 420px; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.pd-top {
  display: grid; grid-template-columns: 440px 1fr; gap: 32px; margin-bottom: 32px;
}

/* Gallery */
.pd-gallery {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 24px; box-shadow: 0 4px 20px rgba(15,23,42,0.04);
}
.pd-main-image {
  height: 360px; border-radius: 14px; background: #F8FAFC;
  display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 16px;
}
.pd-main-image img {
  max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s;
}
.pd-main-image img:hover { transform: scale(1.03); }
.pd-image-placeholder {
  width: 120px; height: 120px; border-radius: 20px; background: linear-gradient(135deg,#EFF6FF 0%,#DBEAFE 100%);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.pd-image-placeholder svg { width: 56px; height: 56px; }
.pd-thumbs {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
}
.pd-thumb {
  width: 72px; height: 72px; border-radius: 10px; border: 2px solid var(--border);
  cursor: pointer; overflow: hidden; flex-shrink: 0; background: #F8FAFC;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--blue); box-shadow: 0 4px 12px rgba(37,99,235,0.15); }
.pd-image-note {
  margin-top: 12px; font-size: 12px; color: var(--text-light); text-align: center;
}

/* Info Card */
.pd-info {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 32px; box-shadow: 0 4px 20px rgba(15,23,42,0.04);
}
.pd-info-header { padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-badge {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; background: #F1F5F9; color: var(--text-soft);
}
.pd-badge-pkg { background: #EFF6FF; color: var(--blue); }
.pd-badge-stock { background: #DCFCE7; color: #15803D; }
.pd-model { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.pd-subtitle { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.pd-info-body { margin-bottom: 20px; }
.pd-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14px;
}
.pd-info-row:last-child { border-bottom: none; }
.pd-info-label { color: var(--text-light); }
.pd-info-value { font-weight: 600; color: var(--text); }
.pd-stock { color: #15803D; }

.pd-price-box {
  background: linear-gradient(135deg,#FEF2F2 0%,#FFF5F5 100%); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 20px; border: 1px solid #FECACA;
}
.pd-price-label { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.pd-price-main { font-size: 32px; font-weight: 800; color: #DC2626; margin-bottom: 4px; }
.pd-price-moq { font-size: 13px; color: var(--text-soft); }

.pd-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.pd-btn-inquiry, .pd-btn-back { flex: 1; justify-content: center; }
.pd-btn-inquiry { background: linear-gradient(135deg,#DC2626 0%,#EF4444 100%); border: none; }
.pd-btn-inquiry:hover { background: linear-gradient(135deg,#B91C1C 0%,#DC2626 100%); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tag {
  font-size: 12px; padding: 4px 10px; background: #F1F5F9; color: var(--text-soft);
  border-radius: 6px;
}

/* Tabs */
.pd-tabs-wrap {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15,23,42,0.04); margin-bottom: 32px; overflow: hidden;
}
.pd-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--border); background: #FAFBFC;
}
.pd-tab {
  padding: 16px 28px; font-size: 15px; font-weight: 600; color: var(--text-soft);
  background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer;
  transition: all .2s;
}
.pd-tab:hover { color: var(--blue); background: #F1F5F9; }
.pd-tab.active { color: var(--blue); border-bottom-color: var(--blue); background: white; }
.pd-tab-panels { padding: 28px 32px; }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Params Table */
.pd-params-table-wrap { overflow-x: auto; }
.pd-params-table { width: 100%; border-collapse: collapse; }
.pd-params-table td {
  padding: 14px 18px; border: 1px solid var(--border); font-size: 14px;
}
.pd-param-label {
  width: 18%; background: #F8FAFC; color: var(--text-light); font-weight: 600;
}
.pd-param-value { width: 32%; color: var(--text); }
.pd-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.pd-link:hover { text-decoration: underline; }

/* Datasheet */
.pd-datasheet-card {
  display: flex; align-items: center; gap: 24px; padding: 32px;
  background: linear-gradient(135deg,#EFF6FF 0%,#FFFFFF 100%); border-radius: 14px;
  border: 1px solid #BFDBFE;
}
.pd-datasheet-icon {
  width: 90px; height: 90px; border-radius: 20px; background: white;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}
.pd-datasheet-info h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.pd-datasheet-info p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.pd-datasheet-actions { display: flex; gap: 12px; }

/* Overview */
.pd-overview { font-size: 15px; line-height: 1.9; color: var(--text); }
.pd-overview p { margin-bottom: 14px; }

.pd-empty-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 20px; color: var(--text-light); text-align: center;
}
.pd-empty-box svg { margin-bottom: 14px; }
.pd-empty-box span { font-size: 13px; }

/* Inquiry Section */
.pd-inquiry-section { margin-bottom: 32px; }
.pd-inquiry-card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15,23,42,0.04); overflow: hidden;
}
.pd-inquiry-title {
  display: flex; align-items: center; gap: 10px; padding: 16px 24px;
  background: linear-gradient(90deg,#DC2626 0%,#EF4444 100%); color: white;
  font-size: 16px; font-weight: 700;
}
.pd-inquiry-form { padding: 24px; }
.pd-form-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px;
}
.pd-form-contact { grid-template-columns: repeat(4, 1fr); }
.pd-form-group { display: flex; flex-direction: column; gap: 6px; }
.pd-form-group.required label::after { content: '*'; color: #DC2626; margin-left: 3px; }
.pd-form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.pd-form-group input, .pd-form-group select, .pd-form-group textarea {
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; outline: none; font-family: inherit; width: 100%; box-sizing: border-box;
}
.pd-form-group input:focus, .pd-form-group select:focus, .pd-form-group textarea:focus { border-color: var(--blue); }
.pd-form-group input[readonly] { background: #F8FAFC; color: var(--text-soft); }
.pd-form-note {
  margin: 6px 0 16px; padding: 12px 16px; background: #FEF9C3; border-radius: 8px;
  font-size: 13px; color: #854D0E;
}
.pd-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 36px;
  background: linear-gradient(135deg,#DC2626 0%,#EF4444 100%); color: white; border: none;
  border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.pd-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,38,38,0.3); }

/* Related */
.pd-related-title {
  display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700;
  color: var(--primary); margin-bottom: 20px;
}
.pd-related-title svg { color: var(--blue); }
.pd-related-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pd-related-item {
  background: white; border-radius: 14px; border: 1px solid var(--border); overflow: hidden;
  text-decoration: none; transition: all .2s;
}
.pd-related-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,23,42,0.08); border-color: var(--blue); }
.pd-related-img {
  height: 150px; background: #F8FAFC; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pd-related-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-related-icon { color: var(--blue); }
.pd-related-icon svg { width: 48px; height: 48px; }
.pd-related-info { padding: 16px; }
.pd-related-info h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.pd-related-info p { font-size: 13px; color: var(--text-light); }

/* Toast */
.pd-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 12px 24px; border-radius: 30px;
  font-size: 14px; font-weight: 500; z-index: 2000; box-shadow: 0 8px 24px rgba(15,23,42,0.2);
}

@media (max-width: 1100px) {
  .pd-top { grid-template-columns: 1fr; }
  .pd-main-image { height: 320px; }
}
@media (max-width: 992px) {
  .pd-form-grid, .pd-form-contact { grid-template-columns: repeat(2, 1fr); }
  .pd-related-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pd-info { padding: 22px; }
  .pd-model { font-size: 22px; }
  .pd-price-main { font-size: 26px; }
  .pd-actions { flex-direction: column; }
  .pd-tab { padding: 12px 16px; font-size: 14px; }
  .pd-tab-panels { padding: 20px; }
  .pd-datasheet-card { flex-direction: column; text-align: center; }
  .pd-form-grid, .pd-form-contact { grid-template-columns: 1fr; }
  .pd-related-list { grid-template-columns: 1fr; }
  .pd-params-table td { padding: 10px 12px; font-size: 13px; }
  .pd-param-label { width: 30%; }
  .pd-param-value { width: 70%; }
}

/* ===== Product Detail: New SEO Sections ===== */

/* Tab scroll for 5 tabs */
.pd-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Stock & Pricing Section */
.pd-stock-section { margin-top: 32px; }
.pd-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 20px;
}
.pd-section-title svg { color: var(--blue); flex-shrink: 0; }
.pd-stock-card {
  background: #F8FAFC; border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; overflow: hidden;
}
.pd-stock-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 24px;
}
.pd-stock-item {
  display: flex; flex-direction: column; gap: 6px;
}
.pd-stock-label {
  font-size: 13px; color: var(--text-light); font-weight: 500;
}
.pd-stock-val {
  font-size: 16px; font-weight: 600; color: var(--primary);
}
.pd-stock-cta {
  background: white; border-radius: 10px; padding: 18px 22px;
  font-size: 14px; line-height: 1.8; color: var(--text);
  border-left: 4px solid var(--blue);
}
.pd-stock-cta strong { color: var(--blue); font-size: 16px; }
.pd-stock-link {
  color: var(--blue); font-weight: 600; text-decoration: none;
  border-bottom: 1px dashed var(--blue); margin-left: 4px;
}
.pd-stock-link:hover { opacity: 0.8; }

/* Applications Tab */
.pd-app-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.pd-app-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #F8FAFC; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  transition: var(--transition);
}
.pd-app-item:hover {
  border-color: var(--blue); box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.pd-app-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-app-icon svg { width: 22px; height: 22px; }
.pd-app-content h3 {
  font-size: 16px; font-weight: 700; color: var(--primary);
  margin-bottom: 6px;
}
.pd-app-content p {
  font-size: 14px; line-height: 1.7; color: var(--text-light);
}

/* Alternatives Tab */
.pd-alt-intro {
  font-size: 15px; color: var(--text); line-height: 1.7;
  margin-bottom: 20px;
}
.pd-alt-table-wrap { overflow-x: auto; }
.pd-alt-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.pd-alt-table thead {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.pd-alt-table th {
  padding: 14px 18px; text-align: left;
  font-size: 14px; font-weight: 600; color: white;
}
.pd-alt-table td {
  padding: 14px 18px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pd-alt-table tbody tr:last-child td { border-bottom: none; }
.pd-alt-table tbody tr:hover { background: #F8FAFC; }
.pd-alt-link {
  color: var(--blue); font-weight: 600; text-decoration: none;
}
.pd-alt-link:hover { text-decoration: underline; }

/* SEO CTA */
.pd-seo-cta { margin-top: 40px; }
.pd-seo-cta-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2563EB 100%);
  border-radius: 16px; padding: 40px; text-align: center;
  color: white;
}
.pd-seo-cta-title {
  font-size: 28px; font-weight: 800; margin-bottom: 12px;
}
.pd-seo-cta-desc {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 auto 28px;
}
.pd-seo-cta-info {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px 40px;
}
.pd-seo-cta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: rgba(255,255,255,0.9);
}
.pd-seo-cta-item svg { color: rgba(255,255,255,0.7); flex-shrink: 0; }
.pd-seo-cta-item strong { color: white; }

@media (max-width: 768px) {
  .pd-seo-cta-card { padding: 28px 20px; }
  .pd-seo-cta-title { font-size: 22px; }
  .pd-seo-cta-info { gap: 16px 24px; }
  .pd-app-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-stock-info { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pd-stock-card { padding: 20px; }
}

/* ============ Pagination ============ */
.pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 32px 0 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.pagination-info {
  font-size: 14px;
  color: var(--text-soft);
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover:not(.disabled):not([disabled]) {
  border-color: var(--blue);
  color: var(--blue);
  background: #EFF6FF;
}
.page-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.page-btn.disabled,
.page-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-ellipsis {
  padding: 0 4px;
  color: var(--text-light);
}
.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  font-size: 14px;
  color: var(--text-soft);
}
.page-jump input {
  height: 36px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

/* ============ Brand Search Input ============ */
.brand-search-input {
  display: inline-block;
  width: auto;
  margin-left: 8px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  height: 28px;
  outline: none;
  transition: border-color 0.2s;
}
.brand-search-input:focus {
  border-color: var(--blue);
}
.filter-more-hint {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}
