/* ABC Full Omnium - blok op "Uw aanvraag" */
.bfm-omnium {
	--bfm-omnium-bg: #f79421;
	--bfm-omnium-fg: #ffffff;
	background: var(--bfm-omnium-bg);
	color: var(--bfm-omnium-fg);
	border-radius: 0;
	padding: 26px 28px;
	margin: 28px 0;
	box-sizing: border-box;
	position: relative;
	transition: opacity 0.2s ease;
}

.bfm-omnium,
.bfm-omnium * {
	color: var(--bfm-omnium-fg) !important;
}

.bfm-omnium--before {
	margin: 0 0 28px;
}

.bfm-omnium.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.bfm-omnium__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 18px;
}

.bfm-omnium__icon {
	flex: 0 0 auto;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 50%;
}

.bfm-omnium__icon svg {
	width: 22px;
	height: 22px;
	fill: var(--bfm-omnium-fg);
}

.bfm-omnium__title {
	margin: 0 0 4px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

.bfm-omnium__intro {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	opacity: 0.95;
}

/* Checkbox */
.bfm-omnium__check {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	padding: 16px 18px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.16);
	cursor: pointer;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	user-select: none;
	transition: background 0.15s ease;
}

.bfm-omnium__check:hover {
	background: rgba(255, 255, 255, 0.24);
}

.bfm-omnium__check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	pointer-events: none;
}

.bfm-omnium__box {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: 2px solid var(--bfm-omnium-fg);
	border-radius: 3px;
	background: transparent;
	position: relative;
	box-sizing: border-box;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bfm-omnium__check input:checked + .bfm-omnium__box {
	background: var(--bfm-omnium-fg);
	transform: scale(1.05);
}

.bfm-omnium__check input:checked + .bfm-omnium__box::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 3px;
	width: 7px;
	height: 13px;
	border: solid var(--bfm-omnium-bg);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.bfm-omnium__check input:focus-visible + .bfm-omnium__box {
	outline: 3px solid rgba(255, 255, 255, 0.75);
	outline-offset: 3px;
}

/* Bedragen */
.bfm-omnium__totals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
}

.bfm-omnium__totals > div {
	background: rgba(255, 255, 255, 0.16);
	border-radius: 0;
	padding: 12px 16px;
	margin: 0;
}

.bfm-omnium__totals dt {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	opacity: 0.9;
}

.bfm-omnium__totals dd {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.bfm-omnium__totals dd .woocommerce-Price-amount,
.bfm-omnium__totals dd bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
}

/* Het thema plakt site-breed "excl. BTW/st" achter elke prijs (bdi::after); hier niet. */
.bfm-omnium bdi::after,
.bfm-omnium .woocommerce-Price-amount::after {
	content: none !important;
	display: none !important;
}

.bfm-omnium__more {
	display: inline-block;
	margin-left: 6px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.bfm-omnium__more:hover {
	text-decoration: none;
}

.bfm-omnium__desc,
.bfm-omnium__empty {
	margin: 0;
	max-width: 70ch;
	font-size: 14px;
	line-height: 1.55;
	opacity: 0.95;
}

.bfm-omnium__empty {
	display: none;
	margin-bottom: 14px;
	font-weight: 600;
}

/* Geen verhuurartikelen in de lijst: enkel de uitleg tonen */
.bfm-omnium[data-eligible="0"] .bfm-omnium__check,
.bfm-omnium[data-eligible="0"] .bfm-omnium__totals {
	display: none;
}

.bfm-omnium[data-eligible="0"] .bfm-omnium__empty {
	display: block;
}

/* Samenvatting onder de producttabel */
.bfm-summary {
	margin: 0 0 8px;
	padding: 6px 18px 10px;
	border: 1px solid #e4e4e4;
	border-top: 0;
	background: #f7f7f7;
	color: #3a3a3a;
	font-size: 14px;
	line-height: 1.4;
}

.bfm-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 7px 0;
}

.bfm-summary__row[hidden] {
	display: none;
}

.bfm-summary__label {
	color: #5f5f5f;
}

.bfm-summary__value,
.bfm-summary__value .woocommerce-Price-amount,
.bfm-summary__value .woocommerce-Price-amount * {
	color: #242424;
	font-size: 14px !important;
	font-weight: 600 !important;
	white-space: nowrap;
}

.bfm-summary__row--total {
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px solid #e4e4e4;
}

.bfm-summary__row--total .bfm-summary__label {
	color: #242424;
	font-weight: 700;
}

.bfm-summary__row--total .bfm-summary__value,
.bfm-summary__row--total .bfm-summary__value .woocommerce-Price-amount,
.bfm-summary__row--total .bfm-summary__value .woocommerce-Price-amount * {
	font-size: 16px !important;
	font-weight: 700 !important;
}

.bfm-summary bdi::after,
.bfm-summary .woocommerce-Price-amount::after {
	content: none !important;
}

@media (max-width: 767px) {
	.bfm-omnium {
		padding: 20px 18px;
	}

	.bfm-summary {
		padding: 4px 16px 8px;
	}

	.bfm-omnium__head {
		gap: 12px;
		margin-bottom: 14px;
	}

	.bfm-omnium__icon {
		width: 36px;
		height: 36px;
	}

	.bfm-omnium__icon svg {
		width: 18px;
		height: 18px;
	}

	.bfm-omnium__intro {
		font-size: 14px;
	}

	.bfm-omnium__check {
		padding: 12px 14px;
		margin-bottom: 12px;
	}

	/* Bedragen als compacte regels: label links, bedrag rechts */
	.bfm-omnium__totals {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-bottom: 12px;
	}

	.bfm-omnium__totals > div {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding: 10px 14px;
	}

	.bfm-omnium__totals dt {
		margin: 0;
		font-size: 12px;
	}

	.bfm-omnium__totals dd {
		font-size: 18px;
	}

	.bfm-omnium__desc {
		font-size: 13px;
	}

	.bfm-omnium__title {
		font-size: 20px;
	}

	.bfm-omnium__check {
		font-size: 15px;
	}
}
