/* Everyday Home UK — Editorial British Consumer Guide Stylesheet */
:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-warm: #fffbeb;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #f0fdfa;
  --amber: #b45309;
  --amber-border: #f59e0b;
  --navy: #0f172a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  --max-w: 1120px;
  --article-w: 860px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface-alt);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", Cambria, serif;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.015em;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.article-container {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
  color: var(--teal);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink-soft);
  padding: 4px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #f8fafc;
  padding: 54px 0 58px;
  border-bottom: 4px solid var(--teal);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccfbf1;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  max-width: 780px;
  margin-bottom: 14px;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 0 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-stat {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.hero-stat strong {
  display: block;
  color: #5eead4;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.hero-stat span {
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* Mandatory Upfront Disclosure Banner */
.disclosure-box {
  background: var(--surface-warm);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.55;
  margin: 22px 0;
}

.disclosure-box strong {
  color: #78350f;
}

.disclosure-box a {
  color: #92400e;
  text-decoration: underline;
  font-weight: 600;
}

/* Search & Category Filter Bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: -24px 0 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--surface-alt);
}

.search-input:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
  background: #ffffff;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.pill-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

/* Section Headings & Cards Grid */
.section-block {
  padding: 24px 0 42px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.65rem;
  margin: 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #99f6e4;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.cat-tag {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid #99f6e4;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.season-tag {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.guide-card h3 {
  font-size: 1.2rem;
  margin: 8px 0;
}

.guide-card h3 a {
  color: var(--ink);
}

.guide-card h3 a:hover {
  color: var(--teal);
  text-decoration: none;
}

.guide-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Editorial Methodology Strip */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Article Layout */
.article-wrap {
  padding: 32px 0 64px;
}

.article-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.breadcrumbs {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--ink-muted);
}

.article-header h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin: 12px 0 14px;
}

.article-lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.toc-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 22px 0;
}

.toc-box h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.toc-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
}

.toc-box li {
  margin-bottom: 4px;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
  min-width: 620px;
}

.compare-table th {
  background: var(--navy);
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compare-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-soft);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: var(--surface-alt);
}

.table-cta {
  display: inline-block;
  background: var(--teal);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 11px;
  border-radius: 7px;
  white-space: nowrap;
  text-decoration: none !important;
}

.table-cta:hover {
  background: var(--teal-dark);
}

/* Product Breakdown Card */
.product-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.product-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.award-badge {
  display: inline-block;
  background: var(--navy);
  color: #5eead4;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.product-card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 14px 0;
}

.spec-cell span {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-cell strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}

.pros-box, .cons-box {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
}

.pros-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros-box h4, .cons-box h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pros-box h4 { color: #166534; }
.cons-box h4 { color: #991b1b; }

.pros-box ul, .cons-box ul {
  margin: 0;
  padding-left: 18px;
}

.pros-box li, .cons-box li {
  margin-bottom: 5px;
}

.amazon-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(15, 118, 110, 0.22);
  transition: background 0.15s ease;
}

.amazon-btn:hover {
  background: var(--teal-dark);
}

.paid-link-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Deep Buying Guide Prose */
.prose-section {
  margin: 34px 0;
}

.prose-section h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-soft);
}

.prose-section h3 {
  font-size: 1.18rem;
  margin: 20px 0 8px;
}

.prose-section p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.prose-section ul {
  color: var(--ink-soft);
  padding-left: 20px;
  margin: 0 0 16px;
}

.prose-section li {
  margin-bottom: 7px;
}

.callout-info {
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: #134e4a;
  margin: 18px 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  padding: 14px 18px;
}

.faq-item summary {
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 700;
}

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

.faq-item p {
  margin: 10px 0 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 44px 0 32px;
  margin-top: 48px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-amazon-notice {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #e2e8f0;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }
  .amazon-btn {
    width: 100%;
    justify-content: center;
  }
}
