.spwc-customer-tracking {
	--spwc-accent: #2271b1;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.10);
	border-radius: 12px;
	box-sizing: border-box;
	margin: 32px 0;
	padding: 24px;
}

.spwc-customer-tracking h2 {
	font-size: 1.35em;
	margin: 0 0 22px;
}

.spwc-customer-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spwc-customer-timeline li {
	display: grid;
	gap: 14px;
	grid-template-columns: 24px 1fr;
	margin: 0;
	min-height: 52px;
	padding: 0 0 18px;
	position: relative;
}

.spwc-customer-timeline li:not(:last-child)::after {
	background: #d8dadd;
	content: "";
	height: calc(100% - 13px);
	left: 10px;
	position: absolute;
	top: 20px;
	width: 3px;
}

.spwc-customer-timeline li.is-complete:not(:last-child)::after {
	background: var(--spwc-accent);
}

.spwc-customer-marker {
	background: #fff;
	border: 3px solid #c3c4c7;
	border-radius: 50%;
	box-sizing: border-box;
	height: 23px;
	position: relative;
	width: 23px;
	z-index: 2;
}

.spwc-customer-timeline li.is-complete .spwc-customer-marker {
	background: var(--spwc-accent);
	border-color: var(--spwc-accent);
}

.spwc-customer-timeline li.is-complete .spwc-customer-marker::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 7px;
	left: 7px;
	position: absolute;
	top: 4px;
	transform: rotate(45deg);
	width: 4px;
}

.spwc-customer-timeline li.is-current .spwc-customer-content strong {
	color: var(--spwc-accent);
}

.spwc-customer-content strong,
.spwc-customer-content small {
	display: block;
}

.spwc-customer-content small {
	color: #6b6b6b;
	font-size: 0.86em;
	margin-top: 3px;
}

.spwc-customer-shipping {
	align-items: center;
	background: color-mix(in srgb, var(--spwc-accent) 8%, white);
	border-left: 4px solid var(--spwc-accent);
	border-radius: 6px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: space-between;
	margin-top: 8px;
	padding: 14px 16px;
}

.spwc-customer-shipping-data p {
	margin: 0;
}

.spwc-customer-shipping-data p + p {
	margin-top: 4px;
}

.spwc-customer-tracking-button {
	background: var(--spwc-accent) !important;
	border-color: var(--spwc-accent) !important;
	color: #fff !important;
	text-decoration: none !important;
}

@supports not (background: color-mix(in srgb, #000 10%, white)) {
	.spwc-customer-shipping {
		background: #f5f5f5;
	}
}

@media (max-width: 600px) {
	.spwc-customer-tracking {
		border-radius: 8px;
		padding: 18px;
	}

	.spwc-customer-shipping {
		align-items: stretch;
		flex-direction: column;
	}

	.spwc-customer-tracking-button {
		text-align: center;
	}
}
