/* CROWN Admin — customer-facing order status pieces (My Account / thank you). */
.crown-progress {
	margin: 0 0 28px;
	padding: 22px 24px;
	border: 1px solid #e9e3d8;
	border-radius: 18px;
	background: #fff;
}

.crown-progress-head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.crown-progress-emoji {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: #f7f4ee;
	font-size: 24px;
	flex-shrink: 0;
}

.crown-progress-head strong {
	display: block;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.crown-progress-head span:not(.crown-progress-emoji):not(.crown-progress-track) {
	display: block;
	font-size: 13px;
	color: #8a8378;
}

.crown-progress-track {
	margin-inline-start: auto;
	padding: 10px 18px;
	border-radius: 999px;
	background: #1c1b1a;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.crown-progress-track.is-static {
	background: #f7f4ee;
	color: #2b2926 !important;
}

.crown-progress-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.crown-progress-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	font-size: 13px;
	color: #8a8378;
}

.crown-progress-steps li::before {
	content: "";
	position: absolute;
	top: 17px;
	inset-inline-start: -50%;
	width: 100%;
	height: 2px;
	background: #e9e3d8;
}

.crown-progress-steps li:first-child::before {
	display: none;
}

.crown-progress-steps li.is-done::before,
.crown-progress-steps li.is-current::before {
	background: #b8975a;
}

.crown-progress-dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #e9e3d8;
	background: #fff;
	font-size: 15px;
}

.crown-progress-steps li.is-done .crown-progress-dot {
	background: #b8975a;
	border-color: #b8975a;
	color: #fff;
	font-weight: 700;
}

.crown-progress-steps li.is-current .crown-progress-dot {
	border-color: #b8975a;
	box-shadow: 0 0 0 5px #f3ead6;
}

.crown-progress-steps li.is-done,
.crown-progress-steps li.is-current {
	color: #1c1b1a;
	font-weight: 600;
}

.crown-progress--cancelled {
	background: #fbf3f2;
	border-color: #f0dad7;
}

.crown-order-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.crown-order-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

@media (max-width: 600px) {
	.crown-progress {
		padding: 16px;
	}

	.crown-progress-steps li {
		font-size: 11.5px;
	}

	.crown-progress-track {
		margin-inline-start: 0;
	}
}
