/* ============================================================
   PowerSun 电商三方入驻平台 - 主样式表 v2
   设计语言：现代轻量 · 商务科技感
   色彩：品牌蓝(60%白底+浅灰 / 30%深蓝 / 10%爱马仕橙CTA)
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  /* Primary palette */
  --blue-900: #1E3A8A;
  --blue-700: #1D4ED8;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  --sky-500: #0EA5E9;
  --sky-100: #E0F2FE;

  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-50:  #FFF7ED;

  /* Neutrals */
  --white:    #FFFFFF;
  --gray-50:  #F8F9FA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Semantic */
  --success: #10B981;
  --success-light: #D1FAE5;
  --danger:  #EF4444;
  --danger-light: #FEE2E2;
  --warning: #F59E0B;

  /* Aliases for newer components */
  --primary: #1D4ED8;
  --border-color: #E5E7EB;
  --text-primary: #0F172A;
  --side-padding: 24px;

  /* Spacing / radii / transitions / shadows */
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.04);
  --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-float: 0 12px 28px -8px rgba(0,0,0,0.10), 0 4px 12px -4px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 0 3px rgba(30,58,138,0.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--blue-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-900); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* ---- Brand / Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-900);
  flex-shrink: 0;
}
.logo-img { height: 38px; width: auto; }

.logo-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: 0.5px;
}
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Navigation ---- */
.nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-link.active { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }

.nav-btn {
  background: var(--orange-500);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
}
.nav-btn:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: var(--shadow-card); }

/* ---- User Menu ---- */
.user-menu { position: relative; cursor: pointer; }
.user-name {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  background: var(--gray-50); transition: var(--transition);
}
.user-name:hover { background: var(--blue-50); }

.user-dropdown {
  display: none;
  position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  min-width: 180px; padding: 6px;
  z-index: 100;
}
.user-menu:hover .user-dropdown { display: block; }

.user-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-md);
  color: var(--gray-700); font-size: 14px;
}
.user-dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }

.cart-badge {
  background: var(--orange-500); color: var(--white);
  font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 50%; margin-left: auto;
}

.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 28px; cursor: pointer; color: var(--gray-600);
  padding: 4px; line-height: 1;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}
.search-bar .container { display: flex; align-items: center; gap: 16px; }

.search-form { display: flex; flex: 1; max-width: 560px; }

.search-input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 14px; outline: none;
  background: var(--gray-50); transition: var(--transition);
}
.search-input:focus { border-color: var(--blue-500); background: var(--white); }

.search-btn {
  padding: 10px 22px;
  background: var(--blue-700); color: var(--white);
  border: none; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer; font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.search-btn:hover { background: var(--blue-900); }

.cart-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--gray-50);
  border-radius: var(--radius-md); color: var(--gray-700);
  font-size: 14px; transition: var(--transition);
}
.cart-link:hover { background: var(--blue-50); color: var(--blue-700); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container { max-width: 1200px; margin: 12px auto 0; padding: 0 20px; }

.flash {
  padding: 12px 20px; border-radius: var(--radius-md);
  margin-bottom: 8px; font-size: 14px; border-left: 3px solid;
}
.flash-success { background: var(--success-light); color: #065F46; border-color: var(--success); }
.flash-error   { background: var(--danger-light);  color: #991B1B; border-color: var(--danger); }
.flash-warning { background: #FEF3C7; color: #92400E; border-color: var(--warning); }
.flash-info    { background: var(--blue-50); color: var(--blue-900); border-color: var(--blue-500); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 24px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center; line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange-500); color: var(--white);
  border-color: var(--orange-500);
}
.btn-primary:hover { background: var(--orange-600); border-color: var(--orange-600); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-card); }

.btn-outline {
  background: transparent;
  border-color: var(--blue-700); color: var(--blue-700);
}
.btn-outline:hover { background: var(--blue-50); color: var(--blue-900); border-color: var(--blue-900); }

.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: #059669; border-color: #059669; color: var(--white); }

.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0F2247 60%, var(--blue-700) 100%);
  color: var(--white);
  padding: 100px 0 90px;
  text-align: left;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(14,165,233,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 600px; }
.hero h1 {
  font-size: 40px; font-weight: 800; line-height: 1.25;
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.hero p {
  font-size: 17px; opacity: 0.85; line-height: 1.7;
  margin-bottom: 32px; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .btn-primary {
  background: var(--orange-500); border-color: var(--orange-500); color: var(--white);
}
.hero .btn-outline {
  border-color: rgba(255,255,255,0.45); color: var(--white);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
}
.hero .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.16); color: var(--white); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 56px 0; }
.section-bg { background: var(--white); }

.section-title {
  font-size: 28px; font-weight: 700; color: var(--gray-900);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.section-sub { color: var(--gray-500); margin-bottom: 28px; font-size: 15px; }

.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-400); margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue-700); }
.breadcrumb span { color: var(--gray-800); }

/* ============================================================
   CATEGORY CARDS (homepage grid)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  display: block; color: var(--gray-800); text-decoration: none;
}
.category-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
  color: var(--gray-800);
}
.category-icon { font-size: 36px; display: block; margin-bottom: 10px; filter: grayscale(0); }
.category-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.category-card p  { font-size: 12px; color: var(--gray-400); line-height: 1.5; }

/* ---- Category list page ---- */
.category-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px; margin-bottom: 12px;
  transition: var(--transition);
}
.category-section:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }

.category-header {
  display: flex; align-items: center; gap: 14px;
}
.category-header h3 { font-size: 18px; font-weight: 600; flex: 1; }
.category-desc { margin-top: 8px; color: var(--gray-500); font-size: 13px; }

/* ---- Category sidebar for product listing ---- */
.cat-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }

.cat-sidebar {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 8px 0; position: sticky; top: 88px;
}
.cat-sidebar-title {
  font-size: 13px; font-weight: 600; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 16px 12px; border-bottom: 1px solid var(--gray-100);
  margin-bottom: 4px;
}
.cat-sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 14px; color: var(--gray-600);
  border-left: 3px solid transparent; transition: var(--transition);
}
.cat-sidebar-link:hover { background: var(--blue-50); color: var(--blue-700); border-left-color: var(--blue-300); }
.cat-sidebar-link.active {
  color: var(--blue-700); font-weight: 600;
  background: var(--blue-50); border-left-color: var(--blue-700);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block; color: var(--gray-800); text-decoration: none;
}
.product-card:hover {
  box-shadow: var(--shadow-float);
  transform: scale(1.02);
  color: var(--gray-800);
  border-color: var(--blue-200);
}

.product-image {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50); position: relative; overflow: hidden;
  padding: 24px;
}
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-badge {
  position: absolute; top: 8px; left: 10px;
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; background: var(--orange-50); color: var(--orange-600);
}

.product-info { padding: 16px; }

.product-category {
  font-size: 11px; color: var(--blue-500); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.product-info h3 {
  font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-store { font-size: 12px; color: var(--gray-500); margin-bottom: 6px; }
.product-desc {
  font-size: 12px; color: var(--gray-400); line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--gray-100);
}
.product-price { font-size: 18px; font-weight: 700; color: var(--danger); }
.product-price-unit { font-size: 13px; font-weight: 500; }
.product-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 20px; font-weight: 500;
}
.tag-recommend { background: var(--orange-50); color: var(--orange-600); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}

.product-gallery {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.product-gallery-main {
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 40px; background: var(--gray-50);
}
.product-gallery-main img { max-width: 100%; max-height: 380px; object-fit: contain; }
.product-gallery-thumbs {
  display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--gray-100);
  justify-content: center;
}
.product-thumb {
  width: 56px; height: 56px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background: var(--white); transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.product-thumb:hover, .product-thumb.active { border-color: var(--blue-500); }
.product-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Right info panel */
.product-detail-info h1 {
  font-size: 26px; font-weight: 700; color: var(--gray-900);
  line-height: 1.35; margin-bottom: 20px;
}

/* Merchant badge card */
.merchant-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 20px;
}
.merchant-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.merchant-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; background: var(--success-light); color: #065F46;
}
.merchant-name { font-size: 16px; font-weight: 600; color: var(--gray-900); }
.merchant-meta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px;
}
.merchant-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-600);
}
.merchant-meta-item .badge {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.badge-service { background: var(--blue-50); color: var(--blue-700); }
.badge-logistics { background: #F0FDF4; color: var(--success); }

/* Price block */
.price-block {
  background: linear-gradient(135deg, var(--orange-50), #FFF7ED);
  border: 1px solid #FED7AA;
  border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 8px;
}
.price-label { font-size: 13px; color: var(--gray-500); }
.price-value { font-size: 34px; font-weight: 800; color: var(--danger); line-height: 1; }

/* Tabs */
.product-tabs { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.tab-nav { display: flex; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.tab-btn {
  flex: 1; padding: 12px 20px; border: none; background: none;
  font-size: 14px; font-weight: 500; color: var(--gray-500); cursor: pointer;
  transition: var(--transition); border-bottom: 2px solid transparent;
}
.tab-btn.active { color: var(--blue-700); border-bottom-color: var(--blue-700); background: var(--white); font-weight: 600; }
.tab-btn:hover:not(.active) { color: var(--gray-700); background: var(--white); }
.tab-panel { padding: 20px 24px; display: none; background: var(--white); }
.tab-panel.active { display: block; }
.tab-panel p { font-size: 14px; color: var(--gray-600); line-height: 1.8; }

.product-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px;
}

/* ============================================================
   STORE CARDS
   ============================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; gap: 16px; align-items: center;
  text-decoration: none; color: var(--gray-800);
}
.store-card:hover {
  box-shadow: var(--shadow-float); transform: translateY(-2px);
  color: var(--gray-800); border-color: var(--blue-200);
}

.store-logo-wrap {
  width: 68px; height: 68px; flex-shrink: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50);
}
.store-logo-wrap img { max-width: 100%; max-height: 100%; }

.store-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.store-desc {
  font-size: 13px; color: var(--gray-500);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.store-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.store-meta span { font-size: 12px; color: var(--gray-500); }
.store-count { font-size: 12px; font-weight: 500; color: var(--blue-500); }
.enter-store { font-size: 13px; font-weight: 600; color: var(--blue-700); margin-top: 4px; display: inline-block; }

/* Store header (detail page) */
.store-header {
  display: flex; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
}
.store-header-logo {
  width: 100px; height: 100px; flex-shrink: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50);
}
.store-header-logo img { max-width: 100%; max-height: 100%; }

.store-header-info h1 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.store-header-info .store-desc-full { color: var(--gray-500); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }

/* ============================================================
   MERCHANT JOIN
   ============================================================ */

/* Steps bar */
.steps-bar {
  display: flex; align-items: flex-start; justify-content: space-between;
  position: relative; margin-bottom: 48px; padding-top: 20px;
}
.steps-bar::before {
  content: ""; position: absolute; top: 40px; left: 8%; right: 8%;
  height: 3px; background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  border-radius: 4px; z-index: 0;
}
.step-node {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1; flex: 1; text-align: center;
}
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--white);
  background: var(--blue-700); margin-bottom: 12px;
  box-shadow: 0 0 0 4px rgba(30,58,138,0.10);
  transition: var(--transition);
}
.step-circle.done { background: var(--success); }
.step-circle .check { font-size: 16px; }
.step-node h4 { font-size: 15px; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.step-node p  { font-size: 12px; color: var(--gray-400); max-width: 160px; }

/* Join sections */
.join-section {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px;
}
.join-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--gray-900); }

.join-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.join-list li {
  padding: 10px 16px; padding-left: 32px; position: relative;
  font-size: 14px; color: var(--gray-600); background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.join-list li::before {
  content: "✓"; position: absolute; left: 12px; top: 10px;
  color: var(--success); font-weight: 700; font-size: 14px;
}

.advantage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.advantage-card {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  padding: 24px; border-radius: var(--radius-lg); text-align: center;
  transition: var(--transition);
}
.advantage-card:hover { border-color: var(--blue-200); background: var(--blue-50); }
.advantage-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.advantage-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.advantage-card p  { font-size: 12px; color: var(--gray-500); }

.join-cta {
  background: var(--white); border: 2px solid var(--blue-700);
  border-radius: var(--radius-lg); padding: 36px; text-align: center;
}
.join-cta h3 { font-size: 20px; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.join-cta > p { color: var(--gray-500); margin-bottom: 18px; font-size: 14px; }

.contact-info {
  background: var(--gray-50); border-radius: var(--radius-md);
  padding: 20px 28px; text-align: left; display: inline-block;
  margin-bottom: 16px;
}
.contact-info p { font-size: 14px; color: var(--gray-600); margin-bottom: 6px; }
.contact-note { font-size: 12px; color: var(--gray-400); margin-top: 8px; }

/* ============================================================
   AUTH — Login / Register
   ============================================================ */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 60px 0; }

.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 44px 36px;
  box-shadow: var(--shadow-float); text-align: center;
}

.auth-card h2 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.auth-card .auth-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; text-align: left; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500; color: var(--gray-700);
  margin-bottom: 6px;
}

.form-input {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 14px; outline: none; color: var(--gray-800);
  background: var(--gray-50); transition: var(--transition);
}
.form-input:focus {
  border-color: var(--blue-500); background: var(--white);
  box-shadow: var(--shadow-glow);
}
.form-input::placeholder { color: var(--gray-400); }

.form-footer {
  text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500);
}
.form-footer a { color: var(--blue-700); font-weight: 600; }

.agreement-label {
  display: flex !important; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--gray-600); cursor: pointer; line-height: 1.5;
}
.agreement-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--blue-700); flex-shrink: 0; }
.agreement-label a { color: var(--blue-700); text-decoration: underline; font-weight: 500; }
.agreement-label a:hover { color: var(--blue-900); }

/* ============================================================
   CART
   ============================================================ */
.cart-list {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
}

.cart-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--gray-50); }

.cart-item-image {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-50);
}
.cart-item-image img { max-width: 100%; max-height: 100%; }

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-store { font-size: 12px; color: var(--gray-500); }
.cart-item-price { font-size: 13px; color: var(--gray-700); }

.cart-item-total { font-size: 18px; font-weight: 700; color: var(--danger); }

.cart-footer {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 24px; margin-top: 24px;
  padding: 24px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
}
.cart-total { font-size: 15px; color: var(--gray-700); }
.total-price { font-size: 28px; font-weight: 800; color: var(--danger); }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.result-count { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center; padding: 64px 20px; color: var(--gray-400);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.6; }
.empty-state p { font-size: 15px; margin-bottom: 16px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; margin-top: 36px;
}

.page-btn {
  padding: 8px 22px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: 14px; color: var(--gray-600); text-decoration: none;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--blue-400); color: var(--blue-700); }
.page-info { font-size: 14px; color: var(--gray-400); }

/* ============================================================
   FOOTER (dark / centered per spec)
   ============================================================ */
.footer {
  background: var(--gray-800);
  color: var(--gray-400);
  margin-top: 80px;
  padding: 44px 20px 28px;
  text-align: center;
}

.footer-company {
  font-size: 16px; font-weight: 600; color: var(--gray-200);
  margin-bottom: 12px;
}
.footer-info-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 24px; margin-bottom: 8px;
}
.footer-info-row span { font-size: 13px; color: var(--gray-400); }

.footer-divider {
  width: 60px; height: 1px; background: var(--gray-600);
  margin: 20px auto 14px;
}

.footer-icp a {
  font-size: 12px; color: var(--gray-500);
  transition: var(--transition);
}
.footer-icp a:hover {
  color: var(--orange-500); text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-icp-sep {
  margin: 0 10px; color: var(--gray-600);
}

.footer-copy {
  margin-top: 16px; font-size: 11px; color: var(--gray-600);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 12px;
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-float);
    z-index: 999;
  }
  .nav.open { display: flex; }

  .hero { padding: 56px 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }

  .product-detail { grid-template-columns: 1fr; }
  .product-gallery-main { min-height: 260px; }
  .product-detail-info h1 { font-size: 20px; }

  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; display: flex; flex-wrap: wrap; padding: 8px; border-radius: var(--radius-md); }
  .cat-sidebar-title { width: 100%; border: none; margin: 0; }
  .cat-sidebar-link { border-left: none; border-radius: var(--radius-md); padding: 6px 12px; font-size: 13px; }

  .steps-bar { flex-direction: column; gap: 20px; }
  .steps-bar::before { display: none; }
  .step-node { flex-direction: row; gap: 12px; text-align: left; }
  .step-circle { margin-bottom: 0; }

  .store-header { flex-direction: column; text-align: center; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .store-grid { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }

  .footer-info-row { flex-direction: column; gap: 4px; align-items: center; }
}

/* ============================================================
   新增组件样式 - Product Detail / Checkout / Stores / Cart
   ============================================================ */

/* --- Product Detail Enhancements --- */
.product-title { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }

.product-quick-info {
  display: flex; gap: 16px; margin: 12px 0; font-size: 13px; color: #475569;
}

.price-shipping { font-size: 13px; color: #64748b; margin-left: 12px; }

/* --- Quantity Selector --- */
.quantity-selector {
  display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 16px 0;
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.qty-label { font-size: 14px; color: #334155; font-weight: 500; }
.qty-controls { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.qty-btn {
  width: 36px; height: 36px; border: none; background: #f1f5f9; cursor: pointer;
  font-size: 18px; color: #334155; transition: background 0.15s;
}
.qty-btn:hover { background: #e2e8f0; }
.qty-input { width: 50px; height: 36px; text-align: center; border: none; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); font-size: 14px; }
.qty-stock { font-size: 12px; color: #94a3b8; }
.qty-btn-sm { width: 28px; height: 28px; border: 1px solid var(--border-color); background: #fff; cursor: pointer; font-size: 14px; color: #334155; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; }
.qty-btn-sm:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-input-sm { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; text-align: center; font-size: 14px; font-weight: 600; color: #0f172a; }
.qty-form { display: flex; align-items: center; gap: 0; }

/* --- Product Content Section --- */
.product-content-section { margin-top: 48px; }
.product-tabs { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: #fff; }
.product-tabs .tab-nav { display: flex; border-bottom: 2px solid #f1f5f9; }
.product-tabs .tab-btn {
  padding: 14px 28px; border: none; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: #64748b; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.2s;
}
.product-tabs .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.product-tabs .tab-btn:hover { color: var(--primary); }
.tab-panels { padding: 28px; }

/* --- Product Description --- */
.desc-content {}
.desc-text { font-size: 15px; color: #334155; line-height: 1.7; margin-bottom: 20px; }
.desc-highlights { background: #f8fafc; border-radius: 10px; padding: 20px; }
.desc-highlights h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.desc-highlights ul { list-style: none; padding: 0; margin: 0; }
.desc-highlights li { padding: 6px 0; font-size: 14px; color: #475569; }

/* --- Product Detail Rich Content --- */
.detail-rich {}
.detail-showcase { position: relative; margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.detail-showcase img { width: 100%; height: auto; display: block; }
.showcase-text { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(15,23,42,0.85)); color: #fff; padding: 40px 24px 20px; }
.showcase-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.showcase-text p { font-size: 13px; opacity: 0.85; margin: 0; }

.detail-features { display: flex; flex-direction: column; gap: 16px; }

/* --- Detail Text Content (纯文字商品详情) --- */
.detail-text-content { padding: 0; }
.detail-info-block {
  margin-bottom: 20px; padding: 20px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
}
.detail-info-block h3 {
  font-size: 16px; font-weight: 700; color: #0f172a;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9;
}
.detail-desc-full { font-size: 15px; color: #334155; line-height: 1.9; }
.detail-desc-full p { margin: 0 0 10px; }
.detail-desc-full p:last-child { margin-bottom: 0; }

/* --- Service Cards --- */
.service-cards { display: flex; flex-direction: column; gap: 12px; }
.service-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; background: #f8fafc; border-radius: 8px;
}
.service-card-icon {
  font-size: 24px; width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; border: 1px solid #e5e7eb;
}
.service-card-body h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.service-card-body p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.6; }
.feature-item { display: flex; gap: 16px; align-items: center; background: #f8fafc; border-radius: 10px; overflow: hidden; }
.feature-item.reverse { flex-direction: row-reverse; }
.feature-item img { width: 180px; height: 120px; object-fit: cover; flex-shrink: 0; }
.feature-text { padding: 16px; }
.feature-text h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.feature-text p { font-size: 13px; color: #475569; margin: 0; line-height: 1.5; }

/* --- Detail Description Block --- */
.detail-description-block {
  margin-top: 24px; padding: 20px;
  background: #f8fafc; border-radius: 10px;
}
.detail-description-block h3 {
  font-size: 16px; font-weight: 700; color: #0f172a;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0;
}
.detail-description-text { font-size: 14px; color: #334155; line-height: 1.8; }
.detail-description-text p { margin-bottom: 8px; }

/* --- Detail Gallery --- */
.detail-gallery-block { margin-top: 24px; }
.detail-gallery-block h3 {
  font-size: 16px; font-weight: 700; color: #0f172a;
  margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0;
}
.detail-gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.detail-gallery-item {
  border-radius: 8px; overflow: hidden; background: #f1f5f9;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.detail-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* --- Product Params Table --- */
.params-table { width: 100%; border-collapse: collapse; }
.params-table th, .params-table td { padding: 10px 16px; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.params-table th { background: #f8fafc; color: #64748b; font-weight: 500; text-align: left; width: 120px; }
.params-table td { color: #0f172a; }
.in-stock { color: #16a34a; font-weight: 600; }

/* --- Store Banner --- */
.store-banner { position: relative; height: 240px; overflow: hidden; margin-bottom: 24px; }
.store-banner-img { width: 100%; height: 100%; object-fit: cover; }
.store-banner-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(15,23,42,0.8)); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px var(--side-padding); color: #fff; }
.store-banner-overlay h1 { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.store-banner-overlay p { font-size: 14px; opacity: 0.85; margin: 0; max-width: 600px; }

/* --- Store Info Card --- */
.store-info-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: #f8fafc; border-radius: 12px; margin-bottom: 32px; }
.store-info-card-logo img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #fff; }
.store-info-card-detail { display: flex; flex-direction: column; gap: 8px; }
.store-levels { display: flex; gap: 8px; }
.store-product-count { font-size: 13px; color: #64748b; }

/* --- Store Grid (All Stores) --- */
.store-grid-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.store-card-full {
  background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; cursor: pointer; display: block;
}
.store-card-full:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.store-cover-wrap { height: 140px; overflow: hidden; }
.store-cover-img { width: 100%; height: 100%; object-fit: cover; }
.store-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0F172A, #334155); color: #fff; font-size: 32px; font-weight: 800; }
.store-card-body { padding: 12px 16px 16px; display: flex; gap: 12px; align-items: flex-start; }
.store-card-logo img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid #f1f5f9; }
.store-card-info { flex: 1; min-width: 0; }
.store-card-info h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.store-desc { font-size: 12px; color: #64748b; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enter-store { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 4px; }

/* --- Cart Page Layout --- */
.cart-page { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cart-sidebar {}
.cart-summary { background: #f8fafc; border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.cart-summary h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #475569; }
.summary-total { border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: 8px; font-size: 16px; font-weight: 700; color: #0f172a; }
.total-price { color: #dc2626; font-size: 20px; font-weight: 800; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.btn-danger { color: #dc2626; }
.btn-danger:hover { background: #fef2f2; color: #b91c1c; }

/* --- Checkout Page --- */
.checkout-page { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.checkout-main {}
.checkout-sidebar {}
.checkout-section { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.checkout-section h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.form-row { display: flex; gap: 12px; margin-bottom: 10px; }

/* --- Payment Options --- */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--border-color);
  border-radius: 10px; cursor: pointer; transition: all 0.2s;
}
.payment-option:hover { border-color: var(--primary); background: #f0f9ff; }
.payment-option.selected { border-color: var(--primary); background: #f0f9ff; }
.payment-option input[type="radio"] { accent-color: var(--primary); }
.payment-icon { font-size: 22px; }
.payment-label { font-weight: 600; font-size: 14px; color: #0f172a; }
.payment-desc { font-size: 12px; color: #64748b; margin-left: auto; }
.free-shipping { color: #16a34a; font-weight: 600; font-size: 14px; }

/* --- Checkout Order Summary --- */
.checkout-order-summary { background: #f8fafc; border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.checkout-order-summary h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.order-items { margin-bottom: 16px; }
.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-color); align-items: center; }
.order-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-size: 13px; font-weight: 600; color: #0f172a; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-store { font-size: 11px; color: #94a3b8; margin: 0 0 2px; }
.order-item-info span { font-size: 12px; color: #64748b; }
.order-item-price { font-size: 14px; font-weight: 700; color: #0f172a; flex-shrink: 0; }
.summary-rows { margin-bottom: 16px; }

/* --- Order Success --- */
.success-icon { margin-bottom: 16px; }
.order-result-card { text-align: left; background: #f8fafc; border-radius: 12px; padding: 24px; margin: 24px 0; }
.order-result-table { width: 100%; border-collapse: collapse; }
.order-result-table th, .order-result-table td { padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--border-color); }
.order-result-table th { color: #64748b; font-weight: 500; width: 100px; }
.order-result-table td { color: #0f172a; }
.order-status { display: inline-block; background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .cart-page, .checkout-page { grid-template-columns: 1fr; }
  .feature-item, .feature-item.reverse { flex-direction: column; }
  .feature-item img { width: 100%; height: 160px; }
  .store-grid-all { grid-template-columns: 1fr; }
  .store-banner { height: 160px; }
}

/* --- 证照信息页 --- */
.license-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.license-card {
  display: flex; gap: 24px;
  background: var(--white); border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 28px; align-items: flex-start;
}
.license-icon { font-size: 36px; flex-shrink: 0; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #f0f7ff; border-radius: 12px; }
.license-body { flex: 1; }
.license-body h3 { font-size: 18px; margin-bottom: 12px; color: var(--blue-700); }
.license-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.license-table th { text-align: left; width: 120px; padding: 6px 12px 6px 0; color: #6b7280; font-weight: normal; font-size: 14px; }
.license-table td { padding: 6px 0; color: var(--blue-900); font-size: 14px; }
.license-footer-note { margin-top: 32px; padding: 16px 20px; background: #f9fafb; border-radius: 8px; }
.license-footer-note p { font-size: 13px; color: #9ca3af; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
  .license-card { flex-direction: column; padding: 20px; }
  .license-table th { width: 90px; }
}

/* ============================================================
   隐私政策 / 用户协议 内容页
   ============================================================ */
.policy-content { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px 36px; }
.policy-content h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 28px 0 12px; padding-top: 8px; }
.policy-content h3:first-child { margin-top: 0; }
.policy-content h4 { font-size: 15px; font-weight: 600; color: #334155; margin: 16px 0 8px; }
.policy-content p { font-size: 14px; color: #475569; line-height: 1.8; margin: 0 0 10px; }
.policy-content ul { margin: 8px 0 12px 20px; }
.policy-content li { font-size: 14px; color: #475569; line-height: 1.8; margin-bottom: 4px; }
.policy-content strong { color: #0f172a; }
@media (max-width: 768px) {
  .policy-content { padding: 20px 18px; }
}
