/* ── Order Tracking Stepper ─────────────────────────────────── */

.rd-tracking-bar {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	padding: 20px 20px 16px;
	margin-bottom: 28px;
}

.rd-tracking-title {
	font-size: 0.85em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
	margin: 0 0 18px;
}

/* ── Steps row ──────────────────────────────────────────────── */

.rd-tracking-steps {
	display: flex;
	align-items: flex-start;
}

.rd-tracking-step {
	flex: 0 0 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ── Connector line ─────────────────────────────────────────── */

.rd-tracking-connector {
	flex: 1;
	height: 2px;
	background: #d8d8d8;
	margin-top: 17px; /* centres with 36 px node: (36 - 2) / 2 = 17 */
	min-width: 8px;
	transition: background 0.25s ease;
}

.rd-connector--complete {
	background: #83B735;
}

/* ── Step node (circle) ─────────────────────────────────────── */

.rd-step-node {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #d0d0d0;
	background: #f5f5f5;
	color: #bbb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85em;
	font-weight: 700;
	margin-bottom: 10px;
	flex-shrink: 0;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.rd-step--complete .rd-step-node {
	border-color: #83B735;
	background: #83B735;
	color: #fff;
}

.rd-step--active .rd-step-node {
	border-color: #83B735;
	background: #fff;
	color: #83B735;
	box-shadow: 0 0 0 4px rgba(131, 183, 53, 0.12);
}

/* ── Step label ─────────────────────────────────────────────── */

.rd-step-label {
	font-size: 0.78em;
	color: #aaa;
	text-align: center;
	line-height: 1.3;
	padding: 0 2px;
	word-break: break-word;
	hyphens: auto;
	transition: color 0.25s ease;
}

.rd-step--complete .rd-step-label {
	color: #555;
}

.rd-step--active .rd-step-label {
	color: #83B735;
	font-weight: 600;
}

/* ── Mobile ─────────────────────────────────────────────────── */

@media (max-width: 600px) {
	.rd-tracking-bar {
		padding: 16px 12px 14px;
	}

	.rd-tracking-step {
		flex: 0 0 60px;
	}

	.rd-step-node {
		width: 28px;
		height: 28px;
		font-size: 0.75em;
		margin-bottom: 8px;
	}

	.rd-tracking-connector {
		margin-top: 13px; /* (28 - 2) / 2 = 13 */
		min-width: 4px;
	}

	.rd-step-label {
		font-size: 0.70em;
	}
}

@media (max-width: 400px) {
	.rd-tracking-step {
		flex: 0 0 50px;
	}

	.rd-step-label {
		font-size: 0.65em;
	}
}
