/* =====================================================
   GlowRecs — Modern Skincare Theme
   ===================================================== */

:root {
  --primary:        #1C1917;
  --accent:         #3B7D23;        /* iHerb green */
  --accent-light:   #EBF5E6;
  --accent-hover:   #2E6119;
  --bg:             #FBF8F5;        /* warm cream */
  --bg-card:        #FFFFFF;
  --text:           #1C1917;
  --text-muted:     #78716C;
  --text-light:     #A8A29E;
  --border:         #E7E2DC;
  --border-light:   #F0EDE9;
  --positive:       #2D7A5A;
  --positive-bg:    #EDFAF3;
  --positive-text:  #1E5940;
  --negative:       #B91C1C;
  --negative-bg:    #FEF2F2;
  --reddit:         #FF4500;
  --shadow-sm:      0 1px 3px rgba(28,25,23,0.06);
  --shadow:         0 4px 16px rgba(28,25,23,0.08);
  --shadow-lg:      0 12px 40px rgba(28,25,23,0.10);
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --font:           'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ---- Layout ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.logo span em { color: var(--accent); font-style: normal; }

.header-search {
  flex: 1;
  max-width: 340px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  outline: none;
}
.header-search input:focus { border-color: var(--accent); background: #fff; }
.header-search input::placeholder { color: var(--text-light); }
.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 28px;
  margin-top: 80px;
}
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-brand .logo { color: #fff; font-size: 18px; }
.footer-brand .logo span { color: #fff; }
.footer-brand .logo span em { color: #D4836A; }
.footer-brand .logo-mark { background: var(--accent); }
.footer-desc { color: #A8A29E; font-size: 13px; max-width: 360px; margin-top: 10px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #78716C; font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  color: #57534E;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.affiliate-note {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: #78716C;
  line-height: 1.6;
}

/* =====================================================
   HOMEPAGE HERO
   ===================================================== */
.hero {
  background: linear-gradient(160deg, #F2F9EF 0%, #FBF8F5 60%, #EFF6EC 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,125,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  border: 1px solid rgba(59,125,35,0.2);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-search {
  max-width: 520px;
  margin: 0 auto 16px;
  position: relative;
}
.hero-search input {
  width: 100%;
  padding: 16px 22px 16px 52px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,100,66,0.1);
}
.hero-search input::placeholder { color: var(--text-light); }
.hero-search .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  padding: 0 36px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-chip strong { color: var(--text); font-weight: 600; }

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.categories-section { padding: 64px 0; }
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.section-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-icon { font-size: 28px; }
.category-card h3 { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.01em; }
.category-meta { font-size: 12px; color: var(--text-muted); }
.category-meta strong { color: var(--positive); font-weight: 700; }
.category-arrow {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.category-card:hover .category-arrow { color: var(--accent); }

/* =====================================================
   HOW IT WORKS  (homepage)
   ===================================================== */
.how-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 640px) { .how-steps { grid-template-columns: 1fr; } }
.how-step {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.how-step-num {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}
.how-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.how-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =====================================================
   PAGE HEADER (category pages)
   ===================================================== */
.page-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 0;
}
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.page-title h1 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.page-title h1 span { color: var(--accent); }
.data-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.data-meta .reddit-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--reddit);
  font-weight: 600;
}
.data-meta .count { font-weight: 700; color: var(--text); }

.how-it-works-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  transition: all 0.15s;
  white-space: nowrap;
}
.how-it-works-btn:hover { border-color: var(--accent); color: var(--accent); }

.discussions-strip {
  border-top: 1px solid var(--border-light);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  overflow-x: auto;
  scrollbar-width: none;
}
.discussions-strip::-webkit-scrollbar { display: none; }
.discussions-strip strong { white-space: nowrap; color: var(--text); }
.discussions-strip a { white-space: nowrap; color: var(--text-muted); transition: color 0.15s; }
.discussions-strip a:hover { color: var(--accent); }

/* =====================================================
   FILTER BAR
   ===================================================== */
.filter-bar {
  background: rgba(251,248,245,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: sticky;
  top: 60px;
  z-index: 90;
}
.filter-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar .container::-webkit-scrollbar { display: none; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.ranked-by { margin-left: auto; font-size: 11px; color: var(--text-light); white-space: nowrap; flex-shrink: 0; }

/* =====================================================
   PRODUCT LIST
   ===================================================== */
.products-section { padding: 32px 0; }
.products-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .products-layout { grid-template-columns: 1fr; }
  .product-detail-panel { display: none; }
}

.products-list { display: flex; flex-direction: column; gap: 12px; }

.product-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.product-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.product-item.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,100,66,0.1); }

.product-rank {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-light);
  min-width: 26px;
  padding-top: 4px;
  letter-spacing: -0.01em;
}
.product-item:hover .product-rank,
.product-item.active .product-rank { color: var(--accent); }

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.product-thumb-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: linear-gradient(135deg, #F0F7ED 0%, #E8F4E4 100%);
  border-color: #D4E8CE;
}

.product-info { flex: 1; min-width: 0; }
.product-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.product-name,
.product-name-link {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.product-name-link:hover { color: var(--accent); }
.product-summary {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Score column — right side of card */
.product-score-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  min-width: 80px;
  text-align: right;
}
.product-score-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--positive);
}
.product-score-num.medium { color: #92620A; }
.product-score-num.low { color: var(--negative); }
.product-score-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.product-score-mentions {
  font-size: 11px;
  color: var(--text-light);
}
.buy-btn-iherb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  transition: background 0.15s;
  text-decoration: none;
  margin-top: 8px;
  white-space: nowrap;
}
.buy-btn-iherb:hover { background: var(--accent-hover); }
.buy-btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: #FF9900;
  color: #111;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
  white-space: nowrap;
}
.buy-btn-amazon:hover { background: #e68900; }
.buy-link.amazon {
  background: #FF9900;
  color: #111;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.buy-link.amazon:hover { background: #e68900; }

/* Legacy — keep for product detail pages */
.sentiment-badge {
  display: inline-flex;
  align-items: center;
  background: var(--positive-bg);
  color: var(--positive-text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
.sentiment-badge.medium { background: #FEF6E4; color: #854D0E; }
.sentiment-badge.low { background: var(--negative-bg); color: var(--negative); }
.mentions-count { font-size: 11px; color: var(--text-light); }
.buy-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  transition: background 0.15s;
  text-decoration: none;
  margin-left: auto;
}
.buy-link:hover { background: var(--accent-hover); }
.price-tag { font-size: 13px; font-weight: 700; color: var(--text); }

/* =====================================================
   PRODUCT DETAIL PANEL (sidebar)
   ===================================================== */
.product-detail-panel {
  position: sticky;
  top: 110px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel-header {
  background: linear-gradient(135deg, #2A1F1A 0%, var(--primary) 100%);
  padding: 20px 22px;
  color: #fff;
}
.panel-rank {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  opacity: 0.45;
  margin-bottom: 4px;
}
.panel-brand {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.panel-name { font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.panel-body { padding: 20px; }
.panel-image-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.panel-image {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.panel-tldr { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

.sentiment-section { margin-bottom: 18px; }
.sentiment-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.sentiment-score-big {
  font-size: 36px;
  font-weight: 800;
  color: var(--positive);
  line-height: 1;
  letter-spacing: -0.03em;
}
.sentiment-score-big span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.sentiment-bar-wrap { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.sentiment-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}
.sentiment-bar-fill { height: 100%; border-radius: 3px; background: var(--positive); }
.sentiment-bar-fill.neutral { background: #D97706; }
.sentiment-bar-fill.negative { background: var(--negative); }
.sentiment-bar-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }

.pros-cons { margin-bottom: 18px; }
.pros-cons h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pros-cons h4.pros { color: var(--positive); }
.pros-cons h4.cons { color: var(--negative); }
.pros-cons ul { display: flex; flex-direction: column; gap: 5px; }
.pros-cons li {
  font-size: 12px;
  color: var(--text);
  display: flex;
  gap: 7px;
  line-height: 1.4;
}
.pros-cons .pros li::before { content: '✓'; color: var(--positive); font-weight: 700; flex-shrink: 0; }
.pros-cons .cons li::before { content: '✗'; color: var(--negative); flex-shrink: 0; }

.panel-cta { display: flex; flex-direction: column; gap: 8px; }
.panel-cta .buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.15s;
  text-decoration: none;
}
.panel-cta .buy-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.panel-cta .buy-btn.iherb { background: var(--accent); color: #fff; }
.panel-cta .buy-btn.amazon { background: #F5A623; color: #fff; }
.panel-cta .buy-btn.brand { background: var(--bg); color: var(--text); border: 1.5px solid var(--border); }
.panel-cta .view-analysis {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px;
  display: block;
  transition: color 0.15s;
}
.panel-cta .view-analysis:hover { color: var(--accent); }
.affiliate-disclaimer { font-size: 10px; color: var(--text-light); text-align: center; padding-top: 10px; border-top: 1px solid var(--border-light); margin-top: 8px; line-height: 1.6; }

/* =====================================================
   USE CASES
   ===================================================== */
.use-cases-section { padding: 48px 0; }
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.use-case-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.use-case-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.use-case-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; color: var(--accent); }
.use-case-title { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.3; }
.use-case-pick { font-size: 12px; color: var(--text-muted); }
.use-case-pick strong { color: var(--text); }
.use-case-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.use-case-arrow { font-size: 12px; font-weight: 600; color: var(--text-light); margin-top: auto; }
.use-case-card:hover .use-case-arrow { color: var(--accent); }

/* =====================================================
   FAQ
   ===================================================== */
.faq-section { padding: 48px 0; max-width: 680px; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--accent); }
.faq-question svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer { padding: 0 0 16px; font-size: 13px; color: var(--text-muted); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

/* =====================================================
   BRANDS / RELATED
   ===================================================== */
.brands-section { padding: 48px 0; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.brand-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.brand-name { font-size: 14px; font-weight: 700; color: var(--text); }
.brand-mentions { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.brand-sentiment { font-size: 13px; font-weight: 700; color: var(--positive); margin-top: 2px; }

.related-section { padding: 48px 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.related-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.related-card .icon { font-size: 24px; }
.related-card h4 { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }

/* =====================================================
   PRODUCT PAGE
   ===================================================== */
.product-page-layout {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .product-page-layout { grid-template-columns: 1fr; } }

.product-page-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 6px;
}
.product-page-title h1 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.product-page-tldr {
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.product-page-tldr strong { color: var(--text); }

.sentiment-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.sentiment-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sentiment-title { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.sentiment-source { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.sentiment-big { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.sentiment-percent {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--positive);
  letter-spacing: -0.04em;
}
.sentiment-desc { font-size: 13px; color: var(--text-muted); padding-bottom: 6px; line-height: 1.5; }
.sentiment-bars { display: flex; flex-direction: column; gap: 10px; }
.sentiment-bar-item { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.sentiment-bar-label { width: 58px; color: var(--text-muted); }
.sentiment-bar-track { flex: 1; height: 7px; background: var(--border-light); border-radius: 4px; overflow: hidden; }
.sentiment-bar-track-fill { height: 100%; border-radius: 4px; background: var(--positive); }
.sentiment-bar-track-fill.neutral { background: #D97706; }
.sentiment-bar-track-fill.negative { background: var(--negative); }
.sentiment-bar-val { width: 34px; text-align: right; color: var(--text-muted); font-weight: 600; }

.pros-cons-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
@media (max-width: 600px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-col h4 {
  color: var(--positive);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.cons-col h4 {
  color: var(--negative);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pros-col li, .cons-col li {
  font-size: 13px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  line-height: 1.4;
}
.pros-col li:last-child, .cons-col li:last-child { border-bottom: none; }
.pros-col li::before { content: '✓'; color: var(--positive); font-weight: 700; flex-shrink: 0; }
.cons-col li::before { content: '✗'; color: var(--negative); flex-shrink: 0; }

/* Buy panel */
.buy-panel {
  position: sticky;
  top: 80px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.buy-panel-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #FAF0EB 0%, #FFF8F5 100%);
  border-bottom: 1px solid var(--border);
}
.buy-panel-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.buy-panel-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.buy-panel-body { padding: 20px; }
.buy-panel-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  padding: 8px;
}
.buy-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.buy-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.buy-option:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.buy-option.iherb { background: var(--accent); color: #fff; }
.buy-option.amazon { background: #F5A623; color: #fff; }
.buy-option.brand { background: var(--bg); color: var(--text); border: 1.5px solid var(--border); }

/* =====================================================
   MISC
   ===================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-muted);
}
.show-more-btn {
  width: 100%;
  padding: 12px;
  background: var(--bg-card);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 8px;
}
.show-more-btn:hover { border-color: var(--accent); color: var(--accent); }
.last-updated { font-size: 11px; color: var(--text-light); margin-top: 12px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-title-row { flex-direction: column; }
  .filter-bar { top: 60px; }
  .products-list { gap: 10px; }
}
