/**
 * /boeken/ en de iGMS-widget.
 *
 * Bewust los van style.css: de integratie kan worden aangepast of verwijderd
 * zonder de algemene vormgevingslaag te vermengen met plugin-specifieke CSS.
 */

.boeken-shell {
	display: grid;
	gap: clamp(24px, 4vw, 44px);
}

.boeken-intro,
.boeken-selector-card,
.boeken-widget-card {
	width: 100%;
	max-width: 980px;
}

.boeken-intro {
	max-width: 70ch;
}

.boeken-selector-card,
.boeken-widget-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	padding: clamp(22px, 4vw, 42px);
}

.boeken-selector-card {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
	align-items: end;
	gap: clamp(24px, 5vw, 56px);
}

.boeken-selector-card p:last-child {
	color: var(--text-soft);
}

.boeken-selector {
	display: grid;
	gap: 0.55rem;
}

.boeken-selector label {
	font-size: var(--t-small);
	font-weight: 700;
}

.boeken-selector-row {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
}

.boeken-selector select {
	min-width: 0;
	width: 100%;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 0.8rem 2.5rem 0.8rem 0.9rem;
}

.boeken-selector .button {
	flex: none;
	white-space: nowrap;
}

.boeken-widget-card {
	min-height: 260px;
}

.boeken-widget-heading {
	max-width: 65ch;
	margin-bottom: clamp(20px, 3vw, 32px);
}

.boeken-widget-heading h2 {
	overflow-wrap: anywhere;
}

.boeken-widget {
	min-height: 180px;
}

.boeken-widget .igms-direct-booking-widget {
	width: 100%;
}

.boeken-widget-help {
	margin-top: 1rem;
	color: var(--text-soft);
	font-size: var(--t-small);
}

.boeken-fallback {
	background: var(--surface-alt);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	padding: clamp(20px, 3vw, 32px);
}

.boeken-fallback p {
	max-width: 62ch;
	color: var(--text-soft);
}

@media (max-width: 820px) {
	.boeken-selector-card {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}

@media (max-width: 620px) {
	.boeken-selector-row {
		flex-direction: column;
	}

	.boeken-selector .button {
		width: 100%;
		white-space: normal;
	}
}
