/* B&B Reservaties – publieke boekingsmodule */

.bnbr-booking {
	--bnbr-accent: #2b6cb0;
	--bnbr-border: #e2e4e7;
	--bnbr-muted: #6b7280;
	max-width: 900px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.55;
}

.bnbr-booking * { box-sizing: border-box; }

.bnbr-title { margin: 0 0 18px; }

/* Zoekformulier */
.bnbr-search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 18px;
	border: 1px solid var(--bnbr-border);
	border-radius: 8px;
	background: #fafafa;
	margin-bottom: 24px;
}
.bnbr-field { display: flex; flex-direction: column; flex: 1 1 180px; }
.bnbr-field-small { flex: 0 0 110px; }
.bnbr-field-submit { flex: 0 0 auto; }
.bnbr-field label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.bnbr-booking input[type="text"],
.bnbr-booking input[type="email"],
.bnbr-booking input[type="tel"],
.bnbr-booking input[type="date"],
.bnbr-booking input[type="number"],
.bnbr-booking textarea {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #cbd0d6;
	border-radius: 4px;
	font: inherit;
	background: #fff;
}

.bnbr-button {
	display: inline-block;
	background: var(--bnbr-accent);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 11px 20px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}
.bnbr-button:hover, .bnbr-button:focus { background: #24578f; color: #fff; }
.bnbr-button-large { padding: 14px 28px; font-size: 17px; }

/* Meldingen */
.bnbr-notice { padding: 12px 16px; border-radius: 4px; margin: 0 0 18px; border-left: 4px solid; }
.bnbr-notice ul { margin: 0; padding-left: 18px; }
.bnbr-notice-error { background: #fdf2f2; border-color: #c53030; }
.bnbr-notice-warning { background: #fffaf0; border-color: #dd6b20; }
.bnbr-notice-success { background: #f0fff4; border-color: #2f855a; }

/* Resultaten */
.bnbr-results h3 { margin: 0 0 16px; font-size: 18px; }
.bnbr-room {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	border: 1px solid var(--bnbr-border);
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 16px;
}
.bnbr-room-image { flex: 0 0 180px; }
.bnbr-room-image img { width: 100%; height: auto; border-radius: 6px; display: block; }
.bnbr-room-body { flex: 1 1 260px; }
.bnbr-room-body h4 { margin: 0 0 6px; font-size: 18px; }
.bnbr-room-desc { font-size: 15px; color: #3f444b; }
.bnbr-room-desc p { margin: 0 0 8px; }
.bnbr-room-meta { font-size: 13px; color: var(--bnbr-muted); margin: 6px 0 0; }
.bnbr-room-price { flex: 0 0 170px; text-align: right; display: flex; flex-direction: column; gap: 6px; }
.bnbr-price { font-size: 22px; font-weight: 700; }
.bnbr-price-sub { font-size: 12px; color: var(--bnbr-muted); }

.bnbr-unavailable { margin-top: 24px; font-size: 14px; color: var(--bnbr-muted); }
.bnbr-unavailable h4 { margin: 0 0 6px; font-size: 15px; }

/* Boekingsformulier */
.bnbr-form fieldset {
	border: 1px solid var(--bnbr-border);
	border-radius: 8px;
	padding: 16px 18px;
	margin: 0 0 18px;
}
.bnbr-form legend { font-weight: 700; padding: 0 6px; }
.bnbr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 600px) { .bnbr-grid { grid-template-columns: 1fr; } }

.bnbr-summary {
	background: #f7f9fb;
	border: 1px solid var(--bnbr-border);
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 18px;
}
.bnbr-summary h3 { margin: 0 0 6px; }
.bnbr-summary p { margin: 0 0 4px; }
.bnbr-summary-price { font-size: 17px; }

.bnbr-service {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 8px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
}
.bnbr-service:last-child { border-bottom: 0; }
.bnbr-service-desc { grid-column: 2 / -1; font-size: 13px; color: var(--bnbr-muted); }
.bnbr-service-price { font-weight: 600; white-space: nowrap; }
.bnbr-service-qty { width: 70px; }

.bnbr-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 20px;
	padding: 14px 18px;
	border: 2px solid var(--bnbr-accent);
	border-radius: 8px;
	margin-bottom: 18px;
}
.bnbr-terms { display: block; margin-bottom: 18px; font-size: 14px; }
.bnbr-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Bevestiging */
.bnbr-details { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.bnbr-details th, .bnbr-details td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bnbr-border); }
.bnbr-details th { font-weight: 600; width: 45%; }
.bnbr-details td { text-align: right; }
.bnbr-total-row th, .bnbr-total-row td { font-size: 18px; font-weight: 700; }
.bnbr-contact { color: var(--bnbr-muted); font-size: 14px; }

/* Beschikbaarheidskalender */
.bnbr-availability { display: flex; flex-direction: column; gap: 24px; }
.bnbr-availability-room h3 { margin: 0 0 10px; }
.bnbr-cal { border-collapse: collapse; margin: 0 12px 12px 0; display: inline-table; }
.bnbr-cal caption { font-weight: 700; padding-bottom: 6px; text-align: left; }
.bnbr-cal th { font-size: 11px; color: var(--bnbr-muted); padding: 3px; font-weight: 500; }
.bnbr-cal td { width: 32px; height: 30px; text-align: center; font-size: 12px; border: 1px solid #eceef0; }
.bnbr-cal-free { background: #eaf7ec; }
.bnbr-cal-full { background: #fdeaea; color: #9b2c2c; text-decoration: line-through; }
.bnbr-cal-past { background: #f4f4f5; color: #b6b8bb; }
.bnbr-cal-empty { border: 0; }
.bnbr-legend { font-size: 13px; color: var(--bnbr-muted); }
.bnbr-legend span { display: inline-block; width: 14px; height: 14px; border: 1px solid #dcdcde; vertical-align: middle; margin: 0 4px 0 10px; }

/* ------------------------------------------------------------------ */
/* Zwevende taalkeuze: ronde knop die boven de pagina blijft hangen.     */
/* De selectors zijn expres specifiek (.bnbr-langswitch button.…): een   */
/* thema of Elementor stylet button en a via .elementor-kit-N button,    */
/* wat een losse klasse anders overrulet.                                */
/* ------------------------------------------------------------------ */
.bnbr-langswitch {
	position: fixed;
	z-index: 9990;
	font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
}
.bnbr-langswitch-bottom-left  { bottom: 24px; left: 24px; }
.bnbr-langswitch-bottom-right { bottom: 24px; right: 24px; }
.bnbr-langswitch-top-right    { top: 24px; right: 24px; }

/* De knop: een cirkel met de taalcode. */
.bnbr-langswitch button.bnbr-langswitch-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-width: 0;
	padding: 0;
	margin: 0;
	background: #fff;
	color: #1f2933;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 50%;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	transition: box-shadow .18s ease, transform .18s ease;
}
.bnbr-langswitch button.bnbr-langswitch-toggle:hover,
.bnbr-langswitch button.bnbr-langswitch-toggle:focus-visible {
	background: #fff;
	color: #1f2933;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
	transform: translateY(-2px);
}
.bnbr-langswitch button.bnbr-langswitch-toggle .bnbr-langswitch-code {
	font-size: 13px;
	letter-spacing: .05em;
	background: none;
	padding: 0;
}
/* In de knop tonen we alleen de code; de volledige naam staat in de lijst. */
.bnbr-langswitch button.bnbr-langswitch-toggle .bnbr-langswitch-name,
.bnbr-langswitch button.bnbr-langswitch-toggle .bnbr-langswitch-caret { display: none; }

/* De uitklaplijst zweeft los boven (of onder) de knop. */
.bnbr-langswitch ul.bnbr-langswitch-list {
	list-style: none;
	margin: 0;
	padding: 6px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	box-shadow: 0 8px 26px rgba(0, 0, 0, .2);
	min-width: 180px;
	position: absolute;
}
.bnbr-langswitch-bottom-left  ul.bnbr-langswitch-list,
.bnbr-langswitch-bottom-right ul.bnbr-langswitch-list { bottom: calc(100% + 10px); }
.bnbr-langswitch-top-right    ul.bnbr-langswitch-list { top: calc(100% + 10px); }
.bnbr-langswitch-bottom-left  ul.bnbr-langswitch-list { left: 0; }
.bnbr-langswitch-bottom-right ul.bnbr-langswitch-list,
.bnbr-langswitch-top-right    ul.bnbr-langswitch-list { right: 0; }

.bnbr-langswitch ul.bnbr-langswitch-list li { margin: 0; padding: 0; list-style: none; }
.bnbr-langswitch ul.bnbr-langswitch-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 11px;
	border-radius: 8px;
	text-decoration: none;
	color: #1f2933;
	white-space: nowrap;
	background: none;
}
.bnbr-langswitch ul.bnbr-langswitch-list a:hover,
.bnbr-langswitch ul.bnbr-langswitch-list a:focus-visible { background: #f2f4f7; color: #1f2933; }
.bnbr-langswitch ul.bnbr-langswitch-list .bnbr-langswitch-code {
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .04em;
	background: #eef1f4;
	border-radius: 4px;
	padding: 3px 6px;
	min-width: 30px;
	text-align: center;
}
.bnbr-langswitch ul.bnbr-langswitch-list a[aria-current="true"] { font-weight: 700; }
.bnbr-langswitch ul.bnbr-langswitch-list a[aria-current="true"] .bnbr-langswitch-code { background: #2b6cb0; color: #fff; }

@media (max-width: 600px) {
	.bnbr-langswitch-bottom-left,
	.bnbr-langswitch-bottom-right { bottom: 16px; }
	.bnbr-langswitch-bottom-left  { left: 16px; }
	.bnbr-langswitch-bottom-right { right: 16px; }
	.bnbr-langswitch button.bnbr-langswitch-toggle { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.bnbr-langswitch button.bnbr-langswitch-toggle { transition: none; }
	.bnbr-langswitch button.bnbr-langswitch-toggle:hover,
	.bnbr-langswitch button.bnbr-langswitch-toggle:focus-visible { transform: none; }
}

/* Btw-vermelding en aanvaarde betaalmethodes bij het boekingsformulier. */
.bnbr-form .bnbr-vat-note {
	margin: 4px 0 0;
	font-size: 13px;
	opacity: 0.75;
}

.bnbr-paymethods {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 12px;
}

.bnbr-paymethods .bnbr-paymethods-label {
	font-size: 13px;
	opacity: 0.75;
}

.bnbr-paymethods ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bnbr-paymethods li {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.bnbr-paymethods img {
	display: block;
	width: 48px;
	height: 32px;
	border-radius: 4px;
	background: #fff;
}

/* Juridische pagina's (voorwaarden, privacy, annulering). */
.bnbr-legal {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 20px 64px;
	line-height: 1.65;
}

.bnbr-legal h2 {
	margin: 2em 0 0.4em;
	font-size: 1.35em;
}

.bnbr-legal h2:first-of-type {
	margin-top: 1em;
}

.bnbr-legal ul {
	padding-left: 1.2em;
}

.bnbr-legal li {
	margin-bottom: 0.4em;
}

.bnbr-legal .bnbr-legal-meta {
	margin-top: 3em;
	padding-top: 1.2em;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 0.92em;
	opacity: 0.8;
}
