/* ============================================================
   Travel by Minet — Connector — detail.css
   Accommodatie-detailpagina /reis/{id}/. Editorial layout met
   asymmetrische galerij, sticky boekkaart, hoofdkleuren-strakke
   typografie. Hergebruikt design-tokens uit het theme.
   ============================================================ */

.tbm-detail {
  background: var(--cream, #FAF8F1);
  color: var(--ink, #1A1A1A);
  font-family: var(--font-sans, 'DM Sans', sans-serif);
}

.tbm-detail .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* ───── HERO-GALERIJ ───── */

.tbm-detail__hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 4vw, 56px) 0;
}
@media (max-width: 720px) {
  .tbm-detail__hero { grid-template-columns: 1fr; }
}

.tbm-detail__hero-main {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--sand, #EDE9DD);
  overflow: hidden;
  border-radius: 6px;
}
.tbm-detail__hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tbm-detail__hero-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(14, 42, 36, 0.9);
  color: var(--cream, #FAF8F1);
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s ease;
}
.tbm-detail__hero-button:hover { background: var(--green-deep, #0E2A24); }
.tbm-detail__hero-button-count {
  background: var(--lime, #CAC61E);
  color: var(--green-deep, #0E2A24);
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.tbm-detail__hero-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 4 / 5.5;
}
@media (max-width: 720px) {
  .tbm-detail__hero-thumbs {
    grid-template-rows: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    aspect-ratio: auto;
    height: 100px;
    scroll-snap-type: x mandatory;
  }
}
.tbm-detail__hero-thumb {
  position: relative;
  background: var(--sand, #EDE9DD);
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  border: 0;
  padding: 0;
  scroll-snap-align: start;
}
.tbm-detail__hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.tbm-detail__hero-thumb:hover img { transform: scale(1.04); }

/* ───── INFO-STRIP ───── */

.tbm-detail__intro {
  padding-block: clamp(28px, 3vw, 40px) clamp(20px, 2vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(16px, 2vw, 32px);
  border-bottom: 1px solid rgba(21, 62, 53, 0.10);
}
@media (max-width: 760px) {
  .tbm-detail__intro { grid-template-columns: 1fr; }
}

.tbm-detail__intro-main { display: grid; gap: 6px; }
.tbm-detail__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--green, #153E35);
  margin: 0;
}
.tbm-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.tbm-detail__stars {
  color: var(--lime, #CAC61E);
  letter-spacing: 2px;
  font-size: 16px;
}
.tbm-detail__location { font-size: 14px; color: #555; }

/* ── Reviewscore-badge (detailpagina) ── */
.tbm-detail__review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.tbm-detail__review-score {
  background: var(--green, #153E35);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 7px 7px 7px 0;
}
.tbm-detail__review-grade { font-weight: 600; color: var(--green, #153E35); }
.tbm-detail__review-count { color: #777; }

/* ── Minet's Keuze-badge ── */
.tbm-keuze-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime, #CAC61E);
  color: var(--green-deep, #0E2A24);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.tbm-keuze-badge--detail { margin-bottom: 6px; }
/* `display:inline-flex` hierboven overschreef het [hidden]-attribuut (gelijke
   specificiteit). Hierdoor verscheen de badge op ÉLKE accommodatiepagina i.p.v.
   alleen bij een echte Minet's Keuze. Deze regel herstelt het verbergen. */
.tbm-keuze-badge[hidden] { display: none; }

/* ── Uitleg-icoontje bij operator-toeslagen in de kassabon ── */
.tbm-cost-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--sand, #EDE9DD);
  color: var(--green, #153E35);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  transition: background .15s;
}
.tbm-cost-info:hover,
.tbm-cost-info:focus { background: var(--lime, #CAC61E); outline: none; }
.tbm-detail__keuze-reason {
  margin: 8px 0 0;
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 19px;
  font-style: italic;
  color: var(--green, #153E35);
  max-width: 60ch;
}
.tbm-detail__keuze-reason span {
  font-style: normal;
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

.tbm-detail__quicknav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tbm-detail__quicknav a {
  font-size: 13px;
  color: var(--green, #153E35);
  padding: 6px 12px;
  border: 1px solid rgba(21, 62, 53, 0.20);
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s ease;
}
.tbm-detail__quicknav a:hover { background: var(--green, #153E35); color: var(--cream, #FAF8F1); border-color: var(--green, #153E35); }

/* ───── HOOFDLAYOUT ───── */

.tbm-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 3.5vw, 64px);
  padding-block: clamp(40px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 980px) {
  .tbm-detail__layout { grid-template-columns: 1fr; }
}

.tbm-detail__content { display: grid; gap: clamp(40px, 4vw, 72px); min-width: 0; }

/* min-width:0 is essentieel: zonder dit groeit een grid-cel mee met brede
   inhoud (zoals de scrollbare prijsstrook) i.p.v. die binnen de kaart te houden. */
.tbm-detail__section { display: grid; gap: 12px; min-width: 0; }
.tbm-detail__section-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 40px);
  color: var(--green, #153E35);
  margin: 0 0 8px;
  line-height: 1.1;
}

.tbm-detail__intro-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft, #4A4A4A);
  max-width: 70ch;
}

/* ───── Sectie-blokken (faciliteiten, ligging, etc.) ───── */

.tbm-detail__sections {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.tbm-detail__feature-card {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.08);
  border-radius: 6px;
  padding: clamp(20px, 2vw, 28px);
}
.tbm-detail__feature-card h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--green, #153E35);
  margin: 0 0 12px;
}
.tbm-detail__feature-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft, #4A4A4A);
  font-size: 15px;
  line-height: 1.65;
}
.tbm-detail__feature-card li { margin-bottom: 4px; }
.tbm-detail__feature-card li i { color: var(--ink-mute, #777); font-style: normal; }

/* ───── Kamers ───── */

.tbm-detail__rooms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.tbm-detail__room {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.08);
  border-radius: 6px;
  padding: 22px 24px;
  display: grid;
  gap: 8px;
}
.tbm-detail__room h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--green, #153E35);
  margin: 0;
}
.tbm-detail__room ul {
  font-size: 14px;
  color: var(--ink-soft, #4A4A4A);
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

/* ───── Tip van Minet ───── */

.tbm-detail__tip {
  background: var(--green-soft, #EAEFEC);
  padding: clamp(28px, 3vw, 44px);
  border-radius: 8px;
}
.tbm-detail__tip-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 12px 0 18px;
}
@media (max-width: 540px) { .tbm-detail__tip-row { grid-template-columns: 1fr; } }
.tbm-detail__tip-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 60% 30%;
}
.tbm-detail__tip-quote {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--green, #153E35);
  margin: 0 0 6px;
}
.tbm-detail__tip-sign {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 22px;
  color: var(--green, #153E35);
  margin: 0;
}

/* ───── Locatie ───── */

.tbm-detail__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sand, #EDE9DD);
  border: 1px solid rgba(21, 62, 53, 0.10);
}
.tbm-detail__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tbm-detail__map-note { font-size: 13px; color: var(--ink-mute, #777); margin: 6px 0 0; }

/* ───── Ask-Minet ───── */

.tbm-detail__ask {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  padding: clamp(28px, 3vw, 48px);
  border-radius: 8px;
  text-align: center;
}
.tbm-detail__ask .tbm-detail__section-title { color: var(--cream, #FAF8F1); margin: 6px 0 18px; }
.tbm-detail__ask-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───── BOEKKAART (sticky) ───── */

.tbm-detail__sidebar {
  position: sticky;
  top: calc(var(--nav-height, 78px) + 20px);
  display: grid;
  gap: 16px;
}
@media (max-width: 980px) { .tbm-detail__sidebar { position: static; } }

.tbm-bookcard {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  padding: clamp(20px, 2vw, 28px);
  display: grid;
  gap: 14px;
}
.tbm-bookcard__price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(21, 62, 53, 0.15);
}
.tbm-bookcard__price-from {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute, #777);
}
.tbm-bookcard__price {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--green, #153E35);
  line-height: 1;
}
.tbm-bookcard__price-pp { font-size: 12px; color: var(--ink-mute, #777); }

.tbm-bookcard__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tbm-bookcard__field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute, #777);
}
.tbm-bookcard__field input,
.tbm-bookcard__field select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.15);
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink, #1A1A1A);
}
.tbm-bookcard__field select {
  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;
  padding-right: 28px;
}
.tbm-bookcard__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tbm-bookcard__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.tbm-bookcard__childages {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tbm-bookcard__childhint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: #6b6b6b;
}
.tbm-bookcard__childage label { font-size: 12px; }
@media (max-width: 520px) {
  .tbm-bookcard__row--3 { grid-template-columns: 1fr 1fr; }
  .tbm-bookcard__childages { grid-template-columns: 1fr; }
}

/* ── Kamerverdeling-preview in de boekkaart (Kamer 1 / Kamer 2 …) ── */
.tbm-bookcard__extrarooms {
  margin-top: 12px;
  border: 1px solid #e4e1d6;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfaf6;
}
.tbm-bookcard__roomhint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6b6b6b;
}
.tbm-bookcard__roomline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid #ece9df;
  font-size: 14px;
}
.tbm-bookcard__roomline:first-of-type { border-top: 0; }
.tbm-bookcard__roomline strong { color: #153E35; }
.tbm-bookcard__roomline span { color: #555; }
.tbm-bookcard__submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}
.tbm-bookcard__note {
  font-size: 12px;
  color: var(--ink-mute, #777);
  margin: 0;
  text-align: center;
}
.tbm-bookcard__caveat {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 22px;
  color: var(--green, #153E35);
  margin: 0 0 8px;
  text-align: center;
}
.tbm-bookcard--secondary {
  text-align: center;
  background: var(--sand, #EDE9DD);
}
.tbm-bookcard--secondary .btn { width: 100%; justify-content: center; }

/* ───── Beschikbaarheidsresultaten ───── */

.tbm-bookcard__results { display: grid; gap: 8px; }
.tbm-availability {
  background: var(--green-soft, #EAEFEC);
  border-radius: 4px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green, #153E35);
}
.tbm-availability__title {
  font-weight: 500;
}
.tbm-availability__price {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 18px;
  font-weight: 500;
}
.tbm-availability__sub {
  font-size: 11px;
  color: var(--ink-mute, #777);
  grid-column: 1 / -1;
  margin-top: -2px;
}
.tbm-availability--alert {
  background: rgba(255, 152, 0, 0.10);
  color: #b25400;
  font-weight: 500;
}
.tbm-availability__error {
  background: rgba(244, 67, 54, 0.08);
  color: #b3261e;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
}

/* ───── LIGHTBOX ───── */

.tbm-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 36, 0.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
}
.tbm-lightbox.is-open { display: flex; }
.tbm-lightbox__figure {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: grid;
  gap: 8px;
  text-align: center;
}
.tbm-lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}
.tbm-lightbox__caption {
  color: rgba(250, 248, 241, 0.7);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.tbm-lightbox__close,
.tbm-lightbox__nav {
  position: absolute;
  background: transparent;
  color: var(--cream, #FAF8F1);
  border: 0;
  font-size: 36px;
  line-height: 1;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s ease;
}
.tbm-lightbox__close:hover,
.tbm-lightbox__nav:hover { opacity: 0.7; }
.tbm-lightbox__close { top: 16px; right: 24px; font-size: 32px; }
.tbm-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.tbm-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 48px; }
@media (max-width: 540px) {
  .tbm-lightbox__nav--prev,
  .tbm-lightbox__nav--next { font-size: 32px; }
}

/* ───── PRIJSMATRIX ───── */

.tbm-detail__matrix-lead {
  font-size: 14px;
  color: var(--ink-mute, #777);
  margin: 0 0 18px;
}

/* Notice die getoond wordt wanneer de matrix automatisch is verschoven naar
 * de eerstvolgende beschikbare vertrekdatum (smart fallback). */
.tbm-matrix__notice {
  background: #FCF8E1;
  border: 1px solid #E8D77A;
  border-left: 3px solid #CAC61E;
  color: #4A4416;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 0 0 16px;
}

/* Gericht datum-antwoord (datumflexibiliteit). */
.tbm-matrix__answer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 0 0 16px;
  border: 1px solid transparent;
}
.tbm-matrix__answer-text { margin: 0; flex: 1 1 260px; }
.tbm-matrix__answer--ok {
  background: #EDF6EE;
  border-color: #BFE0C4;
  border-left: 3px solid #2E7D46;
  color: #1F4A2C;
}
.tbm-matrix__answer--alt {
  background: #FCF8E1;
  border-color: #E8D77A;
  border-left: 3px solid #CAC61E;
  color: #4A4416;
}
.tbm-matrix__answer-btn {
  flex: 0 0 auto;
  background: var(--green, #153E35);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}
.tbm-matrix__answer-btn:hover { background: var(--green-deep, #0E2A24); }

.tbm-matrix__chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;     /* vaste balkbreedte → balken rekken niet uit */
  gap: 6px;
  align-items: end;
  height: 200px;
  padding: 16px 10px 0;
  background: var(--cream, #FAF8F1);
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  margin-bottom: 28px;
  position: relative;
  overflow-x: auto;            /* veel vertrekdata → horizontaal scrollen */
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 62, 53, 0.30) transparent;
}
/* Duidelijk zichtbare scrollbalk zodat je ziet dat je naar latere dagen kunt scrollen. */
.tbm-matrix__chart::-webkit-scrollbar { height: 9px; }
.tbm-matrix__chart::-webkit-scrollbar-track { background: rgba(21, 62, 53, 0.06); border-radius: 6px; }
.tbm-matrix__chart::-webkit-scrollbar-thumb { background: rgba(21, 62, 53, 0.30); border-radius: 6px; }
.tbm-matrix__chart::-webkit-scrollbar-thumb:hover { background: rgba(21, 62, 53, 0.45); }
@media (max-width: 720px) {
  .tbm-matrix__chart { height: 160px; }
}
@media (max-width: 480px) {
  .tbm-matrix__chart { gap: 4px; padding: 12px 6px 0; grid-auto-columns: 54px; }
}

/* Datumnavigatie: pijltjes links/rechts van de prijstabel. */
.tbm-matrix__chart-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 28px;
  min-width: 0;                /* laat de strook binnen de kaart scrollen i.p.v. uitrekken */
}
.tbm-matrix__chart-row .tbm-matrix__chart {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
.tbm-matrix__nav {
  flex: 0 0 auto;
  width: 42px;
  border: 1px solid rgba(21, 62, 53, 0.15);
  background: #fff;
  border-radius: 6px;
  color: #153E35;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tbm-matrix__nav:hover:not(:disabled) {
  background: #153E35;
  color: #fff;
  border-color: #153E35;
}
.tbm-matrix__nav:disabled {
  opacity: .35;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .tbm-matrix__chart-row { gap: 6px; }
  .tbm-matrix__nav { width: 34px; font-size: 22px; }
}

.tbm-matrix__bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0 2px 36px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink, #1A1A1A);
}

.tbm-matrix__bar-fill {
  position: relative;
  width: 100%;
  background: rgba(21, 62, 53, 0.18);
  border-radius: 3px 3px 0 0;
  transition: background .25s ease;
  min-height: 6px;
}
.tbm-matrix__bar:hover .tbm-matrix__bar-fill { background: rgba(21, 62, 53, 0.30); }

.tbm-matrix__bar.is-active .tbm-matrix__bar-fill {
  background: var(--lime, #CAC61E);
}
.tbm-matrix__bar.is-empty .tbm-matrix__bar-fill {
  background: rgba(21, 62, 53, 0.06);
  min-height: 4px;
}

.tbm-matrix__bar-price {
  position: absolute;
  bottom: 100%;                 /* net boven de top van de balk */
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green, #153E35);
  background: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(21, 62, 53, 0.12);
}

.tbm-matrix__bar-day {
  position: absolute;
  bottom: 14px;
  font-size: 11px;
  color: var(--ink-mute, #777);
  text-align: center;
  text-transform: lowercase;
}
.tbm-matrix__bar-date {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--green, #153E35);
}
.tbm-matrix__bar.is-active .tbm-matrix__bar-day,
.tbm-matrix__bar.is-active .tbm-matrix__bar-date {
  color: var(--green-deep, #0E2A24);
  font-weight: 700;
}

/* Reisdetails (heen-/terugvlucht + kamertypes) onder de bar-chart */
.tbm-matrix__day-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 4px 0 24px;
}
@media (max-width: 720px) {
  .tbm-matrix__day-details { grid-template-columns: 1fr; }
}

/* Prominente echte totaalprijs voor de geselecteerde dag (volle breedte). */
.tbm-day-total {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #153E35;
  border-radius: 6px;
  color: #fff;
}
.tbm-day-total__label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Laad-animatie: "De actuele prijs wordt opgehaald" ── */
.tbm-day-total--loading {
  justify-content: center;
  background-image: linear-gradient(90deg, #153E35 0%, #1d5446 50%, #153E35 100%);
  background-size: 200% 100%;
  animation: tbm-price-shimmer 1.6s linear infinite;
}
.tbm-day-total--loading .tbm-day-total__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}
.tbm-day-total__plane {
  display: inline-block;
  animation: tbm-plane-fly 1.4s ease-in-out infinite;
}
.tbm-day-total__dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 2px;
}
.tbm-day-total__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime, #CAC61E);
  display: inline-block;
  animation: tbm-dot-bounce 1.2s ease-in-out infinite;
}
.tbm-day-total__dots i:nth-child(2) { animation-delay: 0.2s; }
.tbm-day-total__dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes tbm-price-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes tbm-plane-fly { 0%,100% { transform: translateX(-2px); } 50% { transform: translateX(3px) translateY(-2px); } }
@keyframes tbm-dot-bounce { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tbm-day-total--loading, .tbm-day-total__plane, .tbm-day-total__dots i { animation: none; }
}
.tbm-day-total__amounts {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tbm-day-total__amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.tbm-day-total__pp {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.tbm-day-card {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  padding: 16px 18px;
}
.tbm-day-card__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 10px;
}
.tbm-day-card__leg {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px dashed rgba(21, 62, 53, 0.10);
}
.tbm-day-card__leg:first-of-type { border-top: 0; padding-top: 0; }
.tbm-day-card__leg-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #777;
}
.tbm-day-card__leg-route {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #153E35;
}
.tbm-day-card__leg-sub {
  font-size: 12px;
  color: #4A4A4A;
}
.tbm-day-card__rooms {
  display: grid;
  gap: 6px;
}
.tbm-day-card__room {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: #4A4A4A;
  border-top: 1px dashed rgba(21, 62, 53, 0.10);
}
.tbm-day-card__room:first-of-type { border-top: 0; }
.tbm-day-card__room strong {
  color: #153E35;
  font-weight: 500;
}

/* Kamertypes-blok op volle breedte onder de twee vluchtblokken. */
.tbm-day-card--full { grid-column: 1 / -1; }
.tbm-day-card__rooms--grid {
  grid-template-columns: 1fr 1fr;
  /* Rij-voor-rij vullen: kamer 1 → linksboven (A), kamer 2 → rechtsboven (C),
     kamer 3 → links daaronder (B), enz. Bij 2 kamers staan ze dus naast
     elkaar i.p.v. onder elkaar. */
  grid-auto-flow: row;
  column-gap: 32px;
  row-gap: 0;
}
.tbm-day-card__rooms--grid .tbm-day-card__room { padding: 9px 0; }
.tbm-day-card__rooms--grid .tbm-day-card__room:nth-child(-n+2) { border-top: 0; }
@media (max-width: 720px) {
  .tbm-day-card__rooms--grid { grid-template-columns: 1fr; }
  .tbm-day-card__rooms--grid .tbm-day-card__room:nth-child(2) {
    border-top: 1px dashed rgba(21, 62, 53, 0.10);
  }
}
.tbm-day-card__loading,
.tbm-day-card__empty {
  font-size: 13px;
  color: #777;
  font-style: italic;
}
.tbm-day-card__note {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(21, 62, 53, 0.10);
  font-size: 12px;
  color: #153E35;
  font-style: italic;
}
/* Bus/trein: "vervoer inbegrepen"-tekst in de dag-detailkaart. */
.tbm-day-card__included {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #153E35;
}

.tbm-matrix__packages-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
}
.tbm-matrix__packages-head h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0;
  color: var(--green, #153E35);
}
.tbm-matrix__packages-head h3 span {
  font-style: italic;
  font-weight: 400;
  color: var(--lime, #CAC61E);
}
.tbm-matrix__count {
  font-size: 13px;
  color: var(--ink-mute, #777);
}

.tbm-matrix__packages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tbm-matrix__package {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  padding: 14px 18px;
  text-align: left;
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: #1A1A1A;
  cursor: pointer;
  transition: all .25s ease;
  outline: 0;
}
.tbm-matrix__package:hover,
.tbm-matrix__package:focus-visible {
  border-color: #153E35;
  box-shadow: 0 4px 12px rgba(21, 62, 53, 0.08);
}
@media (max-width: 720px) {
  .tbm-matrix__package {
    grid-template-columns: 60px 1fr;
    grid-template-areas: "logo info" "flight flight" "price price" "cta cta";
    row-gap: 8px;
  }
  .tbm-matrix__package > .tbm-matrix__package-logo   { grid-area: logo; }
  .tbm-matrix__package > .tbm-matrix__package-info   { grid-area: info; }
  .tbm-matrix__package > .tbm-matrix__package-flight { grid-area: flight; }
  .tbm-matrix__package > .tbm-matrix__package-price  { grid-area: price; text-align: left; }
  .tbm-matrix__package > .tbm-matrix__package-cta    { grid-area: cta; width: 100%; justify-content: center; }
}

/* Vluchtdetails (heen + terug) onder de meta-regel */
.tbm-matrix__package-flight {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(21, 62, 53, 0.10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) {
  .tbm-matrix__package-flight { grid-template-columns: 1fr; }
}
.tbm-matrix__flight-leg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #4A4A4A;
}
.tbm-matrix__flight-leg-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #777;
}
.tbm-matrix__flight-leg-route {
  font-weight: 600;
  color: #153E35;
}
.tbm-matrix__flight-leg-carrier {
  color: #777;
  font-size: 11px;
}
.tbm-matrix__own-transport {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 8px 12px;
  background: #EAEFEC;
  border-radius: 4px;
  font-size: 12px;
  color: #4A4A4A;
  font-style: italic;
}

.tbm-matrix__package-logo {
  width: 80px;
  height: 48px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #4A4A4A;
  text-align: center;
  padding: 4px 6px;
  line-height: 1.1;
  overflow: hidden;
}
.tbm-matrix__package-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.tbm-matrix__package-logo span {
  display: block;
  white-space: pre-line;
}
.tbm-matrix__package-info {
  display: grid;
  gap: 2px;
}
.tbm-matrix__package-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--green, #153E35);
}
.tbm-matrix__package-meta {
  font-size: 12px;
  color: var(--ink-mute, #777);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tbm-matrix__package-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: rgba(21, 62, 53, 0.30);
}

.tbm-matrix__package-price {
  text-align: right;
}
.tbm-matrix__package-price-amount {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--green, #153E35);
  line-height: 1;
}
.tbm-matrix__package-price-suffix {
  font-size: 11px;
  color: var(--ink-mute, #777);
  letter-spacing: 0.04em;
}

.tbm-matrix__package-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
  border: 0;
  padding: 9px 16px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s ease;
}
.tbm-matrix__package-cta:hover { background: var(--green-deep, #0E2A24); }

/* Niet-passend pakket (geen kamer voor dit gezelschap): uitgegrijsd + niet klikbaar. */
.tbm-matrix__package--unavailable {
  opacity: .6;
  filter: grayscale(.5);
  cursor: not-allowed;
  pointer-events: none;
}
.tbm-matrix__package-cta--unavailable {
  background: transparent;
  color: #9a3b3b;
  border: 1px solid #e3c2c2;
  font-weight: 600;
  cursor: not-allowed;
}
.tbm-matrix__package-cta--unavailable:hover { background: transparent; }

.tbm-matrix__loading {
  text-align: center;
  padding: 24px;
  color: var(--ink-mute, #777);
  font-size: 13px;
}
.tbm-matrix__empty {
  text-align: center;
  padding: 32px 16px;
  background: var(--green-soft, #EAEFEC);
  border-radius: 6px;
  color: var(--ink-soft, #4A4A4A);
}
.tbm-matrix__empty strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green, #153E35);
}

/* ───── BOEKWIZARD-MODAL ───── */

.tbm-wizard {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 36, 0.55);
  z-index: 110;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  overflow-y: auto;
}
.tbm-wizard.is-open { display: flex; }

.tbm-wizard__panel {
  width: 100%;
  max-width: 1040px;
  background: var(--cream, #FAF8F1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(14, 42, 36, 0.30);
}
@media (max-width: 540px) {
  .tbm-wizard { padding: 0; align-items: stretch; }
  .tbm-wizard__panel { max-width: none; max-height: none; min-height: 100vh; border-radius: 0; }
}

.tbm-wizard__head {
  position: relative;
  padding: 20px 28px 14px;
  border-bottom: 1px solid rgba(21, 62, 53, 0.10);
}
.tbm-wizard__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--green, #153E35);
  cursor: pointer;
}
.tbm-wizard__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--green, #153E35);
}

.tbm-wizard__steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px 14px;
  font-size: 12.5px;
  color: var(--ink-mute, #777);
}
.tbm-wizard__steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tbm-wizard__steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(21, 62, 53, 0.12);
  color: var(--ink-soft, #4A4A4A);
  font-weight: 600;
  font-size: 12px;
}
.tbm-wizard__steps li.is-active {
  color: var(--green, #153E35);
  font-weight: 500;
}
.tbm-wizard__steps li.is-active > span {
  background: var(--green, #153E35);
  color: var(--cream, #FAF8F1);
}
.tbm-wizard__steps li.is-done > span {
  background: var(--lime, #CAC61E);
  color: var(--green-deep, #0E2A24);
}

/* ── 2-koloms wizard-layout: stappen links, meereizende kassabon rechts ── */
.tbm-wizard__main {
  display: flex;
  flex: 1;
  min-height: 0;
}
.tbm-wizard__body {
  padding: 22px 28px;
  overflow-y: auto;
  flex: 1;
  min-width: 0;
}
.tbm-wizard__step { display: none; }
.tbm-wizard__step:not([hidden]) { display: block; }

/* ── Meereizende kassabon ── */
.tbm-wizard__bill {
  width: 312px;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 22px 22px 28px;
  border-left: 1px solid rgba(21, 62, 53, 0.10);
  background: #F2EFE3;
}
.tbm-wizard__bill[hidden] { display: none; }
.tbm-bill__card {
  position: sticky;
  top: 0;
}
.tbm-bill__title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  color: var(--green, #153E35);
  margin-bottom: 10px;
}
.tbm-bill__trip {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(21, 62, 53, 0.12);
}
.tbm-bill__hotel { font-weight: 700; font-size: 14px; color: var(--green-deep, #0E2A24); line-height: 1.3; }
.tbm-bill__trip-sub { font-size: 12.5px; color: #6A6A6A; margin-top: 3px; }
.tbm-bill__rows { display: flex; flex-direction: column; gap: 2px; }
.tbm-bill__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #4A4A4A;
  padding: 4px 0;
}
.tbm-bill__row-l { flex: 1; }
.tbm-bill__row-v { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbm-bill__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-top: 2px solid rgba(21, 62, 53, 0.15);
  margin-top: 8px;
  padding-top: 10px;
}
.tbm-bill__total-l { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-size: 19px; color: var(--green, #153E35); }
.tbm-bill__total-v {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--green, #153E35);
  white-space: nowrap;
}
.tbm-bill__pp { text-align: right; font-size: 12px; color: #777; margin-top: 2px; }
.tbm-bill__sub { font-size: 13px; color: #6A6A6A; margin: 8px 0 0; }
.tbm-bill__updating { font-size: 12px; color: #8A7A1E; margin: 0 0 8px; font-style: italic; }
.tbm-bill__atloc {
  margin-top: 14px;
  padding: 10px 12px;
  background: #FBF6D9;
  border: 1px solid rgba(202, 198, 30, 0.4);
  border-radius: 6px;
}
.tbm-bill__atloc-h { font-weight: 700; font-size: 12.5px; color: var(--green-deep, #0E2A24); margin-bottom: 4px; }
.tbm-bill__note { font-size: 11.5px; color: #888; line-height: 1.4; margin: 14px 0 0; }

/* Mobiele inklapbare kassabon: standaard een smalle balk met het totaal, tik om
 * uit te klappen. Zo dekt de bon het boekformulier niet meer af. (Op desktop
 * staat de bon gewoon als kolom ernaast; deze kop is daar verborgen.) */
.tbm-bill__mobilehead { display: none; }
@media (max-width: 760px) {
  .tbm-wizard__main { flex-direction: column; }
  .tbm-wizard__bill {
    width: auto;
    flex-shrink: 0;
    overflow: visible;
    border-left: 0;
    border-top: 1px solid rgba(21, 62, 53, 0.12);
    padding: 0;
    background: #F2EFE3;
  }
  .tbm-bill__card { position: static; }

  .tbm-bill__mobilehead {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 22px;
    background: #F2EFE3;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }
  .tbm-bill__mobilehead-l { font-weight: 700; color: var(--green, #153E35); font-size: 14px; }
  .tbm-bill__mobilehead-v { margin-left: auto; font-weight: 700; color: var(--green, #153E35); font-size: 16px; font-variant-numeric: tabular-nums; }
  .tbm-bill__mobilehead-chev { color: var(--green, #153E35); font-size: 13px; transition: transform .25s ease; }

  /* Ingeklapt: alleen de balk. Uitgeklapt: het volledige overzicht met eigen scroll. */
  .tbm-wizard__bill .tbm-bill__card { display: none; }
  .tbm-wizard__bill.is-expanded .tbm-bill__card {
    display: block;
    max-height: 48vh;
    overflow-y: auto;
    padding: 2px 22px 20px;
  }
  .tbm-wizard__bill.is-expanded .tbm-bill__mobilehead-chev { transform: rotate(180deg); }
}
.tbm-wizard__lead {
  font-size: 14px;
  color: var(--ink-soft, #4A4A4A);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Uniforme kaarten in de boekwizard — zelfde rustige look als de overzichtspagina (stap 5). */
.tbm-wizard__card {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.tbm-wizard__card:last-child { margin-bottom: 0; }
.tbm-wizard__card-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #153E35;
  margin: 0 0 12px;
}
.tbm-wizard__card-note {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin: -4px 0 14px;
}

/* ── Lijn-iconen (vervangen de emoji) + premiumere kaart-look ── */
.tbm-ico { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.tbm-has-ico { display: flex; align-items: center; gap: 10px; }
/* Grote koppen: icoon in een zacht-groen rond badge-vlak. */
.tbm-ov__h.tbm-has-ico .tbm-ico,
.tbm-extra__title.tbm-has-ico .tbm-ico {
  width: 18px; height: 18px;
  padding: 7px;
  background: #EAEFEC;
  border-radius: 50%;
  box-sizing: content-box;
}
/* Kleine dag-kaart-koppen: subtiel icoon, geen badge. */
.tbm-day-card__title.tbm-has-ico { gap: 7px; }
.tbm-day-card__title.tbm-has-ico .tbm-ico { width: 15px; height: 15px; }

/* Zachte, getinte schaduw onder de kaarten (premium, rustig). */
.tbm-wizard__card,
.tbm-wizard__traveler,
.tbm-extra__group,
.tbm-ov__card {
  box-shadow: 0 1px 2px rgba(21, 62, 53, 0.04), 0 8px 24px rgba(21, 62, 53, 0.05);
}
/* Iets meer lucht tussen de kaarten. */
.tbm-wizard__card { margin-bottom: 18px; }
.tbm-wizard__travelers { gap: 18px; }
/* Secties die nu IN een kaart staan: eigen kader/achtergrond weghalen. */
.tbm-wizard__card .tbm-confirm__trip {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.tbm-wizard__card .tbm-confirm__rooms { margin-bottom: 0; }
.tbm-wizard__card .tbm-confirm__costs {
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* Bevestigingsstap (stap 1) */
.tbm-confirm__trip {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.10);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: grid;
  gap: 6px;
}
.tbm-confirm__trip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #4A4A4A;
}
.tbm-confirm__trip-row strong {
  color: #153E35;
  font-weight: 500;
}
.tbm-confirm__trip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: #153E35;
  margin: 0 0 4px;
}
.tbm-confirm__trip-operator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}
.tbm-confirm__trip-operator img {
  height: 24px;
  width: auto;
}

.tbm-confirm__flight {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(21, 62, 53, 0.15);
  display: grid;
  gap: 12px;
}
.tbm-confirm__flight-leg { display: grid; gap: 2px; }
.tbm-confirm__flight-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #777;
}
.tbm-confirm__flight-route {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #153E35;
}
.tbm-confirm__flight-sub {
  font-size: 12px;
  color: #4A4A4A;
}

/* Selecteerbare heen-/terugvluchten */
.tbm-confirm__flightgroup {
  display: grid;
  gap: 8px;
}
/* Vluchtkeuze in twee stappen: heen → terug. */
.tbm-confirm__flightnav-info {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green, #153E35);
  margin-bottom: 8px;
}
.tbm-confirm__flightnav {
  margin-top: 12px;
  width: 100%;
}
.tbm-confirm__flight-chosen {
  background: #EAEFEC !important;
  border-style: dashed !important;
  margin-bottom: 12px;
}
.tbm-confirm__flightopt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.15);
  border-radius: 4px;
  transition: all .25s ease;
}
label.tbm-confirm__flightopt { cursor: pointer; }
label.tbm-confirm__flightopt:hover { border-color: #153E35; }
.tbm-confirm__flightopt input[type="radio"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #153E35;
}
.tbm-confirm__flightopt.is-selected {
  border-color: #153E35;
  background: #EAEFEC;
}
.tbm-confirm__flightopt-info { flex: 1; min-width: 0; }
.tbm-confirm__flightopt-price {
  font-size: 13px;
  font-weight: 500;
  color: #153E35;
  white-space: nowrap;
  align-self: center;
}

.tbm-confirm__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #153E35;
  margin: 4px 0 10px;
}

.tbm-confirm__rooms {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.tbm-confirm__loading {
  font-size: 13px;
  color: #777;
  margin: 0;
}
.tbm-confirm__updating {
  font-size: 12px;
  color: #8a8a8a;
  margin: 0 0 6px;
  font-style: italic;
  animation: tbm-pulse 1.1s ease-in-out infinite;
}
.tbm-extra__total--updating { opacity: .55; animation: tbm-pulse 1.1s ease-in-out infinite; }
.tbm-extra__skiphint { font-size: 13px; color: #777; margin: 6px 0 0; line-height: 1.5; }
@keyframes tbm-pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.tbm-confirm__empty {
  font-size: 13px;
  color: #b25400;
  margin: 0;
  line-height: 1.5;
}
.tbm-confirm__room {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
}
.tbm-confirm__room:hover { border-color: #153E35; }
.tbm-confirm__room input[type="radio"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #153E35;
}
.tbm-confirm__room.is-selected {
  border-color: #153E35;
  background: #EAEFEC;
}
.tbm-confirm__room-info { flex: 1; min-width: 0; }
.tbm-confirm__room-name {
  font-weight: 600;
  font-size: 14px;
  color: #153E35;
  display: block;
  margin-bottom: 2px;
}
.tbm-confirm__room-meta {
  font-size: 12px;
  color: #777;
}
.tbm-confirm__room-delta {
  font-size: 15px;
  font-weight: 700;
  color: #153E35;
  white-space: nowrap;
}
.tbm-confirm__room-delta--up { color: #153E35; }
.tbm-confirm__room-delta--loading { font-size: 12px; font-weight: 500; color: #999; font-style: italic; }

.tbm-confirm__costs {
  background: #EAEFEC;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 8px;
}
.tbm-confirm__cost-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  color: #4A4A4A;
}
.tbm-confirm__cost-row--meta {
  font-size: 12px;
  color: #777;
}
.tbm-confirm__cost-row--total {
  border-top: 1px dashed rgba(21, 62, 53, 0.20);
  margin-top: 6px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #153E35;
}
.tbm-confirm__cost-row--pp {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

/* Reizigers */
.tbm-wizard__travelers { display: grid; gap: 18px; }
.tbm-wizard__traveler {
  border: 1px solid rgba(21, 62, 53, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}
.tbm-wizard__traveler-head {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute, #777);
  margin-bottom: 12px;
}
/* Kamer-scheiding in de reizigersstap (multi-room) */
.tbm-wizard__room-head {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #153E35;
  margin: 18px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e4e1d6;
}
.tbm-wizard__room-head:first-child { margin-top: 0; }

.tbm-wizard__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
@media (max-width: 540px) { .tbm-wizard__form-grid { grid-template-columns: 1fr; } }

.tbm-wizard__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft, #4A4A4A);
}
.tbm-wizard__field--full { grid-column: 1 / -1; }
.tbm-wizard__field > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mute, #777);
}
.tbm-wizard__field input,
.tbm-wizard__field select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.18);
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink, #1A1A1A);
}
.tbm-wizard__field input:focus,
.tbm-wizard__field select:focus {
  outline: 0;
  border-color: var(--green, #153E35);
}
.tbm-wizard__field--invalid input,
.tbm-wizard__field--invalid select {
  border-color: #B3261E;
}
/* Lichtgrijze placeholder (bv. "Eerste voornaam volgens paspoort"). */
.tbm-wizard__field input::placeholder {
  color: #b0b0b0;
  opacity: 1;
}

/* Paspoort-infoblok onder de naamvelden — verschijnt bij focus op voor-/achternaam. */
.tbm-wizard__namehint {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  padding: 14px 16px;
  background: #FCF6E0;
  border: 1px solid #EFE4B8;
  border-radius: 6px;
}
.tbm-wizard__namehint[hidden] { display: none; }
.tbm-wizard__namehint-img {
  width: 110px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
}
.tbm-wizard__namehint-text strong {
  display: block;
  font-size: 14px;
  color: #153E35;
  margin-bottom: 4px;
}
.tbm-wizard__namehint-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4A4A4A;
}
@media (max-width: 540px) {
  .tbm-wizard__namehint { flex-direction: column; align-items: flex-start; }
  .tbm-wizard__namehint-img { width: 90px; }
}

/* Extra's-stap (transfer + ruimbagage) */
.tbm-wizard__extras { display: grid; gap: 22px; }
.tbm-extra__group {
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
}
.tbm-extra__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #153E35;
  margin: 0 0 4px;
}
.tbm-extra__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s ease;
}
.tbm-extra__card:hover { border-color: #153E35; }
.tbm-extra__card.is-selected { border-color: #153E35; background: #EAEFEC; }
.tbm-extra__card input { margin-top: 4px; flex-shrink: 0; accent-color: #153E35; }
.tbm-extra__card-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tbm-extra__card-name { font-weight: 600; font-size: 14px; color: #153E35; }
.tbm-extra__card-desc { font-size: 12px; color: #777; line-height: 1.4; }
.tbm-extra__card-price { font-size: 14px; font-weight: 600; color: #153E35; white-space: nowrap; align-self: center; text-align: right; }
.tbm-extra__card-price-pp { display: block; font-size: 11px; font-weight: 500; color: #888; }

/* Excursies & activiteiten — kaart met datumkeuze onder de aanvink-rij. */
.tbm-extra__group-note { font-size: 12px; color: #777; margin: 0 0 10px; line-height: 1.45; }
.tbm-extra__card--excursion { flex-direction: column; align-items: stretch; cursor: default; }
.tbm-extra__card-top { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.tbm-extra__card-top > input { margin-top: 4px; flex-shrink: 0; accent-color: #153E35; }
.tbm-extra__excursion-date {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(21, 62, 53, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: #153E35;
}
.tbm-extra__excursion-date input[type="date"] {
  padding: 7px 10px;
  border: 1px solid rgba(21, 62, 53, 0.25);
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
}
.tbm-extra__select {
  align-self: center;
  flex-shrink: 0;
  max-width: 60%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.25);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  color: #153E35;
  cursor: pointer;
}
.tbm-extra__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #153E35;
  border-radius: 6px;
  color: #fff;
  margin-top: 4px;
}
.tbm-extra__total strong { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; }

/* ── Stap 5: Overzicht & betalen (PDF-stijl) ── */
.tbm-ov { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
@media (max-width: 760px) { .tbm-ov { grid-template-columns: 1fr; } }
.tbm-ov__main { display: grid; gap: 16px; min-width: 0; }
.tbm-ov__side { display: grid; gap: 16px; }
.tbm-ov__card {
  background: #fff;
  border: 1px solid rgba(21, 62, 53, 0.12);
  border-radius: 8px;
  padding: 18px 20px;
}
.tbm-ov__hotel { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: #153E35; margin: 0 0 4px; line-height: 1.15; }
.tbm-ov__stars { color: #CAC61E; letter-spacing: 2px; font-size: 14px; margin-bottom: 6px; }
.tbm-ov__loc { font-size: 13px; color: #777; margin: 0 0 4px; }
.tbm-ov__dates { font-size: 14px; color: #153E35; margin: 0 0 12px; }
.tbm-ov__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.tbm-ov__chip { font-size: 12px; background: #EAEFEC; color: #153E35; border-radius: 20px; padding: 4px 12px; }
.tbm-ov__room { font-size: 13px; color: #4A4A4A; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed rgba(21, 62, 53, 0.12); }
.tbm-ov__section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tbm-ov__h { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: #153E35; margin: 0; }
.tbm-ov__edit { font-size: 12px; font-weight: 600; color: #4A4416; background: transparent; border: 1px solid #CAC61E; border-radius: 4px; padding: 5px 12px; cursor: pointer; transition: background .2s ease; }
.tbm-ov__edit:hover { background: #CAC61E; }
.tbm-ov__sub { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; margin: 14px 0 4px; }
.tbm-ov__line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; border-top: 1px dashed rgba(21, 62, 53, 0.08); }
.tbm-ov__line:first-of-type { border-top: 0; }
.tbm-ov__line-l { color: #777; flex-shrink: 0; }
.tbm-ov__line-r { color: #153E35; text-align: right; }
.tbm-ov__flight { display: grid; gap: 2px; padding: 10px 0; border-top: 1px dashed rgba(21, 62, 53, 0.10); }
.tbm-ov__flight:first-of-type { border-top: 0; }
.tbm-ov__flight-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.tbm-ov__flight-route { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #153E35; }
.tbm-ov__flight-sub { font-size: 12px; color: #4A4A4A; }
.tbm-ov__cost { background: #FAF8F1; }
.tbm-ov__cost-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; color: #4A4A4A; }
.tbm-ov__cost-total { border-top: 2px solid rgba(21, 62, 53, 0.15); margin-top: 6px; padding-top: 10px; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: #153E35; }
.tbm-ov__cost-note { font-size: 11px; color: #999; margin: 10px 0 0; line-height: 1.45; }
.tbm-ov__atloc { margin-top: 16px; padding: 12px 14px; background: #fbf7e8; border: 1px solid #ece3bf; border-radius: 10px; }
.tbm-ov__atloc-h { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; margin: 0 0 8px; color: #8a6d00; }
.tbm-ov__atloc-h .tbm-ico { background: #8a6d00; }
.tbm-ov__atloc .tbm-ov__cost-row { font-size: 13px; }
.tbm-confirm__cost-row--atloc { color: #8a6d00; }
.tbm-confirm__cost-row--atloc span { font-weight: 600; }

/* Prijsoverzicht */
.tbm-wizard__summary {
  margin: 22px 0 16px;
  padding: 16px 18px;
  background: var(--green-soft, #EAEFEC);
  border-radius: 6px;
}
.tbm-wizard__summary h3 {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--green, #153E35);
}
.tbm-wizard__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft, #4A4A4A);
}
.tbm-wizard__summary-row--total {
  border-top: 1px dashed rgba(21, 62, 53, 0.20);
  margin-top: 6px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 16px;
  color: var(--green, #153E35);
}

/* Voorwaarden */
.tbm-wizard__terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft, #4A4A4A);
  line-height: 1.45;
  margin: 12px 0 0;
}
.tbm-wizard__terms input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--green, #153E35);
}
.tbm-wizard__terms a {
  color: var(--green, #153E35);
  text-decoration: underline;
}

/* Foutmelding */
.tbm-wizard__error {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(244, 67, 54, 0.08);
  color: #b3261e;
  border-radius: 4px;
  font-size: 13px;
}

/* Footer-knoppen */
.tbm-wizard__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid rgba(21, 62, 53, 0.10);
  background: #fff;
}
.tbm-wizard__foot .btn { padding: 12px 24px; }
/* .btn forceert display:inline-flex en overruled daarmee het hidden-attribuut;
   expliciet verbergen zodat per stap alleen de juiste knop zichtbaar is. */
.tbm-wizard__foot .btn[hidden] { display: none; }

/* Loader-state */
.tbm-wizard.is-loading .tbm-wizard__body { position: relative; }
.tbm-wizard.is-loading .tbm-wizard__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 241, 0.65);
}

/* ───── Skeleton-state ───── */

.tbm-detail.is-loading .tbm-detail__title,
.tbm-detail.is-loading .tbm-detail__intro-text {
  background: linear-gradient(90deg, #EAEFEC 0%, #F5F4EE 50%, #EAEFEC 100%);
  background-size: 200% 100%;
  animation: tbm-skel 1.4s linear infinite;
  color: transparent;
  border-radius: 3px;
}
@keyframes tbm-skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Reisagent: "Toevoegen aan offerte"-knop in de wizard (offerte-context). */
.tbm-offerte-add{margin-top:18px;padding-top:16px;border-top:2px dashed rgba(202,198,30,.5)}
.tbm-offerte-add__btn{width:100%;justify-content:center;background:#CAC61E;color:#153E35;font-weight:700}
.tbm-offerte-add__btn:hover{background:#d9d52f}
.tbm-offerte-add__btn:disabled{opacity:.6;cursor:default}
.tbm-offerte-add__note{margin:8px 0 0;font-size:12.5px;color:#6b6b6b;text-align:center}

/* Busreis: opstap-/afzetplaats-keuze in boekwizard stap 1. */
.tbm-confirm__bus{margin-top:14px;padding-top:14px;border-top:1px solid var(--sand-line,rgba(21,62,53,.1))}
.tbm-confirm__bus-title{font-weight:600;color:#153E35;margin:0 0 10px}
.tbm-confirm__bus-field{display:block;margin-bottom:10px}
.tbm-confirm__bus-label{display:block;font-size:13px;color:#4a4a4a;margin-bottom:4px}
.tbm-confirm__bus-select{width:100%;padding:10px 12px;border:1px solid #d9d5c8;border-radius:8px;font-size:14px;font-family:inherit;background:#fff;color:#1a1a1a}
.tbm-confirm__bus-select:focus{outline:none;border-color:#153E35;box-shadow:0 0 0 3px rgba(21,62,53,.12)}
.tbm-confirm__bus-note{font-size:12px;color:#6b6b6b;margin:4px 0 0}

/* Prijsvergelijk per luchthaven (uitklapbaar, onder Beschikbare pakketten). */
.tbm-aircompare{margin-top:16px;padding-top:14px;border-top:1px solid rgba(21,62,53,.1)}
.tbm-aircompare__title{font-weight:600;color:#153E35;margin:0 0 8px;font-size:14px}
.tbm-aircompare__item{border:1px solid rgba(21,62,53,.12);border-radius:9px;margin-bottom:8px;background:#fff;overflow:hidden}
.tbm-aircompare__sum{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;list-style:none;font-size:14.5px}
.tbm-aircompare__sum::-webkit-details-marker{display:none}
.tbm-aircompare__sum::after{content:'\25BE';color:#6b6b6b;transition:transform .2s}
.tbm-aircompare__item[open] .tbm-aircompare__sum::after{transform:rotate(180deg)}
.tbm-aircompare__air{flex:1;font-weight:600;color:#153E35}
.tbm-aircompare__from{color:#153E35;font-weight:600}
.tbm-aircompare__pkg{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:none;border-top:1px solid rgba(21,62,53,.08);background:#FBF9F2;padding:11px 14px;font-size:14px;font-family:inherit;color:#1a1a1a;cursor:pointer;text-align:left}
.tbm-aircompare__pkg:hover{background:#F2EFE6;color:#153E35}

/* ───── Kortingscode in de betaalstap ───── */
.tbm-ov__cost-discount span:last-child { color: #2E7D46; font-weight: 600; }
.tbm-ov__cost-total--after { margin-top: 2px; }
.tbm-ov__discount { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(21, 62, 53, .18); }
.tbm-ov__discount-label { display: block; font-size: 13px; font-weight: 600; color: var(--green, #153E35); margin-bottom: 6px; }
.tbm-ov__discount-in { display: flex; gap: 8px; }
.tbm-ov__discount-input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--sand-line, #e6e1d4); border-radius: 8px; font: inherit; text-transform: uppercase; }
.tbm-ov__discount-input::placeholder { text-transform: none; }
.tbm-ov__discount-btn { white-space: nowrap; }
.tbm-ov__discount-msg { margin: 6px 0 0; font-size: 12.5px; color: #666; }
.tbm-ov__discount-msg.is-error { color: #b3261e; }
