/* E-Commerce Enhanced Styles v1.0 */
/* 将站点从博客型转变为专业电商枢纽 */

/* ===== 分类支柱页 ===== */
.cp-hero {
  padding: 60px 20px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cp-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.cp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.cp-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cp-hero-desc { font-size: 1.05rem; opacity: .9; margin-bottom: 20px; }
.cp-hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cp-hero-stats > div { text-align: center; }
.cp-hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; }
.cp-hero-stats span { font-size: .82rem; opacity: .85; }
.cp-hero-search {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.cp-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: .98rem;
  color: #1f2937;
}
.cp-hero-search button {
  border: none;
  background: #f97316;
  color: #fff;
  padding: 0 24px;
  font-size: .98rem;
  font-weight: 700;
  cursor: pointer;
}

/* 分类过滤导航 */
.cp-filter-bar {
  background: #fff;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 56px;
  z-index: 999;
}
.cp-filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cp-filter-link {
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 20px;
  text-decoration: none;
  color: #475569;
  font-size: .85rem;
  font-weight: 600;
  transition: all .2s;
}
.cp-filter-link:hover { background: #059669; color: #fff; }
.cp-filter-highlight { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; }

/* 分类页面区块 */
.cp-section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
.cp-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
}
.cp-section-icon { font-size: 1.8rem; }
.cp-section-head h2 { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.cp-section-head p { color: #64748b; font-size: .9rem; margin-top: 4px; }

/* 选购指南框架 */
.cp-guide-framework {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  border-radius: 16px;
  padding: 28px;
}
.cp-guide-framework ol {
  padding-left: 24px;
  color: #78350f;
  font-size: 1rem;
  line-height: 2;
}
.cp-guide-framework ol li { margin-bottom: 8px; }

/* TOP 5 */
.cp-top5-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.tfp-card {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all .25s;
}
.tfp-card:hover {
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(5,150,105,.12);
}
.tfp-rank {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.tfp-body { flex: 1; }
.tfp-body h3 { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.tfp-body p { color: #64748b; font-size: .88rem; line-height: 1.6; margin-bottom: 10px; }
.tfp-meta { display: flex; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.tfp-meta span { font-size: .85rem; color: #475569; }
.tfp-price { color: #ef4444 !important; font-weight: 800; font-size: 1.1rem; }
.tfp-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tfp-cta {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
}
.tfp-review { color: #059669; text-decoration: none; font-size: .88rem; font-weight: 600; }

/* 对比表格 */
.cp-compare-table { overflow-x: auto; }

/* 全部好物网格 */
.cp-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* 站内链接 */
.cp-internal-links {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}
.cp-internal-links h3 { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.il-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.il-list li { padding: 8px 12px; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; }
.il-list a { color: #059669; text-decoration: none; font-weight: 600; font-size: .88rem; }
.il-list a:hover { text-decoration: underline; }
.il-price { float: right; color: #ef4444; font-weight: 700; font-size: .85rem; }

/* FAQ */
.cp-faq { background: #f8fafc; border-radius: 16px; padding: 28px; }
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q:hover { background: #f1f5f9; }
.faq-arrow { transition: transform .2s; }
.faq-a { padding: 14px 18px; border-top: 1px solid #e2e8f0; }
.faq-a p { color: #475569; line-height: 1.7; }

/* 问卷CTA */
.cp-quiz-cta {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
.cp-quiz-inner {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.cp-quiz-inner h3 { font-size: 1.5rem; font-weight: 800; color: #92400e; margin-bottom: 8px; }
.cp-quiz-inner p { color: #78350f; font-size: 1rem; margin-bottom: 20px; }
.cp-quiz-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  transition: all .25s;
}
.cp-quiz-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.3); }

/* 个性化区域 */
.cp-personal {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.cp-personal h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.cp-personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
  text-align: left;
}

/* 首页增强 */
.h-hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #059669 100%);
  color: #fff;
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.h-hero-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(16,185,129,.3) 0%, transparent 70%);
  filter: blur(60px);
}
.h-hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.h-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.h-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
}
.h-hero h1 em {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  opacity: .95;
  margin-top: 8px;
  font-style: normal;
}
.h-hero-desc { font-size: 1.1rem; opacity: .9; margin-bottom: 18px; }
.h-hero-trust { display: flex; gap: 20px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.h-hero-trust span {
  background: rgba(255,255,255,.15);
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .88rem;
}
.h-hero-search {
  max-width: 560px;
  margin: 0 auto 14px;
  display: flex;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.h-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 1rem;
  color: #1f2937;
}
.h-hero-search button {
  border: none;
  background: #f97316;
  color: #fff;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.h-hero-quick { font-size: .85rem; opacity: .85; }
.h-hero-quick a { color: #fff; margin: 0 6px; text-decoration: underline; }

/* 首页区块 */
.h-section { max-width: 1280px; margin: 40px auto; padding: 0 20px; }
.h-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}
.h-section-head h2 { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.h-section-sub { color: #94a3b8; font-size: .88rem; }
.h-section-more { color: #059669; text-decoration: none; font-weight: 600; font-size: .88rem; }

/* 分类卡片 */
.h-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.h-cat-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  text-decoration: none;
  color: #1f2937;
  transition: all .25s;
  border-left-width: 4px;
}
.h-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}
.h-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.h-cat-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.h-cat-info p { color: #64748b; font-size: .85rem; margin-bottom: 6px; }
.h-cat-count { color: #059669; font-weight: 700; font-size: .85rem; }

/* 个性化推荐网格 */
.h-personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* 问卷区块 */
.h-quiz-section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
.h-quiz-inner {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.h-quiz-text h2 { font-size: 1.5rem; font-weight: 800; color: #92400e; margin-bottom: 6px; }
.h-quiz-text p { color: #78350f; }
.h-quiz-btn {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

/* 热销趋势 */
.h-trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.h-trend-card { position: relative; }
.h-trend-rank {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  z-index: 10;
}

/* 信任徽章 */
.h-trust-section { max-width: 1280px; margin: 40px auto; padding: 0 20px; }
.h-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.h-trust-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.h-trust-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.h-trust-card h4 { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.h-trust-card p { color: #64748b; font-size: .85rem; }

/* 产品列表页 */
.pl-hero {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  padding: 50px 20px 40px;
  text-align: center;
}
.pl-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.pl-hero p { opacity: .9; font-size: 1rem; }

.pl-filters {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pl-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pl-filter-label { font-weight: 700; color: #475569; font-size: .9rem; }
.pl-filter-options { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-filter-btn {
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  color: #475569;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.pl-filter-btn:hover { background: #059669; color: #fff; border-color: #059669; }
.pl-filter-btn.active { background: #059669; color: #fff; border-color: #059669; }
.pl-reset-btn {
  padding: 6px 18px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

.pl-list-container {
  max-width: 1280px;
  margin: 20px auto;
  padding: 0 20px;
}
.pl-list-info { margin-bottom: 16px; color: #64748b; }
.pl-list { display: grid; grid-template-columns: 1fr; gap: 14px; }

.plc {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all .2s;
}
.plc:hover { border-color: #059669; box-shadow: 0 4px 14px rgba(5,150,105,.1); }
.plc-img {
  width: 80px;
  height: 80px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.plc-info { flex: 1; }
.plc-head { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.plc-cat {
  padding: 3px 10px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
}
.plc-commission {
  padding: 3px 10px;
  background: rgba(239,68,68,.1);
  color: #dc2626;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 700;
}
.plc-name { font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.plc-desc { color: #64748b; font-size: .85rem; line-height: 1.5; margin-bottom: 8px; }
.plc-meta { display: flex; gap: 14px; font-size: .85rem; margin-bottom: 6px; flex-wrap: wrap; }
.plc-price { color: #ef4444; font-weight: 800; font-size: 1.1rem; }
.plc-sales { color: #475569; }
.plc-rating { color: #f59e0b; font-weight: 700; }
.plc-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.plc-tags span {
  font-size: .7rem;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 6px;
}
.plc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  flex-shrink: 0;
}
.plc-review {
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 8px;
  text-decoration: none;
  color: #475569;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.plc-review:hover { background: #059669; color: #fff; }
.plc-cta {
  padding: 8px 18px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  text-align: center;
}

.pl-personal-note {
  max-width: 1280px;
  margin: 20px auto;
  padding: 14px 20px;
  background: #f8fafc;
  border-radius: 12px;
  color: #64748b;
  font-size: .88rem;
  text-align: center;
}

/* 最近评测 */
.mr-section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
.mr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mr-head h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.mr-more { color: #059669; text-decoration: none; font-weight: 600; }
.mr-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.review-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  transition: all .2s;
}
.review-link:hover { border-color: #059669; transform: translateX(4px); }
.review-cat {
  padding: 3px 8px;
  border-radius: 8px;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.review-title { flex: 1; font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-arrow { color: #94a3b8; }

/* 面包屑 */
.breadcrumb {
  background: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
}
.breadcrumb ol {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb li { font-size: .85rem; }
.breadcrumb a { color: #059669; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-current { color: #475569; font-weight: 600; }
.breadcrumb-sep { color: #94a3b8; }

/* 产品卡片增强 */
.product-card { height: 100%; }
.product-review-link {
  display: block;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 8px;
  text-align: center;
  color: #059669;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}
.product-review-link:hover { background: #ecfdf5; }

/* 分类页面导航增强 */
.mall-cat-nav { position: sticky; top: 56px; z-index: 998; }
.mg-more {
  margin-left: auto;
  background: #059669;
  color: #fff;
  padding: 3px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
}

/* API Hook提示 */
.cp-api-hook {
  max-width: 1280px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  color: #64748b;
}
.cp-api-hook code {
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  color: #059669;
  font-family: monospace;
}

/* 响应式 */
@media (max-width: 768px) {
  .cp-hero h1 { font-size: 1.8rem; }
  .cp-hero-stats { gap: 18px; }
  .tfp-card { flex-direction: column; }
  .plc { flex-direction: column; }
  .plc-actions { flex-direction: row; }
  .h-hero h1 { font-size: 2rem; }
  .h-quiz-inner { flex-direction: column; text-align: center; }
  .pl-filter-group { width: 100%; }
  .pl-filter-options { width: 100%; }
  .cp-section-head { flex-direction: column; }
  .cp-hero-search { flex-direction: column; border-radius: 16px; }
  .cp-hero-search button { padding: 12px; border-radius: 0 0 16px 16px; }
  .faq-q { font-size: .9rem; }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .cp-faq, .cp-internal-links, .pl-hero, .h-hero, .cp-hero {
    background-color: #0f172a;
  }
  .plc, .tfp-card, .h-cat-card, .product-card, .h-trust-card,
  .faq-item, .mr-list .review-link, .breadcrumb {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
}

/* ===== 商城页样式 ===== */
.mall-main { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.mall-hero {
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #fff;
  padding: 50px 28px 40px;
  border-radius: 0 0 24px 24px;
  margin-bottom: 28px;
  text-align: center;
}
.mall-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; }
.mall-hero .hero-sub { opacity: .9; font-size: 1.05rem; margin-bottom: 20px; }
.mall-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.mall-hero .hero-stats span { font-size: .95rem; }
.mall-hero .hero-stats strong { font-size: 1.4rem; }

.mall-filters {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filter-btn {
  padding: 8px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  color: #475569;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { background: #059669; color: #fff; border-color: #059669; }
.filter-btn.active { background: #059669; color: #fff; border-color: #059669; }

.quiz-entry { margin-bottom: 20px; }
.quiz-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  border-radius: 16px;
  padding: 18px 24px;
  text-decoration: none;
  color: #92400e;
  transition: all .2s;
}
.quiz-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,.2); }
.quiz-icon { font-size: 2rem; }
.quiz-text { font-size: 1rem; }
.quiz-text strong { display: block; font-size: 1.1rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.products-grid .loading,
.products-grid .error {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px;
  color: #64748b;
}

.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .25s;
  text-decoration: none;
  color: #1f2937;
}
.product-card:hover {
  border-color: #059669;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(5,150,105,.12);
}
.product-card .product-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .no-img { font-size: 3rem; }
.product-card .product-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-price { display: flex; align-items: baseline; gap: 8px; }
.product-card .price-current { font-size: 1.3rem; font-weight: 800; color: #ef4444; }
.product-card .price-original { font-size: .85rem; color: #94a3b8; text-decoration: line-through; }
.product-card .product-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.product-card .badge {
  font-size: .7rem;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.product-card .cta-btn {
  display: block;
  padding: 11px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  margin-top: auto;
  transition: all .2s;
}
.product-card .cta-btn:hover { transform: scale(1.02); }
.product-card .cta-btn.urgent { background: linear-gradient(135deg, #ef4444, #f97316); }
.product-card .cta-btn.secondary { background: #fff; color: #059669; border: 2px solid #059669; }

.faq-section {
  max-width: 800px;
  margin: 0 auto 40px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}
.faq-section h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; text-align: center; }
.faq-section details { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.faq-section details:last-child { border-bottom: none; }
.faq-section summary { cursor: pointer; font-weight: 700; color: #0f172a; padding: 6px 0; }
.faq-section p { color: #64748b; line-height: 1.7; margin-top: 8px; }

.affiliate-disclosure {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 16px;
  background: #fef3c7;
  border-radius: 12px;
  color: #92400e;
  font-size: .85rem;
}

/* 商城页响应式 */
@media (max-width: 768px) {
  .mall-hero { padding: 36px 20px 28px; }
  .mall-hero h1 { font-size: 1.7rem; }
  .mall-hero .hero-stats { gap: 20px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card { padding: 12px; }
  .product-card .product-name { font-size: .88rem; }
  .product-card .price-current { font-size: 1.1rem; }
}
