body:has(.cstw-lookup) .entry-title,
body:has(.cstw-lookup) .page-title,
body:has(.cstw-lookup) main h1:first-child {
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
	margin: 34px auto 24px;
	max-width: 760px;
	padding: 0 18px;
	text-align: center;
}

.cstw-lookup {
	box-sizing: border-box;
	margin: 0 auto 34px;
	max-width: 760px;
	padding: 0 18px;
}

.cstw-result {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(18, 27, 38, 0.06);
	box-sizing: border-box;
	padding: 24px 18px 22px;
}

.cstw-empty {
	background: #f8fafc;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	color: #4b5563;
	font-size: 15px;
	margin: 0;
	padding: 16px 18px;
	text-align: center;
}

.cstw-current-status {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	line-height: 1.25;
	margin: 0 0 6px;
}

.cstw-current-status span {
	color: #4b5563;
	font-size: 17px;
	font-weight: 700;
}

.cstw-current-status strong {
	color: #111827;
	font-size: 20px;
	font-weight: 800;
}

.cstw-result header .cstw-order-meta {
	color: #5d6673;
	display: grid;
	font-size: 15px;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 16px 0 0;
}

.cstw-order-meta span {
	background: #f8fafc;
	border: 1px solid #e6ebf1;
	border-radius: 6px;
	box-sizing: border-box;
	color: #111827;
	min-height: 50px;
	padding: 8px 10px;
}

.cstw-order-meta strong {
	color: #5d6673;
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 2px;
	text-transform: uppercase;
}

.cstw-delivered-meta {
	background: #eef9f1 !important;
	border-color: #b9dfc4 !important;
	color: #116329 !important;
	font-weight: 800;
}

.cstw-carrier-link {
	margin: 16px 0 0;
}

.cstw-carrier-link a {
	background: #16b99a;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 14px;
	text-decoration: none;
}

.cstw-carrier-link a:hover,
.cstw-carrier-link a:focus {
	background: #109f86;
	color: #fff;
}

.cstw-timeline {
	border-left: 2px solid #16825f;
	list-style: none;
	margin: 22px 0 0 8px;
	padding: 0 0 0 20px;
}

.cstw-timeline li {
	margin: 0 0 18px;
	position: relative;
}

.cstw-timeline li:last-child {
	margin-bottom: 0;
}

.cstw-timeline li::before {
	background: #16825f;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #16825f;
	content: "";
	height: 10px;
	left: -27px;
	position: absolute;
	top: 6px;
	width: 10px;
}

.cstw-timeline time,
.cstw-timeline span {
	display: block;
}

.cstw-timeline time {
	color: #5d6673;
	font-size: 14px;
	margin-bottom: 2px;
}

.cstw-timeline span {
	color: #111827;
	font-size: 15px;
	font-weight: 700;
}

@media screen and (max-width: 640px) {
	body:has(.cstw-lookup) .entry-title,
	body:has(.cstw-lookup) .page-title,
	body:has(.cstw-lookup) main h1:first-child {
		text-align: left;
	}

	.cstw-result header .cstw-order-meta {
		grid-template-columns: 1fr;
	}
}
