/* SHT Joy Booking v2 */
.shtjb, .shtjb-calc-book { --shtjb-blue: #2235DD; --shtjb-blue-2: #6672d3; --shtjb-dark: #131739; --shtjb-line: #E4E7FD; --shtjb-soft: #f0f1fd; --shtjb-green: #17803d; }

.shtjb { max-width: 760px; margin: 2em auto; scroll-margin-top: 120px; font-family: 'Open Sans', sans-serif; color: var(--shtjb-dark); }
.shtjb *, .shtjb *::before, .shtjb *::after { box-sizing: border-box; }
.shtjb [hidden] { display: none !important; }
.shtjb__form, .shtjb__done { background: #fff; border: 1px solid var(--shtjb-line); border-radius: 14px; padding: 28px; box-shadow: 0 6px 24px rgba(19,23,57,.06); }
.shtjb__title { margin: 0 0 14px; font-size: 1.6rem; }
.shtjb__sub { margin: -6px 0 18px; color: #555; }

/* Tarieven bovenaan */
.shtjb__tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.shtjb__tariffs > div { display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--shtjb-dark); color: #fff; border-radius: 10px; padding: 12px 16px; }
.shtjb__tariffs strong { font-size: .95rem; }
.shtjb__tariffs span { grid-column: 1; font-size: .8rem; opacity: .75; }
.shtjb__tariffs b { grid-column: 2; grid-row: 1 / span 2; font-size: 1.5rem; color: #f3c46b; font-family: 'Playfair Display', serif; }

/* Groepen */
.shtjb__group { border: 0; border-top: 1px solid var(--shtjb-line); padding: 18px 0 4px; margin: 0; }
.shtjb__group legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; float: left; width: 100%; }
.shtjb__group legend + * { clear: both; }
.shtjb__step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--shtjb-blue); color: #fff; font-size: .85rem; flex: none; }

.shtjb__toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.shtjb__toggle--3 { grid-template-columns: repeat(3, 1fr); }
.shtjb__toggle label, .shtjb__yn label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; border: 2px solid var(--shtjb-line); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .92rem; transition: border-color .15s, background .15s; }
.shtjb__toggle label small { font-weight: 400; color: #666; font-size: .8rem; }
.shtjb__toggle label.is-active, .shtjb__yn label.is-active { border-color: var(--shtjb-blue); background: var(--shtjb-soft); }
.shtjb__toggle input, .shtjb__yn input, .shtjb__vopt input { position: absolute; opacity: 0; pointer-events: none; }
.shtjb__yn { display: flex; gap: 8px; }
.shtjb__yn label { flex: 1; padding: 6px 8px; text-align: center; min-height: 44px; justify-content: center; line-height: 1.2; }
.shtjb__yn label small { font-weight: 400; font-size: .72rem; color: #666; }

.shtjb__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; }
.shtjb__field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; font-size: .88rem; font-weight: 600; }
.shtjb__field small { font-weight: 400; color: #777; }
.shtjb input[type=text], .shtjb input[type=email], .shtjb input[type=tel], .shtjb input[type=date], .shtjb input[type=time], .shtjb input[type=number], .shtjb select, .shtjb textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #cfd3ef; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: inherit; min-height: 44px; margin: 0;
}
.shtjb input:focus, .shtjb select:focus, .shtjb textarea:focus { outline: none; border-color: var(--shtjb-blue); box-shadow: 0 0 0 3px rgba(34,53,221,.15); }
.shtjb__phone { display: grid; grid-template-columns: 110px 1fr; gap: 6px; }
.shtjb__addr { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.shtjb .shtjb__btn-sm { border: 0; border-radius: 8px; background: var(--shtjb-dark); color: #fff; padding: 0 16px; font: 600 .85rem 'DM Sans', sans-serif; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.shtjb .shtjb__btn-sm:hover { background: var(--shtjb-blue); }
.shtjb__route { margin: -6px 0 14px; padding: 8px 12px; background: var(--shtjb-soft); border-radius: 8px; font-size: .85rem; }
.shtjb__hint { font-size: .82rem; color: #666; margin: 0 0 12px; font-weight: 400; }

/* Voertuigkeuze */
.shtjb__vehicles { margin-top: 4px; }
.shtjb__vtitle { font-weight: 700; margin: 0 0 6px; }
.shtjb__vlist { display: grid; gap: 8px; margin-bottom: 14px; }
.shtjb__vopt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; border: 2px solid var(--shtjb-line); border-radius: 10px; padding: 12px 16px; cursor: pointer; transition: border-color .15s, background .15s; position: relative; }
.shtjb__vopt.is-active { border-color: var(--shtjb-blue); background: var(--shtjb-soft); }
.shtjb__vopt.is-active::before { content: '✓'; position: absolute; top: -9px; left: 12px; background: var(--shtjb-blue); color: #fff; border-radius: 10px; font-size: .7rem; padding: 0 7px; line-height: 18px; }
.shtjb__vname { font-weight: 700; }
.shtjb__vname em { font-style: normal; font-size: .7rem; background: var(--shtjb-green); color: #fff; border-radius: 10px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.shtjb__vlines { grid-column: 1; font-size: .8rem; color: #555; }
.shtjb__vprice { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 700; font-size: 1.25rem; color: var(--shtjb-blue); display: flex; flex-direction: column; }
.shtjb__vprice small { font-size: .72rem; font-weight: 400; color: #777; }

/* Honeypot */
.shtjb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Overzicht */
.shtjb__summary { background: var(--shtjb-soft); border-radius: 12px; padding: 16px 18px; margin: 18px 0 14px; }
.shtjb__summary:empty { display: none; }
.shtjb__sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #cfd3ef; font-size: .92rem; }
.shtjb__sumrow span small { display: block; color: #666; font-size: .78rem; }
.shtjb__sumrow b { white-space: nowrap; }
.shtjb__sumtotal { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; }
.shtjb__sumtotal span { font-size: .85rem; color: #555; }
.shtjb__sumtotal strong { font-size: 1.8rem; color: var(--shtjb-blue); }
.shtjb__summary .shtjb__hint { margin: 8px 0 0; }

.shtjb__check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; margin-bottom: 16px; }
.shtjb__check input { margin-top: 4px; }

/* Knoppen */
.shtjb .shtjb__submit, .shtjb-calc-book {
	display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 16px 20px; border: 0; border-radius: 30px;
	background: var(--shtjb-blue); color: #fff !important; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; text-decoration: none !important;
}
.shtjb .shtjb__submit:hover, .shtjb-calc-book:hover { background: var(--shtjb-blue-2); }
.shtjb .shtjb__submit:disabled { opacity: .6; cursor: wait; }
.shtjb-calc-book { margin-top: 16px; }

.shtjb__msg { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; font-size: .9rem; }
.shtjb__msg.is-error { background: #fdecec; color: #a01616; }
.shtjb__msg.is-ok { background: #e8f7ee; color: #17663a; }

.shtjb__done { text-align: center; }
.shtjb__done h3 { color: var(--shtjb-blue); }

/* Google autocomplete boven thema-elementen */
.pac-container { z-index: 100000; }

@media (max-width: 600px) {
	.shtjb__form, .shtjb__done { padding: 20px 16px; }
	.shtjb__toggle, .shtjb__toggle--3, .shtjb__tariffs { grid-template-columns: 1fr; }
	.shtjb__yn { flex-direction: column; }
}

/* v2.1: passagiersblok per rit, routeregel, readonly bestemming */
.shtjb__paxblock { background: #fafbff; border: 1px solid var(--shtjb-line); border-radius: 12px; padding: 14px 16px 2px; margin: 4px 0 14px; }
.shtjb__subhead { font-weight: 700; margin: 0 0 10px; font-size: .95rem; }
.shtjb__route-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin: 0 0 12px; font-size: .9rem; color: #555; }
.shtjb__route-line strong { color: var(--shtjb-dark); }
.shtjb input.shtjb__readonly { background: var(--shtjb-soft); color: #555; }

/* v2.1.1: velden mogen nooit buiten hun kolom lopen (thema/template overschrijft breedtes) */
.shtjb .shtjb__row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)) !important; gap: 0 14px !important; }
.shtjb .shtjb__row > *, .shtjb .shtjb__field { min-width: 0 !important; max-width: 100% !important; }
.shtjb .shtjb__field input, .shtjb .shtjb__field select, .shtjb .shtjb__field textarea {
	display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important;
	box-sizing: border-box !important; margin: 0 !important; float: none !important;
}
.shtjb input[type=date], .shtjb input[type=time] { -webkit-appearance: none; appearance: none; min-height: 44px; line-height: 1.2; }
.shtjb input[type=date]::-webkit-date-and-time-value, .shtjb input[type=time]::-webkit-date-and-time-value { text-align: left; }
.shtjb .shtjb__phone { grid-template-columns: minmax(90px, 110px) minmax(0, 1fr) !important; }
.shtjb .shtjb__addr { grid-template-columns: minmax(0, 1fr) auto !important; }

/* v2.1.4: melding eerder/later ophalen via WhatsApp */
.shtjb .shtjb__notice { background: #eefbf3; border-left: 4px solid #25d366; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: .88rem; line-height: 1.5; }
.shtjb .shtjb__notice strong { display: block; margin-bottom: 2px; }
.shtjb .shtjb__notice a { color: #128c4b; font-weight: 700; text-decoration: underline; }

/* v2.2.0: WhatsApp-keuze */
.shtjb .shtjb__yn--3 label { padding: 6px 6px; }
@media (max-width: 600px) { .shtjb .shtjb__yn--3 { flex-direction: row; } .shtjb .shtjb__yn--3 label { font-size: .85rem; } }

/* v2.2.0: per rit afrekenen, geen totaal */
.shtjb .shtjb__sumride { padding: 4px 0 10px; }
.shtjb .shtjb__sumride + .shtjb__sumride { border-top: 1px solid #cfd3ef; padding-top: 12px; }
.shtjb .shtjb__sumtitle { margin: 0 0 2px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #555; }
.shtjb .shtjb__sumride .shtjb__sumrow { border-bottom: 0; }
.shtjb .shtjb__sumride .shtjb__sumrow b { font-size: 1.4rem; color: var(--shtjb-blue); }
.shtjb .shtjb__sumpay { margin: 0; font-size: .8rem; color: #17803d; }

/* =====================================================================
 * v2.3.0: stap-voor-stap, uitklapbaar
 * ================================================================== */
.shtjb .shtjb__steps { display: grid; gap: 10px; }
.shtjb .shtjb__panel { border: 1px solid var(--shtjb-line); border-radius: 12px; background: #fff; scroll-margin-top: 120px; transition: border-color .15s, box-shadow .15s; }
.shtjb .shtjb__panel.is-open { border-color: var(--shtjb-blue); box-shadow: 0 4px 18px rgba(34,53,221,.08); }

/* Kop: thema-knopstijlen volledig neutraliseren */
.shtjb .shtjb__head {
	all: unset; box-sizing: border-box; display: flex !important; align-items: center; gap: 12px; width: 100%;
	padding: 14px 16px; cursor: pointer; font-family: inherit; color: var(--shtjb-dark); text-align: left; border-radius: 12px;
}
.shtjb .shtjb__head:disabled { cursor: default; }
.shtjb .shtjb__head:focus-visible { outline: 3px solid rgba(34,53,221,.35); outline-offset: 2px; }
.shtjb .shtjb__panel:not(.is-open):not(.is-done) .shtjb__head { opacity: .55; }
.shtjb .shtjb__headtxt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.shtjb .shtjb__headtitle { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.shtjb .shtjb__headsum { font-size: .82rem; color: #555; line-height: 1.35; overflow-wrap: anywhere; }
.shtjb .shtjb__headsum:empty { display: none; }
.shtjb .shtjb__edit { display: none; font-size: .8rem; font-weight: 600; color: var(--shtjb-blue); text-decoration: underline; flex: none; }
.shtjb .shtjb__panel.is-done .shtjb__edit { display: inline; }
.shtjb .shtjb__panel.is-done .shtjb__head:hover { background: var(--shtjb-soft); }

/* Stapnummer: afgerond = groen vinkje */
.shtjb .shtjb__panel.is-done .shtjb__step { background: var(--shtjb-green); font-size: 0; }
.shtjb .shtjb__panel.is-done .shtjb__step::before { content: '✓'; font-size: .85rem; }
.shtjb .shtjb__panel:not(.is-open):not(.is-done) .shtjb__step { background: #b7bde8; }

/* Inhoud */
.shtjb .shtjb__body { padding: 2px 16px 16px; animation: shtjb-open .25s ease; }
@keyframes shtjb-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.shtjb .shtjb__q { font-weight: 600; margin: 0 0 10px; }
.shtjb .shtjb__body .shtjb__summary { margin-top: 4px; }
.shtjb .shtjb__body .shtjb__msg { margin: 0 0 12px; }

/* Knop "Continue" */
.shtjb .shtjb__next {
	display: block; width: 100%; margin: 4px 0 0; padding: 13px 20px; border: 0; border-radius: 30px; cursor: pointer;
	background: var(--shtjb-dark); color: #fff !important; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .95rem;
	text-transform: uppercase; letter-spacing: .5px; line-height: 1.2;
}
.shtjb .shtjb__next:hover { background: var(--shtjb-blue); }

/* Prijsbalk (blijft onderin beeld zolang het formulier zichtbaar is) */
.shtjb .shtjb__pricebar {
	position: sticky; bottom: 10px; z-index: 5; margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
	background: var(--shtjb-dark); color: #fff; border-radius: 12px; padding: 10px 16px; font-size: .9rem; box-shadow: 0 6px 20px rgba(19,23,57,.25);
}
.shtjb .shtjb__pricebar b { color: #f3c46b; font-size: 1.1rem; margin-left: 4px; }
.shtjb .shtjb__pricebar small { flex-basis: 100%; opacity: .7; font-size: .75rem; }
.shtjb .shtjb__pricebar[hidden] { display: none !important; }

@media (max-width: 600px) {
	.shtjb .shtjb__head { padding: 12px; gap: 10px; }
	.shtjb .shtjb__body { padding: 2px 12px 14px; }
}

/* v2.4.2: velden minimaal 16px, anders zoomt iOS Safari in bij aantikken
   (waardoor je op de iPhone opzij moet schuiven) */
.shtjb input[type=text], .shtjb input[type=email], .shtjb input[type=tel], .shtjb input[type=date],
.shtjb input[type=time], .shtjb input[type=number], .shtjb select, .shtjb textarea {
	font-size: 16px !important;
}
