/* ===== SuppTop Kadence Production Styles ===== */

/* ---------- 品牌设计变量（苹果风） ---------- */
:root {
  --accent: #0071e3; --accent-hover: #0077ed;
  --green: #1e7e45; --green-dark: #166534;
  --ink: #1d1d1f; --ink-2: #424245;
  --gray: #86868b; --bg: #ffffff; --bg-soft: #f5f5f7;
  --border: #d2d2d7; --radius: 18px; --radius-sm: 12px;
}

/* ---------- 文章组件（原 GP 子主题，类名与主题无关，Kadence 下直接复用） ---------- */
.quick-summary { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin: 32px 0; }
.quick-summary .qs-label { display: inline-block; background: var(--accent); color: #fff; font-size: .7em; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 14px; border-radius: 980px; margin-bottom: 12px; }
.quick-summary p { margin: 0; font-size: 1.05em; }
.quick-summary strong { color: var(--ink); }

.rating-stars { color: #f5a623; letter-spacing: 3px; font-size: 1.05em; }
.product-rating { display: inline-block; background: #fef6e7; border: 1px solid #f5d9a8; border-radius: 980px; padding: 6px 16px; font-weight: 700; font-size: .92em; color: #9a6b00; margin: 8px 0 14px; }

.badge { display: inline-block; padding: 5px 14px; border-radius: 980px; font-size: .7em; font-weight: 700; letter-spacing: .5px; color: #fff; vertical-align: middle; margin-left: 10px; }
.badge.overall { background: var(--green); }
.badge.value   { background: var(--accent); }
.badge.premium { background: #6e5bdb; }
.badge.clean   { background: #0d9488; }
.badge.budget  { background: #6b7280; }
.badge.option  { background: #ea580c; }

.product-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 34px; margin: 34px 0; transition: border-color .2s ease, transform .2s ease; }
.product-block:hover { border-color: #a1a1a6; }
.product-block h3 { margin-top: 0; font-size: 1.4em; }
.product-block .prod-meta { color: var(--gray); font-size: .88em; }
.product-block ul { margin: 14px 0; padding-left: 20px; }
.product-block li { margin-bottom: 7px; }

a.cta-button, a.button { display: inline-block; background: var(--accent); color: #fff !important; padding: 14px 34px; border-radius: 980px; font-weight: 600; font-size: .95em; text-decoration: none !important; transition: background .2s ease, transform .1s ease; margin: 10px 0 4px; }
a.cta-button:hover, a.button:hover { background: var(--accent-hover); transform: scale(1.02); text-decoration: none !important; }

.wp-block-table { margin: 30px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: .95em; }
.wp-block-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 600; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.wp-block-table td { padding: 14px 16px; border-bottom: 1px solid #ececf0; }
.wp-block-table tbody tr:last-child td { border-bottom: none; }
.wp-block-table tbody tr:hover { background: var(--bg-soft); }

.entry-content img { border-radius: var(--radius-sm); }

/* 旧首页结构（切换后新首页接管前过渡使用） */
.supptop-hero { background: var(--bg-soft); border-radius: 24px; padding: 72px 56px; margin-bottom: 48px; text-align: center; }
.supptop-hero h1 { font-size: 3em; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.03em; color: var(--ink); }
.supptop-hero p { color: var(--gray); font-size: 1.2em; max-width: 620px; margin: 0 auto 28px; }
.supptop-hero .hero-cta { background: var(--accent); font-size: 1.05em; }
.supptop-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 28px 0; }
.supptop-cat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-decoration: none !important; color: var(--ink) !important; transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease; }
.supptop-cat:hover { transform: translateY(-3px); border-color: #a1a1a6; box-shadow: 0 10px 30px rgba(0,0,0,.06); text-decoration: none !important; }
.supptop-cat .cat-emoji { font-size: 2em; display: block; margin-bottom: 10px; }
.supptop-cat .cat-title { font-weight: 700; font-size: 1.1em; color: var(--ink); }
.supptop-cat .cat-desc { font-size: .88em; color: var(--gray); margin-top: 6px; line-height: 1.5; }

/* ---------- Header 品牌感 ---------- */
.site-header { border-bottom: 1px solid rgba(29,29,31,0.07); }
.site-branding .site-title, .site-branding { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- TOC（隐藏插件默认盒，用自建简洁 TOC） ---------- */
#ez-toc-container, [class*="ez-toc"] { display: none !important; }
.kb-toc { max-width: 460px; margin: 24px 0 36px; padding: 16px 22px; border: 1px solid #e5e5ea; border-radius: 14px; background: #fafafa; }
.kb-toc-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #86868b; margin-bottom: 10px; }
.kb-toc ul { list-style: none; margin: 0; padding: 0; }
.kb-toc li { margin: 5px 0; }
.kb-toc a { font-size: 14.5px; color: #0071e3; text-decoration: none; line-height: 1.5; }
.kb-toc a:hover { text-decoration: underline; }

/* ---------- Review Hero ---------- */
.review-hero { display: flex; gap: 40px; align-items: center; background: #f5f5f7; border-radius: 24px; padding: 36px 40px; margin: 0 0 12px; }
.review-hero .rh-media { flex: 0 0 250px; }
.review-hero .rh-media img { width: 100%; border-radius: 16px; display: block; }
.review-hero .rh-body { flex: 1; min-width: 0; }
.review-hero h1 { font-size: 33px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
.rh-meta { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.rh-meta .score { font-size: 38px; font-weight: 700; color: #1d1d1f; line-height: 1; }
.rh-meta .score span { font-size: 15px; color: #86868b; font-weight: 400; }
.rh-meta .stars { font-size: 19px; letter-spacing: 3px; color: #f5a623; }
.rh-verdict { font-size: 16.5px; line-height: 1.6; color: #6e6e73; margin: 0 0 14px; }
.rh-pros { list-style: none; margin: 0 0 18px; padding: 0; }
.rh-pros li { font-size: 15px; color: #1d1d1f; margin: 6px 0; }
.rh-pros li::before { content: "\2713  "; color: #1e7e45; font-weight: 700; }
.rh-cta .wp-block-button__link { padding: 14px 42px; border-radius: 999px; font-weight: 600; font-size: 16px; }

/* ---------- Featured 产品卡图 ---------- */
.prod-img { text-align: center; margin: 0 0 14px; }
.prod-img img { width: 148px; height: 148px; object-fit: cover; border-radius: 50%; border: 1px solid #e5e5ea; background: #fff; }

/* ---------- 手机端优先 ---------- */
@media (max-width: 781px) {
  h1 { font-size: 33px !important; line-height: 1.15 !important; }
  .wp-block-columns > .wp-block-column { margin-bottom: 14px !important; }
  .wp-block-columns > .wp-block-column:last-child { margin-bottom: 0 !important; }
  .wp-block-button__link, .wp-block-buttons .wp-block-button { width: 100%; }
  .wp-block-buttons { display: block; }
  .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wp-block-table table { min-width: 640px; }
  .review-hero { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 22px; }
  .review-hero .rh-media { flex: none; width: 100%; max-width: 210px; }
  .review-hero h1 { font-size: 27px; }
  .prod-img img { width: 118px; height: 118px; }
  .kb-toc { margin: 16px 0 28px; padding: 14px 18px; }
  .rh-cta .wp-block-button__link { padding: 15px 24px; }
  .supptop-hero { padding: 44px 24px; }
  .supptop-hero h1 { font-size: 2em; }
  .product-block { padding: 22px; }
}

/* ---------- 单篇：隐藏评论区 + Prev/Next（功能保留） ---------- */
.single .comments-area, .single #comments, .single .post-navigation, .single nav.post-navigation, .single .site-footer .post-navigation { display: none !important; }

/* ---------- 阅读体验增强 v2 ---------- */
.entry-content { line-height: 1.75; }
.entry-content h2 { margin-top: 56px; padding-top: 18px; border-top: 1px solid #e5e5ea; font-size: 1.55em; letter-spacing: -0.01em; }
.entry-content h3 { margin-top: 34px; font-size: 1.22em; }
.entry-content p { margin-bottom: 22px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { margin-bottom: 22px; }
.product-block h3 { border-top: none; padding-top: 0; margin-top: 0; }
.product-block a { text-decoration: none; }
.product-block .product-rating { margin-top: 10px; }
.wp-block-table { margin-top: 34px; }
.entry-content h2:last-of-type + p { background: #f0f7ff; border-left: 4px solid var(--accent); border-radius: 8px; padding: 18px 22px; }

/* ============================================================
   SuppTop Design System v2 — 编辑克制版(取代 v1 促销风)
   原则: 黑白灰 + 深绿强调; 去大按钮; 去花哨徽章; 更多留白
   ============================================================ */

:root {
  --st-green: #1f5c45;          /* 深森林绿: 专业健康感 */
  --st-green-soft: #e8f0eb;     /* 浅绿背景 */
  --st-ink: #1d1d1f;            /* 主文字 墨黑 */
  --st-gray: #6e6e73;           /* 次级文字 */
  --st-line: #e5e5e2;           /* 分隔线 暖灰 */
  --st-bg-soft: #f7f7f5;        /* 暖灰背景 */
  --st-white: #ffffff;
  --st-radius: 10px;
  --st-font: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 全局基础 ---------- */
body {
  font-family: var(--st-font);
  color: var(--st-ink);
  background: var(--st-white);
  letter-spacing: -0.01em;
}
a { color: var(--st-green); }
a:hover { color: #14402f; }

/* ---------- 导航栏: 干净克制 ---------- */
.site-header, .main-navigation {
  border-bottom: 1px solid var(--st-line);
  background: var(--st-white);
}
.main-navigation .menu-item a {
  color: var(--st-ink);
  font-weight: 500;
  font-size: 15px;
}
.main-navigation .menu-item a:hover {
  color: var(--st-green);
}

/* ---------- 文章页 ---------- */
.entry-title {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.entry-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 2.2em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--st-line);
  letter-spacing: -0.01em;
}
.entry-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 1.8em;
}

/* ---------- quick-summary: 淡绿底, 编辑摘要感 ---------- */
.quick-summary {
  background: var(--st-green-soft);
  border-left: 3px solid var(--st-green);
  border-radius: 0 var(--st-radius) var(--st-radius) 0;
  padding: 18px 22px;
  font-size: 16.5px;
  line-height: 1.7;
}
.quick-summary .qs-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-green);
  margin-bottom: 6px;
}

/* ---------- 产品块: 编辑推荐卡(去促销感) ---------- */
.product-block {
  background: var(--st-white);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 26px 28px;
  margin: 28px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.product-block h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 0;
}
.product-block .product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--st-green);
  border-radius: 100px;
  color: var(--st-green);
  background: transparent;
  margin-bottom: 10px;
}
.product-block .rating-stars {
  color: #b98a2f;               /* 低调暗金 */
  font-size: 15px;
  letter-spacing: 1px;
}
.product-block .product-rating {
  color: var(--st-gray);
  font-size: 13px;
  margin: 4px 0 10px;
}
.product-block p { font-size: 15.5px; line-height: 1.7; }

/* Pros/Cons 列表: 细分隔, 无图标重击感 */
.product-block .pros, .product-block .cons {
  font-size: 14.5px;
  margin-top: 12px;
}
.product-block .pros li, .product-block .cons li {
  padding: 2px 0;
  border-bottom: 1px dashed #eee;
}
.product-block .pros strong, .product-block .cons strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-gray);
}

/* ---------- CTA: 促销按钮 → 低调编辑链接 ---------- */
.product-block a.cta-button,
.product-block .cta-button,
.cta-button {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 20px;
  border: 1.5px solid var(--st-green);
  border-radius: 100px;
  color: var(--st-green) !important;
  background: transparent !important;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.product-block a.cta-button:hover {
  background: var(--st-green) !important;
  color: #fff !important;
}

/* ---------- 对比表格: 编辑表格感 ---------- */
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}
.entry-content table th {
  background: var(--st-bg-soft);
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--st-ink);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
}
.entry-content table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--st-line);
}
.entry-content table tr:hover td { background: #fafaf8; }

/* ---------- 首页: 去大按钮, 编辑媒体感 ---------- */
.home .entry-title, .home .page-title { font-size: 34px; }
.home .entry-content > p:first-of-type a.button,
.home a.button, .home .wp-block-button__link {
  display: none;                 /* 隐藏促销大按钮 */
}

/* ---------- 分类标签: 低调 ---------- */
.entry-header .entry-meta, .cat-links a, .entry-footer .cat-links a {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--st-gray);
}

