/* Zaman çizelgesinin hemen üstündeki WooCommerce'in kendi "Sipariş #X ... durumundadır"
   paragrafı - çizelgeyle görsel bütünlük için ortalanıyor. */
p:has(+ .ts-order-timeline) {
	text-align: center;
}

.ts-order-timeline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 16px 0 28px;
	padding: 0;
}
.ts-order-timeline__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	text-align: center;
}
.ts-order-timeline__dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e5e5e5;
	color: #888;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 8px;
	z-index: 1;
}
.ts-order-timeline__step.is-reached .ts-order-timeline__dot {
	background: #e2231a;
	color: #fff;
}
.ts-order-timeline__label {
	font-size: 13px;
	color: #666;
}
.ts-order-timeline__step.is-reached .ts-order-timeline__label {
	color: #231f20;
	font-weight: 600;
}
.ts-order-timeline__label--link {
	text-decoration: underline;
	cursor: pointer;
}
.ts-order-timeline__label--link:hover {
	color: #e2231a;
}
.ts-order-timeline__line {
	position: absolute;
	top: 16px;
	left: 50%;
	width: 100%;
	height: 3px;
	background: #e5e5e5;
	z-index: 0;
}
.ts-order-timeline__line.is-reached {
	background: #e2231a;
}
.ts-tracking-info {
	margin-top: 4px;
}
.ts-tracking-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	margin-bottom: 10px;
	background: #fafafa;
	flex-wrap: wrap;
}
.ts-tracking-card__provider {
	font-weight: 700;
	color: #231f20;
	margin: 0 0 4px;
}
.ts-tracking-card p {
	margin: 2px 0;
}
.ts-tracking-card__label {
	color: #666;
}
.ts-tracking-card__action {
	flex-shrink: 0;
}
.ts-tracking-card__button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.ts-tracking-card__icon {
	flex-shrink: 0;
}
.ts-tracking-card__button--disabled {
	padding: 6px 12px;
	border-radius: 3px;
	background: #e5e5e5;
	color: #888;
	cursor: not-allowed;
	font-size: 0.9em;
}
.ts-order-terminal-badge {
	padding: 10px 14px;
	border-radius: 4px;
	background: #fdeceb;
	color: #8a1c15;
	font-weight: 600;
}

@media (max-width: 600px) {
	.ts-order-timeline {
		flex-direction: column;
		align-items: flex-start;
	}
	.ts-order-timeline__step {
		flex-direction: row;
		align-items: center;
		width: 100%;
		text-align: left;
		margin-bottom: 20px;
	}
	.ts-order-timeline__dot {
		margin-bottom: 0;
		margin-right: 12px;
		flex-shrink: 0;
	}
	.ts-order-timeline__line {
		top: 32px;
		left: 15px;
		width: 3px;
		height: 20px;
	}
}
