/* Three-step checkout: Cart → Address → Payment */
.atoz-checkout-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 28px;
}

.atoz-step-link {
	display: inline-block;
	padding: 9px 18px;
	background: #fff;
	border: 1px solid #d9e6dd;
	border-radius: 30px;
	color: #496457;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.atoz-step-link.is-active {
	background: var(--atoz-green);
	border-color: var(--atoz-green);
	color: #fff;
}

.atoz-step-link.atoz-step-cart:hover {
	background: #eef6f0;
	color: var(--atoz-green);
	text-decoration: none;
}

.atoz-step-nav {
	margin: 22px 0 8px;
}

.atoz-step-nav .button {
	min-width: 220px;
	padding: 13px 22px;
	border: 0;
	border-radius: 12px;
	background: var(--atoz-green);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.atoz-step-nav .button:hover {
	background: var(--atoz-green-dark);
	color: #fff;
}

.atoz-step-nav .button.is-loading {
	opacity: 0.7;
	cursor: wait;
}

.atoz-step-nav-payment .atoz-back {
	margin-bottom: 18px;
	background: #eef6f0;
	color: var(--atoz-green);
}

.atoz-step-nav-payment .atoz-back:hover {
	background: #e0eee4;
	color: var(--atoz-green-dark);
}

.atoz-step[data-step="2"] {
	display: none;
}

.atoz-error {
	border-color: #b32d2e !important;
	box-shadow: 0 0 0 1px #b32d2e !important;
}

.atoz-flow-error {
	margin-bottom: 18px !important;
}

@media (max-width: 600px) {
	.atoz-checkout-steps {
		gap: 6px;
	}

	.atoz-step-link {
		padding: 7px 11px;
		font-size: 12px;
	}

	.atoz-step-nav .button {
		width: 100%;
		min-width: 0;
	}
}
