/**
 * Buurtmand — voortgangs-UI gecombineerd minimum (mandje).
 * Bewust dun & neutraal: erft kleuren van het child-theme waar mogelijk.
 */

.bm-minimum-progress {
	margin: 0 0 1.5em;
	padding: 1em 1.25em;
	border: 1px solid rgba( 0, 0, 0, 0.08 );
	border-radius: 8px;
	background: #fafafa;
}

.bm-minimum-progress__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5em;
	margin-bottom: 0.6em;
}

.bm-minimum-progress__message {
	font-weight: 600;
}

.bm-minimum-progress__detail {
	font-size: 0.9em;
	opacity: 0.75;
	white-space: nowrap;
}

.bm-minimum-progress__bar {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: rgba( 0, 0, 0, 0.1 );
	overflow: hidden;
}

.bm-minimum-progress__fill {
	height: 100%;
	border-radius: 999px;
	background: #b08440; /* warm tint; child-theme mag overschrijven */
	transition: width 0.3s ease;
}

.bm-minimum-progress.is-reached .bm-minimum-progress__fill {
	background: #3f8c4f; /* groen bij gehaald */
}

.bm-minimum-progress.is-reached .bm-minimum-progress__message {
	color: #2e6b3a;
}

/* wc_price geeft <span class="amount"> terug; voorkom dat thema-styling dit breekt. */
.bm-minimum-progress .amount {
	font-weight: inherit;
	white-space: nowrap;
}
