/*
Theme Name: Babyhallen Theme
Theme URI: https://babyhallen.se
Author: Babyhallen
Description: Standalone theme matching babyhallen.se design — affiliate-driven WooCommerce store for baby products.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: babyhallen
*/


:root {
  /* Persika/korall som primär — varm övergripande ton */
  --coral: #f5a78a;
  --coral-deep: #e8825f;
  --coral-soft: #fbdcc9;
  --coral-bg: #fdf2eb;

  /* Stödfärger (pastell) */
  --pink: #f7c8d4;
  --pink-soft: #fde6ec;
  --mint: #c8e8d4;
  --mint-soft: #e7f4ec;
  --yellow: #f7e8a8;
  --yellow-soft: #fdf6dc;
  --lilac: #d8c8e8;
  --sky: #c8dcec;

  /* Neutralt */
  --ink: #2a221c;
  --ink-soft: #5a4f44;
  --ink-faint: #9a9088;
  --paper: #fffaf3;
  --paper-warm: #fdf2eb;
  --line: #ece2d3;
  --line-strong: #d8ccba;

  --font: 'Nunito', system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(60,40,20,0.04), 0 2px 8px rgba(60,40,20,0.04);
  --shadow: 0 2px 4px rgba(60,40,20,0.05), 0 8px 24px rgba(60,40,20,0.06);
  --shadow-lg: 0 4px 8px rgba(60,40,20,0.06), 0 16px 40px rgba(60,40,20,0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ─── Type ─── */
h1, h2, h3, h4, .display {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}
.display-xl { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.025em; }
.display-md { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.015em; }

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

p { margin: 0; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* ─── Layout ─── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 32px 0; }

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral-deep);
  color: white;
  box-shadow: 0 4px 0 #c46b48, 0 6px 16px rgba(232,130,95,0.35);
}
.btn-primary:hover {
  background: #d57350;
  box-shadow: 0 6px 0 #c46b48, 0 8px 20px rgba(232,130,95,0.4);
}

.btn-secondary {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 0 var(--line-strong), inset 0 0 0 1.5px var(--line-strong);
}
.btn-secondary:hover {
  background: var(--paper-warm);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 10px 18px;
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* ─── Pills / chips ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.chip-coral { background: var(--coral-soft); border-color: var(--coral); color: var(--ink); }
.chip-mint { background: var(--mint); border-color: var(--mint); }
.chip-yellow { background: var(--yellow); border-color: var(--yellow); }
.chip-pink { background: var(--pink); border-color: var(--pink); }
.chip-dark { background: var(--ink); border-color: var(--ink); color: white; }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral-deep);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.badge-mint { background: #5fb088; }
.badge-yellow { background: #d9b840; color: var(--ink); }

/* ─── Cards ─── */
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── Image placeholder (until real photos) ─── */
.ph {
  position: relative;
  background: var(--coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.04), transparent 60%);
}
.ph-label {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  border: 1px dashed var(--ink-soft);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
  font-family: monospace;
}
.ph-coral { background: var(--coral-soft); }
.ph-mint { background: var(--mint); }
.ph-yellow { background: var(--yellow); }
.ph-pink { background: var(--pink); }
.ph-lilac { background: var(--lilac); }
.ph-sky { background: var(--sky); }
.ph-cream { background: var(--paper-warm); }

/* ─── Marker (highlight underline) ─── */
.mark-coral {
  background: linear-gradient(transparent 65%, var(--coral-soft) 65% 92%, transparent 92%);
  padding: 0 4px;
}
.mark-pink {
  background: linear-gradient(transparent 65%, var(--pink) 65% 92%, transparent 92%);
  padding: 0 4px;
}
.mark-mint {
  background: linear-gradient(transparent 65%, var(--mint) 65% 92%, transparent 92%);
  padding: 0 4px;
}
.mark-yellow {
  background: linear-gradient(transparent 65%, var(--yellow) 65% 92%, transparent 92%);
  padding: 0 4px;
}

/* ─── Utility bar ─── */
.utility {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  padding: 10px 0;
  font-weight: 600;
}
.utility-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.utility-row span { display: inline-flex; gap: 6px; align-items: center; }

/* ─── Header ─── */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  max-width: 160px;
  display: block;
  flex-shrink: 0;
}
.logo-img-footer {
  height: 44px;
  filter: brightness(0) invert(1);
}

.search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--paper-warm);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.search input:focus { border-color: var(--coral-deep); background: white; }
.search input::placeholder { color: var(--ink-faint); }
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

.icon-actions {
  display: flex;
  gap: 8px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s;
  position: relative;
}
.icon-btn:hover { background: var(--paper-warm); }
.icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--coral-deep);
  border-radius: 50%;
  border: 2px solid var(--paper);
}

/* Nav row — secondary line */
.nav {
  display: flex;
  gap: 28px;
  padding: 12px 0 16px;
  font-size: 14px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  overflow: visible;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--ink);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--coral-deep); }
.nav a.gift { color: var(--coral-deep); }

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  padding: 24px 0 8px;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-main {
  position: relative;
  background: var(--coral-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 640px) {
  .hero-main { grid-template-columns: 1fr; height: auto; }
}

.hero-copy {
  padding: 40px 44px;
  position: relative;
  z-index: 2;
}
.hero-copy .display-xl {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 12px 0 12px !important;
}
.hero-copy .lead {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px !important;
}
@media (max-width: 640px) {
  .hero-copy { padding: 32px 24px 24px; }
  .hero-copy .display-xl { font-size: clamp(28px, 7vw, 40px); }
}

.hero-image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image .ph {
  width: 100%;
  height: 100%;
  min-height: 380px;
}
@media (max-width: 640px) {
  .hero-image .ph { min-height: 240px; }
}

/* slide controls — centrerade vid hero-mains underkant, pill-bakgrund så de syns på alla slides */
.slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(42, 34, 28, 0.08);
}
@media (max-width: 640px) {
  .slide-dots {
    bottom: 14px;
    padding: 6px 10px;
  }
}
.dot-btn {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(42,34,28,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.dot-btn:hover { background: rgba(42,34,28,0.5); }
.dot-btn.active { background: var(--ink); width: 40px; }

.hero-side {
  display: grid;
  gap: 16px;
}
.hero-side-card {
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 222px;
}
.hero-side-card.deal { background: var(--yellow); }
.hero-side-card.gift { background: var(--mint); }

/* ─── Trust strip ─── */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 24px 0 8px;
}
@media (max-width: 768px) {
  .trust { grid-template-columns: 1fr 1fr; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral-deep);
}
.trust-text { font-size: 13px; }
.trust-text b { display: block; font-weight: 800; }
.trust-text span { color: var(--ink-soft); font-size: 12px; }

/* ─── Section header ─── */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.sec-head .lead { margin-top: 6px; }
.sec-link { font-weight: 800; color: var(--coral-deep); display: inline-flex; align-items: center; gap: 6px; }
.sec-link:hover { gap: 10px; transition: gap 0.15s; }

/* ─── Categories grid ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-card {
  background: white;
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--line);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cat-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-name { font-weight: 800; font-size: 14px; }
.cat-count { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }

/* ─── Age picker ─── */
.age-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .age-row { grid-template-columns: repeat(2, 1fr); }
}

.age-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  text-align: left;
  border: 2px solid transparent;
  transition: transform 0.18s, border-color 0.18s;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.age-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.age-card .age-emoji {
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.age-card .age-label { font-weight: 800; font-size: 17px; margin-top: 14px; }
.age-card .age-sub { font-size: 12px; color: var(--ink-soft); }

/* ─── Product grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

.product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-warm);
}
.product-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.15s, transform 0.15s;
}
.product-fav:hover { color: var(--coral-deep); transform: scale(1.08); }
.product-fav.on { color: var(--coral-deep); }

.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-brand { font-size: 11px; font-weight: 800; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.product-name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.product-rating { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.product-rating .stars { color: #e8a92b; letter-spacing: -1px; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.product-foot > div { min-width: 0; }
.price { font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; }
.price-was { font-size: 13px; color: var(--ink-faint); text-decoration: line-through; margin-left: 6px; font-weight: 600; white-space: nowrap; }
.go-btn { white-space: nowrap; }
.price-discount { color: var(--coral-deep); }

.go-btn {
  border: none;
  background: var(--ink);
  color: white;
  font-family: var(--font);
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}
.go-btn:hover { background: var(--coral-deep); }

.affiliate-tag {
  font-size: 10px;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

/* ─── Brand strip ─── */
.brand-section {
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.brand-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 980px) { .brand-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .brand-row { grid-template-columns: repeat(2, 1fr); } }

.brand-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  font-weight: 800;
  font-size: 14px;
}
.brand-card:hover { transform: translateY(-2px); border-color: var(--coral); }

/* ─── Guides ─── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .guide-grid { grid-template-columns: 1fr; } }

.guide-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-img {
  aspect-ratio: 16 / 10;
  position: relative;
}
.guide-body { padding: 20px 22px 22px; }
.guide-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.guide-title { font-size: 19px; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }
.guide-excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

/* ─── Newsletter ─── */
.newsletter {
  background: linear-gradient(135deg, var(--coral-soft), var(--pink-soft));
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}
.newsletter-form {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  background: white;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--coral-deep); }
.newsletter-tiny { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

/* ─── Footer ─── */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-grid h4 {
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,250,243,0.65); font-size: 14px; }
.footer-grid a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,250,243,0.5);
}

/* ─── Logo upload note ─── */
.logo-upload-note {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 100;
  max-width: 240px;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
}
.logo-upload-note b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--coral); }

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-faint);
  padding: 20px 0 4px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral-deep); }

/* ─── Product detail page ─── */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 28px 0 72px;
}
.gallery-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--paper-warm);
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb {
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.gallery-thumb.active { border-color: var(--coral-deep); }
.prod-info { display: flex; flex-direction: column; gap: 20px; }
.prod-brand { font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--coral-deep); }
.prod-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.2; color: var(--ink); margin: 0; text-wrap: pretty; }
.prod-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.prod-rating .stars { color: #e8a92b; letter-spacing: -1px; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price-big { font-size: 36px; font-weight: 900; color: var(--ink); }
.price-old-big { font-size: 16px; color: var(--ink-faint); text-decoration: line-through; }
.price-save-badge { font-size: 12px; font-weight: 800; color: white; background: var(--coral-deep); padding: 3px 9px; border-radius: 20px; }
.store-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin-bottom: 10px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.15s; background: white;
}
.store-row:hover, .store-row.active { border-color: var(--coral-deep); background: var(--coral-bg); }
.store-row-badge { font-size: 10px; font-weight: 800; color: var(--coral-deep); display: block; margin-bottom: 2px; }
.store-row-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.store-row-price { font-size: 15px; font-weight: 900; color: var(--ink); }
.btn-cta-lg {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 17px 24px; background: var(--coral-deep); color: white;
  border: none; border-radius: var(--radius); font-size: 17px; font-weight: 900;
  cursor: pointer; font-family: var(--font);
  transition: background 0.18s, transform 0.1s;
  box-shadow: 0 4px 0 #c46b48;
  letter-spacing: -0.01em;
}
.btn-cta-lg:hover { background: #d57350; transform: translateY(-1px); box-shadow: 0 5px 0 #c46b48; }
.btn-cta-lg:active { transform: translateY(1px); box-shadow: 0 2px 0 #c46b48; }
.aff-note-sm { font-size: 11px; color: var(--ink-faint); text-align: center; margin-top: -12px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; line-height: 1.5; }
.feat-list li::before { content: '✓'; position: absolute; left: 0; color: var(--coral-deep); font-weight: 800; }

/* Expert verdict */
.verdict-box { background: var(--mint-soft); border-left: 4px solid var(--mint); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; }
.verdict-head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 10px; }
.verdict-box > p { font-size: 15px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.verdict-scores { display: flex; flex-direction: column; gap: 10px; }
.verdict-score { display: flex; align-items: center; gap: 14px; }
.score-lbl { font-size: 13px; font-weight: 700; color: var(--ink-soft); min-width: 110px; }
.score-track { flex: 1; height: 8px; background: var(--line); border-radius: 20px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, #7acca0, #4ab87a); }
.score-num { font-size: 13px; font-weight: 800; color: var(--ink); min-width: 36px; text-align: right; }

/* Pros/Cons */
.pro-con { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pro-box { padding: 18px 20px; border-radius: var(--radius); }
.pro-box.pros { background: var(--mint-soft); }
.pro-box.cons { background: var(--pink-soft); }
.pro-box h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; }
.pro-box.pros h4 { color: #3a7a5a; }
.pro-box.cons h4 { color: #b05070; }
.pro-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pro-box li { font-size: 13.5px; color: var(--ink); line-height: 1.45; padding-left: 20px; position: relative; }
.pro-box.pros li::before { content: '✓'; position: absolute; left: 0; color: #3a7a5a; font-weight: 800; }
.pro-box.cons li::before { content: '−'; position: absolute; left: 0; color: #b05070; font-weight: 800; line-height: 1.2; }

/* Specs */
.section-title { font-size: 19px; font-weight: 800; color: var(--ink); margin: 44px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); letter-spacing: -0.02em; }
.specs { width: 100%; border-collapse: collapse; }
.specs tr:nth-child(even) td { background: var(--paper-warm); }
.specs td { padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.specs td:first-child { font-weight: 700; width: 40%; color: var(--ink-soft); }

/* ─── Guide article page ─── */
.guide-hero-section {
  background: var(--coral-bg);
  border-radius: var(--radius-lg);
  padding: 52px 52px 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: end;
  overflow: hidden;
}
.guide-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.guide-hero-h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.15; color: var(--ink); margin: 0 0 18px; text-wrap: pretty; }
.guide-hero-lead { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 28px; }
.guide-hero-author { display: flex; align-items: center; gap: 12px; padding: 16px 0 32px; font-size: 13px; color: var(--ink-soft); }
.guide-hero-author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--coral-soft); flex-shrink: 0; }
.guide-hero-img { align-self: center; padding: 8px 0 24px; display: flex; justify-content: center; }
.guide-hero-img img { max-height: 280px; width: auto; max-width: 100%; object-fit: contain; }
.guide-layout { display: grid; grid-template-columns: 1fr 256px; gap: 56px; align-items: start; padding: 52px 0 80px; }
.toc-sticky { position: sticky; top: 100px; }
.toc-card { background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toc-card-head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 14px; }
.toc-card ol { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.toc-card ol li a { font-size: 13px; color: var(--ink-soft); text-decoration: none; line-height: 1.45; display: block; }
.toc-card ol li a:hover { color: var(--coral-deep); }

/* Article typography */
.article h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 900; color: var(--ink); margin: 52px 0 16px; text-wrap: pretty; scroll-margin-top: 120px; }
.article h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 32px 0 12px; text-wrap: pretty; }
.article p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 20px; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 20px; }
.article li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 10px; }
.article strong { color: var(--ink); }
.article > h2:first-child { margin-top: 0; }

/* Tip boxes */
.tipbox { border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; }
.tipbox.tip { background: var(--mint-soft); border-left: 4px solid #7acca0; }
.tipbox.warn { background: var(--yellow-soft); border-left: 4px solid var(--yellow); }
.tipbox.info { background: var(--sky); border-left: 4px solid #8ab8d8; }
.tipbox-head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 8px; }
.tipbox p { font-size: 14.5px; line-height: 1.65; color: var(--ink); margin: 0; }

/* Inline product card in article */
.inline-prod {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center;
  background: white; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px;
  margin: 28px 0; text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.inline-prod:hover { border-color: var(--coral-deep); box-shadow: var(--shadow); }
.inline-prod-img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.inline-prod-brand { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--coral-deep); }
.inline-prod-name { font-size: 15px; font-weight: 700; color: var(--ink); margin: 4px 0 5px; line-height: 1.3; }
.inline-prod-price { font-size: 15px; font-weight: 800; color: var(--ink); }
.inline-prod-old { font-size: 13px; color: var(--ink-faint); text-decoration: line-through; margin-left: 6px; }
.inline-prod-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.inline-prod-aff { font-size: 10px; color: var(--ink-faint); white-space: nowrap; }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .product-page { grid-template-columns: 1fr; gap: 32px; }
  .pro-con { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .guide-hero-section { grid-template-columns: 1fr; padding: 36px 28px 0; }
  .guide-hero-img { border-radius: var(--radius); margin: 0 -28px; }
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc-sticky { position: static; }
  .inline-prod { grid-template-columns: 72px 1fr; }
  .inline-prod-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ─── Category page ─── */
.cat-page-hero {
  background: var(--coral-bg);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cat-page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.025em; margin: 8px 0 10px; text-wrap: pretty; }
.cat-page-hero p { font-size: 16px; color: var(--ink-soft); max-width: 540px; line-height: 1.55; margin: 0; }
.cat-page-count { font-size: 13px; color: var(--ink-faint); font-weight: 600; margin-top: 10px; }

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.filter-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); margin-right: 4px; }
.filter-sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 8px; }
.filter-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--coral); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: white; }
.filter-results { font-size: 13px; color: var(--ink-faint); margin-left: auto; }

/* Product grid extended */
.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .product-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .product-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .product-grid-5 { grid-template-columns: 1fr; } }

.product[hidden] { display: none; }

/* Sort select */
.sort-select {
  appearance: none;
  padding: 7px 32px 7px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9088' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  outline: none;
  min-width: 160px;
}

/* ─── Product card improvements ─── */
.product-desc { font-size: 12px; color: var(--ink-faint); line-height: 1.4; margin: 2px 0 4px; }
.product-ph {
  width: 100%; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; position: relative;
}
.product-ph-emoji { font-size: 52px; line-height: 1; }
.product-ph-brand { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(42,34,28,0.45); }

/* Subcategory nav */
.subcat-nav {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; padding: 0 0 20px; margin-bottom: 8px;
}
.subcat-nav::-webkit-scrollbar { display: none; }
.subcat-btn {
  padding: 8px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: white; font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--ink-soft); cursor: pointer; white-space: nowrap; transition: all 0.15s;
  text-decoration: none; display: inline-block;
}
.subcat-btn:hover { border-color: var(--coral); color: var(--ink); }
.subcat-btn.active { background: var(--coral-deep); border-color: var(--coral-deep); color: white; }

/* ─── Cookie banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: 14px; color: rgba(255,250,243,0.8); line-height: 1.5; margin: 0; }
.cookie-text a { color: var(--coral); text-decoration: underline; }
.cookie-title { font-size: 15px; font-weight: 800; color: var(--paper); margin-bottom: 4px; display: block; }
.cookie-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-accept {
  padding: 12px 28px;
  background: var(--coral-deep);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #c46b48;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.btn-cookie-accept:hover { background: #d57350; transform: translateY(-1px); }
.btn-cookie-reject {
  padding: 8px 14px;
  background: transparent;
  color: rgba(255,250,243,0.45);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-reject:hover { color: rgba(255,250,243,0.7); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .btn-cookie-accept { flex: 1; text-align: center; }
}

/* ===========================================================
   Policy & content pages — added 2026-05-11
   =========================================================== */

/* Bröd­smulor */
.crumbs { font-size: 13px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--coral-deep); }
.crumbs span { margin: 0 8px; opacity: 0.6; }

/* Hero på policy-sida */
.policy-hero {
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--coral-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 56px 48px;
  margin: 16px 0 24px;
}
@media (max-width: 640px) {
  .policy-hero { padding: 36px 24px 28px; }
}

/* Sektioner */
.policy-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.policy-section:first-of-type { border-top: none; padding-top: 16px; }
.policy-section p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; max-width: 760px; }
.policy-section p a { color: var(--coral-deep); }
.policy-section h2 { margin: 0 0 18px; }
.policy-section h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--ink); }

.policy-section-soft {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-top: none;
  margin: 24px 0;
}
.policy-section-soft + .policy-section { border-top: 1px solid var(--line); }

.policy-section-cta {
  text-align: center;
  background: var(--mint);
  border-radius: var(--radius-xl);
  padding: 48px 24px;
  border-top: none;
  margin: 32px 0;
}

/* Två-spalts kort (Vad vi är / inte är) */
.policy-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
@media (max-width: 720px) {
  .policy-twocol { grid-template-columns: 1fr; }
}
.policy-card {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.policy-card-mint { background: rgba(160, 220, 200, 0.22); border-color: rgba(160, 220, 200, 0.5); }
.policy-card-coral { background: rgba(232, 130, 95, 0.10); border-color: rgba(232, 130, 95, 0.32); }
.policy-card ul { margin: 12px 0 0; padding-left: 0; list-style: none; }

/* Listor */
.check-list, .x-list, .bullet-list, .numbered-list, .toc {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.check-list li, .x-list li, .bullet-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--mint);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.x-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: rgba(232, 130, 95, 0.22);
  color: var(--coral-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 6px;
  color: var(--coral-deep);
  font-weight: 800;
  font-size: 18px;
}
.numbered-list {
  counter-reset: nlist;
  padding-left: 0;
}
.numbered-list li {
  counter-increment: nlist;
  position: relative;
  padding: 10px 0 10px 44px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.numbered-list li::before {
  content: counter(nlist);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  background: var(--coral-deep);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

/* ToC */
.toc {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 22px 32px;
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 640px) { .toc { columns: 1; } }
.toc li {
  padding: 4px 0;
  break-inside: avoid;
}
.toc li a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
}
.toc li a:hover { color: var(--coral-deep); }

/* Fact-cards (bolagsuppgifter) */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 720px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fact-grid { grid-template-columns: 1fr; } }
.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
}
.fact-value { font-size: 15px; font-weight: 700; color: var(--ink); }
.fact-value a { color: var(--coral-deep); }

/* Data-tabeller */
.data-table {
  overflow: visible;
  margin: 16px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.data-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  background: var(--paper-warm);
  padding: 12px 14px;
  text-align: left;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.data-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.5;
}
.data-table td code {
  background: var(--paper-warm);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink);
}

/* Kontakt-sidan */
.contact-main { text-align: center; padding: 12px 0 24px; }
.contact-mailto {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 24px;
  background: var(--paper-warm);
  border-radius: 12px;
  border: 2px solid var(--coral-deep);
  transition: transform 0.2s, background 0.2s;
}
.contact-mailto:hover { transform: translateY(-2px); background: var(--coral-soft); }
.contact-main .muted { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }

/* Topic-cards (kontakt) */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topic-grid { grid-template-columns: 1fr; } }
.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.topic-card:hover { border-color: var(--coral-deep); transform: translateY(-2px); }
.topic-card h3 { font-size: 16px; margin-bottom: 8px; }
.topic-card p { font-size: 14px; margin-bottom: 12px; }
.subject-pill {
  display: inline-block;
  background: var(--paper-warm);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  font-family: inherit;
}

/* Cookies browser-grid */
.browser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 20px;
}
@media (max-width: 560px) { .browser-grid { grid-template-columns: 1fr 1fr; } }
.browser-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
.browser-card:hover { background: var(--coral-soft); }

/* Network-cards (Adtraction/Awin) */
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) { .network-grid { grid-template-columns: 1fr; } }
.network-card {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.network-card h3 { font-size: 22px; margin-bottom: 8px; }
.network-card p { font-size: 15px; margin-bottom: 14px; }

/* Criteria-grid (Hur vi väljer) */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .criteria-grid { grid-template-columns: 1fr; } }
.criteria-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.criteria-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 40px;
  font-weight: 900;
  color: var(--coral-soft);
  line-height: 1;
}
.criteria-card h3 { font-size: 18px; }
.criteria-card p { font-size: 14px; line-height: 1.55; }

/* FAQ accordions */
.faq-item {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 800;
  color: var(--coral-deep);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Store-card (om butikerna) */
.store-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-card h3 { font-size: 20px; margin: 0; }
.store-meta { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.store-card p { font-size: 14px; line-height: 1.55; margin: 0; }
.store-facts {
  list-style: none;
  padding: 12px 0 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.store-facts li { font-size: 13px; color: var(--ink-soft); padding: 0; }
.store-facts li::before { display: none; }
.store-facts strong { color: var(--ink); }

/* Store-grid override för butikssidan (3-col) */
.policy-section .store-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .policy-section .store-grid { grid-template-columns: 1fr; }
}

/* Kategorier-page: större kort */
.cat-card-big {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cat-card-big:hover {
  transform: translateY(-3px);
  border-color: var(--coral-deep);
  box-shadow: 0 12px 28px rgba(42, 34, 28, 0.07);
}
.cat-card-big h3 { font-size: 20px; margin: 8px 0 4px; color: var(--ink); }
.cat-card-big p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* Age-grid */
.age-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .age-grid { grid-template-columns: 1fr 1fr; } }
.age-card {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.age-card strong { font-size: 16px; color: var(--ink); }
.age-card span { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* Brand-grid (varumärken-sida) */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .brand-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .brand-grid { grid-template-columns: 1fr; } }
.policy-section .brand-grid .brand-card {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  cursor: default;
}
.policy-section .brand-grid .brand-card strong { font-size: 16px; color: var(--ink); font-weight: 800; }
.policy-section .brand-grid .brand-card span { font-size: 12px; color: var(--ink-soft); }

/* Rea-page */
.sale-banner {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--coral-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin: 8px 0 16px;
}
.sale-banner h2, .sale-banner p { color: var(--ink); }
.sale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .sale-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sale-grid { grid-template-columns: 1fr; } }
.sale-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.sale-card:hover { transform: translateY(-3px); border-color: var(--coral-deep); }
.sale-badge {
  display: inline-block;
  background: var(--coral-deep);
  color: #fff;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 12px;
}
.sale-card h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.sale-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* How-grid (om oss) */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .how-grid { grid-template-columns: 1fr; } }
.how-step {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 22px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--coral-deep);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 12px;
}
.how-step h3 { font-size: 16px; margin: 0 0 6px; }
.how-step p { font-size: 14px; margin: 0; line-height: 1.5; }

/* ===========================================================
   Category pages + product grid — added 2026-05-11
   =========================================================== */

.cat-hero {
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--mint-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin: 16px 0 16px;
}
@media (max-width: 640px) { .cat-hero { padding: 28px 24px; } }
.cat-hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.toolbar-info { font-size: 14px; color: var(--ink); }
.toolbar-info .muted { color: var(--ink-soft); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 12px 0 32px;
}

.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: var(--coral-deep);
  box-shadow: 0 16px 32px rgba(42, 34, 28, 0.08);
}

.prod-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.prod-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: 1px solid var(--line);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s;
}
.prod-fav:hover { color: var(--coral-deep); transform: scale(1.08); }
.prod-fav.on { color: var(--coral-deep); }
.prod-fav.on svg { fill: currentColor; }

.prod-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.prod-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: var(--ink-soft);
}
.prod-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.prod-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
.prod-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
}
.prod-source {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.btn-soon {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  cursor: not-allowed;
  font-family: inherit;
  transition: background 0.2s;
}
.btn-soon:hover { background: var(--coral-soft); color: var(--ink); }

.cat-cta {
  margin: 24px 0 48px;
}
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--yellow-soft) 0%, var(--coral-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .cta-card { padding: 24px; }
}

/* Guide layout */
.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin: 16px 0 48px;
}
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
}
.guide-toc { position: relative; }
.guide-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.guide-section:first-of-type { border-top: none; padding-top: 8px; }
.guide-prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 720px;
}
.guide-prose p { margin: 0 0 14px; }
.guide-prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.guide-prose ul li { padding: 6px 0 6px 28px; position: relative; line-height: 1.55; }
.guide-prose ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 6px;
  color: var(--coral-deep);
  font-weight: 800;
}
.guide-prose strong { color: var(--ink); }

.guide-cta-box {
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-top: none;
  margin-top: 24px;
}

/* ===========================================================
   Hero image (slide carousel) + Köpguider cards — 2026-05-11
   =========================================================== */

/* Hero-bild i carousel — visar riktig produktbild på pastell-bakgrund */
.hero-img-pic {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  padding: 24px;
  box-sizing: border-box;
  transition: opacity 0.35s ease;
  display: block;
}
.hero-image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Köpguider — stora kort på kopguider.html */
.guide-card-big {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.guide-card-big:hover {
  transform: translateY(-3px);
  border-color: var(--coral-deep);
  box-shadow: 0 16px 32px rgba(42, 34, 28, 0.08);
}
.guide-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.guide-card-big .guide-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: var(--coral-deep);
}
.guide-card-big h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 4px 0 6px;
}
.guide-card-big p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ===========================================================
   Product Detail Page (PDP) + clickable product cards — 2026-05-11
   =========================================================== */

/* Klickbar overlay-länk över hela produktkortet, fav-knappen ligger ovanpå */
.prod-card { position: relative; }
.prod-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}
.prod-card .prod-fav,
.prod-card .prod-link-pill,
.prod-card .prod-price {
  position: relative;
  z-index: 2;
}
.prod-link-pill {
  background: var(--coral-soft);
  color: var(--coral-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  transition: background 0.2s;
}
.prod-card:hover .prod-link-pill {
  background: var(--coral-deep);
  color: #fff;
}

/* Product Detail Page (PDP) */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 24px 0 24px;
  align-items: start;
}
@media (max-width: 880px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
}

.pdp-gallery {
  position: relative;
}
.pdp-img-wrap {
  background: var(--paper-warm);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}
.pdp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pdp-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--coral-deep);
}
.pdp-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

.pdp-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--ink);
}
.pdp-price-meta {
  font-size: 13px;
  color: var(--ink-soft);
}

.pdp-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pdp-actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.pdp-meta-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: var(--paper-warm);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
}
.pdp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdp-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: var(--ink-soft);
}
.pdp-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.pdp-meta-value a { color: var(--coral-deep); }

.pdp-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pdp-section:first-of-type { border-top: none; padding-top: 0; }
.pdp-section h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}
.pdp-section p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.pdp-section p a { color: var(--coral-deep); }
.pdp-section-soft {
  background: var(--mint-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-top: none;
  margin-top: 16px;
}
.pdp-section-soft h2 { margin-top: 0; }

.pdp-related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* Guide-kort på startsidan — bilden täcker hela placeholdern */
.guide-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}
.guide-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.guide-card:hover .guide-img img { transform: scale(1.04); }
.guide-img-lilac { background: var(--lilac); }
.guide-img-sky { background: var(--sky); }
.guide-img-mint { background: var(--mint); }


/* ─── Partner-villkor (single-product, från _bh_offers) ─── */
.partner-terms {
  background: var(--cream, #fdf8f2);
  border: 1px solid var(--paper-warm, #f3ead8);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.partner-terms + .partner-terms { margin-top: 8px; }
.partner-terms-head {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 13.5px;
}
.partner-terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px 0;
}
.partner-terms-list li {
  padding: 3px 0;
  line-height: 1.45;
}
.partner-terms-list .pt-label {
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}
.partner-terms-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin: 4px 0 0 0;
  font-style: italic;
}

/* ─── Babyhallens omdöme (AI-skrivet, från _bh_verdict) ─── */
.bh-verdict {
  background: linear-gradient(180deg, rgba(255,178,143,0.10), rgba(255,178,143,0.04));
  border-left: 3px solid var(--coral, #ffb28f);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
}
.bh-verdict-head {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.bh-verdict-body {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.bh-verdict-body p { margin: 0 0 8px 0; }
.bh-verdict-body p:last-child { margin-bottom: 0; }


/* ─── Kontakt: klickbara topic-cards (rena mailto-länkar) ─── */
a.topic-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.topic-card:hover h3 { color: var(--coral-deep); }
a.topic-card:focus-visible {
  outline: 2px solid var(--coral-deep);
  outline-offset: 2px;
}
