/* ============================================
   Bouwsteenwinkel — components.css
   Shared components used across multiple pages
   ============================================ */

/* ============================================
   UTILITY BAR (top, safe operational facts)
   Gemigreerd vanuit sets.css zodat elke pagina
   dezelfde header-styling krijgt (niet alleen
   sets.php). De utility-bar zelf is in header.php
   verwijderd, maar de regels blijven staan voor
   het geval hij ooit terugkomt.
   ============================================ */
.utility-bar {
  background: var(--text-primary);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
}

.utility-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.utility-bar b { font-weight: 600; }

.util-sep { opacity: 0.35; }

@media (max-width: 620px) {
  .utility-bar {
    padding: 6px 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .util-hide-mobile { display: none; }
}

/* ============================================
   HEADER ICONS (favorites, cart)
   Gemigreerd vanuit sets.css — horen op elke
   pagina gelijk te zijn.
   ============================================ */
.header-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 10px;
  color: var(--text-primary);
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.header-icon-btn:hover { background: #EDEBE4; }

/* Mobile: 44px tap-target (Apple HIG / Google Material). */
@media (max-width: 620px) {
  .header-icon-btn {
    width: 44px;
    height: 44px;
  }
}

.header-icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--brand-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announce {
  background: var(--amber-50);
  color: var(--amber-800);
  font-size: 12px;
  padding: 10px 0;
}

.announce-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch span {
  opacity: 0.5;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.lang-switch span:hover { opacity: 0.8; }
.lang-switch .active { opacity: 1; font-weight: 500; }

/* =============================================================
   HEADER & NAVIGATION — 3-rijen, conversie-georiënteerd
   =============================================================
   ROW 1   .site-announce     trust-strip (factisch, geen claims)
   ROW 2   .site-header       logo + zoek + acties + CTA
   ROW 3   .site-nav          hoofdnavigatie (ul/li, 4 items)

   Desktop (>=768px): row 2 + 3 sticky
   Mobile  (<768px):  niet sticky, compactere layout + drawer

   Visuele hiërarchie (aflopend):
     1. Zoekbalk (dominante rij 2, 44px hoog)
     2. CTA (coral + shadow, eerste accentpunt)
     3. Navigatie (rij 3, coral underline bij actief)
     4. Logo (rustig aanwezig, 54px)

   Klaar voor live-search: .site-search-shell wrapt input + suggest-panel.
   ============================================================= */

/* ---- ROW 1: announcement / trust-strip ---- */
.site-announce {
  background: var(--amber-50);
  border-bottom: 1px solid var(--amber-100);
  color: var(--amber-900);
  font-size: 12px;
}
.site-announce-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex-wrap: wrap;
}
.site-announce-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1.2;
}
/* Consistent "•" separator tussen items — schaalt mee met flex-wrap */
.site-announce-list li + li {
  margin-left: 24px;
  position: relative;
}
.site-announce-list li + li::before {
  content: "\2022"; /* • */
  position: absolute;
  left: -14px;
  color: var(--amber-100);
  font-weight: 700;
  font-size: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.site-announce-list b { font-weight: 600; }
.site-announce-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--green-500);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .site-announce-list { padding: 6px 0; font-size: 11px; }
  .site-announce-list li + li { margin-left: 14px; }
  .site-announce-list li + li::before { left: -10px; }
}

/* ---- ROW 2: hoofdheader ----
   Z-index HOGER dan .site-nav zodat dropdowns vanuit de header
   (live-search, account-menu) altijd boven de navigatiebalk
   kunnen vallen. Zie base.css voor het lagen-systeem. */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  z-index: var(--z-site-header);
}
.site-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}

/* Sticky op desktop; op mobile bewust niet — voorkomt vol scherm.
   ALLEEN de hoofdheader (row 2: logo + zoek + account + cart) blijft
   sticky. Row 1 (announce-bar) en row 3 (hoofdnav met "Alle sets /
   Thema's / Hoe huren werkt / Reviews") scrollen normaal mee met de
   pagina. Zo houdt de sticky-balk altijd de kernfuncties binnen bereik
   zonder tweederde van het scherm te beslaan. */
@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-site-header);
  }

  /* Smooth transitions zodat shrink-state er elegant in glijdt */
  .site-header-inner { transition: padding 200ms ease; }
  .logo-img          { transition: height   200ms ease; }
  .site-search-shell,
  .site-cta {
    transition-property: background, border-color, box-shadow, transform, height, color;
    transition-duration: 200ms;
  }

  /* Sticky shrink: wordt door JS geschakeld via body.is-scrolled.
     Header-inner compacter, logo kleiner, zoekbalk + CTA kleiner.
     De bijbehorende --header-height-variabele krimpt ook (zie base.css)
     zodat sticky sub-balken (filter-bar, themas-az) mee-ademen. */
  body.is-scrolled .site-header-inner { padding: 8px 0; }
  body.is-scrolled .logo-img          { height: 60px; }   /* 96 -> 60 bij scroll */
  body.is-scrolled .site-search-shell,
  body.is-scrolled .site-cta          { height: 44px; }
}

/* ---- Hamburger (mobile) ---- */
.site-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.site-hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.site-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-hamburger.is-open span:nth-child(2) { opacity: 0; }
.site-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  line-height: 0;
  flex-shrink: 0;
}
.logo-img {
  height: 96px;       /* 1.75x groter — premium aanwezig zonder scroll te verliezen */
  width: auto;
  display: block;
}
@media (max-width: 620px) {
  .logo-img { height: 60px; }  /* mobile 1.5x i.p.v. 1.75x; smaller screens need room */
}

/* ---- Zoekbalk — één shell, Bol-stijl ----
   Alles zit in .site-search-shell:
     [🔍 submit-button]  [input]  [✕ clear-button (conditional)]
   Geen externe submit-knop meer, zodat de coral CTA het enige
   visueel dominante actie-element is. Enter submits. Klik op
   de lens submits. Klik op de X leegt het veld.
   .site-search-suggest zit al klaar als container voor live-search. */
.site-search {
  display: flex;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.site-search-shell {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  height: 52px; /* iets hoger dan voorheen — premium gevoel */
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: background 180ms ease,
              border-color 180ms ease,
              box-shadow 180ms ease;
}
.site-search-shell:hover:not(:focus-within) {
  border-color: var(--border-strong);
}
.site-search-shell:focus-within {
  background: var(--bg-primary);
  border-color: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.12);
}

/* Zoekicoon = submit-button (links). Klik = submit. Geen visuele
   concurrentie met CTA: subtiel tint, coral-hover als affordance. */
.site-search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 12px 0 0 12px;
  transition: color 180ms ease;
}
.site-search-submit:hover { color: var(--brand-coral); }
.site-search-submit:focus-visible {
  outline: none;
  color: var(--brand-coral);
}

/* Input: geen eigen border/background — de shell levert dat. */
.site-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 8px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.site-search-input::placeholder { color: var(--text-tertiary); }
/* Browser-eigen X-knopje uit; we bieden een eigen stijl. */
.site-search-input::-webkit-search-cancel-button,
.site-search-input::-webkit-search-decoration { -webkit-appearance: none; }

/* Clear-knop (rechts) — alleen zichtbaar als er tekst in 't veld staat.
   Ronde subtiele pill; hover wordt duidelijker. */
.site-search-clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 10px 0 4px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: 50%;
  transition: background 150ms ease, color 150ms ease;
}
.site-search-clear:hover,
.site-search-clear:focus-visible {
  background: var(--border);
  color: var(--text-primary);
  outline: none;
}
.site-search-clear[hidden] { display: none; }

/* =============================================================
   Live-search dropdown (LSS) — premium e-commerce styling
   =============================================================
   Paneel hangt onder .site-search-shell. Aanbod:
     - <section class="lss-section lss-section-themes"> + pills
     - <section class="lss-section lss-section-products"> + rows
     - <a class="lss-all"> ghost-link naar alle resultaten

   Design-principes:
     - Rustige verticale ritme met duidelijke sectie-scheiding
     - Thumbs in subtiel kader → LEGO-foto's staan warm en kloppend
     - Hover = bg-shift (geen harde border-left)
     - Prijs rechts, naam links, meta secundair
     - Custom thin scrollbar zodat het niet "technisch" oogt
   ============================================================= */

/* ---- Container ---- */
.site-search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 40px -12px rgba(23, 23, 23, 0.15),
              0 4px 14px -4px rgba(23, 23, 23, 0.06);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: var(--z-header-overlay);
  padding: 6px 0 0;
  animation: lss-in 160ms cubic-bezier(0.2, 0.9, 0.3, 1);
  /* Dunne, rustige scrollbar — Webkit + Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.site-search-suggest::-webkit-scrollbar { width: 6px; }
.site-search-suggest::-webkit-scrollbar-track { background: transparent; }
.site-search-suggest::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}
.site-search-suggest::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}
.site-search-suggest[hidden] { display: none; }
@keyframes lss-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Sectie-wrapper + titel ---- */
.lss-section { padding: 10px 0 12px; }
.lss-section + .lss-section {
  border-top: 1px solid var(--border);
}
.lss-section-title {
  margin: 0;
  padding: 6px 20px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
}

/* ---- Thema-pills (compact, warm bij hover) ---- */
.lss-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px;
}
.lss-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 140ms ease,
              border-color 140ms ease,
              transform 140ms ease;
}
.lss-theme:hover,
.lss-theme.is-hl {
  background: var(--bg-secondary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.lss-theme:active { transform: none; }
.lss-theme-name { font-weight: 600; }
.lss-theme-count {
  color: var(--text-tertiary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* ---- Productlijst ---- */
.lss-products {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lss-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 140ms ease;
  border-radius: 0;
}
.lss-product:hover,
.lss-product.is-hl {
  background: var(--bg-secondary);
}
.lss-product:hover .lss-name,
.lss-product.is-hl .lss-name {
  color: var(--brand-coral);
}

/* Thumb — subtiel kader voor visuele rust */
.lss-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lss-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Titel + meta */
.lss-body {
  flex: 1;
  min-width: 0;
}
.lss-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 140ms ease;
}
.lss-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.3;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lss-meta-dot { opacity: 0.6; }

/* Prijs — rechter kolom, subtiele accent-kleur, vaste alignment */
.lss-price {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  min-width: 76px;
  text-align: right;
}
.lss-price-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-coral);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lss-price-per {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.2;
}

/* ---- "Bekijk alle resultaten"-link (ghost-stijl) ---- */
.lss-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  text-decoration: none;
  font-size: 13px;
  color: var(--text-primary);
  transition: background 140ms ease, color 140ms ease;
}
.lss-all:hover,
.lss-all:focus-visible {
  background: var(--bg-secondary);
  color: var(--brand-coral);
  outline: none;
}
.lss-all-text {
  flex: 1;
  min-width: 0;
}
.lss-all b {
  font-weight: 700;
  color: var(--brand-coral);
}
.lss-all-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--brand-coral);
  transition: transform 140ms ease;
}
.lss-all:hover .lss-all-arrow {
  transform: translateX(4px);
}

/* ---- Lege state ---- */
.lss-empty {
  padding: 28px 20px 22px;
  text-align: center;
}
.lss-empty-title {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
}
.lss-empty-title b { font-weight: 700; }
.lss-empty-sub {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.lss-empty-sub em {
  font-style: normal;
  color: var(--text-primary);
  font-weight: 500;
}

/* ---- Mobile: iets compacter, prijs-kolom zakt naar secundair ---- */
@media (max-width: 767px) {
  .site-search-suggest {
    max-height: 70vh;
    border-radius: 12px;
  }
  .lss-section-title { padding: 4px 16px 8px; }
  .lss-themes        { padding: 0 16px; }
  .lss-product       { padding: 12px 16px; gap: 12px; }
  .lss-thumb         { width: 48px; height: 48px; }
  .lss-name          { font-size: 13px; }
  .lss-price         { min-width: auto; }
  .lss-price-amount  { font-size: 13px; }
  .lss-price-per     { display: none; }
  .lss-all           { padding: 14px 16px; }
}

/* ---- Rechtergroep (rustiger: alleen account · cart · CTA) ---- */
.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Icoon-knoppen (account, cart) */
.site-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.site-action:hover,
.site-action:focus-visible {
  background: var(--bg-secondary);
  border-color: var(--border);
  outline: none;
}
.site-action-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--brand-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- Account-dropdown ---- */
.site-account { position: relative; }
.site-account-btn {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  padding: 0 6px 0 8px;
  width: auto;
  min-width: 52px;
}
.site-account-caret {
  display: inline-flex;
  align-items: center;
  color: var(--text-tertiary);
  transition: transform var(--transition-fast);
}
.site-account.is-open .site-account-caret { transform: rotate(180deg); }

.site-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: var(--z-header-menu);
  animation: site-account-in 0.15s ease-out;
}
@keyframes site-account-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.site-account-menu[hidden] { display: none; }
.site-account-menu a,
.site-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.site-account-menu a:hover,
.site-account-menu a:focus-visible {
  background: var(--bg-secondary);
  color: var(--brand-coral);
  outline: none;
}
.site-account-head {
  color: var(--text-tertiary);
  font-size: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.site-account-head b { color: var(--text-primary); font-weight: 600; }
.site-account-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 0;
}
.site-account-muted { color: var(--text-tertiary) !important; }
.site-account-count {
  min-width: 20px;
  padding: 2px 6px;
  background: var(--brand-coral);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

/* ---- Primaire CTA — visueel dominant ankerpunt ---- */
.site-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px; /* matcht zoekbalk-hoogte, voelt gelijkwaardig */
  padding: 0 26px;
  background: var(--brand-coral);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transform-origin: center;
  box-shadow: 0 4px 14px rgba(216, 90, 48, 0.25),
              0 2px 4px rgba(216, 90, 48, 0.12);
  transition: background 180ms ease,
              transform 180ms ease,
              box-shadow 180ms ease;
}
.site-cta:hover,
.site-cta:focus-visible {
  background: var(--brand-coral-dark);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(216, 90, 48, 0.32),
              0 3px 6px rgba(216, 90, 48, 0.18);
  outline: none;
}
.site-cta:active { transform: scale(0.99); }
.site-cta-arrow {
  font-size: 15px;
  transition: transform 180ms ease;
}
.site-cta:hover .site-cta-arrow { transform: translateX(3px); }

/* ---- ROW 3: hoofdnavigatie (<ul>) ---- */
.site-nav {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}
.site-nav-list {
  display: flex;
  align-items: stretch;
  gap: 40px; /* was 32 — wat meer lucht tussen items */
  list-style: none;
  margin: 0;
  padding: 0;
  height: 48px;
}
.site-nav-list li { display: flex; }
.site-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 180ms ease;
}
/* Underline-animatie: pseudo-element dat van 0% naar 100% breedte schaalt
   op hover (en full-width blijft op active). */
.site-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  /* Nav-active/hover underline = antraciet i.p.v. oranje (schema C).
     "Je bent hier"-marker is geen actie; oranje blijft voor CTA. */
  background: var(--text-primary);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}
.site-nav-list a:hover,
.site-nav-list a:focus-visible {
  color: var(--text-primary);
  outline: none;
}
.site-nav-list a:hover::after,
.site-nav-list a:focus-visible::after {
  transform: scaleX(1);
}
.site-nav-list a.is-active {
  color: var(--text-primary);
  font-weight: 600;
}
.site-nav-list a.is-active::after {
  transform: scaleX(1);
}

/* ---- Mobile (<768px) ---- */
@media (max-width: 767px) {
  .site-hamburger { display: inline-flex; }
  .site-nav { display: none; }
  .site-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 10px 0;
  }
  /* Zoekbalk wordt 2e rij binnen de header */
  .site-search {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 2px;
  }
  /* Op mobile: account-dropdown verbergen (alles in drawer),
     CTA verbergen (verschijnt in drawer bovenaan) */
  .site-account,
  .site-cta {
    display: none;
  }
  .site-actions { gap: 4px; }
  /* Mobile: iets kortere shell zodat 2e rij compacter oogt */
  .site-search-shell { height: 44px; }
  .site-search-submit { width: 42px; }
}

/* ---- Legacy .header/.nav support (alleen fallback-blok in product.php) ---- */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.nav { display: flex; gap: 24px; font-size: 14px; }
.nav a { color: var(--text-secondary); transition: color var(--transition-fast); }
.nav a:hover, .nav a.active { color: var(--text-primary); }
.header-right { display: flex; align-items: center; gap: 14px; }

.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-tertiary);
  width: 220px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.search-pill:hover {
  border-color: var(--border-strong);
}

.search-dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--text-tertiary);
  border-radius: 50%;
  flex-shrink: 0;
}

.login-link {
  font-size: 13px;
  color: var(--text-primary);
}

.cart {
  position: relative;
  width: 34px;
  height: 34px;
  background: var(--bg-secondary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart::before {
  content: "";
  width: 14px;
  height: 10px;
  border: 1.5px solid var(--text-primary);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--brand-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 10px 0;
  background: var(--bg-tertiary);
  font-size: 12px;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
}

.breadcrumb .sep {
  margin: 0 6px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.08s, background var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand-coral);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-coral-dark); }

.btn-dark {
  background: var(--text-primary);
  color: #fff;
}

.btn-dark:hover { background: #000; }

.btn-outline {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover { background: var(--bg-secondary); }

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-text {
  font-size: 14px;
  color: var(--text-primary);
  padding: 14px 6px;
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: color var(--transition-fast);
}

.btn-text:hover { color: var(--brand-coral); }

/* ============================================
   PILL BADGE (hero context pill)
   ============================================ */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-50);
  border-radius: 999px;
  font-size: 12px;
  color: var(--green-800);
  font-weight: 500;
  margin-bottom: 20px;
}

.pill-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* ============================================
   CHIPS
   ============================================ */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.chip {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.chip:hover { background: #EDEBE4; }

/* ============================================
   PRODUCT CARD (shared across pages)
   ============================================ */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  /* Flex-column zodat alle kaarten in een grid-rij even hoog worden en
     de CTA onderaan altijd op dezelfde lijn staat. */
  display: flex;
  flex-direction: column;
  color: inherit;
  position: relative;
  height: 100%;
}

/* Grid vult zijn rijen tot 1fr zodat elke kaart even hoog is */
.product-grid {
  align-items: stretch;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.product-card:hover .product-img img.product-img-photo {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.product-card .product-img img.product-img-photo {
  transition: transform 0.3s ease;
}

/* ============================================================
   PRODUCT-FOTO — adaptief voor elke aspect-ratio
   ============================================================
   Elke bron-foto (portrait, landscape, vierkant) past netjes in het
   vierkante kader dankzij object-fit: contain. Witte studio-surface
   blijft op het img-element zodat de foto altijd op dezelfde neutrale
   achtergrond staat, ongeacht z'n crop.
   ============================================================ */
.product-img {
  aspect-ratio: 1;                 /* vierkante tegel — consistent grid */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img.product-img-photo {
  /* Img-element vult het hele kader. object-fit: contain schaalt de
     image-content binnen dat element — portrait wordt niet gestrekt,
     landscape niet gecropped, vierkante foto's vullen ~alles. */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: inherit;
  background: #fff;                /* witte studio-bg blijft — matcht doosfoto-isolate */
  padding: 1%;                     /* minimaal — foto's zo groot mogelijk */
  box-sizing: border-box;
}

/* Placeholder — meer padding zodat de abstracte iconografie rustig staat */
.product-img img.product-img-photo.is-placeholder {
  padding: 12%;
  opacity: 0.85;
}

/* Setnummer-overlay in de foto, rechtsonder. Klein, subtiel, maar
   leesbaar zodat LEGO-kopers sets direct herkennen aan hun model-
   nummer (bv. #42115 = Lamborghini Sián). Pointer-events off zodat
   hij niet interfereert met de card-click. */
.product-img-setid {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  background: rgba(23, 23, 23, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 6px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  /* Lichte backdrop-blur op browsers die het ondersteunen — laat
     de overlay door de foto schijnen zonder hem onleesbaar te maken. */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Product image background variants */
.product-img-blue    { background: var(--blue-50); }
.product-img-coral   { background: var(--brand-coral-light); }
.product-img-green   { background: var(--green-50); }
.product-img-amber   { background: var(--amber-50); }
.product-img-purple  { background: var(--purple-50); }
.product-img-teal    { background: var(--teal-50); }
.product-img-pink    { background: var(--pink-50); }
.product-img-red     { background: var(--red-50); }
.product-img-gray    { background: var(--bg-secondary); }

/* Placeholder shapes (replace with real imagery later) */
.product-shape {
  width: 130px;
  height: 100px;
  border-radius: 10px;
  position: relative;
}

.shape-blue    { background: var(--blue-500); }
.shape-coral   { background: var(--brand-coral); }
.shape-green   { background: var(--green-500); }
.shape-amber   { background: var(--amber-500); }
.shape-purple  { background: var(--purple-800); }
.shape-teal    { background: var(--teal-500); }
.shape-pink    { background: var(--pink-500); }
.shape-red     { background: var(--red-500); }
.shape-gray    { background: #B4B2A9; }

.shape-blue::before,
.shape-blue::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 14px;
  height: 14px;
  background: var(--blue-500);
  border-radius: 50%;
  border: 3px solid var(--blue-50);
}

.shape-blue::before { left: 16px; }
.shape-blue::after  { right: 16px; }

.shape-round {
  border-radius: 50%;
}

.shape-round::after {
  content: "";
  position: absolute;
  inset: 18px;
  background: var(--brand-coral-dark);
  border-radius: 50%;
}

/* ============================================
   TRUST-BAR (compacte social-proof-strip)
   ============================================ */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 0 0 20px;
  background: #FFFBEB;
  border: 1px solid #F4E4A6;
  border-radius: 10px;
  font-size: 13px;
  color: #5C4A0F;
  flex-wrap: wrap;
}

.trust-bar-stars {
  display: inline-flex;
  align-items: center;
}

.trust-bar-avg {
  font-weight: 700;
  color: #1F1F1D;
}

.trust-bar-sep {
  color: #C9B77C;
}

.trust-bar-count {
  font-weight: 500;
}

.trust-bar-link {
  color: var(--brand-coral);
  font-weight: 500;
  margin-left: auto;
  text-decoration: none;
}

.trust-bar-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .trust-bar-hide-mobile { display: none; }
  .trust-bar { justify-content: center; }
}

/* Product badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 500;
}

.badge-popular   { background: var(--brand-coral); color: #fff; }
.badge-low       { background: var(--amber-500);   color: var(--amber-900); }
.badge-new       { background: var(--purple-500);  color: #fff; }
.badge-weekend   { background: var(--teal-500);    color: #fff; }
.badge-challenge { background: var(--teal-500);    color: #fff; }
.badge-gift      { background: var(--purple-500);  color: #fff; }
.badge-top       { background: var(--brand-coral); color: #fff; }
.badge-sold      { background: #5F5E5A;            color: #fff; }

/* ============================================
   ADD-TO-CART MODAL
   ============================================ */
.atc-modal[hidden] { display: none; }

.atc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.atc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  animation: atc-fade-in 0.18s ease;
}

.atc-modal-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: atc-slide-up 0.22s ease;
}

@keyframes atc-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes atc-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.atc-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
}

.atc-modal-close:hover {
  background: #EDEBE4;
  color: var(--text-primary);
}

.atc-modal-icon {
  width: 54px;
  height: 54px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  font-weight: 600;
  color: var(--green-500);
}

.atc-modal-card h3 {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.atc-modal-product {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 4px;
}

.atc-modal-count {
  color: var(--text-tertiary);
  font-size: 12px;
  margin: 0 0 22px;
}

.atc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.atc-modal-actions .btn {
  flex: 1 1 160px;
  justify-content: center;
}

@media (max-width: 480px) {
  .atc-modal-card { padding: 28px 20px 20px; }
  .atc-modal-actions { flex-direction: column; }
  .atc-modal-actions .btn { flex: 1 1 auto; }
}

/* Favorite button (heart) — verschijnt op kaarten én in buybox */
.product-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), background var(--transition-fast);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.product-fav:hover { transform: scale(1.08); }
.product-fav.is-loading { opacity: 0.5; pointer-events: none; }

/* Mobile: tap-target 44px, visueel hetzelfde (32px vulling via pseudo).
   Voorkomt per-ongeluk-favorieten door ruime hitbox zonder visueel groter. */
@media (max-width: 620px) {
  .product-fav {
    width: 44px;
    height: 44px;
    top: 6px;
    right: 6px;
    background: transparent;
    box-shadow: none;
  }
  .product-fav::before {
    content: "";
    position: absolute;
    top: 6px; left: 6px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: -1;
  }
}

.product-fav svg {
  width: 16px;
  height: 16px;
  transition: fill var(--transition-fast), stroke var(--transition-fast);
  fill: transparent;
  stroke: var(--text-primary);
  stroke-width: 1.8;
}

.product-fav.is-favorited {
  background: var(--brand-coral-light);
}

.product-fav.is-favorited svg {
  fill: var(--brand-coral);
  stroke: var(--brand-coral);
}

/* Favorieten-teller in header-icoon (rechtsboven) */
.header-icon-badge[data-fav-count] {
  min-width: 16px;
  height: 16px;
}

/* Availability indicators */
.avail {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
}

.avail::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.avail-ok { color: var(--green-800); }
.avail-ok::before { background: var(--green-500); }
.avail-low { color: var(--amber-800); }
.avail-low::before { background: var(--amber-500); }
.avail-out { color: var(--text-secondary); }
.avail-out::before { background: var(--text-tertiary); }

/* Product body */
.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Body vult alle resterende hoogte zodat CTA onderaan stabiel
     op dezelfde lijn staat over alle kaarten in een rij. */
  flex: 1 1 auto;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

/* LEGO #-chip in de tag-rij (naast thema) — subtiel, geen eigen regel meer */
.tag.tag-model {
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  font-weight: 400;
}

/* Specs-rij onder de titel (nu alleen stukjes). */
.product-info-row {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

/* Theme tags */
.tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 500;
}

.tag-theme-blue   { color: var(--blue-800);         background: var(--blue-50); }
.tag-theme-coral  { color: var(--brand-coral-dark); background: var(--brand-coral-light); }
.tag-theme-green  { color: var(--green-800);        background: var(--green-50); }
.tag-theme-amber  { color: var(--amber-800);        background: var(--amber-50); }
.tag-theme-purple { color: var(--purple-800);       background: var(--purple-50); }
.tag-theme-teal   { color: var(--teal-800);         background: var(--teal-50); }

.tag-age {
  color: var(--text-secondary);
  background: var(--bg-secondary);
  font-weight: 400;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Reserveer vaste hoogte (2 regels × 1.3) zodat meta + footer op
     dezelfde lijn staan ook als de titel 1 of 2 regels is. Voorkomt
     dat cards ongelijk worden in een rij. */
  min-height: calc(2em * 1.3);
}

/* Meta-regel onder de titel. Subtiel grijs, één regel, één feit:
   óf stukjes, óf leeftijd-fallback, óf "LEGO-set" (laatste fallback).
   Thema staat nu alleen in de schema-meta-tag — niet meer visueel. */
.product-meta {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.3;
  min-height: 1.3em; /* layout blijft stabiel ook op lege meta */
}
.product-meta-sep {
  color: var(--text-tertiary);
  opacity: 0.7;
}
/* Laatste fallback-text ("LEGO-set") — extra zacht zodat het niet
   concurreert met kaarten die wél stukjes/leeftijd hebben. */
.product-meta-empty {
  color: var(--text-tertiary);
  font-style: italic;
}

.product-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Foot aan de onderkant van de body, ongeacht hoeveel tekst erboven. */
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F3F1EA;
}

.price-from {
  font-size: 10px;
  color: var(--text-tertiary);
}

.price {
  font-size: 15px;
  font-weight: 500;
}

.price-per {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.price-muted { color: var(--text-secondary); }

/* Waitlist button for out-of-stock */
.waitlist-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
}

/* Product grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============================================
   AVATAR
   ============================================ */
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.avatar-coral  { background: var(--brand-coral-light); color: var(--brand-coral-dark); }
.avatar-blue   { background: var(--blue-50);           color: var(--blue-800); }
.avatar-green  { background: var(--green-50);          color: var(--green-800); }
.avatar-purple { background: var(--purple-50);         color: var(--purple-800); }
.avatar-amber  { background: var(--amber-50);          color: var(--amber-800); }
.avatar-teal   { background: var(--teal-50);           color: var(--teal-800); }
.avatar-pink   { background: var(--pink-50);           color: var(--pink-900); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  min-width: 40px;
  text-align: center;
}

.page-btn.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  font-weight: 500;
}

.page-ellipsis {
  padding: 8px 4px;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ============================================
   FAQ LIST
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item {
  padding: 16px 20px;
  background: #fff;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.faq-q .plus {
  color: var(--text-tertiary);
  font-size: 18px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* Missie-blok bovenaan de footer (brand + doelen-alinea) */
.footer-mission {
  max-width: 800px;
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-mission .logo {
  color: #fff;
  margin-bottom: 14px;
}

/* Footer gebruikt logo-reversed.svg (eigen variant voor donkere bg) —
   geen CSS-filter meer nodig. Logo krijgt in de footer een 2.5x
   versie (t.o.v. het oude 54px-referentiepunt) als visueel anker. */
.footer-mission .logo-img {
  height: 135px;
}
@media (max-width: 620px) {
  .footer-mission .logo-img { height: 90px; }
}

.footer-mission p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark-muted);
  margin: 0;
}

/* Bedrijfsinformatie-kolom (rechter kolom van het grid) */
.footer-col-business address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dark-muted);
}

.footer-col-business address b {
  color: #fff;
  font-weight: 600;
}

.footer-col-business address a {
  color: var(--dark-muted);
  transition: color var(--transition-fast);
}

.footer-col-business address a:hover {
  color: #fff;
}

.footer-hours {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--dark-muted);
}

.footer-hours .footer-col-title {
  margin-bottom: 6px;
}

/* Legal-navigatie (voorwaarden, privacy, cookies, disclaimer) */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  padding: 22px 0;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  font-size: 13px;
}

.footer-legal a {
  color: var(--dark-text);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal-sep {
  color: var(--dark-border);
}

/* Bottom copyright + LEGO-disclaimer */
.footer-copy,
.footer-lego-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #888780;
  margin: 14px 0 0;
  text-align: center;
}

.footer-copy b {
  color: var(--dark-text);
  font-weight: 600;
}

.footer-lego-disclaimer {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dark-muted);
  margin-top: 14px;
  margin-bottom: 16px;
}

.footer-brand .logo { color: #fff; }

.social-row {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 30px;
  height: 30px;
  background: var(--dark-border);
  border-radius: 8px;
}

.footer-col-title {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-col a {
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 18px;
  font-size: 12px;
  color: #888780;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-bottom-links .active { color: #fff; }

/* ============================================
   RESPONSIVE — shared components
   ============================================ */
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .nav,
  .search-pill,
  .login-link-desktop {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HAMBURGER + MOBILE DRAWER
   ============================================ */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: var(--bg-secondary);
  border-radius: 9px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.is-open span:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

@media (max-width: 620px) {
  .hamburger { display: block; }
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  /* Boven cookies-banner (9999) zodat alle links tapbaar zijn */
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: mobile-nav-in 0.22s ease;
}

/* Verberg cookies-banner wanneer mobile-nav open staat — voorkomt
   dat hij onderste links afdekt op smalle schermen. */
body.mobile-nav-open #bsw-cookie-notice {
  display: none !important;
}

.mobile-nav[hidden] { display: none; }

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 14px 20px calc(40px + env(safe-area-inset-bottom, 0px));
  gap: 4px;
}

.mobile-nav-inner a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.mobile-nav-inner a:hover,
.mobile-nav-inner a:focus {
  background: var(--bg-tertiary);
  outline: none;
}

.mobile-nav-inner a.is-active {
  background: var(--text-primary);
  color: #fff;
}

/* Primaire CTA bovenaan de drawer — eerste wat klant ziet */
.mobile-nav-cta {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 14px 20px !important;
  background: var(--brand-coral) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  text-decoration: none;
}
.mobile-nav-cta:hover,
.mobile-nav-cta:focus {
  background: var(--brand-coral-dark) !important;
}

/* Hoofdnavigatie-sectie in de drawer (4 main-nav-items bij elkaar) */
.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-inner hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}

.mobile-nav-user {
  padding: 10px 14px 4px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.mobile-nav-muted {
  color: var(--text-tertiary) !important;
  font-size: 13px !important;
}

.mobile-nav-count {
  background: var(--brand-coral);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.mobile-nav-open {
  overflow: hidden;
}

/* ======================================
   Newsletter-subscribe in footer
   ====================================== */
.footer-newsletter {
  margin: 32px 0 24px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  max-width: 520px;
}
.footer-newsletter-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-newsletter-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}
.footer-newsletter-input:focus {
  outline: none;
  border-color: #D85A30;
  background: rgba(255,255,255,0.12);
}
.footer-newsletter-btn {
  background: #D85A30;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.footer-newsletter-btn:hover { background: #B94721; }
.footer-newsletter-flash {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.footer-newsletter-flash-ok {
  background: rgba(183, 245, 147, 0.15);
  color: #B8E6A0;
}
.footer-newsletter-flash-err {
  background: rgba(245, 147, 147, 0.15);
  color: #F5B0A8;
}
