/*
 * Smoelenboek en matching.
 *
 * De accentkleur en de vorm van de profielfoto komen als CSS-variabelen uit de
 * plugin-instellingen (zie Frontend\Assets). Alles is gescoped onder .koel-sb
 * zodat het thema en Elementor er niet mee botsen.
 */

.koel-sb {
  --koel-ink: #16211c;
  --koel-ink-zacht: #5a6b62;
  --koel-lijn: #dde4de;
  --koel-vlak: #fff;
  --koel-radius: 14px;
  --koel-oker: #8a6119;
  --koel-oker-zacht: #f4ebd8;

  color: var(--koel-ink);
  container-type: inline-size;
}

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

/* ---------- balk met de drie ingangen ---------- */

.koel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin: 0 0 1.75rem;
  background: var(--koel-accent-soft);
  border-radius: 999px;
}

.koel-tabs__tab {
  flex: 1 1 auto;
  text-align: center;
  padding: 0.7em 1.35em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  text-decoration: none;
  color: var(--koel-accent);
  transition: background-color .15s ease, color .15s ease;
}

.koel-tabs__tab:hover,
.koel-tabs__tab:focus-visible { background: rgb(255 255 255 / .65); }

.koel-tabs__tab.is-actief {
  background: var(--koel-accent);
  color: #fff;
}

/* ---------- filters ---------- */

.koel-filters {
  background: var(--koel-vlak);
  border: 1px solid var(--koel-lijn);
  border-radius: var(--koel-radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.koel-filters__rij {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  align-items: end;
}

.koel-veld { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }

.koel-veld__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--koel-ink-zacht);
}

.koel-veld__invoer {
  width: 100%;
  padding: 0.65em 0.8em;
  border: 1px solid var(--koel-lijn);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  line-height: 1.3;
}

.koel-veld__invoer:focus-visible {
  outline: 2px solid var(--koel-accent);
  outline-offset: 1px;
  border-color: var(--koel-accent);
}

.koel-knop {
  padding: 0.7em 1.6em;
  border: 0;
  border-radius: 999px;
  background: var(--koel-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.koel-knop:hover { filter: brightness(1.12); }
.koel-knop:focus-visible { outline: 2px solid var(--koel-accent); outline-offset: 2px; }

.koel-aanbod {
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border: 0;
  border-top: 1px solid var(--koel-lijn);
}

.koel-aanbod__titel {
  padding: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--koel-ink-zacht);
}

.koel-aanbod__lijst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem 1.25rem;
  margin-top: 0.75rem;
}

.koel-keuze {
  display: flex;
  align-items: start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
}

.koel-keuze input { margin-top: 0.25em; accent-color: var(--koel-accent); flex: 0 0 auto; }
.koel-keuze__naam { flex: 0 1 auto; }

/* Een keuze plus zijn uitleg. De uitleg schuift open onder de hele regel,
 * niet onder het i-knopje, zodat er ruimte is om te lezen. */
.koel-keuze-rij {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 0.5rem;
}

.koel-keuze-rij--groot {
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--koel-lijn);
}
.koel-keuze-rij--groot:last-of-type { border-bottom: 0; }
.koel-keuze-rij--groot .koel-keuze { font-size: 1rem; }

/* display:contents laat het knopje en het uitklapvlak losse kinderen van de
 * regel worden, zodat de uitleg over de volle breedte openschuift in plaats
 * van als smalle kolom onder het knopje. Het open/dicht-gedrag van <details>
 * blijft gewoon werken. */
.koel-uitleg { display: contents; }
.koel-uitleg > summary { list-style: none; }
.koel-uitleg > summary::-webkit-details-marker { display: none; }
.koel-uitleg > summary::marker { content: ""; }

.koel-info {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1em;
  border-radius: 50%;
  background: var(--koel-accent-soft);
  color: var(--koel-accent);
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background-color .12s ease;
}

.koel-info:hover { background: var(--koel-accent); color: #fff; }
.koel-info:focus-visible { outline: 2px solid var(--koel-accent); outline-offset: 2px; }
.koel-uitleg[open] > .koel-info { background: var(--koel-accent); color: #fff; }

/* Duwt de rest van de lijst omlaag in plaats van hem af te dekken. */
.koel-uitleg__tekst {
  flex: 1 0 100%;
  margin-top: 0.15rem;
  padding: 0.8rem 1rem;
  background: var(--koel-accent-soft);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--koel-ink);
}

.koel-filters__wissen { margin: 1rem 0 0; font-size: 0.9rem; }
.koel-filters__wissen a { color: var(--koel-ink-zacht); }

/* ---------- raster ---------- */

.koel-aantal {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--koel-ink-zacht);
}

.koel-leeg {
  padding: 2.5rem 1.5rem;
  background: var(--koel-accent-soft);
  border-radius: var(--koel-radius);
  text-align: center;
  color: var(--koel-accent);
}

.koel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.koel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  margin: 0;
  padding: 1.25rem 1rem 1.35rem;
  background: var(--koel-vlak);
  border: 1px solid var(--koel-lijn);
  border-radius: var(--koel-radius);
  text-align: center;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.koel-card:hover,
.koel-card:focus-within {
  border-color: var(--koel-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(22 33 28 / .09);
}

.koel-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* De vorm komt uit de instellingen: rond, vierkant of rechthoekig. */
.koel-card__foto {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 168px;
  aspect-ratio: var(--koel-photo-ratio);
  overflow: hidden;
  border-radius: var(--koel-photo-radius);
  background: var(--koel-accent-soft);
}

.koel-card__img,
.koel-card__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Het lege format voor wie geen toestemming gaf om de foto te tonen. */
.koel-card__initialen {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--koel-accent);
}

.koel-card__body { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }

.koel-card__naam { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.koel-card__functie { font-size: 0.85rem; color: var(--koel-ink-zacht); line-height: 1.3; }

/* ---------- statuspil ---------- */

.koel-pil {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.koel-pil.is-nu     { background: var(--koel-accent); color: #fff; }
.koel-pil.is-straks { background: var(--koel-oker-zacht); color: var(--koel-oker); }
.koel-pil.is-niet   { background: #eef1ee; color: var(--koel-ink-zacht); }

/* ---------- profielpagina ---------- */

/* Elk volledig scherm van de plugin zorgt zelf voor verticale ruimte: het
 * thema plaatst de inhoud anders strak tegen de header en de footer aan.
 * Geldt niet voor het losse instapblok, dat hoort juist compact te blijven. */
.koel-sb--scherm {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}

/* Op onze eigen pagina's staat de paginakop van het thema strak tegen de
 * gekleurde balk, met daaronder een gat tot de tabbalk. Titel en blok horen
 * één geheel te vormen, dus de ruimte gaat naar boven en het gat eronder
 * wordt kleiner. */
body.koel-plugin-pagina .page-header {
  margin: 0;
  padding-block: clamp(2rem, 5vw, 3.25rem) 0;
}

body.koel-plugin-pagina .page-header .entry-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

body.koel-plugin-pagina .koel-sb--scherm {
  padding-block-start: clamp(1.25rem, 3vw, 1.75rem);
}

/* Op de profielpagina is de naam van de professional de kop; de paginatitel
 * van het thema zou die dan dubbel tonen. */
body.single-koel_professional .page-header { display: none; }

.koel-profiel {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.koel-profiel__kaart {
  background: var(--koel-vlak);
  border: 1px solid var(--koel-lijn);
  border-radius: var(--koel-radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* Terug naar de lijst waar de bezoeker vandaan kwam. */
.koel-terug { margin: 0 0 1.25rem; font-size: 0.92rem; }

.koel-terug__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4em 0.9em 0.4em 0.7em;
  border-radius: 999px;
  background: var(--koel-accent-soft);
  color: var(--koel-accent);
  font-weight: 600;
  text-decoration: none;
}

.koel-terug__link:hover { background: var(--koel-accent); color: #fff; }
.koel-terug__link:focus-visible { outline: 2px solid var(--koel-accent); outline-offset: 2px; }
.koel-terug__pijl { font-size: 1.05em; line-height: 1; }

.koel-profiel__kop {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.koel-profiel__foto {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 180px;
  aspect-ratio: var(--koel-photo-ratio);
  overflow: hidden;
  border-radius: var(--koel-photo-radius);
  background: var(--koel-accent-soft);
}

.koel-profiel__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.koel-profiel__foto .koel-card__initialen { font-size: 2.75rem; }

.koel-profiel__naam { margin: 0.5rem 0 0.25rem; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.15; }
.koel-profiel__functie { margin: 0 0 0.5rem; color: var(--koel-ink-zacht); }
.koel-profiel__dagen,
.koel-profiel__contact { margin: 0.25rem 0; font-size: 0.92rem; }

.koel-profiel__tekst { line-height: 1.7; }
.koel-profiel__blok { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--koel-lijn); }

.koel-profiel__bloktitel {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--koel-ink-zacht);
}

.koel-labels { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }

.koel-label {
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background: var(--koel-accent-soft);
  color: var(--koel-accent);
  font-size: 0.85rem;
  line-height: 1.35;
}

@container (max-width: 560px) {
  .koel-tabs__tab { flex-basis: 100%; }
  .koel-profiel__kop { gap: 1rem; }
  .koel-profiel__foto { width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .koel-sb * { transition: none !important; }
  .koel-card__link:hover { transform: none; }
}

/* ---------- thema-correcties ----------
 * Hello Elementor onderstreept links. Binnen de kaarten en de balk is de hele
 * tegel al klikbaar, dus daar is een onderstreping alleen ruis.
 */

.koel-sb a,
.koel-sb a:hover,
.koel-sb a:focus,
.koel-tabs__tab,
.koel-card__link,
.koel-card__link:hover { text-decoration: none; }

.koel-sb .koel-card__naam,
.koel-sb .koel-card__functie,
.koel-sb .koel-pil { text-decoration: none; }

/* Wel onderstrepen waar het echt een tekstlink is. */
.koel-sb .koel-filters__wissen a,
.koel-sb .koel-profiel__contact a { text-decoration: underline; text-underline-offset: 2px; }

/* Het thema geeft h1/h2 marges mee die de kaartkop uit elkaar trekken. */
.koel-sb .koel-profiel__naam,
.koel-sb .koel-profiel__bloktitel { margin-block-start: 0; }

/* Lijsten in het thema hebben vaak een opsommingsteken en inspringing. */
.koel-sb .koel-grid,
.koel-sb .koel-labels { list-style: none; padding-inline-start: 0; }

/* ---------- stapsgewijze zoekflow ---------- */

.koel-wizardkop {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.koel-stappen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.koel-stap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--koel-ink-zacht);
  position: relative;
}

/* Het streepje tussen twee stappen. */
.koel-stap + .koel-stap::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--koel-lijn);
  margin-right: 0.25rem;
}

.koel-stap__bol {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--koel-lijn);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.koel-stap.is-actief { color: var(--koel-ink); font-weight: 600; }
.koel-stap.is-actief .koel-stap__bol { background: var(--koel-accent); }
.koel-stap.is-gedaan .koel-stap__bol { background: var(--koel-accent); }
.koel-stap.is-gedaan .koel-stap__bol:hover { filter: brightness(1.15); }

.koel-keuze-overzicht {
  border: 1px solid var(--koel-accent);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  background: var(--koel-vlak);
}

.koel-keuze-overzicht > summary {
  cursor: pointer;
  color: var(--koel-accent);
  font-weight: 600;
  list-style-position: inside;
}

.koel-keuze-overzicht dl { margin: 0.75rem 0 0.25rem; }
.koel-keuze-overzicht dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--koel-ink-zacht);
}
.koel-keuze-overzicht dd { margin: 0 0 0.6rem; }

.koel-wizard__titel { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.15; }
.koel-wizard__uitleg { margin: 0 0 1.5rem; max-width: 62ch; color: var(--koel-ink-zacht); }

.koel-wizardnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin: 1.25rem 0;
}

.koel-wizardnav__rechts { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.koel-knop--stil {
  background: var(--koel-accent-soft);
  color: var(--koel-accent);
}
.koel-knop--stil:hover { filter: brightness(.96); }

.koel-keuzeblok {
  margin: 0 0 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--koel-lijn);
  border-radius: var(--koel-radius);
  background: var(--koel-vlak);
}

.koel-keuzeblok__titel {
  padding: 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--koel-ink-zacht);
}

.koel-keuzeblok__lijst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.6rem 1.5rem;
  margin-top: 0.5rem;
}

.koel-keuzeblok__hint { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--koel-ink-zacht); }

.koel-veld--breed { max-width: 30rem; margin-bottom: 0.5rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- instapblok voor de homepage ---------- */

.koel-zoekblok {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem 1.5rem;
  background: var(--koel-vlak);
  border: 1px solid var(--koel-lijn);
  border-radius: var(--koel-radius);
}

.koel-zoekblok__veld { flex: 1 1 16rem; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.koel-zoekblok .koel-knop { flex: 0 0 auto; }

/* ---------- tagveld voor gemeenten ---------- */

.koel-tagveld {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 40rem;
}

/* Zonder JavaScript blijft dit een gewone meerkeuzelijst. */
.koel-tagveld__bron--verborgen {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* De suggestielijst hangt aan het veld zelf, niet aan het hele blok — anders
 * valt hij onder de hinttekst. */
.koel-tagveld__anker { position: relative; }

.koel-tagveld__doos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  min-height: 3.4rem;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid var(--koel-lijn);
  border-radius: 10px;
  cursor: text;
  transition: border-color .12s ease, box-shadow .12s ease;
}

/* Eén rustige focusring in plaats van een outline bovenop een rand. */
.koel-tagveld__doos:focus-within {
  border-color: var(--koel-accent);
  box-shadow: 0 0 0 3px var(--koel-accent-soft);
}

/* Het thema geeft tekstvelden een eigen rand, achtergrond en schaduw. Binnen
 * de doos moet het veld juist onzichtbaar zijn, anders krijg je een kader in
 * een kader. */
.koel-sb .koel-tagveld__doos .koel-tagveld__invoer,
.koel-sb .koel-tagveld__doos .koel-tagveld__invoer:focus {
  flex: 1 1 9rem;
  min-width: 9rem;
  margin: 0;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: none;
  font: inherit;
  color: inherit;
  line-height: 1.5;
}

.koel-sb .koel-tagveld__doos .koel-tagveld__invoer::placeholder { color: var(--koel-ink-zacht); opacity: 1; }

.koel-tags { display: contents; margin: 0; padding: 0; list-style: none; }

/* Zacht label, zoals in de oude matchingssite: rustig van kleur, met de
 * nadruk op de naam en niet op het kruisje. */
.koel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.28em 0.35em 0.28em 0.8em;
  border-radius: 999px;
  background: var(--koel-accent-soft);
  color: var(--koel-accent);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.koel-tag__weg {
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  font-size: 1em;
  line-height: 1;
  opacity: .55;
  cursor: pointer;
}
.koel-tag__weg:hover { opacity: 1; background: rgb(0 0 0 / .07); }
.koel-tag__weg:focus-visible { opacity: 1; outline: 2px solid var(--koel-accent); outline-offset: 1px; }

.koel-suggesties {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 19rem;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--koel-lijn);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgb(22 33 28 / .15);
}

.koel-suggestie {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.35;
}

.koel-suggestie:hover,
.koel-suggestie.is-actief { background: var(--koel-accent-soft); }

.koel-suggestie__groep {
  font-size: 0.78rem;
  color: var(--koel-ink-zacht);
  white-space: nowrap;
  opacity: .8;
}

.koel-suggesties__leeg { padding: 0.7rem 0.75rem; color: var(--koel-ink-zacht); font-size: 0.9rem; }

.koel-tagveld__hint { margin: 0; font-size: 0.82rem; color: var(--koel-ink-zacht); }

/* ---------- kiezen en het mandje ---------- */

.koel-kies {
  margin-top: 0.4rem;
  padding: 0.45em 1.1em;
  border: 1px solid var(--koel-accent);
  border-radius: 999px;
  background: none;
  color: var(--koel-accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease, opacity .12s ease;
}

.koel-kies:hover:not(:disabled) { background: var(--koel-accent); color: #fff; }
.koel-kies:focus-visible { outline: 2px solid var(--koel-accent); outline-offset: 2px; }
.koel-kies:disabled { opacity: .4; cursor: not-allowed; }

.koel-kies.is-gekozen { background: var(--koel-accent); color: #fff; }
.koel-kies__uit { display: none; }
.koel-kies.is-gekozen .koel-kies__aan { display: none; }
.koel-kies.is-gekozen .koel-kies__uit { display: inline; }

.koel-kies--groot { font-size: 0.95rem; padding: 0.6em 1.5em; }
.koel-profiel__kiezen { margin: 0 0 1.5rem; }

/* De knop zakt naar de onderkant, zodat kaarten met een langere naam even
 * hoog blijven als de rest. */
.koel-card .koel-kies { margin-top: auto; }

.koel-mandje {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.5rem);
  bottom: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 60;
  width: min(20rem, calc(100vw - 1.5rem));
  padding: 1rem 1.1rem 1.1rem;
  background: var(--koel-accent);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgb(22 33 28 / .3);
}

.koel-mandje__kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.koel-mandje__titel { font-weight: 700; font-size: 0.95rem; }

.koel-mandje__teller {
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: rgb(255 255 255 / .2);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.koel-mandje__lijst { margin: 0 0 0.9rem; padding: 0; list-style: none; }

.koel-mandje__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgb(255 255 255 / .16);
}
.koel-mandje__item:last-child { border-bottom: 0; }

.koel-mandje__weg {
  flex: 0 0 auto;
  width: 1.5em; height: 1.5em;
  display: grid; place-items: center;
  padding: 0;
  border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .18);
  color: #fff;
  font-size: 0.95em; line-height: 1;
  cursor: pointer;
}
.koel-mandje__weg:hover { background: rgb(255 255 255 / .35); }
.koel-mandje__weg:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.koel-mandje__knop {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: var(--koel-accent);
  text-decoration: none;
}
.koel-mandje__knop:hover { filter: brightness(.95); }

/* ---------- aanvraagpagina ---------- */

.koel-gekozen {
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: var(--koel-accent-soft);
  border-radius: var(--koel-radius);
}

.koel-gekozen__titel { margin: 0 0 1rem; font-size: 1.15rem; }

.koel-gekozen__lijst {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.koel-gekozen__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.1rem 0.6rem 0.6rem;
  background: #fff;
  border-radius: 999px;
}

.koel-gekozen__foto {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--koel-accent-soft);
}
.koel-gekozen__foto img { width: 100%; height: 100%; object-fit: cover; }
.koel-gekozen__foto .koel-card__initialen { font-size: 0.9rem; }

.koel-gekozen__naam { font-weight: 600; }
.koel-gekozen__link { font-size: 0.85rem; }
.koel-gekozen__uitleg { margin: 0; font-size: 0.95rem; }

.koel-aanvraag__formulier { max-width: 42rem; }

@media print { .koel-mandje { display: none; } }
