/* ============================================
   沫琛时尚 - 全站样式
   时尚简约风视觉系统 V3
   ============================================ */

/* ============= 字体声明（系统字体栈） ============= */

/* ============= 设计变量 ============= */
:root {
  --color-primary: #1A1A2E;
  --color-primary-dark: #0F0F1E;
  --color-primary-soft: #EDE8F5;
  --color-primary-light: #6C5CE7;
  --color-accent: #A29BFE;
  --color-accent-dark: #7C6FE0;
  --color-gold: #C9A96E;
  --color-text: #1A1A2E;
  --color-text-light: #6B6B80;
  --color-text-muted: #9B9BAF;
  --color-bg: #F8F9FC;
  --color-bg-soft: #F0F1F6;
  --color-bg-section: #E8E9F0;
  --color-bg-deep: #1A1A2E;
  --color-card: #FFFFFF;
  --color-border: #E2E3EA;
  --color-border-soft: rgba(26,26,46,0.06);
  --color-success: #2ECC71;
  --color-danger: #E74C3C;
  --color-warning: #F39C12;
  --shadow-xs: 0 1px 3px rgba(26,26,46,0.04);
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
  --shadow: 0 4px 16px rgba(26,26,46,0.08);
  --shadow-md: 0 6px 20px rgba(26,26,46,0.10);
  --shadow-lg: 0 8px 24px rgba(108,92,231,0.15);
  --shadow-xl: 0 16px 40px rgba(26,26,46,0.12);
  --gradient-warm: linear-gradient(135deg, #1A1A2E 0%, #6C5CE7 50%, #A29BFE 100%);
  --gradient-soft: linear-gradient(180deg, #F8F9FC 0%, #F0F1F6 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2D2D4A 100%);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
}

/* ============= 全局重置 ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--color-text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  color: var(--color-text);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.12);
}
textarea { resize: vertical; min-height: 100px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; padding-bottom: 40px; }

/* ============================================
   顶条 V2 - 渐变描边
   ============================================ */
.topbar {
  background: var(--color-bg-deep);
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
  padding: 7px 0;
  position: relative;
}
.topbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-warm);
}
.topbar a { color: rgba(255,255,255,0.78); }
.topbar a:hover { color: var(--color-accent); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-info { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 4px; }
.topbar-links { display: flex; gap: 16px; }

/* ============================================
   主导航 V2 - 大气 搜索 + 分类胶囊
   ============================================ */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--color-border-soft), 0 2px 12px rgba(26,26,46,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--color-text);
}
.brand:hover { color: var(--color-text); }
.brand img { height: 44px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text .name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}
.brand-text .slogan {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 0.18em;
  margin-top: 3px;
  text-transform: uppercase;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-warm);
  color: white;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-mark-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-warm);
  color: white;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.nav-list {
  display: flex;
  gap: 2px;
  list-style: none;
  flex-shrink: 0;
}
.nav-list a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-list a:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.nav-list a.active {
  color: white;
  background: var(--gradient-warm);
  box-shadow: 0 4px 12px rgba(108,92,231,0.30);
}
.nav-list a.hot::after {
  content: "HOT";
  position: absolute;
  top: 0;
  right: 2px;
  font-size: 9px;
  font-weight: 700;
  color: white;
  background: var(--color-primary);
  padding: 1px 4px;
  border-radius: 4px 4px 4px 0;
  letter-spacing: 0.5px;
}

.nav-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}
.nav-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  border: 1px solid transparent;
  font-size: 13.5px;
}
.nav-search input:focus {
  background: white;
  border-color: var(--color-primary);
}
.nav-search::before {
  content: "🔍";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.nav-search .search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-warm);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions a, .nav-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nav-actions a:hover, .nav-actions button:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}
.cart-icon { position: relative; }
.cart-icon .cart-emoji { font-size: 18px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
  display: none;
  line-height: 1.4;
}
.cart-count.active { display: block; }
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  font-weight: 500;
}
.nav-user:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.mobile-menu-btn { display: none; font-size: 22px; color: var(--color-text); padding: 6px 10px; }

/* 分类胶囊子导航 */
.category-strip {
  background: white;
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
  overflow-x: auto;
}
.category-strip-inner {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-pill:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.cat-pill.active {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 3px 10px rgba(108,92,231,0.30);
}
.cat-pill .emoji { font-size: 15px; }

/* ============================================
   首页 Hero V2 - 大图 + 双栏 + 浮动卡
   ============================================ */
.hero {
  position: relative;
  background: var(--gradient-soft);
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(162,155,254,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(108,92,231,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(108,92,231,0.10);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.hero-content h1 {
  font-size: 46px;
  line-height: 1.18;
  color: var(--color-text);
  margin-bottom: 18px;
}
.hero-content h1 .accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content .lead {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.hero-stats .stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.hero-stats .stat .label {
  display: block;
  font-size: 12.5px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  height: 440px;
}
.hero-img-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  background: var(--gradient-warm);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 180px;
  color: white;
}
.hero-img-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3), transparent 50%);
}
.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-float-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-float-card .text .t1 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.hero-float-card .text .t2 {
  font-size: 11.5px;
  color: var(--color-text-light);
  margin-top: 2px;
}
.hero-float-card.fc-1 {
  top: 24px;
  left: -28px;
  animation: floatY 4s ease-in-out infinite;
}
.hero-float-card.fc-1 .icon { background: rgba(79,139,62,0.12); color: var(--color-success); }
.hero-float-card.fc-2 {
  bottom: 60px;
  right: -32px;
  animation: floatY 4.5s ease-in-out 0.5s infinite;
}
.hero-float-card.fc-2 .icon { background: rgba(244,162,97,0.18); color: var(--color-accent-dark); }
.hero-float-card.fc-3 {
  bottom: 24px;
  left: 28px;
  animation: floatY 5s ease-in-out 1s infinite;
}
.hero-float-card.fc-3 .icon { background: rgba(108,92,231,0.10); color: var(--color-primary); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   首页 Hero V3 - 全屏沉浸式
   ============================================ */
.hero-v3 {
  position: relative;
  min-height: 520px;
  background: var(--gradient-dark);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-v3-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D4A 40%, #6C5CE7 100%);
}
.hero-v3-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(162,155,254,0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(201,169,110,0.12) 0%, transparent 40%);
}
.hero-v3-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 20px 48px;
}
.hero-v3-text .hero-v3-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(162,155,254,0.20);
  border: 1px solid rgba(162,155,254,0.35);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-v3-text h1 {
  font-size: 48px;
  line-height: 1.18;
  color: white;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.hero-v3-text h1 .hero-v3-accent {
  background: linear-gradient(135deg, #A29BFE, #C9A96E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-v3-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}
.hero-v3-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(108,92,231,0.40);
}
.btn-hero-primary:hover { background: var(--color-accent-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108,92,231,0.50); }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-hero-outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(162,155,254,0.10); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-hero-ghost:hover { color: white; }

/* Hero V3 右侧展示卡 */
.hero-v3-showcase {
  position: relative;
  height: 360px;
}
.hero-v3-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: transform 0.3s;
}
.hero-v3-card:hover { transform: translateY(-4px) scale(1.02); }
.hero-v3-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-v3-card .hero-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--gradient-warm);
}
.hero-v3-card .hc-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-v3-card .hc-name {
  font-size: 13px;
  color: white;
  font-weight: 500;
}
.hero-v3-card .hc-price {
  font-size: 16px;
  color: var(--color-accent);
  font-weight: 700;
}
.hero-v3-card.hc-1 {
  width: 200px;
  height: 260px;
  top: 0;
  left: 20px;
  z-index: 3;
  animation: floatY 4s ease-in-out infinite;
}
.hero-v3-card.hc-2 {
  width: 180px;
  height: 220px;
  top: 40px;
  right: 10px;
  z-index: 2;
  animation: floatY 4.5s ease-in-out 0.6s infinite;
}
.hero-v3-card.hc-3 {
  width: 160px;
  height: 180px;
  bottom: 0;
  left: 80px;
  z-index: 1;
  animation: floatY 5s ease-in-out 1.2s infinite;
}

/* Hero V3 底部统计条 */
.hero-v3-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 16px 40px;
  background: rgba(26,26,46,0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-v3-stats .hs {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.hero-v3-stats .hs-num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.hero-v3-stats .hs-label {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  margin-top: 4px;
}
.hero-v3-stats .hs-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* ============================================
   服务承诺条 V3
   ============================================ */
.service-bar-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -28px;
  position: relative;
  z-index: 5;
}
.sb3-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.sb3-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sb3-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}
.sb3-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.3;
}
.sb3-item span {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 2px;
  display: block;
}

/* ============================================
   商品卡 V4 - 简洁卡片风（无收藏）
   ============================================ */
.pcard {
  display: block;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: inherit;
}
.pcard:hover {
  box-shadow: 0 6px 24px rgba(26,26,46,0.10);
  transform: translateY(-3px);
  border-color: transparent;
}
.pcard-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #F5F5F8;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-img .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}
.pcard-img .badge.hot { background: #E74C3C; color: white; }
.pcard-img .badge.new { background: #27AE60; color: white; }
.pcard-img .badge.eco { background: #6C5CE7; color: white; }
.pcard-img .badge.fresh { background: #2980B9; color: white; }

.pcard-info { padding: 12px 14px; }
.pcard-name {
  font-size: 13px;
  line-height: 1.45;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--color-text);
  margin-bottom: 6px;
  font-weight: 500;
}
.pcard-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pcard-tags i {
  font-style: normal;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #F0F1F6;
  color: var(--color-text-light);
}
.pcard-tags i.off {
  background: rgba(231,76,60,0.08);
  color: #E74C3C;
  font-weight: 600;
}

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
}
.pcard-price strong {
  font-size: 20px;
  font-weight: 700;
  color: #E74C3C;
  line-height: 1;
}
.pcard-price s {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.pcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-light);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-border);
  margin-bottom: 12px;
}
.pcard-foot span:last-child { color: #F39C12; }

.pcard-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.btn-add {
  padding: 7px 4px;
  border-radius: 5px;
  border: 1.5px solid var(--color-border);
  background: white;
  color: var(--color-text);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-add:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  background: var(--color-primary-soft);
}
.btn-buy {
  padding: 7px 4px;
  border-radius: 5px;
  border: none;
  background: linear-gradient(135deg,#6C5CE7,#A29BFE);
  color: white;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-buy:hover {
  box-shadow: 0 4px 12px rgba(108,92,231,0.35);
  transform: translateY(-1px);
}

/* pcard 分类差异化风格 */
.pcard[data-style="women"] {
  border-left: 3px solid #6C5CE7;
}
.pcard[data-style="women"]:hover { box-shadow: 0 6px 24px rgba(108,92,231,0.12); }
.pcard[data-style="women"] .pcard-price strong { color: #6C5CE7; }
.pcard[data-style="women"] .btn-buy { background: linear-gradient(135deg,#6C5CE7,#A29BFE); }
.pcard[data-style="women"] .btn-add:hover { border-color: #6C5CE7; color: #6C5CE7; }

.pcard[data-style="men"] {
  border-top: 3px solid #1A1A2E;
}
.pcard[data-style="men"]:hover { box-shadow: 0 6px 24px rgba(26,26,46,0.15); }
.pcard[data-style="men"] .pcard-price strong { color: #1A1A2E; }
.pcard[data-style="men"] .btn-buy { background: linear-gradient(135deg,#1A1A2E,#2D2D4A); }
.pcard[data-style="men"] .btn-add:hover { border-color: #1A1A2E; color: #1A1A2E; }

.pcard[data-style="pants"] {
  border-right: 3px solid #C9A96E;
}
.pcard[data-style="pants"]:hover { box-shadow: 0 6px 24px rgba(201,169,110,0.18); }
.pcard[data-style="pants"] .pcard-price strong { color: #C9A96E; }
.pcard[data-style="pants"] .btn-buy { background: linear-gradient(135deg,#C9A96E,#D4B87A); }
.pcard[data-style="pants"] .btn-add:hover { border-color: #C9A96E; color: #C9A96E; }

.pcard[data-style="acc"] {
  border-bottom: 3px solid #A29BFE;
  background: linear-gradient(180deg,white 98%,#F8F6FF 100%);
}
.pcard[data-style="acc"]:hover { box-shadow: 0 6px 24px rgba(162,155,254,0.18); }
.pcard[data-style="acc"] .pcard-price strong { color: #7C6FE0; }
.pcard[data-style="acc"] .btn-buy { background: linear-gradient(135deg,#7C6FE0,#A29BFE); }
.pcard[data-style="acc"] .btn-add:hover { border-color: #A29BFE; color: #7C6FE0; }

/* ============================================
   通用区块
   ============================================ */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}
.section-head .titles .eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.section-head .titles h2 {
  font-size: 28px;
  color: var(--color-text);
  line-height: 1.2;
}
.section-head .titles .sub {
  color: var(--color-text-light);
  font-size: 14px;
  margin-top: 6px;
}
.section-head .more {
  color: var(--color-text-light);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-head .more:hover { color: var(--color-primary); }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.section-title h2 { font-size: 22px; }
.section-title h2 small { color: var(--color-text-light); font-size: 14px; font-weight: 400; margin-left: 8px; }
.section-title a { color: var(--color-text-light); font-size: 14px; }
.section-title a:hover { color: var(--color-primary); }

/* ============================================
   分类入口 V2 - 圆角卡 + 食品色块
   ============================================ */
.category-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  display: block;
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 18px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.25s;
  overflow: hidden;
  color: var(--color-text);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cat-color, var(--color-primary-soft));
  opacity: 0;
  transition: opacity 0.25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cat-color, var(--color-primary)); color: var(--color-text); }
.cat-card:hover::before { opacity: 0.10; }
.cat-card .emoji {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--cat-color, var(--color-primary-soft));
  color: white;
  font-size: 32px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(26,26,46,0.10);
}
.cat-card h3 {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-serif);
}
.cat-card p {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: var(--color-text-light);
  line-height: 1.4;
}
.cat-card .count {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--cat-color, var(--color-primary));
  font-weight: 600;
}

/* ============================================
   商品卡 V2 - 更大图 + 食品徽章
   ============================================ */
.product-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(108,92,231,0.30);
}
.product-card .img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-section);
}
.product-card .img-wrap .img,
.product-card .img-wrap > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
  line-height: 1;
}
.product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}
.product-card .badge.hot { background: var(--color-primary); color: white; }
.product-card .badge.new { background: var(--color-success); color: white; }
.product-card .badge.eco { background: var(--color-accent); color: white; }
.product-card .badge.fresh { background: #2D7A8A; color: white; }
.product-card .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.product-card .fav:hover { color: var(--color-primary); transform: scale(1.08); }
.product-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 {
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
}
.product-card h3 a { color: var(--color-text); }
.product-card h3 a:hover { color: var(--color-primary); }
.product-card .tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  min-height: 18px;
}
.product-card .tag-mini {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--color-bg-soft);
  color: var(--color-text-light);
}
.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.product-card .price { color: var(--color-primary); font-size: 22px; font-weight: 700; line-height: 1; }
.product-card .price .yen { font-size: 14px; font-weight: 500; }
.product-card .price .dec { font-size: 13px; font-weight: 500; }
.product-card .old-price { color: var(--color-text-muted); font-size: 12.5px; text-decoration: line-through; }
.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: auto;
  padding-top: 8px;
}
.product-card .meta .sales { display: inline-flex; align-items: center; gap: 3px; }
.product-card .meta .rating { display: inline-flex; align-items: center; gap: 2px; color: var(--color-accent-dark); }
.product-card .actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}
.product-card .actions .btn { flex: 1; padding: 8px 0; font-size: 13px; }

/* 横向滚动商品条 */
.product-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.product-scroll::-webkit-scrollbar { height: 6px; }
.product-scroll::-webkit-scrollbar-track { background: var(--color-bg-soft); border-radius: 999px; }
.product-scroll::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 999px; }
.product-scroll .product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

/* ============================================
   品牌故事区
   ============================================ */
.brand-story {
  background: var(--gradient-dark);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.brand-story::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244,162,97,0.18) 0%, transparent 60%);
  border-radius: 50%;
}
.brand-story-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.brand-story-content .eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.brand-story-content h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 18px;
  line-height: 1.2;
}
.brand-story-content p {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
}
.brand-story-content .signature {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-story-content .signature .line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}
.brand-story-content .signature .info {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-accent);
  font-weight: 600;
}
.brand-story-content .signature .info small {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.1em;
}
.brand-story-visual {
  position: relative;
  height: 380px;
}
.story-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  color: white;
}
.story-card .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.story-card .label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
  line-height: 1.4;
}
.story-card.sc-1 { top: 20px; left: 0; }
.story-card.sc-2 { top: 20px; right: 0; }
.story-card.sc-3 { bottom: 20px; left: 30px; }
.story-card.sc-4 { bottom: 20px; right: 30px; }

/* ============================================
   资质保障区
   ============================================ */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.qual-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.25s;
}
.qual-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qual-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 14px;
}
.qual-card h4 { font-size: 16px; margin-bottom: 6px; font-family: var(--font-serif); }
.qual-card p { font-size: 12.5px; color: var(--color-text-light); line-height: 1.6; }

/* ============================================
   页脚 V2 - 深色高级感
   ============================================ */
.footer {
  background: var(--color-bg-deep);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 0;
  margin-top: 60px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-warm);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-row img { height: 44px; }
.footer-brand .logo-row .name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.footer-brand .tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 320px;
}
.footer-info-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-info-list li { display: flex; align-items: flex-start; gap: 6px; color: rgba(255,255,255,0.65); }
.footer-info-list .ic { color: var(--color-accent); flex-shrink: 0; }

.footer h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-list a {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-list a:hover { color: var(--color-accent); transform: translateX(3px); }

.footer-mid {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cert {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-cert .cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}
.footer-cert .cert-chip .ic { color: var(--color-accent); }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--color-accent); color: white; transform: translateY(-2px); }

.footer-bottom {
  padding: 20px 0 24px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 12.5px;
  line-height: 1.9;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--color-accent); }
.footer-bottom .copyright { margin-bottom: 6px; }
.footer-bottom .links { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.footer-bottom .links .sep { color: rgba(255,255,255,0.25); }
.beian { display: inline-flex; align-items: center; gap: 4px; }
.beian img { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--gradient-warm);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(108,92,231,0.25);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,92,231,0.35);
  filter: brightness(1.05);
}
.btn-accent {
  background: var(--color-accent);
  color: white;
  border-color: transparent;
}
.btn-accent:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: #F6B27A;
}
.btn-outline {
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.btn-danger { background: var(--color-danger); color: white; }
.btn-danger:hover { background: var(--color-primary-dark); color: white; }

/* ============================================
   卡片 / 栅格 / 列表
   ============================================ */
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--color-bg-section);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* 标签 / 徽章 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: var(--color-bg-section);
  color: var(--color-text-light);
  margin-right: 4px;
}
.tag-primary { background: rgba(108,92,231,0.10); color: var(--color-primary); }
.tag-accent { background: rgba(162,155,254,0.18); color: var(--color-accent-dark); }
.tag-danger { background: rgba(108,92,231,0.10); color: var(--color-danger); }
.tag-success { background: rgba(79,139,62,0.12); color: var(--color-success); }
.tag-info { background: rgba(108,92,231,0.12); color: var(--color-primary-light); }
.tag-warn { background: rgba(201,169,110,0.18); color: var(--color-gold); }

/* 面包屑 */
.breadcrumb {
  background: var(--color-bg-soft);
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-text-muted); }
.breadcrumb .current { color: var(--color-text); }

/* 列表 / Tab */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
  font-family: inherit;
}
.tab:hover { color: var(--color-primary); }
.tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.form-group label .req { color: var(--color-danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.form-help { font-size: 12px; color: var(--color-text-light); margin-top: 4px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-item, .checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  background: white;
}
.radio-item:hover, .checkbox-item:hover { border-color: var(--color-primary-light); color: var(--color-primary); }
.radio-item input, .checkbox-item input { width: auto; margin: 0; }
.radio-item.checked, .checkbox-item.checked {
  background: rgba(108,92,231,0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 模态框 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.55);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 380px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--color-border); color: var(--color-primary); }
.modal-title { text-align: center; font-size: 18px; margin-bottom: 20px; font-family: var(--font-serif); }
.modal-body { text-align: center; }
.modal-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  background: white;
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-amount { font-size: 16px; margin: 12px 0; color: var(--color-text); }
.modal-amount .price { color: var(--color-primary); font-size: 24px; font-weight: 700; margin-left: 4px; }
.modal-tip { font-size: 13px; color: var(--color-text-light); margin: 12px 0 20px; line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(26,26,46,0.95);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 14px;
  transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-danger); }
.toast.warn { background: var(--color-warning); }

/* 工具类 */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }
.text-light { color: var(--color-text-light); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }
.placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
}

/* 分页 */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  background: white;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(108,92,231,0.04);
}
.pagination .active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pagination .disabled { color: var(--color-text-muted); pointer-events: none; background: var(--color-bg-soft); }

/* ============================================
   登录注册 V2 - 左侧品牌 + 右侧表单
   ============================================ */
.auth-page { min-height: calc(100vh - 80px); display: flex; }
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  min-height: 720px;
}
.auth-brand {
  position: relative;
  background: var(--gradient-dark);
  color: white;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-brand::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244,162,97,0.20) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,92,231,0.18) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand .top { position: relative; z-index: 1; }
.auth-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}
.auth-brand .brand-row img { height: 52px; }
.auth-brand .brand-row .name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
}
.auth-brand .brand-row .slogan {
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 0.20em;
  margin-top: 4px;
  text-transform: uppercase;
}
.auth-brand h2 {
  font-size: 36px;
  line-height: 1.3;
  color: white;
  margin-bottom: 18px;
  max-width: 460px;
}
.auth-brand .lead {
  font-size: 15.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 32px;
}
.auth-brand .features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.auth-brand .features .item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.auth-brand .features .item .dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(244,162,97,0.18);
  color: var(--color-accent);
  flex-shrink: 0;
}
.auth-brand .bottom {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.auth-brand .bottom .stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.auth-brand .bottom .stat .label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

.auth-form-side {
  background: var(--color-bg);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.auth-tabs {
  display: inline-flex;
  background: var(--color-bg-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 32px;
}
.auth-tabs .tab-btn {
  padding: 9px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: all 0.2s;
  cursor: pointer;
}
.auth-tabs .tab-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.auth-form-title {
  font-size: 26px;
  margin-bottom: 8px;
  font-family: var(--font-serif);
}
.auth-form-sub {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 28px;
}
.auth-form .form-group label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}
.auth-form .form-group .input-wrap {
  position: relative;
}
.auth-form .form-group .input-wrap .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 15px;
  pointer-events: none;
}
.auth-form .form-group input {
  padding-left: 40px;
  height: 46px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--color-border);
  font-size: 14.5px;
}
.auth-form .form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.10);
}
.auth-form .form-group .input-wrap.captcha input {
  padding-right: 124px;
}
.auth-form .form-group .input-wrap.captcha .cap-img {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
}
.auth-form .form-group .input-wrap.toggle input { padding-right: 44px; }
.auth-form .form-group .input-wrap .toggle-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 16px;
}
.auth-form .submit-row { margin-top: 24px; }
.auth-form .submit-row .btn { height: 48px; border-radius: 10px; font-size: 15px; }
.auth-form .row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 14px 0 4px;
}
.auth-form .row-between label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--color-text-light);
}
.auth-form .row-between a { color: var(--color-primary); }
.auth-form .row-between a:hover { color: var(--color-primary-dark); }
.auth-form .agree {
  font-size: 12.5px;
  color: var(--color-text-light);
  margin-top: 14px;
  line-height: 1.6;
}
.auth-form .agree a { color: var(--color-primary); }
.auth-form .alt-entry {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--color-border);
  text-align: center;
}
.auth-form .alt-entry .text {
  font-size: 12.5px;
  color: var(--color-text-light);
  margin-bottom: 14px;
  position: relative;
}
.auth-form .alt-entry .text::before,
.auth-form .alt-entry .text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--color-border);
}
.auth-form .alt-entry .text::before { left: 0; }
.auth-form .alt-entry .text::after { right: 0; }
.auth-form .alt-entry .text span { background: var(--color-bg); padding: 0 10px; }
.auth-form .social-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.auth-form .social-row .sb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s;
  cursor: pointer;
}
.auth-form .social-row .sb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.auth-form .social-row .sb.wechat { color: #07C160; }
.auth-form .social-row .sb.qq { color: #12B7F5; }
.auth-form .social-row .sb.weibo { color: #E6162D; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .nav-list a { padding: 10px 12px; font-size: 14px; }
  .nav-search { max-width: 240px; }
}
@media (max-width: 1024px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout, .review-layout, .service-layout { grid-template-columns: 200px 1fr !important; }
  .news-layout > aside:last-child, .review-layout > aside:last-child, .service-layout > aside:last-child { display: none; }
  .list-layout { grid-template-columns: 160px 1fr !important; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { height: 360px; }
  .hero-v3-content { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 60px; }
  .hero-v3-showcase { height: 280px; }
  .hero-v3-text h1 { font-size: 36px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { padding: 40px 32px; }
  .auth-form-side { padding: 40px 32px; }
  .brand-story-inner { grid-template-columns: 1fr; gap: 32px; }
  .category-entries { grid-template-columns: repeat(3, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-bar-v3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .hero { padding: 40px 0 32px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content .lead { font-size: 15px; }
  .hero-visual { height: 280px; }
  .hero-v3 { min-height: auto; }
  .hero-v3-content { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px 56px; }
  .hero-v3-text h1 { font-size: 28px; }
  .hero-v3-desc { font-size: 14px; }
  .hero-v3-showcase { display: none; }
  .hero-v3-stats { padding: 12px 16px; }
  .hero-v3-stats .hs { padding: 0 16px; }
  .hero-v3-stats .hs-num { font-size: 18px; }
  .hero-float-card.fc-1 { left: 0; }
  .hero-float-card.fc-2 { right: 0; }
  .industry-entries { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-info, .topbar-links { gap: 8px; font-size: 12px; }
  .topbar-info span:nth-child(2), .topbar-info span:nth-child(3) { display: none; }
  .nav-list { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-list.mobile-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-list.mobile-open a { padding: 12px 16px; }
  .nav-search { display: none; }
  .brand-text { display: none; }
  .brand-text .slogan { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-card { flex-direction: column; }
  .info-card img { width: 100%; height: 180px; }
  .section { padding: 32px 0; }
  .navbar-inner { height: 64px; gap: 12px; grid-template-columns: auto 1fr auto; }
  .news-layout, .review-layout, .service-layout { grid-template-columns: 1fr !important; }
  .news-layout > aside, .review-layout > aside, .service-layout > aside { display: block; }
  .list-layout { grid-template-columns: 1fr !important; }
  .list-layout > aside { margin-bottom: 16px; }
  .list-layout > aside .card { padding: 12px; }
  .admin-tabs { font-size: 12px; }
  .admin-tab { padding: 10px 12px; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .auth-brand .bottom { flex-wrap: wrap; }
  .auth-brand h2 { font-size: 28px; }
  .service-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .service-bar-v3 { grid-template-columns: repeat(2, 1fr); margin-top: -16px; }
  .service-item { border-right: none; border-bottom: 1px solid var(--color-border); padding: 10px 14px; }
  .service-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .service-item:nth-last-child(-n+2) { border-bottom: none; }
  .category-entries { grid-template-columns: repeat(2, 1fr); }
  .category-entries.category-7 { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: 1fr; }
  .brand-story { padding: 40px 0; }
  .brand-story-content h2 { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .industry-entries { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .auth-form-side { padding: 32px 22px; }
  .auth-brand { padding: 32px 22px; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
}
