/* ==========================================================================
   Fietsverhuur – verhuurpagina (mobile first)
   ========================================================================== */

.fv-page, .fv-rental {
	--fv-available: #8bc24c;
	--fv-request: #f29c2b;
	--fv-selected: #357ebd;
	--fv-range: #7fd3f7;
	--fv-na: #b5b5b5;
	--fv-accent: #4482bd;
	--fv-border: #dcdcdc;
	--fv-muted: #666;
	--fv-bg-soft: #f7f7f7;
	--fv-radius: 8px;
	--fv-bar-h: 64px;
}
.fv-rental { box-sizing: border-box; padding-bottom: 24px; }
.fv-page *, .fv-page *::before, .fv-page *::after { box-sizing: border-box; }

.fv-sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---- Header (alleen verhuurpagina's) ------------------------------------ */
@media (max-width: 767px) {
	.fv-rental-page .main-img,
	.fv-rental-page .main-img.full-height {
		min-height: 0 !important; height: 36vh; max-height: 280px; min-height: 190px !important;
	}
	.fv-rental-page .main-img .main-image-txt,
	.fv-rental-page .main-img .carousel-caption {
		top: auto !important; bottom: 18px; left: 16px; right: 16px; width: auto; margin: 0 !important; text-align: left;
	}
	.fv-rental-page .main-img .main-header { font-size: 1.5rem; line-height: 1.2; margin: 0 0 6px; text-transform: none; }
	.fv-rental-page .main-img .main-header::after { display: none; }
	.fv-rental-page .main-img .sub-header {
		font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	}
}

/* ---- Intro: over deze locatie -------------------------------------------- */
.fv-page .fv-about { margin-top: 24px; padding-bottom: 8px; }
.fv-about__place {
	display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
	font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fv-muted);
}
.fv-flag { width: 28px !important; height: 20px; line-height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex: 0 0 auto; }
.fv-about__text { max-width: 820px; font-size: 1.05rem; line-height: 1.65; position: relative; }
.fv-about__text > :first-child { margin-top: 0; }
.fv-about__text h1, .fv-about__text h2, .fv-about__text h3 { font-size: 1.35rem; margin: 0 0 10px; }
.fv-description { position: relative; }
.fv-description.is-clamped { max-height: 10em; overflow: hidden; }
.fv-description.is-clamped::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5em;
	background: linear-gradient(rgba(255,255,255,0), #fff);
}
.fv-about__more {
	background: none; border: 0; padding: 6px 0; margin: 4px 0 0; cursor: pointer;
	color: var(--fv-accent); font-weight: 700; text-decoration: underline;
}
.fv-about__more { display: inline-block; }
/* Volledige locatietekst onderaan (onder de foto's) */
.fv-description { max-width: 860px; }
.fv-description h1, .fv-description h2, .fv-description h3 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 14px; }
.fv-description p { margin: 0 0 12px; }
.fv-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fv-facts li {
	background: var(--fv-bg-soft); border: 1px solid var(--fv-border); border-radius: 999px;
	padding: 6px 14px; font-size: .9rem;
}
.fv-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.fv-jump .fv-btn { text-decoration: none; }
.fv-jump .fv-btn:hover, .fv-jump .fv-btn:focus { text-decoration: none; }
@media (max-width: 599px) {
	.fv-jump .fv-btn--primary { flex: 1 1 100%; }
	.fv-jump .fv-btn:not(.fv-btn--primary) { flex: 1 1 0; }
}

/* ---- Layout ------------------------------------------------------------- */
.fv-rental__title { margin: 24px 0 16px; font-size: 1.6rem; }
.fv-layout { display: block; }
.fv-main { min-width: 0; }
@media (min-width: 992px) {
	.fv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
}

.fv-step {
	border: 1px solid var(--fv-border);
	border-radius: var(--fv-radius);
	padding: 16px;
	margin-bottom: 20px;
	background: #fff;
}
@media (min-width: 768px) { .fv-step { padding: 24px; } }
.fv-step__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.3rem; }
.fv-step__nr {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--fv-accent); color: #fff; font-size: 1rem; flex: 0 0 auto;
}
.fv-subtitle { margin: 24px 0 12px; font-size: 1.1rem; }

/* ---- Stap 1: kalender ---------------------------------------------------- */
.fv-dates { display: flex; flex-direction: column; gap: 12px; }
.fv-calendar .flatpickr-calendar.inline { top: 0; }
.fv-calendar > input { display: none !important; }
.fv-calendar .flatpickr-calendar::before, .fv-calendar .flatpickr-calendar::after { display: none; }

.fv-legend { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; }
.fv-legend li { display: inline-flex; align-items: center; gap: 6px; }
.fv-swatch { width: 18px; height: 18px; border-radius: 4px; display: inline-block; border: 1px solid rgba(0,0,0,.1); }
.fv-swatch--A { background: var(--fv-available); }
.fv-swatch--R { background: var(--fv-request); }
.fv-swatch--S { background: var(--fv-selected); }
.fv-swatch--NA { background: #fff; position: relative; overflow: hidden; }
.fv-swatch--NA::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; border-top: 2px solid var(--fv-na); transform: rotate(-45deg); }

.fv-dates__range { font-size: 1.05rem; margin: 0 0 8px; }
.fv-dates__range span, .fv-dates__hint { color: var(--fv-muted); }
.fv-dates__hint { margin: 0 0 8px; }
/* Dagen links uitlijnen (flatpickr verdeelt ze standaard over de rij) */
.fv-calendar .dayContainer { justify-content: flex-start; }

/* flatpickr inline */
.fv-calendar .flatpickr-calendar.inline { box-shadow: none; border: 1px solid var(--fv-border); border-radius: var(--fv-radius); margin: 0; }
.fv-calendar .flatpickr-months .flatpickr-month, .fv-calendar .flatpickr-current-month { height: 44px; }
.fv-calendar .flatpickr-current-month { font-size: 1.05rem; padding-top: 10px; }
.fv-calendar .flatpickr-months .flatpickr-prev-month, .fv-calendar .flatpickr-months .flatpickr-next-month { height: 44px; padding: 14px; }

/* Eén maand (mobiel): kalender over de volle breedte, grote tikvlakken */
.fv-cal--single .flatpickr-calendar.inline,
.fv-cal--single .flatpickr-rContainer,
.fv-cal--single .flatpickr-days,
.fv-cal--single .dayContainer { width: 100%; min-width: 0; max-width: none; }
.fv-cal--single .flatpickr-day { max-width: none; flex-basis: 14.2857%; height: 46px; line-height: 44px; }
.fv-cal--single .flatpickr-weekdaycontainer { width: 100%; }

.fv-calendar .flatpickr-day { border-radius: 4px; border: 1px solid #fff; color: #222; }
.fv-calendar .flatpickr-day.fv-day--A { background: var(--fv-available); }
.fv-calendar .flatpickr-day.fv-day--R,
.fv-calendar .flatpickr-day.fv-day--W { background: var(--fv-request); }
.fv-calendar .flatpickr-day.fv-day--NA,
.fv-calendar .flatpickr-day.fv-day--NA:hover {
	background: #fff; color: var(--fv-na); text-decoration: line-through; cursor: not-allowed;
}
/* Dagen vóór de eerste mogelijke datum en dagen van andere maanden: neutraal */
.fv-calendar .flatpickr-day.flatpickr-disabled:not(.fv-day--NA),
.fv-calendar .flatpickr-day.flatpickr-disabled:not(.fv-day--NA):hover { background: #fff; color: #c8c8c8; }
.fv-calendar .flatpickr-day.prevMonthDay, .fv-calendar .flatpickr-day.nextMonthDay { opacity: .45; }
.fv-calendar .flatpickr-day:not(.flatpickr-disabled):hover { filter: brightness(.92); border-color: #fff; }
.fv-calendar .flatpickr-day.inRange,
.fv-calendar .flatpickr-day.inRange:hover {
	background: var(--fv-range); border-color: var(--fv-range); box-shadow: none; color: #000; filter: none;
}
.fv-calendar .flatpickr-day.selected,
.fv-calendar .flatpickr-day.startRange,
.fv-calendar .flatpickr-day.endRange,
.fv-calendar .flatpickr-day.selected:hover,
.fv-calendar .flatpickr-day.startRange:hover,
.fv-calendar .flatpickr-day.endRange:hover {
	background: var(--fv-selected); border-color: var(--fv-selected); color: #fff; box-shadow: none; filter: none;
}
/* Ook na selectie zichtbaar laten dat een dag "on request" is */
.fv-calendar .flatpickr-day.inRange.fv-day--R,
.fv-calendar .flatpickr-day.inRange.fv-day--W { box-shadow: inset 0 -4px 0 var(--fv-request); }
.fv-calendar .flatpickr-day.today { font-weight: 700; }

/* ---- Meldingen ----------------------------------------------------------- */
.fv-msg { padding: 10px 12px; border-radius: 6px; margin: 8px 0; font-size: .92rem; border-left: 4px solid; }
.fv-msg--error { background: #fdecea; border-color: #d9534f; color: #8a1f1b; }
.fv-msg--request { background: #fff4e5; border-color: var(--fv-request); color: #6b3d00; }
.fv-msg--info { background: #eef5fb; border-color: var(--fv-accent); color: #1d4466; }

/* ---- Stap 2: fietsen en accessoires ------------------------------------- */
/* Tabbladen per fietstype */
.fv-tabs {
	display: flex; gap: 8px; margin: 0 0 16px; padding: 2px 2px 6px;
	overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .fv-tabs { flex-wrap: wrap; overflow: visible; } }
.fv-tab {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
	min-height: 40px; padding: 0 14px; margin: 0;
	border: 1px solid var(--fv-border); border-radius: 20px; background: #fff;
	color: #333; font-size: .95rem; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.fv-tab:hover { border-color: var(--fv-accent); }
.fv-tab:focus-visible { outline: 2px solid var(--fv-accent); outline-offset: 2px; }
.fv-tab[aria-selected="true"] { background: var(--fv-accent); border-color: var(--fv-accent); color: #fff; }
.fv-tab__count { font-weight: normal; opacity: .75; }
.fv-tab__badge {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
	background: var(--fv-accent); color: #fff; font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center;
}
.fv-tab[aria-selected="true"] .fv-tab__badge { background: #fff; color: var(--fv-accent); }
.fv-tab__badge[hidden] { display: none; }
.fv-item--off { display: none !important; }

.fv-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .fv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .fv-grid--bikes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fv-grid--acc { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .fv-grid--acc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .fv-grid--acc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fv-item {
	display: flex; flex-direction: column;
	border: 1px solid var(--fv-border); border-radius: var(--fv-radius);
	background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.fv-item.is-selected { border-color: var(--fv-accent); box-shadow: 0 0 0 2px var(--fv-accent); } /* buitenkant: binnenschaduw werd door de foto afgedekt */
.fv-item__media {
	display: block; width: 100%; padding: 8px; border: 0; background: #fff; cursor: pointer;
	aspect-ratio: 4 / 3;
}
/* Accessoires: compacte kaart met kleine foto links */
.fv-grid--acc .fv-item {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "media body" "media qty";
	align-items: center; column-gap: 12px; padding: 10px;
}
.fv-grid--acc .fv-item__media { grid-area: media; width: 64px; height: 64px; aspect-ratio: auto; padding: 4px; align-self: center; }
.fv-grid--acc .fv-item__body { grid-area: body; text-align: left; padding: 0; }
.fv-grid--acc .fv-item__name { font-size: .95rem; margin: 0 0 2px; }
.fv-grid--acc .fv-item__price { margin: 0; font-size: .9rem; }
.fv-grid--acc .fv-qty { grid-area: qty; justify-content: flex-start; padding: 6px 0 0; }
.fv-grid--acc .fv-qty .fv-qty__btn { width: 36px; height: 36px; font-size: 1.2rem; }
.fv-grid--acc .fv-qty .fv-qty__btn:first-child { border-radius: 18px 0 0 18px; }
.fv-grid--acc .fv-qty .fv-qty__btn:last-child { border-radius: 0 18px 18px 0; }
.fv-grid--acc .fv-qty .fv-qty__input { width: 44px; height: 36px; line-height: 34px; font-size: 1rem; }
.fv-step__opt {
	font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
	color: var(--fv-muted); background: var(--fv-bg-soft); border: 1px solid var(--fv-border);
	border-radius: 10px; padding: 2px 8px;
}
.fv-item__media img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.fv-item__body { padding: 0 12px 8px; flex: 1; text-align: center; }
.fv-item__cat { display: block; font-size: .8rem; color: var(--fv-muted); text-transform: uppercase; letter-spacing: .04em; }
.fv-item__name { margin: 4px 0; font-size: 1.05rem; line-height: 1.3; }
.fv-item__sizes { margin: 0; font-size: .85rem; color: var(--fv-muted); }
.fv-item__price { margin: 6px 0 0; font-weight: 700; }

.fv-linkbtn {
	background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: inherit;
}
.fv-item__name .fv-linkbtn:hover, .fv-item__name .fv-linkbtn:focus-visible { text-decoration: underline; }

.fv-qty { display: flex; align-items: stretch; justify-content: center; gap: 0; padding: 8px 12px 12px; }
/* Smalle schermen: kaart horizontaal (foto links), zodat de lijst niet eindeloos lang wordt */
@media (max-width: 519px) {
	.fv-grid--bikes .fv-item {
		display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-areas: "media body" "media qty";
		align-items: center;
	}
	.fv-grid--bikes .fv-item__media { grid-area: media; aspect-ratio: auto; height: 100%; min-height: 120px; padding: 6px; }
	.fv-grid--bikes .fv-item__body { grid-area: body; text-align: left; padding: 12px 12px 0 4px; }
	.fv-grid--bikes .fv-qty { grid-area: qty; justify-content: flex-start; padding: 8px 12px 12px 4px; }
	.fv-grid--bikes .fv-item__name { font-size: 1rem; }
}
/* Selectors met .fv-qty ervoor: het theme zet input[type=number] op 32px hoog */
.fv-qty .fv-qty__btn {
	width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--fv-border); background: var(--fv-bg-soft);
	font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--fv-accent);
	display: inline-flex; align-items: center; justify-content: center;
}
.fv-qty .fv-qty__btn:first-child { border-radius: 22px 0 0 22px; }
.fv-qty .fv-qty__btn:last-child { border-radius: 0 22px 22px 0; }
.fv-qty .fv-qty__btn:disabled { color: #bbb; cursor: default; }
.fv-qty .fv-qty__input {
	width: 52px; height: 44px; line-height: 42px; text-align: center; font-size: 1.1rem; font-weight: 700;
	border: 1px solid var(--fv-border); border-left: 0; border-right: 0; border-radius: 0; box-shadow: none;
	-moz-appearance: textfield; appearance: textfield; padding: 0; margin: 0; background: #fff; color: #222;
}
.fv-qty__input::-webkit-outer-spin-button, .fv-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Zonder JavaScript zijn de knoppen nutteloos */
.fv-rental:not(.fv-js) .fv-qty, .fv-rental:not(.fv-js) .fv-cart { display: none; }

/* ---- Stap 3: bezorgopties ----------------------------------------------- */
.fv-deliveries { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .fv-deliveries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fv-delivery { border: 1px solid var(--fv-border); border-radius: var(--fv-radius); background: #fff; }
.fv-delivery:has(input:checked) { border-color: var(--fv-accent); box-shadow: 0 0 0 2px var(--fv-accent); }
.fv-delivery__label { display: flex; gap: 12px; padding: 14px; cursor: pointer; margin: 0; font-weight: normal; }
.fv-delivery__label input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--fv-accent); }
.fv-delivery__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fv-delivery__info { color: var(--fv-muted); font-size: .92rem; overflow-wrap: anywhere; }
.fv-delivery__price { font-weight: 700; }
.fv-delivery { display: flex; flex-direction: column; }
.fv-delivery__label { flex: 1; }
.fv-delivery__map {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
	min-height: 44px; padding: 8px 14px; margin: 0; cursor: pointer;
	border: 0; border-top: 1px solid var(--fv-border); border-radius: 0 0 var(--fv-radius) var(--fv-radius);
	background: var(--fv-bg-soft); color: var(--fv-accent); font-weight: 700; font-size: .92rem;
}
.fv-delivery__map:hover, .fv-delivery__map:focus-visible { background: #eef5fb; }
.fv-map--dialog { height: 55vh; min-height: 260px; border-radius: 6px; overflow: hidden; background: var(--fv-bg-soft); }
.fv-map__loading { padding: 16px; color: var(--fv-muted); }
.fv-map__info { margin: 0 0 4px; color: var(--fv-muted); }
.fv-map__price { margin: 0 0 12px; }
.fv-map__choose { width: 100%; margin-top: 12px; }

/* ---- Stap 4: mandje ------------------------------------------------------ */
.fv-cart__panel { background: #fff; }
.fv-cart__heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 1.2rem; }
.fv-cart__close { display: none; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.fv-cart__lines { list-style: none; margin: 0 0 12px; padding: 0; }
.fv-cart__lines li { display: flex; gap: 6px; padding: 6px 0; border-bottom: 1px solid #eee; font-size: .95rem; }
.fv-cart__qty { font-weight: 700; flex: 0 0 auto; }
.fv-cart__name { flex: 1; min-width: 0; }
.fv-cart__amount { white-space: nowrap; margin-left: auto; }
.fv-cart__meta { margin: 0 0 12px; font-size: .92rem; }
.fv-cart__meta dt { font-weight: 700; margin-top: 8px; }
.fv-cart__meta dd { margin: 0; display: flex; gap: 6px; }
.fv-cart__row { display: flex; justify-content: space-between; gap: 8px; padding: 0 0 8px; font-size: .92rem; }
.fv-cart__total, .fv-cart__downp { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; }
.fv-cart__total { border-top: 2px solid #222; font-size: 1.1rem; }
.fv-cart__hint { color: var(--fv-muted); font-size: .92rem; }
.fv-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
	border-radius: 22px; border: 1px solid var(--fv-accent); background: #fff; color: var(--fv-accent);
	font-weight: 700; cursor: pointer; font-size: 1rem;
}
.fv-btn--primary { background: var(--fv-accent); color: #fff; }
.fv-btn:disabled { opacity: .45; cursor: not-allowed; }
.fv-cart__book { width: 100%; margin-top: 8px; }
.fv-cart__clear { display: block; margin: 12px auto 0; font-size: .9rem; text-decoration: underline; color: var(--fv-muted); }

/* Desktop: sticky zijbalk */
.fv-bar { display: none; }
@media (min-width: 992px) {
	.fv-cart { position: sticky; top: 100px; }
	.fv-cart .fv-cart__panel { border: 1px solid var(--fv-border); border-radius: var(--fv-radius); padding: 20px; max-height: calc(100vh - 120px); overflow: auto; }
}

/* Mobiel/tablet: vaste balk onderaan + uitschuivend paneel */
@media (max-width: 991px) {
	.fv-rental { padding-bottom: calc(var(--fv-bar-h) + 24px); }
	.fv-bar {
		display: flex; align-items: center; gap: 12px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
		height: var(--fv-bar-h); padding: 0 16px; padding-bottom: env(safe-area-inset-bottom);
		background: #fff; border-top: 1px solid var(--fv-border); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
	}
	.fv-bar__toggle { flex: 1; min-width: 0; height: 100%; text-align: left; }
	#fv-bar-summary { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
	.fv-bar__count { font-size: .85rem; color: var(--fv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
	.fv-bar__total { font-weight: 700; font-size: 1.1rem; }
	.fv-bar__action { flex: 0 0 auto; }

	.fv-cart .fv-cart__panel {
		position: fixed; left: 0; right: 0; bottom: var(--fv-bar-h); z-index: 999;
		max-height: calc(100vh - var(--fv-bar-h) - 60px); max-height: calc(100dvh - var(--fv-bar-h) - 60px);
		overflow: auto; padding: 16px; border-radius: 16px 16px 0 0;
		box-shadow: 0 -8px 24px rgba(0,0,0,.15);
		transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.fv-cart.is-open .fv-cart__panel { transform: none; visibility: visible; }
	.fv-cart__close { display: inline-block; }
	.fv-sheet-backdrop { display: none; }
	.fv-cart.is-open .fv-sheet-backdrop {
		display: block; position: fixed; inset: 0; bottom: var(--fv-bar-h); background: rgba(0,0,0,.35); z-index: 998;
	}
	html.fv-sheet-open, html.fv-sheet-open body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .fv-cart__panel { transition: none; } }

/* ---- Venster (info en kaart) ------------------------------------------- */
.fv-dialog {
	width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
	border: 0; border-radius: 12px; padding: 0; box-shadow: 0 12px 40px rgba(0,0,0,.3); overflow: hidden;
}
.fv-dialog[open] { display: flex; flex-direction: column; }
.fv-dialog::backdrop { background: rgba(0,0,0,.45); }
.fv-dialog__inner { display: flex; flex-direction: column; min-height: 0; max-height: inherit; flex: 1; }
/* De kop met sluitknop scrolt niet mee */
.fv-dialog__head {
	flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
	padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--fv-border); background: #fff;
}
.fv-dialog__title { margin: 0; font-size: 1.15rem; flex: 1; min-width: 0; }
.fv-dialog__close {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; margin: 0;
	background: var(--fv-bg-soft); font-size: 1.8rem; line-height: 1; cursor: pointer; color: #333;
}
.fv-dialog__close:hover, .fv-dialog__close:focus-visible { background: #e6e6e6; }
.fv-dialog__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 16px 20px 20px; -webkit-overflow-scrolling: touch; }
.fv-dialog__body img { max-width: 100%; height: auto; }
.fv-dialog:not(.fv-dialog--map) .fv-dialog__body a { display: none; } /* zoals voorheen: links in productteksten verbergen */
.fv-dialog__img { text-align: center; margin: 12px 0; }
.fv-dialog__img img { max-height: 320px; width: auto; }
.fv-pricetable { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 4px 12px; margin: 8px 0 12px; font-size: .92rem; }

/* ---- Informatie en foto's ------------------------------------------------ */
.fv-extra { margin-top: 8px; margin-bottom: 24px; }
.fv-extra__grid { display: grid; gap: 20px; }
@media (min-width: 992px) { .fv-extra__grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .fv-extra__grid--single { grid-template-columns: minmax(0, 1fr); } }
.fv-card {
	border: 1px solid var(--fv-border); border-radius: var(--fv-radius); background: #fff;
	padding: 20px 16px;
}
@media (min-width: 768px) { .fv-card { padding: 28px; } }
.fv-card__title {
	margin: 0 0 16px; font-size: 1.4rem; padding-left: 12px; border-left: 4px solid var(--fv-accent); line-height: 1.2;
}
.fv-card__content { line-height: 1.65; }
.fv-card__content > :first-child { margin-top: 0; }
.fv-card__content img, .fv-card__content iframe, .fv-banner img, .fv-banner iframe { max-width: 100%; height: auto; }
.fv-banner { text-align: center; overflow: hidden; }

.fv-gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .fv-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.fv-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--fv-bg-soft); }
.fv-gallery__item img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .3s; }
.fv-gallery__item:hover img, .fv-gallery__item:focus-visible img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .fv-gallery__item img { transition: none; } }

/* ---- Overig -------------------------------------------------------------- */
/* Cookie-icoon (CookieScript) op mobiel boven de mandjesbalk; rental.js doet
   hetzelfde voor andere vaste elementen linksonder. */
@media (max-width: 991px) {
	.fv-rental-page #cookiescript_badge { bottom: calc(var(--fv-bar-h, 64px) + 10px) !important; }
}

/* ==========================================================================
   Boekingspagina (/book/)
   ========================================================================== */
.fv-booking__header {
	position: relative; background: #2b2b2b center / cover no-repeat; color: #fff;
	padding: 48px 0 28px; margin-bottom: 24px;
}
.fv-booking__header.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.6)); }
.fv-booking__header .container { position: relative; }
.fv-booking__eyebrow { margin: 0 0 6px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.fv-booking__title { margin: 0; color: #fff; font-size: 1.7rem; line-height: 1.2; }
@media (min-width: 768px) {
	.fv-booking__header { padding: 110px 0 36px; }
	.fv-booking__title { font-size: 2.4rem; }
}

/* Layout: hoofdkolom + overzicht. Mobiel staat het overzicht bovenaan. */
.fv-booking__layout { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
@media (min-width: 992px) {
	.fv-booking__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
	.fv-booking__layout .fv-main { grid-column: 1; grid-row: 1; }
	.fv-booking__summary { grid-column: 2; grid-row: 1; position: sticky; top: 100px; }
}
.fv-booking__summary .fv-cart__panel { border: 1px solid var(--fv-border); border-radius: var(--fv-radius); padding: 20px; background: #fff; }
.fv-booking__change { font-size: .9rem; font-weight: 700; color: var(--fv-accent); text-decoration: underline; }
.fv-booking__problem { margin: 0 0 40px; }
.fv-step__intro { margin: -8px 0 16px; color: var(--fv-muted); }

/* Maatkeuze per fiets */
.fv-sizes { display: grid; gap: 12px; }
@media (min-width: 768px) { .fv-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fv-size { display: flex; gap: 12px; align-items: center; border: 1px solid var(--fv-border); border-radius: var(--fv-radius); padding: 10px 12px; }
.fv-size__img { flex: 0 0 84px; height: 64px; display: flex; align-items: center; justify-content: center; }
.fv-size__img img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0; }
.fv-size__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fv-size__name { font-weight: 700; margin: 0; }
.fv-size__name span { font-weight: normal; color: var(--fv-muted); }
.fv-size__hint { font-size: .85rem; color: var(--fv-muted); }
.fv-acclist { margin: 0; padding-left: 20px; }

/* Formulier */
.fv-form-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .fv-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fv-field--full { grid-column: 1 / -1; } }
.fv-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fv-field label { font-weight: 700; margin: 0; }
.fv-field__hint { font-size: .85rem; color: var(--fv-muted); }
.fv-field__error { font-size: .88rem; color: #b3261e; font-weight: 700; }
/* Hogere specificiteit dan de theme-regels voor input[type=...] */
.fv-booking .fv-input {
	width: 100%; height: 46px; padding: 0 12px; margin: 0;
	border: 1px solid #c9c9c9; border-radius: 6px; background: #fff; color: #222;
	font-size: 16px; /* voorkomt inzoomen op iOS */ box-shadow: none;
}
.fv-booking .fv-input:focus { border-color: var(--fv-accent); outline: 2px solid rgba(68,130,189,.35); outline-offset: 0; }
.fv-booking .fv-input.is-invalid { border-color: #b3261e; background: #fff8f7; }
.fv-booking .fv-select {
	-webkit-appearance: none; appearance: none; padding-right: 36px;
	background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%3E%3Cpath%20fill%3D%22%234482bd%22%20d%3D%22M0%200l6%208%206-8z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 12px center;
}
.fv-booking .iti { width: 100%; }

.fv-booking__delivery { margin: 0 0 16px; }
.fv-booking__delivery span { color: var(--fv-muted); }
.fv-booking__deltimes { margin-top: 12px; font-size: .92rem; color: var(--fv-muted); }

.fv-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-weight: normal; cursor: pointer; flex-wrap: wrap; }
.fv-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--fv-accent); }
.fv-check span { flex: 1; }
.fv-check .fv-field__error { flex-basis: 100%; }
.fv-booking__confirm p { margin: 0 0 12px; }
.fv-booking__submit { width: 100%; min-height: 52px; font-size: 1.1rem; margin-top: 4px; }
@media (min-width: 768px) { .fv-booking__submit { width: auto; min-width: 260px; } }
#fv-form-errors ul { margin: 6px 0 0; padding-left: 20px; }
#fv-form-errors a { color: inherit; text-decoration: underline; }
