/**
 * Free-shipping remaining reminder (mini cart, cart totals, checkout).
 * Placement: after subtotal/total, before primary actions (NL Dampwinkel).
 */

.wooco-kit-fsr {
	--wooco-kit-fsr-bar: var(--global-palette1, var(--color-primary, #00b4e6));
	box-sizing: border-box;
	margin: 12px 0 14px;
	padding: 0;
	width: 100%;
}

.wooco-kit-fsr[hidden],
.wooco-kit-fsr--empty {
	display: none;
}

.wooco-kit-fsr__msg {
	color: #4a5563;
	font-size: 14px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.wooco-kit-fsr__amount {
	font-weight: 600;
	white-space: nowrap;
}

.wooco-kit-fsr__track {
	background: #e8eef2;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	width: 100%;
}

.wooco-kit-fsr__fill {
	background: var(--wooco-kit-fsr-bar);
	border-radius: 999px;
	height: 100%;
	min-width: 0;
	transition: width 0.35s ease;
	width: 0;
}

.wooco-kit-fsr--complete .wooco-kit-fsr__msg {
	color: #2e7d32;
	font-weight: 600;
}

.wooco-kit-fsr--complete .wooco-kit-fsr__fill {
	background: #2e7d32;
}

/* Mini cart — between subtotal and buttons */
.woocommerce-mini-cart .wooco-kit-fsr,
.widget_shopping_cart .wooco-kit-fsr,
.wp-block-woocommerce-mini-cart-contents .wooco-kit-fsr,
.wooco-kit-fsr--mini_cart {
	margin: 10px 0 12px;
}

/* Cart totals — between Total and Proceed to checkout */
.cart_totals .wooco-kit-fsr,
.wp-block-woocommerce-cart-totals-block .wooco-kit-fsr,
.wp-block-woocommerce-proceed-to-checkout-block .wooco-kit-fsr,
.wc-block-cart__sidebar .wooco-kit-fsr,
.wooco-kit-fsr--cart {
	margin: 12px 0 16px;
}

/* Checkout — between Total and payment methods */
.woocommerce-checkout-review-order .wooco-kit-fsr,
.wp-block-woocommerce-checkout-payment-block .wooco-kit-fsr,
.flux-checkout .wooco-kit-fsr,
.wooco-kit-fsr--checkout {
	margin: 12px 0 16px;
}
