/* ===== TidNest — Editorial Home Organization ===== */
/* Typography: Playfair Display (display) + Source Sans 3 (body) */
/* Palette: Navy #1B3A4B + white/light gray + teal accent #17A2B8 */

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

:root {
  --navy: #1B3A4B;
  --navy-light: #2C5F74;
  --black: #1A1A1A;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --accent: #17A2B8;
  --accent-light: #1FC3D6;
  --accent-pale: rgba(23, 162, 184, 0.08);
  --text: #333333;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: rgba(0,0,0,0.06);
  --border-accent: rgba(23, 162, 184, 0.15);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.1);

  --radius: 12px;
  --max-w: 1200px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography with Golden Ratio scale --- */
/* Display: 48px → H1: 36px → H2: 28px → H3: 20px → Body: 16px → Small: 13px */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- Subtle grain texture for depth --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR — Clean, minimal, warm ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.navbar-brand span { color: var(--navy-light); }

.navbar-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.navbar-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar-links a:hover { color: var(--navy); }
.navbar-links a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--navy);
  width: 44px;
  height: 44px;
}

/* ===== HERO — Compact, editorial, intentional ===== */
.hero {
  padding: 80px 24px 64px;
  text-align: center;
  background: var(--bg);
  position: relative;
}

/* Decorative line — editorial magazine feel */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--navy);
  max-width: 650px;
  margin: 0 auto 16px;
  animation: fadeInUp 0.8s ease both;
  line-height: 1.15;
}

.hero p {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-cta:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,75,0.25);
}

/* ===== SECTIONS ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 400;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Decorative dash after section title */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 80px 0;
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50);
  width: 30px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.category-card:hover::before { opacity: 1; }

.category-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.category-svg { width: 32px; height: 32px; margin: 0 auto 12px; color: var(--accent); }

.category-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== ARTICLES GRID ===== */
.articles {
  padding: 80px 0;
  background: var(--bg);
}

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

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body { padding: 20px; }

.article-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--white);
  background: var(--navy);
}

/* Category tags — earthy, warm palette */
.tag-kitchen { background: #8B7355 !important; }
.tag-bathroom { background: #5B8A8A !important; }
.tag-closet { background: #7B6B8D !important; }
.tag-office { background: #5A7A6B !important; }
.tag-garage { background: #6B7280 !important; }
.tag-laundry { background: #5A8A7A !important; }
.tag-bedroom { background: #8B7D6B !important; }
.tag-tips { background: var(--accent) !important; }

.article-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-left: 8px;
}

.article-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  line-height: 1.35;
  font-weight: 400;
}

.article-card-body h3 a { color: var(--navy); }
.article-card-body h3 a:hover { color: var(--accent); }

.article-card-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.read-more:hover { color: var(--accent-light); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 0;
  font-size: 0.78rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 400;
}

.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; color: var(--text-light); }

/* ===== RELATED ARTICLES ===== */
.related-articles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  border-top: 1px solid var(--border);
}

.related-articles h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 400;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.related-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.related-card-body { padding: 14px; }

.related-card-body h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.related-card-body h4 a { color: var(--navy); }
.related-card-body h4 a:hover { color: var(--accent); }

.related-card-body .article-card-tag {
  font-size: 0.58rem;
  padding: 2px 7px;
  margin-bottom: 6px;
}

/* ===== ARTICLE PAGE ===== */
.article-header {
  background: var(--bg);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Decorative element */
.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: var(--accent);
}

.article-header h1 {
  font-size: 2.2rem;
  color: var(--navy);
  max-width: 680px;
  margin: 0 auto 10px;
  font-weight: 400;
}

.article-header p { color: var(--text-muted); font-size: 0.88rem; }

.article-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Keep text readable at narrow width */
.article-content > p,
.article-content > h2,
.article-content > .affiliate-disclosure,
.article-content > .comparison-table,
.article-content > .best-for,
.article-content > .how-we-evaluated,
.article-content > .verdict-box,
.article-content > .faq-section {
  max-width: 760px;
}

.affiliate-disclosure {
  background: var(--accent-pale);
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-content p { margin-bottom: 1.3rem; font-size: 1.02rem; line-height: 1.8; }

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-weight: 400;
  font-size: 1.6rem;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: var(--transition);
}

.product-card:hover { box-shadow: var(--shadow-md); }

.product-gallery {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.product-gallery img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.product-gallery img:hover { border-color: var(--accent); }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 36px;
  font-size: 0.86rem;
}

.comparison-table thead {
  background: var(--navy);
  color: var(--white);
}

.comparison-table th {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 11px 14px;
  text-align: left;
}

.comparison-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comparison-table tbody tr:hover { background: var(--bg); }

.comparison-table a { color: var(--accent); font-weight: 600; }

.table-link {
  display: inline-block;
  padding: 4px 12px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-link:hover { background: var(--navy-light); }

/* ===== PRODUCT BADGE ===== */
.product-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 3px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.product-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.product-img {
  width: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-img > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg);
}

.product-info { flex: 1; }

.product-info h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.product-rating { color: #D4A853; font-size: 0.8rem; margin-bottom: 8px; }

.product-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-price .old-price {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.btn-cta {
  display: inline-block;
  padding: 11px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,58,75,0.25);
}

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 16px; }
.pros li, .cons li {
  font-size: 0.8rem;
  margin-bottom: 4px;
  list-style: none;
  padding-left: 18px;
  position: relative;
  color: var(--text-muted);
}
.pros li::before { content: '\2713'; position: absolute; left: 0; color: #5A7A6B; font-weight: 700; }
.cons li::before { content: '\2717'; position: absolute; left: 0; color: #9A6B5A; font-weight: 700; }

/* ===== BLOG FILTERS ===== */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.newsletter h2 { color: var(--white); margin-bottom: 8px; font-size: 1.8rem; font-weight: 400; }
.newsletter p { opacity: 0.5; margin-bottom: 32px; font-size: 0.92rem; }

.newsletter-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  font-size: 0.88rem;
  font-family: 'Source Sans 3', sans-serif;
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

.newsletter-form button {
  padding: 14px 24px;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--navy-light); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.45);
  padding: 56px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--navy-light); }

.footer p { font-size: 0.82rem; line-height: 1.7; }

.footer h4 {
  color: var(--white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px;
  background: var(--accent);
}

.page-header h1 { color: var(--navy); font-weight: 400; }

.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-content p { margin-bottom: 1.3rem; line-height: 1.8; }
.page-content h2 { margin-top: 2.2rem; color: var(--navy); font-weight: 400; }

/* ===== "WHO IS THIS FOR" SECTION ===== */
.best-for {
  background: var(--accent-pale);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0 32px;
}

.best-for h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 14px;
}

.best-for ul {
  list-style: none;
  padding: 0;
}

.best-for li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.6;
}

.best-for li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.best-for .skip-if {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-accent);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.best-for .skip-if strong { color: var(--text); }

/* ===== FAQ SECTION ===== */
.faq-section {
  margin: 40px 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.faq-section h2 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-question {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* ===== BUYING GUIDE / HOW WE EVALUATED ===== */
.how-we-evaluated {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0 32px;
}

.how-we-evaluated h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 14px;
}

.how-we-evaluated ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.how-we-evaluated li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.how-we-evaluated li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== VERDICT / FINAL RECOMMENDATION ===== */
.verdict-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
  text-align: center;
}

.verdict-box h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.verdict-box p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.verdict-box .btn-cta {
  background: var(--accent);
}

.verdict-box .btn-cta:hover {
  background: var(--accent-light);
}

/* ===== PRODUCTS GRID LAYOUT ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

/* Hide anchor divs from grid layout */
.products-grid > div[id^="product-"]:empty {
  display: none;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.products-grid .product-number {
  font-size: 1rem;
  margin-bottom: 2px;
}

.products-grid .product-badge {
  margin-bottom: 6px;
  font-size: 0.62rem;
}

.products-grid .product-card {
  flex-direction: column;
  padding: 0;
  margin-bottom: 0;
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.products-grid .product-img {
  width: 100%;
  min-width: unset;
}

.products-grid .product-img > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.products-grid .product-info {
  padding: 16px;
}

.products-grid .product-info h3 {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 4px;
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-grid .product-info p {
  font-size: 0.82rem;
  line-height: 1.5;
  /* Limit to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.products-grid .product-rating {
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.products-grid .pros-cons {
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 6px 0 10px;
}

.products-grid .pros li,
.products-grid .cons li {
  font-size: 0.74rem;
  margin-bottom: 2px;
}

/* Show only first 2 pros and 1 con in grid */
.products-grid .pros li:nth-child(n+3),
.products-grid .cons li:nth-child(n+2) {
  display: none;
}

.products-grid .product-price {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.products-grid .product-price .old-price {
  font-size: 0.8rem;
}

.products-grid .btn-cta {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.72rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 24px 48px; }
  .hero::before { height: 24px; }
  .navbar-links { display: none; }
  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: block; }
  .articles-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .product-img { width: 100%; min-width: unset; }
  .product-img > img { height: 200px; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,0.15); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .categories, .articles { padding: 48px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.76rem; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
  .how-we-evaluated ul { grid-template-columns: 1fr; }
  .best-for { padding: 20px; }
  .verdict-box { padding: 24px 20px; }
}
