/* Free-shipping status. Base = the cart page panel (woocommerce_before_cart).
   The side cart restyles it in cart-offers.css (.mini-cart__free-shipping, full bleed). Tokens: ink #15253d, field #2a5996, surface #edf2f8. */
.wc-shipping-bar-wrapper {
	display: block;
	position: relative;
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 0;
	border-radius: 6px;
	background: #edf2f8;
	color: #15253d;
	font-variant-numeric: tabular-nums;
}

.wc-shipping-bar-wrapper #wc-shipping-bar__remaining-amount {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0;
}

/* No uppercase kicker: the sentence says it ("Do brezplačne dostave vas loči le še …"). */
.wc-shipping-bar-wrapper #wc-shipping-bar__remaining-amount h3 { display: none; }

.wc-shipping-bar-wrapper .amount {
	font-weight: 800;
	color: #15253d;
	white-space: nowrap;
}

.wc-shipping-bar-wrapper .kw-free-shipping-achieved {
	font-weight: 700;
	color: #15253d;
}

.wc-shipping-bar-wrapper .free-shipping__bar.free-shipping__bar--striped {
	position: static;
	display: block;
	width: 100%;
	height: 6px;
	margin-top: 10px;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}

.wc-shipping-bar-wrapper .free-shipping__bar-progress {
	display: block;
	height: 100%;
	border-radius: 3px !important;
	background: #2a5996;
}

/* Reached: the sentence alone, no full bar. */
.wc-shipping-bar-wrapper:has(.kw-free-shipping-achieved) .free-shipping__bar { display: none; }
