﻿:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --green: #16a34a;
  --red: #dc2626;
  --cyan: #0891b2;
  --bg: #ffffff;
  --card-bg: #ffffff;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --transition: all 0.25s ease;
}

/* 屏幕阅读器专用类（爬虫可识别，对视觉用户隐藏） */
.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;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== Header Sticky Wrapper ==================== */
.header-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

/* ==================== 网站首图 Banner ==================== */
.site-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a2e url('/images/hero-banner.webp') center/cover no-repeat;
}
.site-banner picture,
.site-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop-content banner - hidden on mobile, shown on desktop via media query */
.site-banner-desktop {
  display: none !important;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a2e url('/images/hero-banner.webp') center/cover no-repeat;
  border-radius: 12px;
  margin-bottom: 20px;
}
.site-banner-desktop picture,
.site-banner-desktop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ==================== Header ==================== */
.header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-img-lg {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .logo-text-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.logo-text .logo-text-sub {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}
.logo-sub {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 900px;
  gap: 4px;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-item:hover, .nav-item.active { color: var(--primary); background: var(--primary-light); }

.nav-smart { color: #7c3aed; }
.nav-smart:hover, .nav-smart.active { color: #6d28d9; background: #f5f3ff; }

.nav-order { color: #2563eb; }
.nav-order:hover, .nav-order.active { color: #1d4ed8; background: #eff6ff; }

.nav-feedback { background: #f59e0b; color: #fff; border-radius: 10px; }
.nav-feedback:hover { background: #d97706; color: #fff; }
.nav-feedback .dropdown { min-width: 180px; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 100;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
}
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-title {
  padding: 6px 20px 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-nav-primary {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
}
.btn-nav-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-nav-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}
.btn-nav-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ==================== 汉堡菜单按钮 ==================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:active { background: #f3f4f6; }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== 手机端侧滑菜单 ==================== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: #fff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.mobile-menu-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: #e5e7eb; }
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}
.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}
.mobile-nav-smart { color: #7c3aed; }
.mobile-nav-smart:hover, .mobile-nav-smart.active { color: #6d28d9; background: #f5f3ff; border-left-color: #7c3aed; }
.mobile-nav-order { color: #2563eb; }
.mobile-nav-order:hover, .mobile-nav-order.active { color: #1d4ed8; background: #eff6ff; border-left-color: #2563eb; }

.mobile-nav-section {
  padding: 8px 0;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
}
.mobile-nav-section-title {
  padding: 8px 24px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-nav-sub {
  display: block;
  padding: 10px 24px 10px 36px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-nav-sub:hover {
  background: #f9fafb;
  color: var(--primary);
}

/* ==================== 导航行 ==================== */
.nav-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.nav-row-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-row-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-row-item.active {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: scale(1.05);
}
.nav-row-smart {
  color: #7c3aed;
  border-color: #c4b5fd;
}
.nav-row-smart:hover {
  color: #6d28d9;
  border-color: #7c3aed;
}
.nav-row-order {
  color: #2563eb;
  border-color: #93c5fd;
}
.nav-row-order:hover {
  color: #1d4ed8;
  border-color: #2563eb;
}
.nav-row-feedback {
  background: #1f2937;
  color: #fff;
  border-color: #1f2937;
}
.nav-row-feedback:hover {
  background: #111827;
  color: #fff;
}
.nav-row-circle {
  color: #999;
  border-color: #d1d5db;
}
.nav-row-circle:hover {
  color: #666;
  background: #f9fafb;
  border-color: #9ca3af;
}

/* ==================== 运营商标签栏 ==================== */
.operator-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.operator-bar-logo {
  display: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  padding-left: 4px;
}
.operator-bar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.operator-bar-logo .logo-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.operator-bar-logo .logo-info .logo-info-main {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
}
.operator-bar-logo .logo-info .logo-info-sub {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 1px;
}
.operator-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.op-btn:hover {
  background: #f9fafb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.op-btn.active,
.op-btn-all.active,
.op-btn-mobile.active,
.op-btn-unicom.active,
.op-btn-telecom.active,
.op-btn-broadcast.active {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: var(--text);
}
/* "全部"按钮激活时使用蓝色高亮 */
.op-btn-all.active {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}
/* 各运营商按钮激活时使用对应品牌色 */
.op-btn-mobile.active {
  background: #e8f5e9 !important;
  border-color: #4caf50 !important;
  color: #2e7d32 !important;
}
.op-btn-unicom.active {
  background: #fff3e0 !important;
  border-color: #ff9800 !important;
  color: #e65100 !important;
}
.op-btn-telecom.active {
  background: #e3f2fd !important;
  border-color: #2196f3 !important;
  color: #1565c0 !important;
}
.op-btn-broadcast.active {
  background: #fce4ec !important;
  border-color: #e91e63 !important;
  color: #c2185b !important;
}
.op-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.op-icon-mobile { background: #16a34a; }
.op-icon-unicom { background: #dc2626; }
.op-icon-telecom { background: #2563eb; }
.op-icon-broadcast { background: #0891b2; }

/* ==================== 省份快速选择 ==================== */
.province-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.province-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.province-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  user-select: none;
}
.province-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.province-chip.active {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
/* ==================== 按地区找卡 ==================== */
.region-finder-bar {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  padding: 8px 0 10px 0;
  border-radius: 12px;
  margin: 4px 0;
}
.region-finder {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  border: 1.5px solid #dbeafe;
}
.region-finder:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18);
  transform: translateY(-1px);
  border-color: #93c5fd;
}
.region-finder-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.region-finder-icon svg { display: block; }
.region-finder-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.region-finder-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}
.region-finder-sub {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
}
.region-finder-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.region-finder.open .region-finder-arrow {
  transform: rotate(180deg);
}

/* 地区浮层 */
.region-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 16px;
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.region-finder-wrap { position: relative; z-index: 100; }
.region-finder-wrap.open .region-dropdown { display: block; }
.region-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.region-group {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: start;
}
.region-group-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  padding: 6px 0;
  line-height: 1.4;
}
.region-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.region-item {
  padding: 6px 14px;
  text-align: center;
  border-radius: 18px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  background: #f3f4f6;
  white-space: nowrap;
}
.region-item:hover { background: #e5e7eb; color: var(--primary); }
.region-item.active { background: var(--primary); color: #fff; }

/* ==================== Filter Bar ==================== */.filter-bar {  background: #fff;  border-bottom: 1px solid var(--border);  padding: 16px 0;  margin-top: 8px;  position: sticky;  top: 0;  z-index: 998;}.filter-inner {  display: flex;  align-items: center;  gap: 12px;  flex-wrap: wrap;}.filter-tags {  display: flex;  gap: 6px;  flex-wrap: wrap;  flex: 1;  overflow-x: auto;  padding: 2px 0;}.filter-tags::-webkit-scrollbar { height: 0; }.filter-tag {  padding: 6px 14px;  border-radius: 18px;  font-size: 12px;  font-weight: 500;  border: 1px solid var(--border);  background: #fff;  color: var(--text);  cursor: pointer;  white-space: nowrap;  transition: var(--transition);}.filter-tag:hover { border-color: var(--primary); color: var(--primary); }.filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==================== Province Search Bar ==================== */
.province-search-wrap {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.province-search-row {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 28px;
  padding: 6px 6px 6px 20px;
  gap: 10px;
}
.province-search-icon {
  color: #999;
  font-size: 16px;
  flex-shrink: 0;
}
.province-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  min-width: 0;
  padding: 4px 0;
}
.province-search-input::placeholder { color: #bbb; }
.province-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.province-search-btn:hover { background: #1d4ed8; }

/* ==================== Home Search Bar ==================== */
.home-search-wrap {
  background: #fff;
  padding: 16px 0;
}
.home-search-row {
  display: flex;
  align-items: center;
  background: #f0f2f5;
  border-radius: 32px;
  padding: 8px 8px 8px 24px;
  gap: 12px;
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.home-search-row:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.home-search-icon {
  color: #999;
  font-size: 18px;
  flex-shrink: 0;
}
.home-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  min-width: 0;
  padding: 6px 0;
  line-height: 1.4;
}
.home-search-input::placeholder { color: #aaa; }

/* ==================== Product Grid ==================== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 36px 0 24px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  margin: 8px auto 0;
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 20px;
}

/* ==================== 分页 ==================== */
.pagination {
  padding: 10px 0 30px;
  text-align: center;
}
.pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.page-btn:hover:not(:disabled):not(.active) {
  background: var(--hover-bg);
  border-color: #2563eb;
  color: #2563eb;
}
.page-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  pointer-events: none;
}
.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-num {
  min-width: 36px;
  text-align: center;
}
.page-ellipsis {
  padding: 0 4px;
  color: #9ca3af;
  font-size: 14px;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.badge-hot { background: linear-gradient(135deg, #f97316, #ef4444); }
.badge-new { background: linear-gradient(135deg, #22c55e, #16a34a); }
.badge-recommend { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.badge-flagship { background: linear-gradient(135deg, #f59e0b, #d97706); }
.badge-limited { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-operator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 10px;
}
.operator-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.operator-联通 { background: #dc2626; }
.operator-移动 { background: #16a34a; }
.operator-电信 { background: #2563eb; }
.operator-广电 { background: #0891b2; }

.card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  color: #1a1a2e;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title:hover {
  color: var(--primary);
}
.card-image-link {
  display: block;
  overflow: hidden;
}

.card-body { padding: 0 18px 12px; flex: 1; }
.card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-tag {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  background: var(--primary-light);
  color: var(--primary);
  white-space: nowrap;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  justify-content: flex-start;
}
.price-free {
  font-size: 20px;
  font-weight: 800;
  color: #16a34a;
}
.price-num {
  font-size: 18px;
  font-weight: 800;
  color: #dc2626;
}
.price-symbol {
  font-size: 18px;
  font-weight: 700;
  color: #dc2626;
}
.price-unit {
  font-size: 9px;
  color: #9ca3af;
  font-weight: 400;
}
.price-original {
  font-size: 10px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 4px;
}

.btn-claim {
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-claim:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); opacity: 0.92; }
.btn-claim.paid { background: #2563eb; }
.btn-claim.paid:hover { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); opacity: 0.92; }

/* ==================== Two-Column Home Layout ==================== */
.home-layout {
  display: block;
}
.home-main {
  width: 100%;
}
.home-sidebar {
  width: 100%;
}

/* ==================== 首页热门资讯 ==================== */
.hot-news-section {
  margin: 40px 0;
}
.hot-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}
.hot-news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}
.hot-news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
/* 左侧缩略图 */
.hot-card-thumb {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  background: #f0f2f5;
  overflow: hidden;
}
.hot-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hot-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #c0c4cc;
}
/* 右侧文字区 */
.hot-card-body {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hot-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.hot-news-card:hover .hot-card-title {
  color: var(--primary);
}
.hot-card-summary {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.hot-card-meta {
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hot-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.hot-news-more {
  text-align: center;
  margin-top: 20px;
}
.hot-news-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.hot-news-more a:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .hot-news-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hot-card-thumb {
    width: 100px;
    min-height: 80px;
  }
  .hot-card-body {
    padding: 8px 10px;
  }
}

/* ==================== FAQ ==================== */
.faq-section {
  margin: 40px 0;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 8px;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
  font-size: 10px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-light);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 14px 12px;
}
.faq-answer p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .faq-question { font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 480px) {
  .faq-list { grid-template-columns: 1fr; }
}

/* ==================== Platform Intro ==================== */
.platform-intro {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow);
}
.platform-intro h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.platform-intro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.operator-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.op-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.op-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.op-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.op-card h4 { font-size: 15px; margin-bottom: 6px; }
.op-card p { font-size: 12px; color: var(--text-secondary); }

/* ==================== Footer ==================== */
.footer {
  background: #d94a30;
  color: #fce4dc;
  padding: 40px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col h4 {
  color: #f9fafb;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: #fce4dc;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-province {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-province span { color: #fce4dc; }
.footer-province a { color: #ffd4c4; font-size: 12px; }
.footer-province a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #fce4dc;
}

/* ==================== Floating Elements ==================== */
.float-btns {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: #fff;
  font-size: 18px;
}
.float-btn-wechat { background: #07c160; }
.float-btn-wechat img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.float-btn:hover { transform: scale(1.1); }

.ai-card-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.ai-card-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5); }

/* ==================== Floating QR Button ==================== */
.float-qr-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}
.float-qr-btn-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}
.float-qr-btn-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}
.float-qr-popup {
  position: absolute;
  bottom: 62px;
  right: 0;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  pointer-events: none;
}
.float-qr-popup img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.float-qr-popup p {
  color: #6b7280;
  font-size: 12px;
  margin-top: 8px;
}
/* hover or active show */
.float-qr-btn:hover .float-qr-popup,
.float-qr-btn.active .float-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ==================== WeChat QR Modal ==================== */
.wechat-qr-modal {
  max-width: 340px;
  text-align: center;
}
.wechat-qr-modal h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.wechat-qr-content {
  padding: 8px 0;
}
.wechat-qr-img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.wechat-qr-tip {
  color: #6b7280;
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}

/* ==================== Modal ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px; height: 32px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
}
.modal h2 { font-size: 20px; margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--primary-dark); }

/* ==================== Location Bar ==================== */
.location-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.location-inner {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 6px;
  flex-wrap: wrap;
}
/* 浅绿色胶囊：检测到你可能在 xxx */
#detectedBar {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 8px 14px 8px 18px;
  margin: 6px 0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.12);
  align-items: center;
  flex-wrap: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
#detectedBar:hover {
  background: #dcfce7;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}
#detectedBar:active {
  transform: translateY(0);
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.location-title {
  font-size: 15px;
  color: #166534;
  font-weight: 600;
  line-height: 1.3;
}
.location-province {
  color: #16a34a;
  font-weight: 800;
  font-size: 16px;
  margin-left: 2px;
}
.location-sub {
  font-size: 11px;
  color: #22c55e;
  font-weight: 500;
  line-height: 1.3;
}
.location-go {
  flex-shrink: 0;
  background: #fff;
  color: #166534;
  border: 1.5px solid #86efac;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.location-go:hover {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.location-go:active { transform: translateY(0); }

.location-label {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.location-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  padding: 4px 14px;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
}
.location-value.detected { color: #16a34a; border-color: #86efac; background: #f0fdf4; }
.location-change {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 14px;
  transition: all 0.2s;
  user-select: none;
}
.location-change:hover {
  background: var(--primary);
  color: #fff;
}

/* ==================== Province Popup ==================== */
.province-modal {
  max-width: 720px;
  width: 92%;
  padding: 24px 20px 20px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.province-modal .modal-close { display: none; }
.province-body { display: block; }
/* 省份弹窗内的区域分组样式 */
#provinceGrid .region-group {
  align-items: flex-start;
}
#provinceGrid .region-group-label {
  color: #374151;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
#provinceGrid .region-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#provinceGrid .region-item {
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  white-space: nowrap;
  transition: all 0.15s ease;
  user-select: none;
}
#provinceGrid .region-item:hover {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4f46e5;
}
#provinceGrid .region-item.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
  font-weight: 500;
}
/* 保留旧版网格样式做兼容 */
.province-grid-inner {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px 8px;
  padding: 20px 18px 42px;
}
.province-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 4px;
  background: #fff;
  border: 1px solid #cde7df;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #1a908a;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
  text-align: center;
}
.province-item.item-all { background: #17b8ae; border-color: #17b8ae; color: #fff; font-weight: 600; }
.province-item.item-all:hover, .province-item.item-all.active { background: #13a39a; border-color: #13a39a; }
.province-item:hover:not(.item-all) { border-color: #17b8ae; color: #13887f; box-shadow: 0 1px 6px rgba(23,184,174,0.12); }
.province-item.active:not(.item-all) { background: #17b8ae; border-color: #17b8ae; color: #fff; }
/* 左下角关闭按钮 */
.province-close-btn {
  position: absolute;
  bottom: 10px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.75);
  color: #777;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}
.province-close-btn:hover {
  background: rgba(255,255,255,1);
  color: #333;
}

/* ==================== Toast ==================== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  animation: slideDown 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==================== Empty State ==================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

/* ==================== 照片上传区 ==================== */
.photo-upload-area {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.photo-upload-btn {
  width: 80px; height: 80px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-light);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.photo-upload-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.photo-upload-btn span:first-child { font-size: 22px; }
.photo-preview-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.photo-preview-item {
  width: 80px; height: 80px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.photo-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-preview-remove {
  position: absolute;
  top: 2px; right: 2px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.photo-preview-remove:hover { background: var(--red); }

/* ==================== Desktop Left Sidebar Navigation (>1024px) ==================== */
@media (min-width: 1025px) {
  /* Body margin for sidebar */
  body {
    margin-left: 210px;
  }

  /* Header becomes fixed left sidebar */
  .header-sticky-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 210px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    background: #fff;
    box-shadow: 2px 0 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
  }

  /* Hide header's mobile banner on desktop */
  .header-sticky-wrap .site-banner {
    display: none;
  }

  /* Show banner in content area on desktop (full width, outside sidebar layout) */
  #homeContentWrap > .site-banner-desktop {
    display: block !important;
    width: 100%;
    height: 220px;
    margin-bottom: 24px;
    border-radius: 12px;
  }

  /* 桌面端隐藏移动端运营商栏 */
  .mobile-operator-bar { display: none !important; }

  /* 桌面端 header 显示 LOGO */
  .operator-bar-logo { display: inline-flex; }

  /* Operator bar vertical layout */
  .operator-bar {
    padding: 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .operator-bar .container {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* Nav items vertical — desktop unified, no color variants */
  .nav-row {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }
  .nav-row-item,
  .nav-row-item.active,
  .nav-row-item.nav-row-circle,
  .nav-row-item.nav-row-order,
  .nav-row-item.nav-row-feedback,
  .nav-row-item.nav-row-service {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff !important;
    color: #374151 !important;
    transform: none;
    box-shadow: none;
  }
  .nav-row-item:hover,
  .nav-row-item.active:hover {
    transform: none;
    box-shadow: none;
    background: #f3f4f6 !important;
    color: #111827 !important;
  }
  .nav-row-item img {
    filter: grayscale(0);
  }

  /* Operator buttons stacked */
  .operator-btns {
    flex-direction: column;
    gap: 5px;
  }
  .op-btn {
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    border-radius: 8px;
  }

  /* Mobile menu toggle hidden */
  .mobile-menu-toggle { display: none !important; }

  /* === Two-column layout: Main + Right Sidebar === */
  .home-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }
  .home-main {
    flex: 1;
    min-width: 0;
  }
  .home-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }

  /* Hot news sidebar single-column cards */
  .home-sidebar .hot-news-section {
    margin: 0;
  }
  .home-sidebar .hot-news-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
    margin: 0;
  }
  .home-sidebar .hot-news-card {
    flex-direction: row;
    border-radius: 10px;
  }
  .home-sidebar .hot-card-thumb {
    width: 80px;
    height: 60px;
    min-height: auto;
  }
  .home-sidebar .hot-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-sidebar .hot-card-body {
    padding: 12px 14px;
  }
  .home-sidebar .hot-card-title {
    font-size: 13px;
  }
  .home-sidebar .hot-card-summary {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .home-sidebar .hot-news-more {
    margin-top: 14px;
  }
  .home-sidebar .hot-news-more a {
    font-size: 13px;
  }

  /* Footer - full width */
  .site-footer {
    margin-left: -210px;
    padding-left: 210px;
  }
}

/* ==================== Responsive ==================== */

/* Tablet Landscape (≤1024px) */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .operator-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet Portrait / Large Phone (≤768px) */
@media (max-width: 768px) {
  .site-banner { height: 130px; }

  /* 手机端隐藏 header LOGO（节省顶部空间） */
  .operator-bar-logo { display: none !important; }

  /* 手机端首页显示 Banner 图（内容区顶部） */
  .site-banner-desktop {
    display: block !important;
    width: 100% !important;
    height: 130px !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
  }

  /* 移动端运营商筛选栏（Banner下方） */
  .mobile-operator-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 6px 14px 8px !important;
    margin-bottom: 2px !important;
  }
  .mobile-operator-bar .op-btn {
    display: flex !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 6px 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #d1d5db !important;
    background: #fff !important;
    color: #333 !important;
    white-space: nowrap !important;
  }
  .mobile-operator-bar .op-btn.op-btn-all { color: #333 !important; border-color: #e5e7eb !important; background: #fff !important; }
  .mobile-operator-bar .op-btn.op-btn-all.active { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }
  .mobile-operator-bar .op-btn.op-btn-mobile { color: #333 !important; border-color: #e5e7eb !important; background: #fff !important; }
  .mobile-operator-bar .op-btn.op-btn-mobile.active { background: #f3f4f6 !important; color: #333 !important; border-color: #d1d5db !important; }
  .mobile-operator-bar .op-btn.op-btn-unicom { color: #333 !important; border-color: #e5e7eb !important; background: #fff !important; }
  .mobile-operator-bar .op-btn.op-btn-unicom.active { background: #f3f4f6 !important; color: #333 !important; border-color: #d1d5db !important; }
  .mobile-operator-bar .op-btn.op-btn-telecom { color: #333 !important; border-color: #e5e7eb !important; background: #fff !important; }
  .mobile-operator-bar .op-btn.op-btn-telecom.active { background: #f3f4f6 !important; color: #333 !important; border-color: #d1d5db !important; }
  .mobile-operator-bar .op-btn.op-btn-broadcast { color: #333 !important; border-color: #e5e7eb !important; background: #fff !important; }
  .mobile-operator-bar .op-btn.op-btn-broadcast.active { background: #f3f4f6 !important; color: #333 !important; border-color: #d1d5db !important; }

  .container { padding: 0 14px; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }





  /* Filter bar - scroll naturally on mobile */
  .filter-bar { position: relative; top: auto; z-index: auto; padding: 10px 0; }
  .filter-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .filter-tags {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .filter-tags::-webkit-scrollbar { display: none; }
  .filter-tag { flex-shrink: 0; white-space: nowrap; min-height: 34px; display: inline-flex; align-items: center; }

  /* Home search bar */
  .home-search-wrap { padding: 20px 0; }
  .home-search-row { padding: 14px 14px 14px 30px; border-radius: 34px; }
  .home-search-input { font-size: 18px; }
  .home-search-icon { font-size: 20px; }

  /* Province search bar */
  .province-search-wrap { padding: 8px 0; }
  .province-search-row { padding: 5px 5px 5px 16px; }
  .province-search-input { font-size: 14px; }
  .province-search-btn { width: 36px; height: 36px; }

  /* ===== 手机端底部固定导航栏 ===== */
  .header-sticky-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  }
  .header-sticky-wrap .site-banner { display: none; }
  .operator-bar {
    padding: 4px 0;
    border-bottom: none;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  }
  .operator-bar .container { padding: 0; }
  .operator-btns { display: none !important; }
  .nav-row {
    gap: 0;
    padding: 0 4px;
    margin-bottom: 0;
    justify-content: space-around;
  }
  .nav-row-item {
    padding: 5px 2px 3px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 0;
    border: none;
    background: transparent !important;
    flex-direction: column;
    gap: 2px;
    min-height: auto;
    letter-spacing: 0;
    color: #999 !important;
    transition: color 0.2s;
  }
  .nav-row-item:hover {
    transform: none;
    box-shadow: none;
    color: #6366f1 !important;
  }
  .nav-row-item.active {
    color: #6366f1 !important;
    background: transparent !important;
    transform: none;
  }
  .nav-row-item img,
  .nav-row-item i {
    width: 26px !important;
    height: 26px !important;
    font-size: 24px !important;
    margin-right: 0 !important;
    display: block;
  }
  /* 所有导航项颜色重置为统一风格 */
  .nav-row-circle { color: #999 !important; border: none !important; background: transparent !important; }
  .nav-row-circle.active { color: #999 !important; }
  .nav-row-order { color: #999 !important; border: none !important; background: transparent !important; }
  .nav-row-order.active { color: #6366f1 !important; }
  .nav-row-feedback { color: #999 !important; border: none !important; background: transparent !important; }
  .nav-row-feedback.active { color: #6366f1 !important; }
  .nav-row-service { color: #999 !important; border: none !important; background: transparent !important; }
  .nav-row-service:hover, .nav-row-service.active { color: #f97316 !important; }
  /* body 底部留出导航栏空间 */
  body { padding-bottom: 68px; }
  .site-footer { padding-bottom: 72px; }

  /* 手机端右上角汉堡菜单 */
  .hamburger {
    display: flex;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  /* 汉堡菜单激活时，body禁止滚动 */
  body.menu-open { overflow: hidden; }

  /* Province row - hidden on mobile */
  .province-row {
    display: none;
  }

  /* Product cards */
  .product-card { border-radius: 10px; }
  .card-operator { padding: 10px 10px 5px; gap: 6px; }
  .card-body { padding: 0 10px 8px; }
  .card-title { font-size: 12px; }
  .card-desc { font-size: 11px; margin-bottom: 6px; -webkit-line-clamp: 1; }
  .card-footer { padding: 8px 10px; }
  .card-features { gap: 4px; }
  .feature-tag { font-size: 9px; padding: 2px 5px; }
  .btn-claim { padding: 3px 10px; font-size: 16px; min-height: 28px; display: inline-flex; align-items: center; }
  .card-badge { top: 8px; right: 8px; padding: 2px 8px; font-size: 10px; }

  /* Section titles */
  .section-title { font-size: 20px; margin: 26px 0 16px; }
  .section-title::after { width: 36px; height: 2px; }

  /* Footer */
  .footer { padding: 30px 0 20px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-col h4 { font-size: 14px; margin-bottom: 10px; }
  .footer-col p, .footer-col a { font-size: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding: 14px 14px 0; font-size: 11px; }
  .footer-province { padding: 14px 14px; gap: 6px; font-size: 11px; }
  .footer-province a { font-size: 11px; }
  .footer-tagline { font-size: 11px; }
  .icp-link { font-size: 11px; }
  .footer-slogan-main { font-size: 13px; }
  .footer-slogan-sub { font-size: 11px; }

  /* Header */
  .header-inner { padding: 8px 14px; min-height: 52px; }

  /* Platform intro */
  .platform-intro { padding: 20px 14px; }
  .platform-intro h3 { font-size: 17px; }
  .platform-intro p { font-size: 13px; line-height: 1.7; }

  /* Operator cards */
  .operator-cards { gap: 10px; }
  .op-card { padding: 16px 10px; }

  /* Location bar */
  .location-inner { padding: 4px 0; }
  .location-label { font-size: 13px; }
  .location-value { font-size: 14px; padding: 3px 10px; }
  .location-change { font-size: 12px; padding: 3px 10px; }
  #detectedBar { padding: 6px 10px 6px 14px; margin: 4px 0; }
  .location-title { font-size: 14px; }
  .location-province { font-size: 15px; }
  .location-sub { font-size: 10px; }
  .location-go { padding: 6px 14px; font-size: 13px; }
  .region-finder { padding: 8px 12px; gap: 8px; border-radius: 12px; }
  .region-finder-icon { width: 32px; height: 32px; }
  .region-finder-title { font-size: 13px; }
  .region-finder-sub { font-size: 10px; }
  .region-grid { gap: 8px; }
  .region-group { grid-template-columns: 50px 1fr; gap: 8px; }
  .region-group-label { font-size: 12px; }
  .region-item { font-size: 12px; padding: 5px 10px; }

  /* Province popup */
  .province-modal { padding: 16px 12px; border-radius: 12px; width: 94%; }
  #provinceGrid .region-group-label { font-size: 13px; }
  #provinceGrid .region-item { font-size: 12px; padding: 6px 10px; border-radius: 16px; }

  /* Modal - near fullscreen on mobile */
  .modal { width: 95%; padding: 20px 16px; border-radius: 12px; max-width: 95%; }
  .modal h2 { font-size: 18px; margin-bottom: 14px; }
  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 13px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevent iOS auto-zoom */
    padding: 10px 12px;
  }
  .btn-submit { font-size: 15px; padding: 13px; }

  /* Floating elements - 避开底部导航栏 */
  .float-btns { right: 10px; bottom: 80px; gap: 8px; }
  .float-btn { width: 38px; height: 38px; font-size: 15px; }
  .float-qr-btn { right: 10px; bottom: 80px; }
  .float-qr-btn-trigger { width: 46px; height: 46px; font-size: 20px; }
  .float-qr-popup img { width: 140px; height: 140px; }
  .ai-card-btn { right: 10px; bottom: 80px; padding: 10px 14px; font-size: 12px; }

  /* Hot news */
  .hot-news-grid { grid-template-columns: 1fr; gap: 6px; }
  .hot-card-thumb { width: 80px; height: 60px; }
  .hot-card-body { padding: 8px 10px; }
  .hot-card-title { font-size: 12px; }
  .hot-card-summary { font-size: 10px; }
  .hot-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

  /* FAQ */
  .faq-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .faq-question { font-size: 12px; padding: 10px 12px; }
  .faq-answer p { font-size: 11px; }

  /* Pagination */
  .page-btn { padding: 6px 9px; font-size: 12px; }
  .page-num { min-width: 30px; }

  /* Toast */
  .toast { left: 10px; right: 10px; transform: none; width: auto; text-align: center; font-size: 13px; padding: 10px 16px; }
}

/* Small Phone (≤480px) */
@media (max-width: 480px) {
  .site-banner { height: 100px; }

  /* 小屏首页 Banner */
  .site-banner-desktop {
    display: block !important;
    height: 100px !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
  }

  .container { padding: 0 10px; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Filter bar */
  .filter-bar { padding: 8px 0; }
  .filter-tag { padding: 5px 10px; font-size: 10px; min-height: 30px; }

  /* Bottom nav bar */
  .nav-row-item { padding: 4px 2px 2px; font-size: 10px; }
  .nav-row-item img,
  .nav-row-item i { width: 24px !important; height: 24px !important; font-size: 20px !important; }
  body { padding-bottom: 62px; }
  .float-btns, .float-qr-btn, .ai-card-btn { bottom: 72px; }

  /* Region finder */
  .region-finder { padding: 6px 10px; gap: 6px; border-radius: 10px; }
  .region-finder-icon { width: 28px; height: 28px; }
  .region-finder-title { font-size: 12px; }
  .region-finder-sub { font-size: 10px; }
  .region-item { font-size: 10px; padding: 4px 8px; }

  /* Province row */
  .province-row { gap: 4px; padding-top: 6px; }
  .province-label { font-size: 10px; }
  .province-chip { padding: 4px 8px; font-size: 10px; border-radius: 12px; min-height: 28px; }

  /* Product cards */
  .product-card { border-radius: 8px; }
  .card-operator { padding: 8px 8px 4px; }
  .card-title { font-size: 11px; }
  .card-body { padding: 0 8px 6px; }
  .card-desc { font-size: 10px; margin-bottom: 6px; -webkit-line-clamp: 1; }
  .card-footer { padding: 6px 8px; }
  .feature-tag { font-size: 8px; padding: 1px 4px; }
  .card-badge { top: 6px; right: 6px; padding: 2px 6px; font-size: 9px; }

  /* Price and button */
  .price-num { font-size: 16px; }
  .price-symbol { font-size: 16px; }
  .price-unit { font-size: 7px; }
  .price-free { font-size: 16px; }
  .price-original { font-size: 9px; }
  .btn-claim { padding: 3px 8px; font-size: 11px; min-height: 26px; }

  /* Section title */
  .section-title { font-size: 18px; margin: 22px 0 12px; }
  .section-title::after { width: 30px; height: 2px; }

  /* Operator cards (platform intro) */
  .operator-cards { grid-template-columns: 1fr; gap: 8px; }
  .op-card { padding: 16px 10px; }
  .op-card-icon { width: 40px; height: 40px; font-size: 18px; }
  .op-card h4 { font-size: 13px; }

  /* Floating elements */
  .float-btns { right: 8px; bottom: 60px; gap: 6px; }
  .float-btn { width: 34px; height: 34px; font-size: 14px; }
  .float-qr-btn { right: 8px; bottom: 10px; }
  .float-qr-btn-trigger { width: 42px; height: 42px; font-size: 18px; }
  .float-qr-popup { bottom: 50px; padding: 10px; }
  .float-qr-popup img { width: 120px; height: 120px; }
  .float-qr-popup p { font-size: 11px; margin-top: 6px; }
  .ai-card-btn { right: 8px; bottom: 10px; padding: 8px 12px; font-size: 11px; border-radius: 18px; }

  /* Modal - fullscreen on small phone */
  .modal {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px;
    border-radius: 0;
    min-height: 100vh;
    max-height: 100vh;
  }
  .modal-overlay.active { align-items: stretch; }
  .modal-close { top: 8px; right: 10px; width: 28px; height: 28px; font-size: 14px; }
  .modal h2 { font-size: 16px; margin-bottom: 14px; }
  .form-group { margin-bottom: 10px; }

  /* 联系客服弹窗 - 不铺满全屏，留出底部导航栏 */
  #contactModal .modal {
    min-height: auto;
    max-height: calc(100vh - 68px);
    border-radius: 12px;
    width: 86%;
    max-width: 360px;
    margin: auto;
    padding: 24px 18px;
  }
  #contactModal.modal-overlay.active { align-items: center; }

  /* Province popup - small phone: 400px centered box */
  #provinceModal.modal-overlay.active { align-items: center; }
  .province-modal {
    min-height: auto;
    border-radius: 12px;
    width: 94%;
    max-width: 400px;
    max-height: 85vh;
    padding: 14px 12px;
  }
  #provinceGrid .region-group-label { font-size: 12px; min-width: 40px !important; padding-right: 8px !important; }
  #provinceGrid .region-item { font-size: 11px; padding: 5px 9px; border-radius: 14px; }
  .form-group label { font-size: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 9px 10px;
  }
  .btn-submit { font-size: 15px; padding: 13px; border-radius: 8px; }

  /* FAQ */
  .faq-list { grid-template-columns: 1fr; gap: 6px; }
  .faq-question { font-size: 12px; padding: 10px 12px; }
  .faq-answer p { font-size: 11px; }

  /* Hot news */
  .hot-news-section { margin: 24px 0; }
  .hot-card-thumb { width: 75px; height: 60px; min-height: auto; }
  .hot-card-body { padding: 8px 10px; }
  .hot-card-title { font-size: 12px; margin-bottom: 3px; }
  .hot-card-summary { font-size: 10px; -webkit-line-clamp: 1; }
  .hot-card-meta { font-size: 10px; gap: 6px; }
  .hot-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hot-news-more a { font-size: 12px; }

  /* Platform intro */
  .platform-intro { padding: 16px 10px; }
  .platform-intro h3 { font-size: 15px; }
  .platform-intro p { font-size: 12px; line-height: 1.6; }

  /* Footer */
  .footer { padding: 24px 0 16px; margin-top: 30px; }
  .footer-grid { gap: 14px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 8px; }
  .footer-col p, .footer-col a { font-size: 11px; }
  .footer-province { padding: 10px 10px; gap: 5px; font-size: 10px; }
  .footer-province a { font-size: 10px; }
  .footer-bottom { padding: 10px 10px 0; font-size: 10px; gap: 4px; }
  .footer-tagline { font-size: 9px; }
  .icp-link { font-size: 9px; }
  .footer-slogan-main { font-size: 12px; }
  .footer-slogan-sub { font-size: 10px; }
  .site-footer { padding: 14px 8px 72px; margin-top: 24px; }

  /* Pagination */
  .pagination { padding: 6px 0 16px; }
  .page-btn { padding: 5px 7px; font-size: 11px; border-radius: 4px; }
  .page-num { min-width: 26px; }

  /* Toast */
  .toast { font-size: 12px; padding: 8px 14px; top: 10px; }

  /* Photo upload */
  .photo-upload-btn { width: 64px; height: 64px; font-size: 10px; }
  .photo-preview-item { width: 64px; height: 64px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .op-btn,
  .nav-row-item,
  .filter-tag,
  .province-chip,
  .btn-claim,
  .page-btn,
  .btn-nav,
  .btn-submit {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* ==================== Footer ==================== */
.site-footer {
  background: #ffffff;
  color: #888;
  text-align: center;
  padding: 24px 20px;
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
}
.site-footer a { color: #888; text-decoration: none; }
.site-footer a:hover { color: #555; }
.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  width: 100%;
}
.footer-tagline {
  color: #888;
  font-size: 11px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}
/* 品牌标语 */
.footer-slogan {
  text-align: center;
  padding: 8px 0 14px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 14px;
}
.footer-slogan-main {
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.5;
}
.footer-slogan-sub {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.icp-link {
  color: #ccc;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}
.icp-link:hover {
  color: #fff;
}
