/* Shared cart / checkout / confirmation progress. */

.ds-order-progress-wrap {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin: 0 0 32px;
}

.ds-order-progress {
	flex: 0 0 auto;
	max-width: 100%;
	padding: 14px 18px;
	color: var(--ds-color-brand-strong, var(--ds-brand-color, #3675b6));
	background: var(--ds-color-bg-subtle, var(--ds-surface-muted, #f3f6f9));
	border-radius: var(--ds-radius-pill, 999px);
}

.ds-order-progress ol {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	text-align: left !important;
}

.ds-order-progress li,
.ds-order-progress li a {
	display: inline-flex;
	align-items: center;
	margin: 0;
	color: inherit;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 16px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.ds-order-progress li + li::before {
	display: inline-block;
	margin-right: 18px;
	color: #8aa8c5;
	content: "\2014";
}

.ds-order-progress li.is-upcoming {
	color: #336c9f;
}

.ds-order-progress li.is-current {
	font-weight: 700;
}

.ds-order-progress li > span,
.ds-order-progress li a > span {
	margin-right: 5px;
}

.ds-order-progress a:hover {
	color: #164f84;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ds-order-progress a:focus-visible {
	outline: 3px solid rgba(30, 95, 158, 0.35);
	outline-offset: 4px;
}

@media (max-width: 991px) {
	.ds-order-progress {
		padding-inline: 14px;
	}

	.ds-order-progress ol {
		gap: 10px;
	}

	.ds-order-progress li + li::before {
		margin-right: 10px;
	}
}

@media (max-width: 767px) {
	.ds-order-progress-wrap {
		justify-content: center;
		margin-bottom: 24px;
	}

	.ds-order-progress {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 36px;
		padding: 0 12px;
	}

	.ds-order-progress ol {
		justify-content: center;
		width: 100%;
		gap: 7px;
	}

	.ds-order-progress li,
	.ds-order-progress li a {
		font-size: 10px;
		line-height: 16px;
	}

	.ds-order-progress li > span,
	.ds-order-progress li a > span {
		margin-right: 3px;
	}

	.ds-order-progress li + li::before {
		margin-right: 7px;
	}
}

@media (max-width: 374px) {
	.ds-order-progress {
		padding-inline: 8px;
	}

	.ds-order-progress ol {
		gap: 4px;
	}

	.ds-order-progress li,
	.ds-order-progress li a {
		font-size: 9px;
	}

	.ds-order-progress li + li::before {
		margin-right: 4px;
	}
}
