/* ==========================================================================
   WZM-Camga — herontwerp 2a "Licht & modulair"
   Design tokens + volledige styling. Gebaseerd op de designreferentie
   (design_handoff_camga_2a), toegepast op de WordPress-/pluginmarkup.
   ========================================================================== */

:root {
  /* Merkkleuren (uit logo) */
  --camga-blue: #3D8FD1;      /* CAMGA-blauw: merkaccenten, actieve nav, links */
  --camga-navy: #24357E;      /* navy: secundaire knoppen, footer, steunkleur */
  --camga-red: #E2231A;       /* signaalrood: primaire CTA's, "wis filters" */

  /* Neutralen (koel, licht) */
  --ink: #1B2333;             /* koppen, primaire tekst */
  --body: #5C6675;            /* lopende tekst */
  --muted: #8A93A1;           /* bijschriften, meta */
  --line: #E2E6EB;            /* borders, dividers */
  --surface: #FFFFFF;         /* kaarten, header */
  --bg: #F7F8FA;              /* paginabodem */
  --tint-blue: #E9EEF4;       /* placeholder-strepen */
  --tint-blue-2: #F2F5F9;
  --camga-green: #1E7B34;     /* ROL-badge */
  --badge-green-bg: #E2F2E4;  /* ROL-badge */
  --badge-navy-bg: #E4E9F5;   /* SLEE-badge */

  /* Typografie */
  --font-sans: 'Archivo', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Maatvoering */
  --radius-card: 14px;
  --radius-pill: 100px;
  --container: 1280px;
  --pad-x: 48px;
  --shadow-card: 0 1px 2px rgba(27, 35, 51, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--camga-blue); text-decoration: none; }
a:hover { color: var(--camga-navy); }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.container--narrow { max-width: 1000px; }

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

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  line-height: 1.2;
}
.btn--primary { background: var(--camga-red); color: #fff; }
.btn--primary:hover { background: #C51D15; color: #fff; }
.btn--navy { background: var(--camga-navy); color: #fff; font-size: 14px; padding: 12px 22px; }
.btn--navy:hover { background: #1B2960; color: #fff; }
.btn--outline { background: transparent; border: 1.5px solid var(--camga-navy); color: var(--camga-navy); font-weight: 600; }
.btn--outline:hover { background: var(--camga-navy); color: #fff; }
.btn--sm { font-size: 14px; padding: 10px 20px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.site-header__logo img { height: 56px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__cta { white-space: nowrap; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li { position: relative; }
.nav-menu li a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #3C4654;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-ancestor > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current_page_ancestor > a { color: var(--camga-blue); }

/* Dropdown (submenu) — desktop */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(27, 35, 51, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px;
  z-index: 60;
}
.nav-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px; /* hover-brug tussen link en dropdown */
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu,
.nav-menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
.nav-menu .sub-menu li a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-menu .sub-menu li a:hover { background: var(--tint-blue-2); color: var(--camga-blue); }
.nav-menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 7px;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* Productzoeker (Camga Artikelen-plugin) in het menu */
.site-header .camga-search__toggle {
  color: #3C4654;
  background: transparent;
  border: 0;
}
.site-header .camga-search__toggle:hover,
.site-header .camga-search.is-open .camga-search__toggle {
  color: var(--camga-blue);
  background: var(--tint-blue-2);
  border-radius: 50%;
}
.site-header .camga-search__panel {
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(27, 35, 51, 0.12);
  z-index: 70;
}
.site-header .camga-search__input:focus {
  border-color: var(--camga-blue);
  box-shadow: 0 0 0 3px rgba(61, 143, 209, 0.15);
}
.site-header .camga-search__name { color: var(--camga-navy); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--camga-navy); margin: 5px 0; transition: transform 0.15s ease, opacity 0.15s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Tricolore motief (uit logo)
   -------------------------------------------------------------------------- */
.tricolor { display: flex; flex-direction: column; gap: 4px; }
.tricolor span { display: block; height: 6px; }
.tricolor span:first-child { background: var(--camga-red); }
.tricolor span:last-child { background: var(--camga-navy); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero { background: var(--surface); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.hero__content {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--camga-blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -1px;
  margin: 0;
}
.hero__lead {
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
  max-width: 440px;
  margin: 22px 0 32px;
}
.hero__actions { display: flex; gap: 12px; }

.hero__stats { display: flex; gap: 40px; margin-top: 48px; }
.stat__value { font-size: 26px; font-weight: 800; color: var(--camga-navy); }
.stat__label { font-size: 13px; color: var(--muted); }

.hero__photo--image { background-size: cover; background-position: center; }

/* Foto-placeholder — vervang door echte productfotografie */
.placeholder {
  background: repeating-linear-gradient(45deg, var(--tint-blue), var(--tint-blue) 14px, var(--tint-blue-2) 14px, var(--tint-blue-2) 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder__label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  padding: 8px 14px;
  border: 1px dashed #C4CCD6;
}

/* --------------------------------------------------------------------------
   Secties & categorieën (home)
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); }
.section__title { font-size: 30px; font-weight: 800; margin: 0 0 28px; }
.section__subtitle { font-size: 20px; font-weight: 700; color: var(--body); margin: 40px 0 20px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.category-grid--soort {
  grid-template-columns: repeat(2, 1fr);
  max-width: 360px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 18px;
  text-align: center;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.category-card:hover { border-color: var(--camga-blue); transform: translateY(-2px); color: var(--ink); }
.category-card__name { font-weight: 700; font-size: 15px; }
.category-card__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin: 0 auto 14px;
  background-size: cover;
  background-position: center;
  background-color: #fff;
}

/* Buig-iconen: pure CSS, verwijzen naar het buigen van buizen */
.icon-bend { width: 44px; height: 44px; margin: 0 auto 14px; border-left: 8px solid var(--camga-blue); border-bottom: 8px solid var(--camga-blue); border-bottom-left-radius: 30px; }
.icon-bend--navy { border-color: var(--camga-navy); }
.icon-rol { width: 44px; height: 44px; margin: 0 auto 14px; border: 8px solid var(--camga-red); border-radius: 50%; }
.icon-slee { width: 44px; height: 28px; margin: 8px auto 14px; border: 8px solid var(--camga-navy); border-radius: var(--radius-pill); }

.home-extra-content { margin-top: 40px; }

/* --------------------------------------------------------------------------
   Verkooppunten-CTA (home)
   -------------------------------------------------------------------------- */
.dealer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dealer-cta__title { margin-bottom: 0; }
.dealer-cta p { color: var(--body); font-size: 16px; line-height: 1.6; margin: 14px 0 24px; }
.dealer-cta .placeholder { border-radius: var(--radius-card); height: 240px; }
.dealer-cta__map { border-radius: var(--radius-card); height: 280px; overflow: hidden; background: var(--tint-blue-2); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--camga-navy); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; padding: 36px var(--pad-x); }
.site-footer__logo { background: var(--surface); border-radius: 10px; padding: 10px 14px; }
.site-footer__logo img { height: 40px; width: auto; display: block; }
.site-footer__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-footer__nav .footer-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { color: #C7D0E6; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__phone { color: #fff !important; font-weight: 700; }
.site-footer__bottom { padding-bottom: 28px; }
.site-footer__bottom p { margin: 0; font-size: 12px; color: #8A97C4; }
.site-footer__address { margin-left: 8px; }

/* --------------------------------------------------------------------------
   Paginakoppen
   -------------------------------------------------------------------------- */
.page-title { font-size: 40px; font-weight: 900; margin: 0 0 20px; }
.page-subtitle { color: var(--body); font-size: 16px; margin: 8px 0 28px; }
.page-subtitle--contact { font-size: 17px; margin-bottom: 40px; }
.page-intro { color: var(--body); margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Catalogus — filterchips (aangemaakt door main.js op basis van de
   pluginfilters) + herstyling van de artikel-grids van het
   Camga Artikelen-plugin.
   -------------------------------------------------------------------------- */
.camga-filterbar.is-enhanced { display: none; }

.filter-bar { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.filter-chip {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.15s ease;
}
.filter-chip:hover { border-color: var(--camga-blue); }
.filter-chip.is-active { background: var(--camga-navy); border-color: var(--camga-navy); color: #fff; }
.filter-clear { color: var(--camga-red); font-size: 14px; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 10px 4px; font-family: var(--font-sans); }

/* Meerkeuze-filterdropdowns (opgebouwd door main.js) */
.filter-dropdown { position: relative; }
.filter-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.15s ease;
}
.filter-dropdown__toggle:hover { border-color: var(--camga-blue); }
.filter-dropdown__toggle.is-active { background: var(--camga-navy); border-color: var(--camga-navy); color: #fff; }
.filter-dropdown__caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.filter-dropdown__toggle[aria-expanded="true"] .filter-dropdown__caret { transform: rotate(-135deg) translateY(-2px); }
.filter-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  max-height: 300px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(27, 35, 51, 0.12);
  padding: 8px;
  z-index: 40;
}
.filter-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.filter-dropdown__option:hover { background: var(--tint-blue-2); }
.filter-dropdown__option input { accent-color: var(--camga-navy); width: 16px; height: 16px; margin: 0; cursor: pointer; }

/* Grid: 3 kolommen (2 op tablet, 1 op mobiel), ongeacht de shortcode-kolommen */
.camga-artikelen .camga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Artikel-kaart */
.camga-artikelen .camga-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.camga-artikelen .camga-card:hover { border-color: var(--camga-blue); transform: translateY(-2px); }

.camga-card__meta { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.camga-card__sku { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.badge--rol { background: var(--badge-green-bg); color: var(--camga-green); }
.badge--slee { background: var(--badge-navy-bg); color: var(--camga-navy); }

.camga-artikelen .camga-card__media {
  height: 110px;
  border-radius: 10px;
  background: var(--tint-blue-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.camga-artikelen .camga-card__zoom { background: none; border: 0; padding: 0; cursor: zoom-in; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.camga-artikelen .camga-card__img { max-height: 110px; width: auto; object-fit: contain; }
.camga-card__photo-placeholder { height: 110px; border-radius: 10px; }

.camga-artikelen .camga-card__body { display: flex; flex-direction: column; gap: 12px; padding: 0; flex: 1; }
.camga-artikelen .camga-card__title { font-weight: 800; font-size: 18px; margin: 0; color: var(--ink); }

.camga-artikelen .camga-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 13px;
  color: var(--body);
  margin: 0;
}
.camga-artikelen .camga-card__specs dt { margin-right: 6px; font-weight: 400; }
.camga-artikelen .camga-card__specs dd { margin: 0 16px 0 0; font-weight: 700; color: var(--ink); }

.camga-artikelen .camga-card__spec { font-size: 13px; color: var(--body); }
.camga-artikelen .camga-card__spec-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.camga-artikelen .camga-card__spec p { margin: 0; }

.camga-artikelen .camga-card__pdfs { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
/* Volledige reset van de knop-styling uit de plugin-CSS: in dit ontwerp is
   de download een tekstlink (zoals "Bekijk product →" in de designreferentie). */
.camga-artikelen .camga-card__pdf {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--camga-blue);
  font-weight: 700;
  font-size: 14px;
}
.camga-artikelen .camga-card__pdf::after { content: ' ↓'; }
.camga-artikelen .camga-card__pdf:hover { background: none; color: var(--camga-navy); }

.camga-artikelen .camga-noresults,
.camga-artikelen.camga-empty p { color: var(--body); font-size: 15px; }

/* Lightbox: de plugin-CSS zet display:flex zonder [hidden]-uitzondering,
   waardoor sluiten alleen de afbeelding leegmaakt en de backdrop blijft
   staan. Het hidden-attribuut moet winnen. */
.camga-lightbox[hidden] { display: none; }

/* Tegelgrid-shortcode ([artikelen_menu]) — kaartstijl, mocht die elders
   nog worden gebruikt */
.camga-artikelen .camga-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.camga-artikelen .camga-tile:hover { border-color: var(--camga-blue); transform: translateY(-2px); }
.camga-artikelen .camga-menu-group__title { font-size: 22px; font-weight: 800; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.contact-card__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--camga-blue); text-transform: uppercase; }
.contact-card__value { font-size: 22px; font-weight: 800; margin-top: 10px; }
.contact-card__value a { color: inherit; }
.contact-card__value--address { font-size: 18px; line-height: 1.4; font-weight: 800; }
.contact-card__note { font-size: 13px; color: var(--muted); margin-top: 6px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
}
.contact-form h2 { font-size: 22px; font-weight: 800; margin: 0 0 18px; }

/* Gravity Forms — velden in de stijl van het ontwerp (lichtgrijs,
   blauwe focus, rode pill-verstuurknop) */
.gform_wrapper .gform_heading { margin-bottom: 10px; }
.gform_wrapper .gfield_label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.gform_wrapper .gfield_required { color: var(--camga-red); }
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper textarea,
.gform_wrapper select {
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
  width: 100%;
}
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder { color: var(--muted); }
.gform_wrapper input:not([type="submit"]):focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  outline: none;
  border-color: var(--camga-blue);
  background: var(--surface);
  box-shadow: none;
}
.gform_wrapper textarea { min-height: 120px; resize: vertical; }
.gform_wrapper .gform_footer { margin-top: 8px; padding: 0; }
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_page_footer input.button {
  background: var(--camga-red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button:hover,
.gform_wrapper .gform_page_footer input.button:hover { background: #C51D15; }

/* GF-themes (Orbital/Foundation) laden ná de thema-CSS en winnen anders
   op specificiteit — de verstuurknop expliciet naar de rode pill dwingen. */
body .gform_wrapper input[type="submit"].gform_button,
body .gform_wrapper button.gform_button {
  background: var(--camga-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  padding: 15px 28px !important;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
body .gform_wrapper input[type="submit"].gform_button:hover,
body .gform_wrapper button.gform_button:hover { background: #C51D15 !important; }
body .gform-theme.gform-theme--orbital {
  --gf-ctrl-btn-bg-color-primary: var(--camga-red);
  --gf-ctrl-btn-bg-color-primary-hover: #C51D15;
  --gf-ctrl-btn-border-color-primary: var(--camga-red);
  --gf-ctrl-btn-border-color-primary-hover: #C51D15;
  --gf-ctrl-btn-radius: var(--radius-pill);
  --gf-ctrl-border-color-focus: var(--camga-blue);
  --gf-color-primary: var(--camga-navy);
}
.gform_wrapper .gform_validation_errors,
.gform_wrapper .validation_error {
  border-radius: 10px;
}
.gform_confirmation_message { font-size: 16px; color: var(--ink); }

/* --------------------------------------------------------------------------
   Verkooppunten (store locator)
   -------------------------------------------------------------------------- */
.store-locator { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; margin-top: 28px; }
.store-map {
  height: 540px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: 1;
  background: var(--tint-blue-2);
}
.store-search { margin-bottom: 12px; }
.store-filter-input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
  width: 100%;
}
.store-filter-input::placeholder { color: var(--muted); }
.store-filter-input:focus { outline: none; border-color: var(--camga-blue); }
.store-notice { font-size: 13px; color: var(--body); background: var(--badge-navy-bg); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
.store-notice[hidden] { display: none; }
.store-cards { display: flex; flex-direction: column; gap: 12px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.store-card:hover { border-color: var(--camga-blue); transform: translateY(-2px); }
.store-card.is-active { border-color: var(--camga-navy); box-shadow: 0 0 0 1px var(--camga-navy) inset; }
.store-card__name { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.store-card__address { font-style: normal; font-size: 14px; color: var(--body); line-height: 1.5; }
.store-card p { margin: 6px 0 0; font-size: 14px; }
.store-card__hours { color: var(--muted); font-size: 13px; white-space: pre-line; }
.store-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; color: var(--body); }

/* --------------------------------------------------------------------------
   Algemene content, blog, 404
   -------------------------------------------------------------------------- */
.site-content > .container { padding-top: 48px; padding-bottom: 64px; }

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
}

.entry-content { color: var(--body); line-height: 1.65; }
.entry-content h2 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 32px 0 12px; }
.entry-content h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 24px 0 10px; }
.entry-content p { margin: 0 0 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px; padding-left: 22px; }
.entry-content img { border-radius: 10px; }
.entry-content a { font-weight: 600; }

.notice { border-radius: 10px; padding: 14px 18px; }
.notice--warning { background: #FFF6E5; border: 1px solid #F1D8A6; color: #8A6D2B; }

/* Video's */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.video-card:hover { border-color: var(--camga-blue); transform: translateY(-2px); }
.video-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--tint-blue-2);
  cursor: pointer;
  overflow: hidden;
}
.video-card__thumb--static { cursor: default; }
.video-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__placeholder { position: absolute; inset: 0; }
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--camga-red);
  box-shadow: 0 6px 18px rgba(27, 35, 51, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-card__play::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-card__thumb:hover .video-card__play,
.video-card__thumb:focus-visible .video-card__play { transform: translate(-50%, -50%) scale(1.08); background: #C51D15; }
.video-card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.video-card__title { font-size: 17px; font-weight: 800; margin: 0; }
.video-card__description { font-size: 14px; color: var(--body); margin: 0; }

/* Afspeel-modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 32px;
}
.video-modal[hidden] { display: none; }
.video-modal__stage {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.video-modal__stage iframe,
.video-modal__stage video { width: 100%; height: 100%; display: block; border: 0; }
.video-modal__close {
  position: absolute;
  top: 18px; right: 24px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.25); }

/* Bloglijst */
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item:last-child { border-bottom: 0; }
.post-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--camga-blue); }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.post-excerpt { color: var(--body); }

/* Paginatie */
.pagination { margin-top: 32px; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  min-width: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  margin: 0 3px;
}
.pagination .current { background: var(--camga-navy); border-color: var(--camga-navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--camga-blue); color: var(--camga-blue); }

/* 404 */
.error-404 { text-align: center; padding: 64px 36px; }
.error-404 p { color: var(--body); }
.error-404__btn { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .hero h1 { font-size: 44px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid--soort { grid-template-columns: repeat(2, 1fr); max-width: 300px; }
  .camga-artikelen .camga-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .store-locator { grid-template-columns: 1fr; }
  .store-map { height: 380px; }
  .store-cards { max-height: none; overflow: visible; }
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }

  /* Header → hamburger */
  .site-header__inner { height: 70px; }
  .site-header__logo img { height: 42px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--pad-x) 24px;
    gap: 16px;
    z-index: 50;
  }
  .site-nav.is-open { display: flex; }

  .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-menu li a { padding: 10px 0; font-size: 16px; }
  .nav-menu .sub-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  /* Op touch blijven :hover/:focus-within 'plakken' na een tik; alleen
     .is-open (via JS) mag hier de zichtbaarheid bepalen. */
  .nav-menu li:hover > .sub-menu,
  .nav-menu li:focus-within > .sub-menu { display: none; }
  .nav-menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
  .site-nav__cta { text-align: center; }
  .site-header .camga-search__panel { right: auto; left: 0; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 40px 0 32px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
  .hero__photo { min-height: 180px; margin: 0 0 24px; border-radius: var(--radius-card); }
  .hero__stats { gap: 24px; margin-top: 32px; flex-wrap: wrap; }

  .section { padding: 40px 0; }
  .section__title { font-size: 22px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid--soort { grid-template-columns: 1fr 1fr; max-width: none; }
  .camga-artikelen .camga-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .video-modal { padding: 16px; }
  .dealer-cta { grid-template-columns: 1fr; gap: 24px; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .site-footer__inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .site-footer__nav { flex-wrap: wrap; gap: 16px; }
  .site-footer__nav .footer-menu { flex-wrap: wrap; gap: 16px; }

  .page-title { font-size: 30px; }
  .content-card { padding: 24px; }
  .site-content > .container { padding-top: 32px; padding-bottom: 40px; }
}
