.sersimo-loyalty-checkout {
	border: 1px solid #dcd7cf;
	margin: 0 0 18px;
	padding: 14px;
}

.sersimo-loyalty-checkout__toggle {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 10px;
}

.sersimo-loyalty-checkout__field {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.sersimo-loyalty-checkout__field input {
	max-width: 120px;
}

.sersimo-loyalty-title {
	margin: 0 0 16px;
	font-size: 28px;
	line-height: 1.2;
}

.sersimo-loyalty-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 24px;
}

.sersimo-loyalty-summary > div {
	border: 1px solid #e4e0d8;
	border-radius: 8px;
	padding: 14px;
	background: #fff;
}

.sersimo-loyalty-summary span,
.sersimo-loyalty-progress span {
	display: block;
	font-size: 13px;
}

.sersimo-loyalty-summary strong {
	display: block;
	font-size: 28px;
	line-height: 1.2;
	margin-top: 4px;
}

.sersimo-loyalty-progress {
	--sersimo-progress: 0%;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 24px;
	padding-top: 28px;
}

.sersimo-loyalty-progress__track {
	position: absolute;
	top: 11px;
	left: 34px;
	right: 34px;
	height: 8px;
	border-radius: 999px;
	background: #e7e2da;
	overflow: hidden;
}

.sersimo-loyalty-progress__fill {
	width: var(--sersimo-progress);
	height: 100%;
	border-radius: inherit;
	background: #2f7d3c;
	transition: width .25s ease;
}

.sersimo-loyalty-progress__node {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	border: 1px solid #dedede;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
	min-height: 122px;
}

.sersimo-loyalty-progress__dot {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid #b8b1a7;
	background: #fff;
	color: #4f4a43;
	font-weight: 700;
}

.sersimo-loyalty-progress__node.is-complete {
	border-color: #3c8f45;
	background: #f2fbf3;
}

.sersimo-loyalty-progress__node.is-complete .sersimo-loyalty-progress__dot {
	border-color: #2f7d3c;
	background: #2f7d3c;
	color: #fff;
}

.sersimo-loyalty-progress__node.is-current {
	border-color: #b99136;
	background: #fffaf0;
}

.sersimo-loyalty-progress__node.is-current .sersimo-loyalty-progress__dot {
	border-color: #b99136;
	color: #8a6417;
}

.sersimo-loyalty-progress__node.is-locked {
	opacity: .68;
}

.sersimo-loyalty-progress__node strong,
.sersimo-loyalty-progress__node span,
.sersimo-loyalty-progress__node em {
	display: block;
}

.sersimo-loyalty-progress__node span {
	margin-top: 5px;
	line-height: 1.35;
}

.sersimo-loyalty-progress__node em {
	margin-top: 8px;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
}

.sersimo-loyalty-pagination {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 18px;
}

.sersimo-loyalty-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	border: 1px solid #d9d4cc;
	border-radius: 6px;
	padding: 0 10px;
	text-decoration: none;
}

.sersimo-loyalty-pagination .current {
	background: #2f2a23;
	border-color: #2f2a23;
	color: #fff;
}

@media (max-width: 640px) {
	.sersimo-loyalty-summary,
	.sersimo-loyalty-progress {
		grid-template-columns: 1fr;
	}

	.sersimo-loyalty-progress__track {
		left: 17px;
		right: auto;
		top: 45px;
		bottom: 45px;
		width: 8px;
		height: auto;
	}

	.sersimo-loyalty-progress__fill {
		width: 100%;
		height: var(--sersimo-progress);
	}
}
