/* ========================================
   HÖNSGÅRDEN — Style Foundation
   Scandinavian Homestead Editorial
   ======================================== */

/* --- Design Tokens --- */
:root {
  /* Bas */
  --bg-primary: #FDFBF7;
  --bg-secondary: #F5F0E8;
  --bg-card: #FFFFFF;

  /* Text */
  --text-primary: #2C2416;
  --text-secondary: #6B5D4F;
  --text-tertiary: #9C8E7E;

  /* Accent */
  --accent-primary: #C4653A;
  --accent-secondary: #4A6741;
  --accent-highlight: #D4A84B;

  /* Functional */
  --border: #E8E0D4;
  --border-strong: #D4C8B8;
  --shadow-soft: 0 2px 8px rgba(44, 36, 22, 0.06);
  --shadow-card: 0 4px 20px rgba(44, 36, 22, 0.08);
  --shadow-hover: 0 8px 30px rgba(44, 36, 22, 0.12);

  /* Rating */
  --score-excellent: #4A6741;
  --score-good: #7A8F3A;
  --score-ok: #D4A84B;
  --score-poor: #C4653A;

  /* Layout */
  --max-width: 1200px;
  --content-width: 680px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a8522e;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-variation-settings: 'SOFT' 50, 'WONK' 1;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  max-width: 65ch;
  color: var(--text-secondary);
}

.label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-divider .label {
  white-space: nowrap;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variation-settings: 'SOFT' 100;
}

.nav-logo:hover {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-primary);
  padding: var(--spacing-xl) var(--spacing-md);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  display: flex;
  opacity: 1;
}

.nav-overlay a {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.nav-overlay-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* --- Hero --- */
.hero {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--bg-secondary);
  opacity: 0.6;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(196, 101, 58, 0.06);
  z-index: -1;
}

.hero h1 {
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--spacing-lg);
}

/* --- Cover Stories Grid --- */
.cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.cover-card {
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

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

.cover-card--terracotta {
  background: var(--accent-primary);
  color: white;
}

.cover-card--green {
  background: var(--accent-secondary);
  color: white;
}

.cover-card .label {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--spacing-xs);
}

.cover-card h3 {
  color: white;
  font-size: 1.4rem;
  line-height: 1.25;
}

.cover-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
}

/* Decorative shapes inside cover cards */
.cover-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .cover-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Product Cards --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.product-card-info {
  flex: 1;
  min-width: 0;
}

.product-card-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-card-meta {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.product-card-price {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Featured product card */
.product-card--featured {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: var(--spacing-lg);
  border: 2px solid var(--border-strong);
  position: relative;
}

.product-card--featured .product-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

/* --- Score Badge --- */
.score-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.score-badge--excellent { background: var(--score-excellent); }
.score-badge--good { background: var(--score-good); }
.score-badge--ok { background: var(--score-ok); }
.score-badge--poor { background: var(--score-poor); }

.score-badge--large {
  width: 64px;
  height: 64px;
  font-size: 1.3rem;
}

.score-badge--sm {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.award-badge--small {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  margin-left: 0.4rem;
}

/* --- Tags / Spec badges --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.tag--positive {
  background: rgba(74, 103, 65, 0.1);
  color: var(--score-excellent);
}

.tag--negative {
  background: rgba(196, 101, 58, 0.1);
  color: var(--score-poor);
}

.tag--highlight {
  background: rgba(212, 168, 75, 0.15);
  color: #8B6F1F;
}

/* --- Award badge --- */
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  background: var(--accent-highlight);
  color: #2C2416;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background: #a8522e;
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 1.5px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(196, 101, 58, 0.08);
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

/* --- Article Cards (3-col grid) --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.article-card .label {
  margin-bottom: var(--spacing-xs);
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  flex: 1;
}

.article-card-footer {
  margin-top: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Newsletter --- */
.newsletter {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: var(--spacing-xs);
}

.newsletter p {
  margin: 0 auto var(--spacing-md);
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-xs);
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  min-height: 44px;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.newsletter-micro {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: var(--spacing-xs);
}

@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-brand + p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.footer h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-sm);
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-disclaimer {
  font-style: italic;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* --- Comparison Table --- */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.9rem;
}

.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table th {
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-strong);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.comparison-table th:hover {
  color: var(--text-primary);
}

.comparison-table th.sorted-asc::after {
  content: ' \2191';
}

.comparison-table th.sorted-desc::after {
  content: ' \2193';
}

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

.comparison-table tr {
  transition: background 0.2s ease;
}

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

/* Sticky first column */
.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-card);
  z-index: 5;
  font-weight: 600;
  min-width: 160px;
}

.comparison-table thead th:first-child {
  background: var(--bg-secondary);
  z-index: 15;
}

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

/* Best in column highlight */
.cell-best {
  font-weight: 700;
  color: var(--score-excellent);
}

/* Check/cross icons */
.cell-check::before {
  content: '\2713';
  color: var(--score-excellent);
  font-weight: 700;
}

.cell-cross::before {
  content: '\2717';
  color: var(--text-tertiary);
}

/* --- Filters --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-group select,
.filter-group input {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  min-height: 36px;
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }

/* --- Guide Article --- */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.75;
}

.article-content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.article-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.article-meta {
  display: flex;
  gap: var(--spacing-md);
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-bottom: var(--spacing-lg);
}

.pull-quote {
  border-left: 3px solid var(--accent-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Table of contents */
.toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.toc h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-sm);
}

.toc ol {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* --- SVG Illustrations --- */
.illustration-hen {
  display: inline-block;
  color: var(--text-tertiary);
  opacity: 0.4;
}

/* --- Smooth page transitions --- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 {
    transition: letter-spacing 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .hero:hover h1 {
    letter-spacing: -0.01em;
  }

  /* Subtle hover lift for all interactive cards */
  .cover-card,
  .article-card,
  .product-card {
    will-change: transform;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cover-card,
  .article-card,
  .product-card {
    transition: box-shadow 0.2s ease;
  }
  .cover-card:hover,
  .article-card:hover,
  .product-card:hover {
    transform: none;
  }
}

/* --- Focus styles (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* --- Skip to content --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--spacing-md);
  background: var(--accent-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--spacing-sm);
}

/* --- Prose list styling (guide pages) --- */
.article-content ul,
.article-content ol {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.article-content li {
  margin-bottom: 0.3rem;
}

/* --- Comparison page: editor picks responsive --- */
@media (max-width: 600px) {
  .product-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  .product-card .btn {
    width: 100%;
  }
}

/* --- Print styles --- */
/* --- Page-specific helpers --- */
.page-header {
  padding-bottom: 0;
}

.page-header .hero-subtitle {
  text-align: left;
  margin: var(--spacing-sm) 0 0;
}

.editors-picks-secondary {
  margin-top: var(--spacing-md);
}

.featured-score-area {
  margin-top: var(--spacing-sm);
}

.featured-score-area .score-badge {
  margin: 0 auto var(--spacing-sm);
}

.featured-score-area .product-card-name {
  font-size: 1.4rem;
}

.featured-score-area .product-card-specs {
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.featured-score-area .product-card-price {
  font-size: 1.5rem;
  margin-top: var(--spacing-sm);
}

.featured-summary {
  margin: var(--spacing-sm) auto 0;
  max-width: 500px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pick-card {
  flex-direction: column;
  text-align: center;
  padding: var(--spacing-md);
}

.pick-card .award-badge {
  align-self: center;
}

.pick-card .score-badge {
  margin: var(--spacing-sm) auto;
}

.pick-card .product-card-price {
  margin-top: 0.25rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inline-recommendation {
  margin: var(--spacing-lg) 0;
}

.inline-recommendation .btn {
  white-space: nowrap;
}

.guide-list {
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Product images --- */
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  background: var(--bg-secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 12px;
}

.product-image--terracotta { background: linear-gradient(135deg, #C4653A 0%, #a8522e 100%); }
.product-image--green { background: linear-gradient(135deg, #4A6741 0%, #3a5232 100%); }
.product-image--gold { background: linear-gradient(135deg, #D4A84B 0%, #b88a2e 100%); }
.product-image--sand { background: linear-gradient(135deg, #F5F0E8 0%, #D4C8B8 100%); }
.product-image--dark { background: linear-gradient(135deg, #6B5D4F 0%, #4a3f33 100%); }
.product-image--cream { background: linear-gradient(135deg, #FDFBF7 0%, #F5F0E8 100%); border: 1px solid var(--border); }

.product-image-icon {
  width: 40%;
  max-width: 80px;
  opacity: 0.9;
}

.product-image--terracotta .product-image-icon,
.product-image--green .product-image-icon,
.product-image--dark .product-image-icon {
  color: rgba(255, 255, 255, 0.92);
}

.product-image--sand .product-image-icon,
.product-image--cream .product-image-icon,
.product-image--gold .product-image-icon {
  color: var(--text-primary);
}

.product-image-label {
  position: absolute;
  bottom: var(--spacing-sm);
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.product-image--sand .product-image-label,
.product-image--cream .product-image-label,
.product-image--gold .product-image-label {
  color: var(--text-primary);
  text-shadow: none;
}

.product-image--small {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: var(--radius-sm);
}

.product-image--small .product-image-icon {
  width: 50%;
  max-width: 36px;
}

.product-image--small .product-image-label {
  display: none;
}

.featured-product-image {
  max-width: 280px;
  margin: 0 auto var(--spacing-sm);
}

/* --- Product detail grid --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.product-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-detail:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.product-detail .product-image {
  aspect-ratio: 4 / 3;
  margin-bottom: var(--spacing-sm);
}

.product-detail-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  min-height: 48px;
}

.product-detail h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-detail .product-card-meta {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xs);
}

.product-detail .product-card-specs {
  margin: 0.5rem 0;
}

.product-detail .product-card-price {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--spacing-xs) 0;
}

.product-detail .buy-buttons {
  margin-top: auto;
  padding-top: var(--spacing-sm);
}

.product-detail .btn-buy {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
}

/* --- Simple table (inline content tables) --- */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-md) 0;
  font-size: 0.9rem;
}

.simple-table th {
  background: var(--bg-secondary);
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-strong);
}

.simple-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.simple-table tbody tr:last-child td {
  border-bottom: none;
  background: var(--bg-secondary);
}

/* --- Affiliate disclosure --- */
.affiliate-disclosure {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-top: var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 720px;
}

.affiliate-disclosure strong {
  color: var(--text-primary);
}

/* --- Buy buttons --- */
.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.btn-buy {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.btn-network {
  opacity: 0.7;
  font-size: 0.7rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

@media (max-width: 600px) {
  .buy-buttons {
    flex-direction: column;
  }
  .btn-buy {
    width: 100%;
  }
}

/* --- Breadcrumb --- */
.breadcrumb {
  margin-bottom: var(--spacing-sm);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Article intro --- */
.article-intro {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 720px;
  margin-top: var(--spacing-md);
  font-style: italic;
}

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-sm) 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--accent-primary);
}

.faq-item p {
  padding: 0.5rem 0 0.5rem 0;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}

/* --- Editorial image blocks --- */
.editorial-image {
  margin: var(--spacing-xl) 0;
}

.editorial-image figure {
  margin: 0;
}

.editorial-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: block;
}

.editorial-image figcaption {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: var(--spacing-xs);
  font-style: italic;
  line-height: 1.5;
}

.editorial-image figcaption a {
  color: var(--text-tertiary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}

.editorial-image figcaption a:hover {
  color: var(--accent-primary);
}

/* Wide editorial image (breaks out of content width) */
.editorial-image--wide {
  margin-left: calc(-1 * var(--spacing-md));
  margin-right: calc(-1 * var(--spacing-md));
}

@media (min-width: 900px) {
  .editorial-image--wide {
    margin-left: calc((var(--content-width) - 900px) / 2);
    margin-right: calc((var(--content-width) - 900px) / 2);
  }
}

/* Hero image for article top */
.article-hero-image {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media print {
  .nav, .footer, .newsletter, .nav-overlay, .filters {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .animate-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
