/* koopgroen.nl — huisstijl: koopgroen-huisstijl.md */

:root {
  --green: #6aa84f;
  --green-dark: #4f7f3b;
  --green-light: #d9ead3;
  --ink: #434343;
  --ink-soft: #6b6b68;
  --border: #e3e0d6;
  --bg: #ffffff;
  --bg-alt: #f7faf5;
  --bg-alt-2: #f1f5ee;

  /* nieuws-categoriebadges — zie koopgroen-nieuwscategorieen.md */
  --badge-klimaat: #cfe2f3;
  --badge-bomen: #d9ead3;
  --badge-circulair: #fce5cd;
  --badge-wonen: #d0e0e3;
  --badge-bio: #fff2cc;
  --badge-mode: #ead1dc;
  --badge-keurmerken: #d9d2e9;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 3px rgba(67, 67, 67, .10), 0 1px 2px rgba(67, 67, 67, .06);
  --shadow-m: 0 4px 14px rgba(67, 67, 67, .10);
  --shadow-l: 0 12px 32px rgba(67, 67, 67, .14);
  --max: 1200px;

  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(26px, 3.4vw, 42px); }
h2 { font-size: clamp(20px, 2.4vw, 28px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--green-dark);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding-block: 56px; }
.section-alt { background: var(--bg-alt); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border-color: var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-light); }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; position: relative; }
.main-nav a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
}
.main-nav a:hover, .main-nav a.active { background: var(--green-light); color: var(--green-dark); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--green-light) 0%, var(--bg) 100%);
  padding-block: 64px 48px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lede { font-size: 18px; color: var(--ink-soft); max-width: 52ch; }
.hero-stats { display: flex; gap: 28px; margin-top: 24px; }
.hero-stat b { display: block; font-family: var(--font-heading); font-size: 26px; color: var(--green-dark); }
.hero-stat span { font-size: 12.5px; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art img { border-radius: var(--radius-l); box-shadow: var(--shadow-l); }

/* ---------- category tiles ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-m);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); text-decoration: none; }
.cat-tile svg { width: 40px; height: 40px; }
.cat-tile h3 { margin: 0; font-size: 15px; }
.cat-tile span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- cards / product grid ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-s);
}
.product-card { position: relative; }
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.product-card .thumb img { max-height: 100%; object-fit: contain; }
.product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; background: var(--green-light); }
.product-card .brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.product-card .brand a { color: inherit; }
.product-card h3 { font-size: 14.5px; text-transform: none; letter-spacing: normal; margin: 0; line-height: 1.35; }
.product-card .price { font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--green-dark); margin-top: auto; }
.product-card .material { font-size: 12px; color: var(--ink-soft); }
.product-card .material a { color: inherit; }
/* Op categoriepagina's: kleurverandering i.p.v. onderstreping bij hover */
.filters a:hover, .product-card a:hover { text-decoration: none; color: var(--green); }
.product-card h3 a:hover { color: var(--green); }
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink);
  width: fit-content;
}
.badge:hover { text-decoration: none; filter: brightness(0.94); }
.badge-refurbished {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--badge-circulair);
  z-index: 2;
}

/* ---------- catalog layout (hoofdcategoriepagina) ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters {
  position: sticky;
  top: 84px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px;
}
.filters h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin: 18px 0 8px;
}
.filters h4:first-child { margin-top: 0; }
.filter-group { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.filters .btn { width: 100%; justify-content: center; margin-top: 16px; }
.filters-decoration { display: block; width: 64px; height: 64px; margin: 22px 0 0 auto; opacity: .85; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.catalog-count { font-size: 13.5px; color: var(--ink-soft); }
.catalog-count-total { font-size: 13.5px; color: var(--ink-soft); }
.catalog-empty { padding: 48px 0; text-align: center; color: var(--ink-soft); display: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 36px; }
.pagination-status { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.product-detail .gallery img {
  width: 100%;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  background: var(--bg-alt-2);
  padding: 20px;
}
.product-detail .price { font-family: var(--font-heading); font-size: 32px; color: var(--green-dark); margin: 10px 0 18px; }
.evidence-box {
  background: var(--green-light);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  margin: 18px 0;
}
.evidence-box h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .06em; color: var(--green-dark); }
.evidence-box ul { margin: 0; padding-left: 18px; }

.bewijs-reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.bewijs-reviews-grid .evidence-box { margin: 0; }
.review-slider { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 18px 20px; display: flex; flex-direction: column; }
.review-track { position: relative; flex: 1; min-height: 96px; }
.review-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.review-slide.active { opacity: 1; visibility: visible; }
.review-quote { font-size: 14.5px; margin: 0; line-height: 1.55; }
.review-theme { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.review-dots { display: flex; gap: 6px; margin-top: 12px; }
.review-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--border); padding: 0; cursor: pointer; }
.review-dot.active { background: var(--green); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14px; margin: 18px 0; }
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { margin: 0; font-weight: 600; }
.breadcrumbs { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- nieuws ---------- */
.news-card { border-top: 3px solid var(--green); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.news-card h3 { font-size: 16px; text-transform: none; letter-spacing: normal; margin: 0; }
.news-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.news-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-soft); border-top: 1px solid var(--border); padding-top: 10px; }
.news-meta .author { font-weight: 600; color: var(--ink); }
.badge-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge-filters a { padding: 7px 14px; border-radius: 999px; font-family: var(--font-heading); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); border: 2px solid transparent; }
.badge-filters a.active { border-color: var(--ink); }
.news-post .meta-row { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; font-size: 13px; color: var(--ink-soft); }
.news-post-photo { margin-bottom: 24px; }
.news-post-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-m); }
.news-post-photo .photo-credit { display: block; margin-top: 6px; }
.news-post .article-body { max-width: 68ch; font-size: 16.5px; }
.news-post .article-body p { margin-bottom: 1.1em; }

.evidence-explain { font-size: 13.5px; margin: 0 0 8px; color: var(--ink); }
.evidence-explain:last-child { margin-bottom: 0; }

/* ---------- prev/next ---------- */
.product-prevnext {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
  padding: 18px 0;
}
.prevnext-link { display: flex; align-items: center; gap: 12px; max-width: 46%; }
.prevnext-link img { width: 48px; height: 48px; object-fit: contain; background: var(--bg-alt-2); border-radius: var(--radius-s); border: 1px solid var(--border); flex-shrink: 0; }
.prevnext-link span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.prevnext-link.next { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.prevnext-link.next span { align-items: flex-end; }
.prevnext-link em { font-family: var(--font-heading); font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.prevnext-link strong { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }

/* ---------- gerelateerd / upsell ---------- */
.related-section { margin-top: 48px; }
.related-section h2 { font-size: 18px; margin-bottom: 16px; }
.related-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.upsell-wrap { position: relative; min-width: 0; }
.upsell-wrap .product-card { width: 100%; }
.upsell-badge { position: absolute; top: -10px; left: 10px; z-index: 3; background: var(--badge-wonen); }

/* ---------- lightbox ---------- */
.thumb-row a img { border: 1px solid var(--border); border-radius: var(--radius-s); padding: 6px; cursor: zoom-in; background: var(--bg-alt-2); aspect-ratio: 1/1; object-fit: contain; }
.gallery > a { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 32, 28, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-m); background: #fff; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- zoekbalk ---------- */
.search-bar-wrap { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 10px 0; }
.search-bar { position: relative; max-width: 520px; margin: 0 auto; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search-input { width: 100%; padding: 9px 14px 9px 36px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-family: inherit; background: var(--bg); color: var(--ink); }
.search-input:focus { outline: none; border-color: var(--green); }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 50;
}
.search-result { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: var(--ink); }
.search-result:hover { background: var(--bg-alt-2); text-decoration: none; }
.search-result img { width: 42px; height: 42px; object-fit: contain; background: var(--bg-alt-2); border-radius: var(--radius-s); flex-shrink: 0; }
.search-result-info { min-width: 0; flex: 1; }
.search-result-title { display: block; font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-meta { display: block; font-size: 11.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-price { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--green-dark); flex-shrink: 0; }
.search-empty { padding: 14px 12px; font-size: 13px; color: var(--ink-soft); }

/* ---------- mega-menu ---------- */
.mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.mega-btn:hover, .mega-trigger.open .mega-btn { background: var(--green-light); color: var(--green-dark); }
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  width: min(860px, 94vw);
}
.mega-trigger.open .mega-panel { display: flex; }
.mega-cats { list-style: none; margin: 0; padding: 10px; width: 270px; background: var(--bg-alt); flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
.mega-cats li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-s); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mega-cats li a img { flex-shrink: 0; }
.mega-cats li.active a, .mega-cats li a:hover { background: var(--green-light); color: var(--green-dark); text-decoration: none; }
.mega-types { flex: 1; padding: 18px 20px; min-height: 260px; }
.mega-types-panel { display: none; }
.mega-types-panel.active { display: flex; flex-direction: column; min-height: 100%; }
.mega-types-title { font-family: var(--font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 12px; }
.mega-types-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mega-types-list a { background: var(--bg-alt-2); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--ink); }
.mega-types-list a:hover { background: var(--green-light); text-decoration: none; }
.mega-all { font-size: 12.5px; font-weight: 600; color: var(--green-dark); margin-top: auto; padding-top: 10px; }

/* ---------- uitgelicht-slider ---------- */
.featured-strip { background: var(--green-light); }
.featured-strip-inner { display: flex; align-items: center; gap: 14px; padding-block: 8px; }
.featured-label { font-family: var(--font-heading); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); flex-shrink: 0; }
.featured-slider { flex: 1; display: flex; gap: 24px; min-height: 30px; min-width: 0; }
.featured-item {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.featured-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-item.active { display: flex; }
.featured-item img { width: 22px; height: 22px; object-fit: contain; background: var(--bg); border-radius: 4px; flex-shrink: 0; }
.featured-item b { color: var(--green-dark); flex-shrink: 0; }

/* ---------- cat-button hover ---------- */
.cat-button span { color: var(--green-dark); font-weight: 600; }

/* ---------- grote nieuwskaarten (homepage) ---------- */
.news-card-big { padding: 0; overflow: hidden; }
.news-photo { display: block; aspect-ratio: 16/9; overflow: hidden; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.news-card-big h3 { font-size: 17px; }
.photo-credit { font-size: 10.5px; color: var(--ink-soft); }

/* ---------- cookiemelding ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
}
.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 13px; flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--green-light); }

/* ---------- static pages ---------- */
.static-page .body { max-width: 72ch; font-size: 15.5px; }
.placeholder-note {
  background: #fff2cc;
  border: 1px solid #e6d68a;
  border-radius: var(--radius-s);
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 24px;
}
.static-photo { margin: 20px 0; max-width: 72ch; }
.static-photo img { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius-m); }

/* ---------- uitlegpagina ---------- */
.uitleg-hero { margin: 24px 0 40px; max-width: 900px; }
.uitleg-hero img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-l); }
.uitleg-section { max-width: 72ch; margin-bottom: 44px; }
.uitleg-section h2 { font-size: 19px; }
.uitleg-list { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.uitleg-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; max-width: none; }
.uitleg-evidence-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 14px 16px; }
.uitleg-evidence-card h3 { font-size: 13px; text-transform: none; letter-spacing: normal; color: var(--green-dark); margin: 0 0 6px; }
.uitleg-evidence-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; max-width: none; }
.testimonial-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.testimonial-card h3 { font-size: 14px; margin: 0; color: var(--ink); }
.testimonial-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.testimonial-badge { font-size: 12px; font-weight: 600; width: fit-content; }
.testimonial-badge-example { color: var(--ink-soft); background: var(--bg-alt-2); padding: 5px 10px; border-radius: 999px; }
.testimonial-badge-link { color: var(--green-dark); }
.uitleg-steps { padding-left: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #f1f1ef; padding-block: 48px 28px; margin-top: 64px; }
.site-footer a { color: #f1f1ef; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-heading); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; color: var(--green-light); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: 12px; color: #c9c9c6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- misc ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.disclosure { font-size: 12px; color: var(--ink-soft); background: var(--bg-alt); border-radius: var(--radius-s); padding: 10px 14px; margin: 24px 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 10px; box-shadow: var(--shadow-m); max-height: 80vh; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .mega-btn { width: 100%; justify-content: space-between; }
  .mega-panel { position: static; box-shadow: none; border: none; flex-direction: column; min-width: 0; width: 100%; }
  .mega-cats { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .mega-types { padding: 12px; }
  .featured-strip-inner { flex-wrap: wrap; }
  .related-row { grid-template-columns: repeat(3, 1fr); }
  .thumb-row { grid-template-columns: repeat(4, 1fr); }
  .bewijs-reviews-grid { grid-template-columns: 1fr; }
  .uitleg-evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .spec-list { grid-template-columns: 1fr; }
  .related-row { grid-template-columns: repeat(2, 1fr); }
  .uitleg-evidence-grid { grid-template-columns: 1fr; }
  .search-bar { max-width: none; }
  .thumb-row { grid-template-columns: repeat(3, 1fr); }
  .product-prevnext { flex-direction: column; gap: 14px; }
  .prevnext-link, .prevnext-link.next { max-width: 100%; flex-direction: row; text-align: left; margin-left: 0; }
  .prevnext-link.next span { align-items: flex-start; }
  .prevnext-link strong { max-width: 50vw; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: 10px; right: 14px; font-size: 28px; }
}

/* =====================================================================
   Batch 4 (2026-09-25)
   ===================================================================== */

/* [hidden] moet altijd winnen van display-regels op klassen (grid/flex) */
[hidden] { display: none !important; }

/* ---------- navigatie: vloeiende overgang na een klik (0,3 s) ---------- */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .3s; }
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }
main { animation: page-fade-in .3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  ::view-transition-group(root) { animation-duration: 0s; }
}

/* ---------- broodkruimels: groen ---------- */
.breadcrumbs, .breadcrumbs a { color: var(--green-dark); }
.breadcrumbs a:hover { color: var(--green); text-decoration: none; }

/* ---------- header: menu | zoeken | logo in één balk ---------- */
.site-header .container { gap: 28px; }
.search-bar { position: relative; flex: 1 1 240px; min-width: 180px; max-width: 380px; margin: 0 auto; }
.search-bar form { margin: 0; }
.search-bar .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search-results { min-width: min(460px, 92vw); left: 0; right: auto; width: 100%; }
.search-all { display: block; padding: 11px 14px; font-size: 13px; font-weight: 600; border-top: 1px solid var(--border); background: var(--bg-alt); }
.search-all:hover { background: var(--green-light); text-decoration: none; }
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 8px; font-size: 12px; }
  .mega-btn { padding: 10px 8px; font-size: 12px; }
  .site-header .container { gap: 18px; }
}
@media (max-width: 980px) {
  .site-header .container { flex-wrap: wrap; gap: 8px 12px; }
  .logo { order: 1; }
  .nav-toggle { order: 2; }
  .search-bar { order: 3; flex: 1 0 100%; max-width: none; margin: 0 0 4px; }
}

/* ---------- uitgelicht: 3 tegelijk, titels ingekort ---------- */
.featured-item { min-width: 0; }
.featured-item span { max-width: 100%; }

/* ---------- categoriepagina: titel + filterbalk ---------- */
.category-title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.category-title-row h1 { margin-bottom: 8px; }
.category-intro { max-width: 60ch; color: var(--ink-soft); margin: 0; }
.category-title-icon { width: 84px; height: 84px; flex-shrink: 0; }
.filterbar { display: grid; gap: 14px; margin: 26px 0 18px; padding: 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-m); }
.filterbar-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fcell { position: relative; min-width: 0; }
.fsearch { display: flex; align-items: center; }
.fsearch .search-icon { position: absolute; left: 12px; color: var(--ink-soft); pointer-events: none; }
.fsearch input { width: 100%; height: 42px; padding: 0 14px 0 36px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg); font: inherit; font-size: 13.5px; color: var(--ink); }
.fsearch input:focus, .fdrop-search:focus { outline: none; border-color: var(--green); }
.fdrop-btn { display: flex; align-items: center; gap: 8px; width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg); font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; text-align: left; }
.fdrop-btn svg { margin-left: auto; flex-shrink: 0; }
.fdrop.open .fdrop-btn { border-color: var(--green); }
.fdrop.disabled .fdrop-btn { opacity: .5; cursor: default; }
.fdrop-count { background: var(--green); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.fdrop-panel { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-s); box-shadow: var(--shadow-l); padding: 8px; }
.fdrop-search { width: 100%; height: 36px; padding: 0 10px; margin-bottom: 6px; border: 1px solid var(--border); border-radius: var(--radius-s); font: inherit; font-size: 13px; }
.fdrop-list { list-style: none; margin: 0; padding: 0; max-height: 272px; overflow-y: auto; }
.fdrop-list li label { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px; font-size: 13px; cursor: pointer; border-radius: 4px; }
.fdrop-list li label:hover { background: var(--bg-alt-2); }
.fdrop-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fdrop-list li em { font-style: normal; font-size: 11.5px; color: var(--ink-soft); }
.fprice { display: flex; flex-direction: column; justify-content: center; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg); }
.fprice-head { display: flex; justify-content: space-between; font-size: 12px; line-height: 1; margin-bottom: 4px; }
.fprice-title { color: var(--ink-soft); }
.fprice-value { font-weight: 600; color: var(--green-dark); }
.fprice-slider { position: relative; height: 14px; }
.fprice-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 2px; background: var(--green-light); }
.fprice-slider input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 14px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.fprice-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--green); cursor: pointer; }
.fprice-slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--green); cursor: pointer; }
.fprice-slider input[type=range]::-webkit-slider-runnable-track { background: none; }
.fprice-slider input[type=range]::-moz-range-track { background: none; }
.catalog-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.catalog-toolbar .catalog-count-total { margin-right: auto; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.btn-small { padding: 7px 14px; font-size: 12px; }
.catalog-grid { grid-template-columns: repeat(4, 1fr); }
.grid-4c { grid-template-columns: repeat(4, 1fr); }
.catalog-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 1180px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4c { grid-template-columns: repeat(2, 1fr); }
  .filterbar-row { grid-template-columns: 1fr 1fr; }
  .category-title-icon { width: 64px; height: 64px; }
}
@media (max-width: 560px) {
  .filterbar-row { grid-template-columns: 1fr; }
  .category-title-icon { display: none; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- productpagina ---------- */
.buy-btn { margin: 4px 0 16px; }
.unavailable-notice { margin: 14px 0; padding: 14px 16px; border-radius: var(--radius-m); background: #fdf3e1; border: 1px solid #ecd9ae; }
.unavailable-notice p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.related-row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .related-row-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- zoekresultaten en 404 ---------- */
.search-page-form { display: flex; gap: 10px; max-width: 620px; margin: 18px 0 8px; }
.search-page-form input { flex: 1; height: 46px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 15px; }
.search-page-form input:focus { outline: none; border-color: var(--green); }
.sort-select { font-size: 13.5px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.sort-select select { font: inherit; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg); }
.nf-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nf-links a { display: inline-block; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); font-size: 13.5px; font-weight: 600; }
.nf-links a:hover { background: var(--green-light); text-decoration: none; }
.notfound section { margin-top: 32px; }
.search-empty-state { margin-top: 24px; }

/* ---------- cookiebanner ---------- */
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn-outline { border-color: #fff; color: #fff; }
.cookie-banner .btn-outline:hover { background: rgba(255, 255, 255, .15); }
@media (max-width: 560px) { .cookie-banner-actions { justify-content: center; } }

/* ---------- tabellen op statische pagina's (cookiebeleid) ---------- */
.static-page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.static-page th, .static-page td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }

/* ---------- afbeeldingsbanners op algemene pagina's (/media) ---------- */
.page-banner { margin: 0 0 26px; border-radius: var(--radius-m); overflow: hidden; }
.page-banner img { display: block; width: 100%; height: 220px; object-fit: cover; }
.home-band { position: relative; margin: 0; }
.home-band img { display: block; width: 100%; height: 300px; object-fit: cover; }
.home-band-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(30, 52, 24, .38); color: #fff; }
.home-band-text h2 { color: #fff; margin: 0 0 10px; }
.home-band-text p { margin: 0 auto; max-width: 52ch; }
@media (max-width: 560px) { .page-banner img { height: 140px; } .home-band img { height: 220px; } }
