/* Gratis verzending-balk v2 - kleuren komen uit de instellingen (--fsb-*) */
.fsb {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 15px;
	padding: 12px 14px;
	background: var(--fsb-bg, #fff);
	color: var(--fsb-text, #333);
	border: 1px solid var(--fsb-border, #e3e3e3);
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

.fsb *,
.fsb *::before,
.fsb *::after {
	box-sizing: border-box;
}

.fsb--compact {
	margin: 0;
	padding: 10px 12px;
	border-width: 0 0 1px;
	border-radius: 8px 8px 0 0;
	font-size: 13px;
}

.fsb__text strong,
.fsb__text b {
	font-weight: 700;
}

.fsb__track {
	position: relative;
	height: 8px;
	margin-top: 8px;
	background: var(--fsb-track, #ebebeb);
	border-radius: 4px;
}

.fsb--compact .fsb__track {
	height: 6px;
	margin-top: 6px;
}

.fsb__fill {
	height: 100%;
	max-width: 100%;
	background: var(--fsb-fill, #3d7a4f);
	border-radius: 4px;
	transition: width .4s ease;
}

.fsb--done .fsb__fill {
	background: var(--fsb-done, #3d7a4f);
}

/* Tussenstap: streepje op de balk */
.fsb__marker {
	position: absolute;
	top: -3px;
	width: 3px;
	height: calc(100% + 6px);
	margin-left: -1px;
	background: var(--fsb-bg, #fff);
	box-shadow: 0 0 0 1px var(--fsb-border, #e3e3e3);
	border-radius: 2px;
}

.fsb__marker.is-reached {
	background: var(--fsb-fill, #3d7a4f);
	box-shadow: 0 0 0 1px var(--fsb-bg, #fff);
}

.fsb__hints {
	margin-top: 8px;
}

.fsb__hint {
	display: block;
	padding: 0;
	margin: 2px 0 0;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	font-size: 12px;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 2px;
	opacity: .8;
	cursor: pointer;
}

.fsb__hint:hover {
	opacity: 1;
}

.fsb__products {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--fsb-border, #e3e3e3);
}

.fsb__ptitle {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
}

.fsb__product {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
}

.fsb__pimg {
	flex: 0 0 48px;
}

.fsb__pimg img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.fsb__pinfo {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.fsb__pname {
	color: inherit;
	font-size: 13px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fsb__pprice {
	font-size: 13px;
	font-weight: 600;
}

.fsb__pbtn {
	flex: 0 0 auto;
	display: inline-block;
	padding: 6px 12px;
	background: var(--fsb-fill, #3d7a4f);
	color: #fff !important;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none !important;
	cursor: pointer;
}

.fsb__pbtn:hover {
	filter: brightness(1.08);
}

.fsb__pbtn[disabled] {
	opacity: .6;
	cursor: wait;
}

.fsb__hint:focus-visible,
.fsb__pbtn:focus-visible,
.fsb a:focus-visible {
	outline: 2px solid var(--fsb-fill, #3d7a4f);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.fsb__fill {
		transition: none;
	}
}
