/* ============================================================
   Travel by Minet — Connector — search.css
   Zoekresultaten /zoeken/. Hergebruikt de design-tokens van het
   theme (--green, --lime, --cream, ...) zodat plugin en theme er
   visueel als één geheel uitzien.
   ============================================================ */

/* ───── Page-frame ───── */

.tbm-search-page {
  background: #FFFFFF;
  color: var(--ink, #1A1A1A);
  font-family: var(--font-sans, 'DM Sans', sans-serif);
  min-height: 60vh;
}

/* ───── Header met zoekbalk ───── */

.tbm-search-header {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 56px);
}
.tbm-search-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.tbm-search-header__kicker {
  font-family: var(--font-script, 'Caveat', cursive);
  color: var(--lime, #CAC61E);
  font-size: 26px;
  display: inline-block;
  transform: rotate(-2deg);
}
.tbm-search-header__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 6px 0 28px;
  color: var(--cream, #FAF8F1);
}
.tbm-search-header__title + .tbm-search-header__sub {
  margin-top: -22px;
}
.tbm-search-header__sub {
  margin: 0 0 28px;
  font-size: 16px;
  color: rgba(250, 248, 241, 0.82);
  max-width: 640px;
}
/* Vergrendelde filtergroep (categorie dwingt het vervoer af). */
.tbm-filter-group.is-locked {
  opacity: 0.6;
  pointer-events: none;
}

.tbm-search-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  background: var(--cream, #FAF8F1);
  color: var(--ink, #1A1A1A);
  padding: 18px 20px;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(14, 42, 36, 0.18);
}
@media (max-width: 1024px) {
  .tbm-search-bar { grid-template-columns: 1fr 1fr 1fr; }
  .tbm-search-bar__submit { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tbm-search-bar { grid-template-columns: 1fr 1fr; }
}

.tbm-search-bar__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tbm-search-bar__field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
}
.tbm-search-bar__field input,
.tbm-search-bar__field select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(21, 62, 53, 0.18);
  padding: 6px 0 8px;
  font-size: 15px;
  color: var(--ink, #1A1A1A);
  border-radius: 0;
  font-family: inherit;
}
.tbm-search-bar__field input:focus,
.tbm-search-bar__field select:focus {
  outline: 0;
  border-bottom-color: var(--green, #153E35);
}
.tbm-search-bar__submit {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  border: 0;
  padding: 0 28px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .25s ease;
}
.tbm-search-bar__submit:hover { background: #0E2A24; }

/* Autocomplete (dezelfde stijl als op homepage) */
.tbm-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.12);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(21, 62, 53, 0.10);
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 30;
}
.tbm-autocomplete.is-open { display: block; }
.tbm-autocomplete__item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid rgba(21, 62, 53, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.tbm-autocomplete__item:last-child { border-bottom: 0; }
.tbm-autocomplete__item:hover,
.tbm-autocomplete__item.is-active { background: #EAEFEC; }
.tbm-autocomplete__item .meta { color: #999; font-size: 12px; }

/* ───── Layout: zijbalk + grid ───── */

.tbm-search-layout {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .tbm-search-layout { grid-template-columns: 1fr; }
}

/* ───── Filter-toggle (mobiel) ───── */

.tbm-filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  border: 0;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}
.tbm-filter-toggle__count {
  background: var(--lime, #CAC61E);
  color: var(--green, #153E35);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.tbm-filter-toggle__count[data-empty="1"] { display: none; }
@media (max-width: 900px) {
  .tbm-filter-toggle { display: flex; }
}

/* ───── Filters-zijbalk ───── */

.tbm-filters {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  padding: 24px 22px 16px;
  /*
   * Sticky zijbalk met eigen scroll: de filterkolom blijft op zijn plek
   * bij scrollen door de aanbiedingen, en als de filters samen langer
   * zijn dan de viewport krijgt de zijbalk een interne scrollbar.
   * Zo kunnen filters en resultaten onafhankelijk gescrolld worden.
   */
  position: sticky;
  top: calc(var(--nav-height, 78px) + 16px);
  max-height: calc(100vh - var(--nav-height, 78px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 62, 53, 0.25) transparent;
}
.tbm-filters::-webkit-scrollbar { width: 8px; }
.tbm-filters::-webkit-scrollbar-track { background: transparent; }
.tbm-filters::-webkit-scrollbar-thumb {
  background: rgba(21, 62, 53, 0.18);
  border-radius: 999px;
}
.tbm-filters::-webkit-scrollbar-thumb:hover { background: rgba(21, 62, 53, 0.32); }
.tbm-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(21, 62, 53, 0.08);
}
.tbm-filters__head h2 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: var(--green, #153E35);
}
.tbm-filters__close {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--green, #153E35);
}
@media (max-width: 900px) {
  .tbm-filters {
    position: fixed;
    inset: 0;
    z-index: 80;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(0.2, 0.7, 0.2, 1);
    /* Op mobiel is de drawer fullscreen — daar is interne scroll wél fijn,
     * anders krijgen lange filterlijsten geen ruimte. */
    max-height: 100vh;
    overflow-y: auto;
  }
  .tbm-filters.is-open { transform: translateX(0); }
  .tbm-filters__close { display: block; }
}

.tbm-filter-group {
  border-bottom: 1px solid rgba(21, 62, 53, 0.08);
  padding: 12px 0;
}
.tbm-filter-group:last-of-type { border-bottom: 0; }
.tbm-filter-group summary {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink, #1A1A1A);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.tbm-filter-group summary::-webkit-details-marker { display: none; }
.tbm-filter-group summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  font-weight: 400;
  color: #555;
}
.tbm-filter-group[open] summary::after { content: "−"; }

.tbm-filter-group__body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tbm-filter-group__body--chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.tbm-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #555;
}
.tbm-filter-field input[type="date"],
.tbm-filter-field input[type="range"] {
  width: 100%;
  font-family: inherit;
  border: 1px solid rgba(21, 62, 53, 0.15);
  padding: 6px 8px;
  border-radius: 3px;
  font-size: 14px;
  color: var(--ink, #1A1A1A);
  background: #fff;
}
.tbm-filter-field--check {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink, #1A1A1A);
  cursor: pointer;
}

.tbm-chip {
  display: inline-flex;
  cursor: pointer;
  position: relative;
}
.tbm-chip input { position: absolute; opacity: 0; }
.tbm-chip span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid rgba(21, 62, 53, 0.2);
  border-radius: 999px;
  color: #555;
  transition: all .2s ease;
  background: #fff;
}
.tbm-chip:hover span { border-color: var(--green, #153E35); }
.tbm-filter-loading { font-size: 13px; color: var(--ink-mute, #777); }
.tbm-chip input:checked + span {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  border-color: var(--green, #153E35);
}

.tbm-filters__actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(21, 62, 53, 0.08);
}
.tbm-filters__actions .tbm-btn { flex: 1; justify-content: center; }

/* Op desktop is auto-apply actief; "Toepassen"-knop is dan overbodig.
   Op mobiel blijft hij staan zodat de drawer ergens kan sluiten. */
@media (min-width: 901px) {
  #tbmFiltersApply { display: none; }
}

/* ───── Prijs-range filter ───── */
.tbm-price-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: end;
}
.tbm-price-range > label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  position: relative;
  font-size: 12px;
  color: #777;
}
.tbm-price-range > label > span:first-child {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2px;
}
.tbm-price-range__prefix {
  color: var(--green, #153E35);
  font-weight: 500;
  padding-right: 4px;
  align-self: center;
}
.tbm-price-range input[type="number"] {
  width: 100%;
  border: 1px solid rgba(21, 62, 53, 0.15);
  padding: 6px 8px;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--ink, #1A1A1A);
  -moz-appearance: textfield;
}
.tbm-price-range input[type="number"]::-webkit-outer-spin-button,
.tbm-price-range input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tbm-price-range__sep {
  align-self: end;
  padding-bottom: 6px;
  color: #999;
}

/* ───── Dual-handle prijs-slider ───── */
.tbm-price-slider {
  position: relative;
  height: 28px;
  margin: 18px 4px 6px;
}
.tbm-price-slider__track,
.tbm-price-slider__range {
  position: absolute;
  top: 12px;
  height: 4px;
  border-radius: 2px;
}
.tbm-price-slider__track {
  left: 0;
  right: 0;
  background: rgba(21, 62, 53, 0.15);
}
.tbm-price-slider__range {
  background: var(--green, #153E35);
}
.tbm-price-slider input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.tbm-price-slider input[type="range"]::-webkit-slider-runnable-track,
.tbm-price-slider input[type="range"]::-moz-range-track {
  background: transparent;
  border: 0;
  height: 4px;
}
.tbm-price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  background: var(--green, #153E35);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(14, 42, 36, 0.20);
  transition: transform .15s ease;
}
.tbm-price-slider input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.tbm-price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 16px;
  height: 16px;
  background: var(--green, #153E35);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(14, 42, 36, 0.20);
}
.tbm-price-slider input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--lime, #CAC61E);
  outline-offset: 2px;
}
.tbm-price-slider__hint {
  font-size: 11px;
  color: #999;
  margin: 4px 0 0;
  line-height: 1.4;
}

/* ───── Generieke knoppen voor de plugin ───── */

.tbm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
}
.tbm-btn--primary { background: var(--green, #153E35); color: var(--cream, #FAF8F1); }
.tbm-btn--primary:hover { background: #0E2A24; color: var(--cream, #FAF8F1); }
.tbm-btn--ghost { background: transparent; color: var(--green, #153E35); border-color: var(--green, #153E35); }
.tbm-btn--ghost:hover { background: var(--green, #153E35); color: var(--cream, #FAF8F1); }
.tbm-btn--whatsapp { background: #25D366; color: #fff; }
.tbm-btn--whatsapp:hover { background: #1FBA59; color: #fff; }
.tbm-btn--lg { padding: 14px 28px; font-size: 15px; }

/* ───── Resultaten-bar ───── */

.tbm-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(21, 62, 53, 0.10);
}
.tbm-results__count {
  font-size: 14px;
  color: #555;
}
.tbm-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #777;
}
.tbm-sort select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(21, 62, 53, 0.2);
  padding: 6px 28px 6px 10px;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink, #1A1A1A);
  background-image: linear-gradient(45deg, transparent 50%, var(--green, #153E35) 50%), linear-gradient(135deg, var(--green, #153E35) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* ───── Resultaten-titel + lijst ─────
 * Lijst-layout (1 kaart per rij). Op smalle viewports valt de kaart
 * terug op een verticale stack zodat foto/body/side onder elkaar staan.
 */
.tbm-results__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--green, #153E35);
  margin: 0 0 14px;
  line-height: 1.1;
}

.tbm-results__list {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}

.tbm-result {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease, transform .25s ease, border-color .2s ease;
}
.tbm-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(21, 62, 53, 0.12);
  border-color: rgba(21, 62, 53, 0.16);
  color: inherit;
}

/* ── Gallery-rij (boven) ──
 * Op desktop: 1 grote hero links (≈58%) + 2×2 raster met thumbnails rechts.
 * Op mobiel: alleen hero zichtbaar (thumbs verbergen we onder 640px).
 *
 * Belangrijk: rij-hoogte staat expliciet in `grid-template-rows`, en alle
 * kinderen krijgen `min-height: 0` + expliciete `height: 100%`. Zonder die
 * combinatie kan een afbeelding met een afwijkende intrinsieke ratio het
 * 2×2-thumbnail-raster uit elkaar duwen (linksonder werd dan langwerpig). */
.tbm-result__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: clamp(220px, 28vw, 280px);
  gap: 4px;
  background: #EAEFEC;
}
@media (max-width: 640px) {
  .tbm-result__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: clamp(220px, 60vw, 280px);
  }
}
.tbm-result__gallery > * { min-width: 0; min-height: 0; }

.tbm-result__hero {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.tbm-result__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.tbm-result:hover .tbm-result__hero img { transform: scale(1.03); }

.tbm-result__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 100%;
  overflow: hidden;
}
@media (max-width: 640px) {
  .tbm-result__thumbs { display: none; }
}
.tbm-result__thumbs > * { min-width: 0; min-height: 0; }
.tbm-result__thumb {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  display: block;
  background: #EAEFEC;
}

/* Tags-overlay (Onze TIP, Kleinschalig, ...) */
.tbm-result__tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: calc(100% - 24px);
  z-index: 2;
}
.tbm-result__tag {
  background: rgba(255, 255, 255, 0.96);
  color: var(--green, #153E35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(14, 42, 36, 0.16);
}
.tbm-result__tag--tip {
  background: var(--lime, #CAC61E);
  color: var(--green, #153E35);
}

/* ── Onderste rij: body links, side rechts ── */
.tbm-result__lower {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 220px);
}
@media (max-width: 900px) {
  .tbm-result__lower { grid-template-columns: 1fr; }
}

/* ── Body-kolom ── */
.tbm-result__body {
  padding: 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.tbm-result__head { display: flex; flex-direction: column; gap: 4px; }
.tbm-result__name {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--green, #153E35);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.tbm-result__stars {
  color: var(--lime, #CAC61E);
  font-size: 14px;
  letter-spacing: 1px;
}
.tbm-result__location {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.tbm-result__usps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tbm-result__usps li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
}
.tbm-result__usps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CAC61E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: 14px 14px;
}

.tbm-result__meta {
  list-style: none;
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(21, 62, 53, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.tbm-result__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}
.tbm-result__meta-icon {
  display: inline-flex;
  color: var(--green, #153E35);
}

/* ── Side-kolom: rating + prijs + actions ── */
.tbm-result__side {
  border-left: 1px solid rgba(21, 62, 53, 0.08);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  text-align: right;
  background: #fff;
}
@media (max-width: 900px) {
  .tbm-result__side {
    border-left: 0;
    border-top: 1px solid rgba(21, 62, 53, 0.08);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
  }
}

.tbm-result__rating {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--lime-soft, #F8F7DC);
  border: 1px solid rgba(202, 198, 30, 0.35);
  border-radius: 4px;
  padding: 8px 12px;
  align-self: flex-end;
  min-width: 90px;
  text-align: center;
}
@media (max-width: 900px) {
  .tbm-result__rating { align-self: auto; }
}
.tbm-result__rating-grade {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.04em;
}
.tbm-result__rating-score {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--green, #153E35);
  line-height: 1;
}
.tbm-result__rating-count {
  font-size: 11px;
  color: #888;
  align-self: flex-end;
  text-align: right;
}
@media (max-width: 900px) {
  .tbm-result__rating-count { align-self: auto; }
}

/* Minet's Keuze-badge op de zoekkaart (linksboven op de hero-foto). */
.tbm-result__keuze {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--lime, #CAC61E);
  color: var(--green-deep, #0E2A24);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.tbm-result__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tbm-result__price-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tbm-result__price-amount {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--green, #153E35);
  line-height: 1;
}
.tbm-result__price-pp {
  font-size: 12px;
  color: #777;
}

/* Actions-rij: hart-icoon naast BEKIJK-knop */
.tbm-result__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .tbm-result__actions { width: 100%; }
}

.tbm-result__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.18);
  border-radius: 4px;
  color: #888;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
  flex-shrink: 0;
  padding: 0;
}
.tbm-result__heart:hover { color: var(--green, #153E35); border-color: var(--lime, #CAC61E); background: var(--lime-soft, #F8F7DC); }
.tbm-result__heart.is-fav {
  color: var(--green, #153E35);
  background: var(--lime, #CAC61E);
  border-color: var(--lime, #CAC61E);
}
.tbm-result__heart.is-fav .tbm-result__heart-icon svg { fill: currentColor; }
.tbm-result__heart-icon { display: inline-flex; line-height: 0; }

.tbm-result__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime, #CAC61E);
  color: var(--green, #153E35);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background .2s ease, color .2s ease;
  flex: 1;
  min-width: 0;
}
.tbm-result:hover .tbm-result__cta {
  background: var(--lime-bright, #DCD92F);
  color: var(--green-deep, #0E2A24);
}

/* Skeleton tijdens laden — gebruikt dezelfde flex-kolom structuur als de echte kaart. */
.tbm-result--skeleton { display: flex; flex-direction: column; }
.tbm-result--skeleton .tbm-result__media,
.tbm-result--skeleton .tbm-result__name-bar,
.tbm-result--skeleton .tbm-result__location-bar,
.tbm-result--skeleton .tbm-result__price-bar {
  background: linear-gradient(90deg, #EAEFEC 0%, #F5F4EE 50%, #EAEFEC 100%);
  background-size: 200% 100%;
  animation: tbm-skel 1.4s linear infinite;
}
.tbm-result--skeleton .tbm-result__media       { height: 240px; }
.tbm-result--skeleton .tbm-result__body         { padding: 18px 22px; }
.tbm-result--skeleton .tbm-result__name-bar     { height: 22px; width: 70%; border-radius: 3px; }
.tbm-result--skeleton .tbm-result__location-bar { height: 14px; width: 50%; border-radius: 3px; margin-top: 8px; }
.tbm-result--skeleton .tbm-result__price-bar    { height: 28px; width: 40%; border-radius: 3px; margin-top: 18px; }
@keyframes tbm-skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ───── Paginering ───── */

.tbm-pagination {
  margin-top: clamp(28px, 3vw, 48px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.tbm-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(21, 62, 53, 0.16);
  background: #fff;
  color: var(--green, #153E35);
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all .2s ease;
}
.tbm-pagination button:hover { border-color: var(--green, #153E35); }
.tbm-pagination button[aria-current="page"] {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  border-color: var(--green, #153E35);
  font-weight: 600;
}
.tbm-pagination button[disabled] { opacity: .4; cursor: not-allowed; }
.tbm-pagination .tbm-pagination__sep {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  color: #999;
}

/* ───── Lege staat ───── */

.tbm-results__empty {
  text-align: center;
  padding: clamp(40px, 5vw, 80px) 24px;
}
.tbm-results__empty h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--green, #153E35);
  margin: 0 0 8px;
}
.tbm-results__empty p {
  color: #555;
  max-width: 420px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

/* ───── Ask-Minet strip onderaan ───── */

.tbm-ask-minet {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  padding-block: clamp(20px, 2.4vw, 34px);
}
.tbm-ask-minet__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding-inline: 20px;
}
.tbm-ask-minet__caveat {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 23px;
  color: var(--lime, #CAC61E);
  margin: 0 0 4px;
  transform: rotate(-2deg);
  display: inline-block;
}
.tbm-ask-minet__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 400;
  color: var(--cream, #FAF8F1);   /* overschrijft de algemene kop-kleur (was groen op groen = onzichtbaar) */
  margin: 0 0 16px;
  line-height: 1.2;
}
.tbm-ask-minet__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Ghost-knop leesbaar op de groene band (licht i.p.v. groen-op-groen). */
.tbm-ask-minet__actions .tbm-btn--ghost {
  color: var(--cream, #FAF8F1);
  border-color: rgba(250, 248, 241, .55);
  background: transparent;
}
.tbm-ask-minet__actions .tbm-btn--ghost:hover {
  background: rgba(250, 248, 241, .12);
  color: #fff;
  border-color: #fff;
}

/* ───── In-list Ask-Minet kaart (tussen elke 5 resultaten) ───── */

.tbm-result-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lime, #CAC61E);
  color: var(--green, #153E35);
  padding: 24px 28px;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 12px;
}
.tbm-result-promo__text {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  margin: 0;
  max-width: 620px;
  line-height: 1.25;
}

/* ───── Actieve-filter-chips (boven de resultatenlijst) ───── */

.tbm-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tbm-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.18);
  font-size: 13px;
  color: var(--green, #153E35);
  font-family: inherit;
  cursor: default;
}
.tbm-active-chip__label { line-height: 1.2; }
.tbm-active-chip__remove {
  border: 0;
  background: none;
  color: #777;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tbm-active-chip__remove:hover { color: var(--green, #153E35); }
.tbm-active-chip--static {
  background: var(--green-soft, #EFF4F0);
  border-color: rgba(21, 62, 53, 0.10);
  color: var(--green, #153E35);
  font-weight: 500;
}
.tbm-active-chip--reset {
  background: transparent;
  border: 0;
  color: var(--green, #153E35);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 4px;
}

/* ───── Sidebar — uitbreidingen voor nieuwe filtergroepen ───── */

/* Statische groep zonder summary (Reisgezelschap) */
.tbm-filter-group--static {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tbm-filter-group__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink, #1A1A1A);
}
.tbm-filter-group__readout {
  font-size: 14px;
  color: var(--green, #153E35);
  margin: 0;
  font-weight: 500;
}
.tbm-filter-group__link {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--green, #153E35);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-top: 2px;
}
.tbm-filter-group__link:hover { color: var(--green-deep, #0E2A24); }

/* Inline reisgezelschap-editor (volwassenen / kinderen / kamers) */
.tbm-travelers-editor {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--sand, #EDE9DD);
  border-radius: 10px;
}
.tbm-travelers-editor__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--green, #153E35);
  font-weight: 500;
}
.tbm-travelers-editor__row select {
  flex: 0 0 84px;
  padding: 7px 10px;
  border: 1px solid rgba(21, 62, 53, .22);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--green, #153E35);
}
.tbm-travelers-editor .tbm-btn { margin-top: 4px; }
.tbm-btn--sm { padding: 8px 16px; font-size: 14px; }

/* Toon-meer-knop binnen filter-group (lange Landen-lijst) */
.tbm-filter-group__expand {
  display: block;
  margin-top: 8px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--green, #153E35);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

/* Radio-rij (Reistype, Sterren, Beoordeling) */
.tbm-filter-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink, #1A1A1A);
  cursor: pointer;
}
.tbm-filter-radio input[type="radio"] {
  accent-color: var(--green, #153E35);
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}

/* Checkbox-rij voor verticale lijsten (Reisduur, Landen, Verzorging, ...) */
.tbm-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink, #1A1A1A);
  cursor: pointer;
}
.tbm-filter-check input[type="checkbox"] {
  accent-color: var(--green, #153E35);
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
}

/* Bij collapsed-list (Landen): items na limiet verbergen tot toon-meer aan staat */
.tbm-filter-group__body [data-extra="1"] { display: none; }
.tbm-filter-group__body.is-expanded [data-extra="1"] { display: flex; }

/* Subkop binnen luchthaven-groep ("Populaire luchthavens", "Nederland", ...) */
.tbm-filter-subhead {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #888;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(21, 62, 53, 0.10);
}
.tbm-filter-subhead:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Zoekveldje binnen een filter (bv. luchthavens) */
.tbm-filter-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 8px 11px;
  border: 1px solid rgba(21, 62, 53, 0.20);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--green, #153E35);
  background: #fff;
}
.tbm-filter-search:focus {
  outline: none;
  border-color: var(--green, #153E35);
  box-shadow: 0 0 0 3px rgba(21, 62, 53, 0.10);
}
/* "Alle luchthavens <land>"-kop met master-checkbox */
.tbm-filter-check--all {
  font-weight: 700;
  color: var(--green, #153E35);
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(21, 62, 53, 0.12);
}

/* Melding boven de resultaten: reisduur automatisch losgelaten (nachten-flex). */
.tbm-search-notice {
  background: #FCF8E1;
  border: 1px solid #E8D77A;
  border-left: 3px solid var(--lime, #CAC61E);
  color: #4A4416;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 0 16px;
}
