/* ─────────────────────────────────────────────
   THEME: HOME
   Warm Cream × Olive Green
   Best for: home goods, kitchen, lifestyle, beauty, fitness
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

[data-theme="home"] {
  --bg:           #FDFAF5;
  --bg-2:         #F5F0E8;
  --bg-3:         #EDE8DE;
  --accent:       #5A7A45;
  --accent-hover: #4A6A38;
  --accent-dim:   rgba(90, 122, 69, 0.08);
  --text:         #3A3530;
  --text-muted:   #8A8278;
  --text-strong:  #1A1510;
  --border:       #DDD8CE;
  --border-hover: #C8C3B8;
  --green:        #5A7A45;
  --red:          #B85040;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;

  --hero-title-size:    clamp(48px, 7vw, 80px);
  --section-label-size: 32px;
  --card-name-size:     28px;
}

[data-theme="home"] body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

[data-theme="home"] .topbar {
  background: var(--accent);
  color: rgba(255,255,255,0.92);
  padding: 9px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

[data-theme="home"] .hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

[data-theme="home"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

[data-theme="home"] .eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

[data-theme="home"] .hero-title {
  font-family: var(--font-display);
  font-size: var(--hero-title-size);
  line-height: 1.05;
  color: var(--text-strong);
  font-weight: 600;
  margin-bottom: 28px;
}

[data-theme="home"] .hero-title em {
  font-style: italic;
  color: var(--accent);
}

[data-theme="home"] .hero-intro {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.9;
  margin-bottom: 32px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

[data-theme="home"] .hero-meta { display: flex; gap: 20px; flex-wrap: wrap; }
[data-theme="home"] .meta-pill { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

[data-theme="home"] .quick-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

[data-theme="home"] .nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}

[data-theme="home"] .nav-inner::-webkit-scrollbar { display: none; }

[data-theme="home"] .nav-chip {
  flex-shrink: 0;
  padding: 6px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
}

[data-theme="home"] .nav-chip:hover,
[data-theme="home"] .nav-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

[data-theme="home"] .section { padding: 64px 0; border-bottom: 1px solid var(--border); }

[data-theme="home"] .section-label {
  font-family: var(--font-display);
  font-size: var(--section-label-size);
  font-style: italic;
  color: var(--text-strong);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

[data-theme="home"] .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

[data-theme="home"] .summary-grid { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: grid; gap: 1px; background: var(--border); }

[data-theme="home"] .summary-row {
  display: grid;
  grid-template-columns: 36px 1fr 90px 120px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg);
  transition: background var(--transition);
}

[data-theme="home"] .summary-row:hover { background: var(--bg-2); }

[data-theme="home"] .summary-row.header {
  background: var(--bg-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

[data-theme="home"] .rank-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--accent);
  text-align: center;
}

[data-theme="home"] .summary-name { font-weight: 500; color: var(--text-strong); font-size: 15px; }
[data-theme="home"] .summary-tag { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
[data-theme="home"] .stars { color: var(--accent); }

[data-theme="home"] .btn-summary {
  display: block;
  text-align: center;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  transition: background var(--transition);
}

[data-theme="home"] .btn-summary:hover { background: var(--accent-hover); }

[data-theme="home"] .product-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; transition: border-color var(--transition), box-shadow var(--transition); }
[data-theme="home"] .product-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
[data-theme="home"] .product-card.is-top-pick { border-color: var(--accent); }

[data-theme="home"] .top-pick-banner { background: var(--accent); padding: 10px 24px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.95); display: flex; align-items: center; gap: 8px; }

[data-theme="home"] .card-body { padding: 32px; position: relative; }
[data-theme="home"] .card-bg-rank { font-family: var(--font-display); font-size: 100px; font-style: italic; line-height: 1; color: rgba(90,122,69,0.05); position: absolute; right: 28px; top: 20px; user-select: none; }

[data-theme="home"] .card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
[data-theme="home"] .card-name { font-family: var(--font-display); font-size: var(--card-name-size); color: var(--text-strong); line-height: 1.2; font-weight: 600; }
[data-theme="home"] .card-tag { display: inline-block; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-top: 8px; }

[data-theme="home"] .rating-block { text-align: right; }
[data-theme="home"] .rating-num { font-family: var(--font-display); font-size: 44px; color: var(--text-strong); line-height: 1; }
[data-theme="home"] .rating-label { font-size: 12px; color: var(--text-muted); }

[data-theme="home"] .product-img-wrap { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; overflow: hidden; }
[data-theme="home"] .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="home"] .img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); opacity: 0.4; }
[data-theme="home"] .img-placeholder span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

[data-theme="home"] .verdict-bar { background: var(--accent-dim); border-left: 2px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 24px; font-size: 15px; font-style: italic; font-weight: 400; color: var(--text-muted); line-height: 1.7; font-family: var(--font-display); }
[data-theme="home"] .verdict-label { font-style: normal; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 4px; }

[data-theme="home"] .spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
[data-theme="home"] .spec-pill { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px; padding: 5px 14px; font-size: 12px; color: var(--text-muted); }
[data-theme="home"] .spec-pill strong { color: var(--text-strong); }

[data-theme="home"] .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
[data-theme="home"] .pros-box,
[data-theme="home"] .cons-box { background: var(--bg-2); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--border); }
[data-theme="home"] .box-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
[data-theme="home"] .pros-box .box-label { color: var(--green); }
[data-theme="home"] .cons-box .box-label { color: var(--red); }
[data-theme="home"] .pros-box li,
[data-theme="home"] .cons-box li { font-size: 14px; color: var(--text-muted); padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
[data-theme="home"] .pros-box li:last-child,
[data-theme="home"] .cons-box li:last-child { border-bottom: none; }
[data-theme="home"] .pros-box li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
[data-theme="home"] .cons-box li::before { content: '–'; color: var(--red); font-weight: 700; flex-shrink: 0; }

[data-theme="home"] .cta-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
[data-theme="home"] .btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 14px 32px; border-radius: 30px; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: background var(--transition), transform 0.15s; }
[data-theme="home"] .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
[data-theme="home"] .btn-arrow { transition: transform var(--transition); }
[data-theme="home"] .btn-primary:hover .btn-arrow { transform: translateX(4px); }
[data-theme="home"] .trust-note { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

[data-theme="home"] .compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
[data-theme="home"] .compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
[data-theme="home"] .compare-table th { background: var(--bg-3); padding: 13px 18px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
[data-theme="home"] .compare-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: middle; }
[data-theme="home"] .compare-table tr:last-child td { border-bottom: none; }
[data-theme="home"] .compare-table tr.highlight td { background: var(--accent-dim); }
[data-theme="home"] .compare-table td:first-child { font-weight: 500; color: var(--text-strong); }

[data-theme="home"] .badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; }
[data-theme="home"] .badge-best  { background: var(--accent-dim); color: var(--accent); }
[data-theme="home"] .badge-pro   { background: rgba(90,122,69,0.1); color: var(--green); }
[data-theme="home"] .badge-other { background: var(--bg-3); color: var(--text-muted); }

[data-theme="home"] .guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
[data-theme="home"] .guide-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color var(--transition), box-shadow var(--transition); }
[data-theme="home"] .guide-card:hover { border-color: var(--border-hover); box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
[data-theme="home"] .guide-icon { width: 40px; height: 40px; background: var(--accent-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
[data-theme="home"] .guide-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
[data-theme="home"] .guide-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

[data-theme="home"] .faq-item { border-bottom: 1px solid var(--border); }
[data-theme="home"] .faq-q { width: 100%; font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--text-strong); padding: 20px 0; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color var(--transition); }
[data-theme="home"] .faq-q:hover,
[data-theme="home"] .faq-item.open .faq-q { color: var(--accent); }
[data-theme="home"] .faq-icon { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
[data-theme="home"] .faq-item.open .faq-icon { transform: rotate(45deg); }
[data-theme="home"] .faq-a { font-size: 15px; color: var(--text-muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
[data-theme="home"] .faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }

[data-theme="home"] .site-footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-2); }
[data-theme="home"] .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
[data-theme="home"] .footer-brand { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--text-strong); }
[data-theme="home"] .footer-brand em { font-style: italic; color: var(--accent); }
[data-theme="home"] .footer-tagline { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
[data-theme="home"] .disclosure { font-size: 12px; color: var(--text-muted); max-width: 500px; line-height: 1.7; }
[data-theme="home"] .disclosure-label { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 6px; }

@media (max-width: 640px) {
  [data-theme="home"] .summary-row { grid-template-columns: 28px 1fr 90px; }
  [data-theme="home"] .summary-row > *:nth-child(3) { display: none; }
  [data-theme="home"] .pros-cons { grid-template-columns: 1fr; }
  [data-theme="home"] .guide-grid { grid-template-columns: 1fr; }
  [data-theme="home"] .card-bg-rank { display: none; }
  [data-theme="home"] .footer-inner { flex-direction: column; }
}
