/* Provisual Verhuur – boekingsformulier */
.pvh-booking {
	--pvh-accent: #2a7d4f;
	--pvh-accent-dark: #1f5f3b;
	--pvh-ink: #1f2d35;
	--pvh-muted: #6b7c85;
	--pvh-line: #dfe7ea;
	--pvh-soft: #f4f8f9;
	--pvh-booked: #e9eef0;
	--pvh-radius: 10px;
	color: var(--pvh-ink);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1100px;
	margin: 0 auto;
}
.pvh-booking *, .pvh-booking *::before, .pvh-booking *::after { box-sizing: border-box; }
.pvh-booking [hidden] { display: none !important; }
.pvh-booking button { font: inherit; }

.pvh-step { margin: 0 0 32px; }
.pvh-title { font-size: 1.25em; margin: 0 0 14px; }
.pvh-booking h4 { font-size: 1.05em; margin: 22px 0 10px; }

/* Boten */
.pvh-boats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pvh-boat {
	display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden;
	background: #fff; border: 2px solid var(--pvh-line); border-radius: var(--pvh-radius); cursor: pointer; color: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.pvh-boat:hover { border-color: var(--pvh-accent); }
.pvh-boat.is-selected { border-color: var(--pvh-accent); box-shadow: 0 0 0 3px rgba(42, 125, 79, .18); }
.pvh-boat__img { display: block; aspect-ratio: 16 / 10; background: var(--pvh-soft) center / cover no-repeat; }
.pvh-boat__name { display: block; font-weight: 700; padding: 10px 14px 0; }
.pvh-boat__meta { display: block; color: var(--pvh-muted); font-size: .9em; padding: 0 14px 12px; }

/* Periodes */
.pvh-periods { display: flex; flex-wrap: wrap; gap: 10px; }
.pvh-period {
	flex: 1 1 180px; text-align: left; padding: 12px 16px; background: #fff; color: inherit;
	border: 2px solid var(--pvh-line); border-radius: var(--pvh-radius); cursor: pointer;
}
.pvh-period:hover { border-color: var(--pvh-accent); }
.pvh-period.is-selected { border-color: var(--pvh-accent); background: var(--pvh-accent); color: #fff; }
.pvh-period__label { display: block; font-weight: 700; }
.pvh-period__times { display: block; font-size: .88em; opacity: .8; }
.pvh-weeks { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.pvh-weeks select { padding: 6px 10px; border: 1px solid var(--pvh-line); border-radius: 6px; }

/* Kalender */
.pvh-cal { background: #fff; border: 1px solid var(--pvh-line); border-radius: var(--pvh-radius); padding: 14px; max-width: 560px; }
.pvh-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pvh-cal__title { font-weight: 700; text-transform: capitalize; }
.pvh-cal__nav {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pvh-line); background: #fff; color: var(--pvh-ink);
	font-size: 22px; line-height: 1; cursor: pointer;
}
.pvh-cal__nav:disabled { opacity: .35; cursor: default; }
.pvh-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pvh-cal__dow { text-align: center; font-size: .78em; color: var(--pvh-muted); text-transform: uppercase; padding: 4px 0; }
.pvh-day {
	min-height: 52px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-size: .9em; color: #b3bec3; padding: 2px; border: 0; background: transparent;
}
.pvh-day.is-empty { visibility: hidden; }
.pvh-day__price { font-size: .72em; line-height: 1.2; white-space: nowrap; }
.pvh-day.is-available { background: #e6f3ec; color: var(--pvh-accent-dark); font-weight: 700; cursor: pointer; border: 2px solid transparent; }
.pvh-day.is-available:hover { border-color: var(--pvh-accent); }
.pvh-day.is-available.is-selected { background: var(--pvh-accent); color: #fff; }
.pvh-day.is-booked { background: var(--pvh-booked); color: var(--pvh-muted); text-decoration: none; }
.pvh-day.is-booked .pvh-day__num { text-decoration: line-through; }
.pvh-cal__msg { color: var(--pvh-muted); margin: 12px 0 0; font-size: .92em; }
.pvh-legend { display: flex; gap: 16px; margin-top: 12px; font-size: .82em; color: var(--pvh-muted); }
.pvh-legend__item::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pvh-legend__item.is-available::before { background: #e6f3ec; border: 1px solid var(--pvh-accent); }
.pvh-legend__item.is-booked::before { background: var(--pvh-booked); }

/* Formulier */
.pvh-form__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pvh-form__side { position: sticky; top: 100px; }
.pvh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.pvh-field label { display: block; font-size: .88em; font-weight: 600; margin-bottom: 4px; }
.pvh-field.is-wide { grid-column: 1 / -1; }
.pvh-field input, .pvh-field select, .pvh-field textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #c9d4d8; border-radius: 6px; background: #fff; font: inherit; color: inherit; margin: 0;
}
.pvh-field input:focus, .pvh-field select:focus, .pvh-field textarea:focus { outline: 2px solid var(--pvh-accent); outline-offset: 0; border-color: var(--pvh-accent); }
.pvh-extras { border: 1px solid var(--pvh-line); border-radius: var(--pvh-radius); padding: 10px 16px 6px; margin: 18px 0 0; }
.pvh-extras legend { font-weight: 700; padding: 0 6px; }
.pvh-radio { display: block; padding: 4px 0; cursor: pointer; }
.pvh-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; cursor: pointer; }
.pvh-check input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.pvh-check a { color: var(--pvh-accent-dark); text-decoration: underline; }
.pvh-help { color: var(--pvh-muted); font-size: .85em; margin: 6px 0; }
.pvh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Overzicht */
.pvh-summary { background: var(--pvh-soft); border: 1px solid var(--pvh-line); border-radius: var(--pvh-radius); padding: 18px; min-height: 120px; transition: opacity .15s; }
.pvh-summary.is-loading { opacity: .5; }
.pvh-summary h4 { margin-top: 0; }
.pvh-summary__dates { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 12px; font-size: .92em; }
.pvh-summary__dates dt { color: var(--pvh-muted); }
.pvh-summary__dates dd { margin: 0; }
.pvh-summary table { width: 100%; border-collapse: collapse; font-size: .95em; margin: 0; border: 0; background: none; }
.pvh-summary td { padding: 6px 0; border: 0; border-bottom: 1px solid var(--pvh-line); background: none; }
.pvh-summary td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.pvh-summary tr.is-total td { font-weight: 700; border-bottom: 0; }
.pvh-summary__pay { margin-top: 10px !important; }
.pvh-summary__pay tr.is-now td { font-weight: 700; color: var(--pvh-accent-dark); font-size: 1.08em; border-bottom: 0; }
.pvh-summary__pay tr.is-later td { color: var(--pvh-muted); border-bottom: 0; font-size: .92em; }
.pvh-summary__note { font-size: .82em; color: var(--pvh-muted); margin: 12px 0 0; }

.pvh-submit {
	display: inline-block; width: 100%; margin-top: 14px; padding: 14px 20px; border: 0; border-radius: 8px;
	background: var(--pvh-accent); color: #fff !important; font-weight: 700; font-size: 1.05em; cursor: pointer; text-align: center; text-decoration: none !important;
}
.pvh-submit:hover { background: var(--pvh-accent-dark); }
.pvh-submit:disabled { opacity: .6; cursor: wait; }
.pvh-secure { text-align: center; }
.pvh-error { background: #fdecea; color: #8a1c12; border-radius: 6px; padding: 10px 12px; margin-top: 12px; font-size: .92em; }

/* Terugkeer na betalen */
.pvh-result { background: #fff; border: 1px solid var(--pvh-line); border-left: 6px solid var(--pvh-muted); border-radius: var(--pvh-radius); padding: 22px 24px; max-width: 680px; }
.pvh-result.is-ok { border-left-color: var(--pvh-accent); }
.pvh-result.is-warn { border-left-color: #d08a1c; }
.pvh-result.is-error { border-left-color: #c0392b; }
.pvh-result__title { margin: 0 0 8px; }
.pvh-result__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 16px 0 0; }
.pvh-result__actions .pvh-submit { width: auto; margin: 0; }
.pvh-link { color: var(--pvh-accent-dark); text-decoration: underline; }

@media (max-width: 760px) {
	.pvh-form__cols { grid-template-columns: 1fr; }
	.pvh-form__side { position: static; }
	.pvh-grid { grid-template-columns: 1fr; }
	.pvh-cal { padding: 10px 8px; }
	.pvh-cal__grid { gap: 3px; }
	.pvh-day { min-height: 46px; font-size: .85em; }
	.pvh-day__price { font-size: .66em; }
}

/* Tabelstijl van het thema (o.a. Enfold) neutraliseren in het overzicht. */
.pvh-booking .pvh-summary table,
.pvh-booking .pvh-summary tbody,
.pvh-booking .pvh-summary tr,
.pvh-booking .pvh-summary td {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: inherit;
}
.pvh-booking .pvh-summary table { width: 100% !important; margin: 0 !important; table-layout: auto; }
.pvh-booking .pvh-summary td { padding: 7px 0 !important; font-size: .95em; line-height: 1.4; }
.pvh-booking .pvh-summary td:last-child { text-align: right; padding-left: 12px !important; white-space: nowrap; }
.pvh-booking .pvh-summary__lines tr + tr td { border-top: 1px solid var(--pvh-line) !important; }
.pvh-booking .pvh-summary__lines tr.is-total td { border-top: 2px solid var(--pvh-ink) !important; font-weight: 700; color: var(--pvh-ink); }
.pvh-booking .pvh-summary__pay { margin-top: 14px !important; }
.pvh-booking .pvh-summary__pay tr.is-now td { color: var(--pvh-accent-dark) !important; font-weight: 700; font-size: 1.08em; padding: 12px 14px !important; background: #e6f3ec !important; }
.pvh-booking .pvh-summary__pay tr.is-now td:first-child { border-radius: 8px 0 0 8px; }
.pvh-booking .pvh-summary__pay tr.is-now td:last-child { border-radius: 0 8px 8px 0; }
.pvh-booking .pvh-summary__pay tr.is-later td { color: var(--pvh-muted) !important; font-size: .9em; padding: 8px 14px !important; }
.pvh-booking .pvh-summary__lines td { color: var(--pvh-ink); }

.pvh-extra-price { color: var(--pvh-muted); font-size: .9em; }
.pvh-extras + .pvh-extras { margin-top: 12px; }
