:root {
  --green-900: #1B3A2B;
  --green-700: #2F4A3B;
  --green-500: #4A7C59;
  --green-200: #C8D9CC;
  --green-50: #F2F6F3;
  --amber: #C8A44A;
  --amber-dark: #A8853A;
  --coral: #D4763A;
  --ink: #1F2421;
  --ink-soft: #4A534D;
  --ink-mute: #7A857E;
  --line: #DDE5DF;
  --surface: #FFFFFF;
  --bg: #FAFBF9;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1120px;
  --font-head: Georgia, "Times New Roman", "Songti SC", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-900);
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.brand span { color: var(--amber-dark); }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--green-700); border-bottom-color: var(--amber); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--green-700);
}

/* ---------- disclosure bar ---------- */
.disclosure-bar {
  background: #FFFBF0;
  border-bottom: 1px solid #EFE3C4;
  font-size: 13px;
  color: #7A6420;
  padding: 9px 0;
  text-align: center;
}
.disclosure-bar a { color: #A8853A; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--bg) 100%);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1.2;
  color: var(--green-900);
  letter-spacing: -0.8px;
  max-width: 760px;
  margin-bottom: 18px;
}
.hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s, transform .1s;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); }
.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-200);
}
.btn-ghost:hover { border-color: var(--green-500); background: #fff; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--green-900);
  letter-spacing: -0.4px;
}
.section-head p { color: var(--ink-mute); font-size: 15px; }

/* ---------- card grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--green-200); box-shadow: 0 2px 12px rgba(31,36,33,.06); }
.card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 12px;
}
.card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.card h3 a { color: var(--green-900); text-decoration: none; }
.card h3 a:hover { color: var(--green-500); }
.card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.card .meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ---------- article ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-500); }
.breadcrumb span { margin: 0 7px; }

.article-header { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.article-header h1 {
  font-family: var(--font-head);
  font-size: 36px;
  line-height: 1.25;
  color: var(--green-900);
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.article-meta {
  font-size: 14px;
  color: var(--ink-mute);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta .dot { width: 3px; height: 3px; background: var(--ink-mute); border-radius: 50%; }

.article-body { padding: 34px 0 60px; }
.article-body h2 {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--green-900);
  margin: 42px 0 16px;
  letter-spacing: -0.3px;
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--green-700);
  margin: 30px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 9px; }
.article-body strong { color: var(--green-900); font-weight: 600; }
.article-body a:not(.btn) {
  color: var(--green-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:not(.btn):hover { color: var(--green-900); }

.callout {
  background: var(--green-50);
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 16px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- product box ---------- */
.product-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 26px 0;
  background: var(--surface);
}
.product-box .rank {
  display: inline-block;
  background: var(--green-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.product-box h3 { margin-top: 0 !important; }
.product-box .specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 14px 0 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-box .specs div strong { display: block; color: var(--green-900); font-size: 15px; }
.product-box .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; font-size: 15px; }
.product-box .pros-cons h4 { font-size: 14px; margin-bottom: 8px; color: var(--green-700); }
.product-box .pros-cons ul { margin: 0 0 0 18px; }
.product-box .pros-cons li { margin-bottom: 6px; color: var(--ink-soft); }

.cta-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cta-line .note { font-size: 13px; color: var(--ink-mute); }

/* ---------- table ---------- */
.table-scroll { overflow-x: auto; margin: 26px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--green-50); color: var(--green-900); font-weight: 600; font-size: 14px; }
tbody tr:hover { background: #FCFDFC; }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px !important; font-size: 18px !important; }
.faq-item p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: #C8D9CC;
  padding: 48px 0 32px;
  margin-top: 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
.site-footer h4 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}
.site-footer p { color: #9FB3A4; line-height: 1.65; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #C8D9CC; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(200,217,204,.2);
  padding-top: 22px;
  font-size: 13px;
  color: #7E9484;
}
.footer-bottom p { margin-bottom: 8px; }

/* ---------- compare page ---------- */
.compare-head { background: var(--green-50); padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.compare-head h1 { font-family: var(--font-head); font-size: 36px; color: var(--green-900); margin-bottom: 12px; letter-spacing: -0.6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}

/* ============================================================
   图文并茂增强（2026-09-25 新增）
   ============================================================ */

/* 产品卡配图：统一方形展示框 + contain。
   商品原图比例差异极大（修枝剪 0.3、宽货 2.8），必须用固定框约束，
   否则会出现"有的图 100px 高、有的 840px 高"的比例失调观感。 */
.product-box .prod-media {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31,36,33,.05);
}
.product-box .prod-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.product-box .prod-media figcaption {
  font-size: 12px; color: var(--ink-mute); margin-top: 7px;
}

/* 正文插图组件（用户用即梦生成的配图放这里） */
.figure { margin: 28px 0; }
.figure img {
  width: 100%; height: auto; display: block;
  border-radius: 12px; border: 1px solid var(--line);
}
.figure figcaption {
  font-size: 13px; color: var(--ink-mute);
  margin-top: 8px; text-align: center;
}

/* 目录（TOC）：长文自动生成，提升可扫读性 */
.toc {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 0 0 30px;
}
.toc h4 {
  font-family: var(--font-head);
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); margin: 0 0 12px;
}
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.toc a:hover { color: var(--green-700); text-decoration: underline; }

/* 内容页 hero（可选配图，深色植物渐变打底，图片做暗化叠层） */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  color: #fff; padding: 52px 0; border-bottom: 1px solid var(--line);
}
.page-hero .ph-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 34px; max-width: 720px; margin-bottom: 14px; }
.page-hero p { color: #C8D9CC; max-width: 600px; font-size: 18px; }
.page-hero .ph-img { position: absolute; inset: 0; z-index: 1; }
.page-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }

/* 首页特色精选带（带缩略图） */
.feature-picks { background: #fff; }
.feature-picks .grid-3 .card { padding: 0; overflow: hidden; }
.feature-picks .card .thumb {
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-50);
}
.feature-picks .card .thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 14px;
}
.feature-picks .card .body { padding: 20px 22px 24px; }
.feature-picks .card .price { color: var(--coral); font-weight: 700; font-size: 17px; }

/* 置顶条：滚动后出现，合规披露 + 返回顶部（站点级，纯 JS 生成） */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--green-900); color: #C8D9CC;
  font-size: 14px; padding: 11px 0;
  display: flex; gap: 16px; align-items: center; justify-content: center;
  flex-wrap: wrap; transform: translateY(140%); transition: transform .3s ease;
  box-shadow: 0 -4px 18px rgba(0,0,0,.18);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta a { color: var(--amber); text-decoration: none; }
.sticky-cta a:hover { text-decoration: underline; }
.sticky-cta .btn { padding: 8px 16px; font-size: 13px; }
.sticky-cta .label { color: #C8D9CC; }

/* 列表页卡片缩略图（不破坏原有卡片结构，用负边距出血到卡片边缘） */
.card.with-thumb { padding-top: 0; }
.card.with-thumb > .thumb {
  display: flex; align-items: center; justify-content: center;
  margin: 0 -26px 18px; height: 156px; overflow: hidden;
  background: var(--green-50); border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card.with-thumb > .thumb img { max-width: 72%; max-height: 82%; object-fit: contain; }
/* 无配图卡片的同尺寸占位块：保证同一行卡片高度对齐，且不像"漏了图" */
.card.with-thumb > .thumb.thumb-plain {
  background:
    radial-gradient(circle at 28% 72%, rgba(74,124,89,.20), transparent 58%),
    radial-gradient(circle at 74% 26%, rgba(200,164,74,.22), transparent 58%),
    linear-gradient(135deg, var(--green-50), #E6F0E9);
}

/* 相关阅读卡片网格（图文卡片，替代纯文字列表） */
.related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin: 18px 0 8px;
}
.related-card {
  display: flex; gap: 14px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.related-card:hover { border-color: var(--green-200); box-shadow: 0 2px 12px rgba(31,36,33,.06); }
.related-card .rc-thumb {
  flex: 0 0 74px; width: 74px; height: 74px; border-radius: 10px;
  background: var(--green-50); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.related-card .rc-thumb img { max-width: 84%; max-height: 84%; object-fit: contain; }
.related-card .rc-body { display: flex; flex-direction: column; gap: 4px; }
.related-card .rc-body strong {
  font-family: var(--font-head); font-size: 16px; color: var(--green-900);
  font-weight: 600; line-height: 1.35;
}
.related-card .rc-body em {
  font-style: normal; font-size: 13px; color: var(--ink-mute); line-height: 1.5;
}
.related-card:hover .rc-body strong { color: var(--green-500); }

/* 作者署名框（E-E-A-T：讲师/专业背景） */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin: 40px 0 0; padding: 22px;
  background: var(--green-50); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.author-box .ab-avatar {
  flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  overflow: hidden;
}
.author-box .ab-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box h4 { font-family: var(--font-head); font-size: 17px; color: var(--green-900); margin-bottom: 6px; }
.author-box p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.author-box .ab-meta { font-size: 13px; color: var(--ink-mute); margin-top: 6px; }

@media (max-width: 680px) {
  .page-hero { padding: 38px 0; }
  .page-hero h1 { font-size: 26px; }
  .product-box .prod-media { max-width: 190px; }
  .related-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; gap: 12px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 24px; border-bottom: none; width: 100%; }
  .hero { padding: 44px 0 38px; }
  .hero h1 { font-size: 28px; }
  .hero p.lede { font-size: 17px; }
  .article-header h1 { font-size: 27px; }
  .article-body h2 { font-size: 22px; }
  .product-box .pros-cons { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 23px; }
}

/* --- illustrations (2026-09-25) --- */
.illust-hero { max-width: 1040px; margin: 6px auto 30px; padding: 0 20px; }
.illust-hero img { width: 100%; max-height: 430px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 8px 28px rgba(0,0,0,.10); }
.figure img { border-radius: 10px; }
