.slfd-progress {
	--slfd-ink: #262626;
	--slfd-muted: #262626;
	--slfd-track: #b3b3b3;
	--slfd-gold: hsl(37, 99%, 73%);
	--slfd-paper: #f5f5f5;
	--slfd-border: #ebebeb;
	box-sizing: border-box;
	margin: 18px 0 20px;
	padding: 16px 18px 14px;
	color: var(--slfd-ink);
	background: var(--slfd-paper);
	border: 1px solid var(--slfd-border);
	border-radius: 14px;
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"title"
		"track"
		"message";
	row-gap: 8px;
}

/* On the Cart page, align the indicator with the centered rewards notice above it. */
body.woocommerce-cart .slfd-progress {
	width: calc(100% - 32px);
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
}

body.woocommerce-cart .slfd-progress__title,
body.woocommerce-checkout .slfd-progress__title {
	justify-self: start;
	text-align: left;
}

body.woocommerce-cart .slfd-progress__message {
	justify-self: end;
	text-align: right;
}

body.woocommerce-checkout .slfd-progress__message {
	justify-self: center;
	text-align: center;
}

.slfd-progress *,
.slfd-progress *::before,
.slfd-progress *::after {
	box-sizing: inherit;
}

.slfd-progress__heading {
	display: contents;
}

.slfd-progress__title {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: Poppins, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	grid-area: title;
	justify-self: center;
	white-space: nowrap;
}

.slfd-progress__truck {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.slfd-progress__message {
	color: var(--slfd-muted);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	font-variant-numeric: tabular-nums;
	grid-area: message;
	justify-self: center;
	white-space: nowrap;
}

.slfd-progress__track {
	position: relative;
	display: block;
	height: 9px;
	overflow: hidden;
	background: var(--slfd-track);
	border-radius: 999px;
	grid-area: track;
	width: 100%;
}

.slfd-progress__fill {
	display: block;
	height: 100%;
	min-width: 0;
	background: var(--slfd-gold);
	border-radius: inherit;
}

.slfd-progress.is-complete .slfd-progress__fill {
	background: var(--slfd-ink);
}

.slfd-progress ::selection {
	color: var(--slfd-ink);
	background: var(--slfd-gold);
}

@media (max-width: 600px) {
	.slfd-progress {
		margin: 15px 0 18px;
		padding: 14px 14px 12px;
	}

	.slfd-progress__message {
		font-size: clamp(11px, 3.4vw, 13px);
	}
}

@media (max-width: 380px) {
	.slfd-progress {
		padding-right: 10px;
		padding-left: 10px;
	}

	.slfd-progress__title {
		font-size: 14px;
	}

	.slfd-progress__message {
		font-size: 10.5px;
	}
}

