/* ==========================================================================
   VapeEra Custom — checkout step indicator (Basket › Details & payment › Confirmation)
   Loaded on the basket and checkout pages (inc/shop/checkout.php).
   ========================================================================== */

.vc-steps {
	margin: 0 0 var(--vc-space-5);
}

.vc-steps ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vc-space-2) var(--vc-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-steps__item {
	display: flex;
	align-items: center;
	gap: var(--vc-space-2);
	color: var(--vc-muted);
	font-size: var(--vc-text-sm);
	font-weight: 650;
}

.vc-steps__item + .vc-steps__item::before {
	content: "";
	width: 24px;
	height: 1px;
	margin-right: var(--vc-space-3);
	background: var(--vc-line);
}

/* Phones: all three steps on one line (the last one wrapped on its own). */
@media (max-width: 479px) {
	.vc-steps ol {
		flex-wrap: nowrap;
		gap: var(--vc-space-2);
	}

	.vc-steps__item {
		gap: 6px;
		font-size: 0.75rem;
		white-space: nowrap;
	}

	.vc-steps__item + .vc-steps__item::before {
		width: 10px;
		margin-right: 2px;
	}

	.vc-steps__num {
		width: 22px;
		height: 22px;
	}
}

.vc-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--vc-line);
	border-radius: var(--vc-radius-pill);
	background: var(--vc-surface);
	font-size: 0.8rem;
}

.vc-steps__item.is-current {
	color: var(--vc-ink);
}

.vc-steps__item.is-current .vc-steps__num {
	border-color: var(--vc-ink);
	background: var(--vc-ink);
	color: #fff;
}

.vc-steps__item.is-done .vc-steps__num {
	border-color: var(--vc-success);
	background: var(--vc-success);
	color: #fff;
}

.vc-steps__item a {
	color: var(--vc-ink-soft);
}

