.chbsetp-checkout-plan {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.chbsetp-checkout-page .chbs-summary-price-element > .chbs-summary-price-element-pay,
.chbsetp-checkout-form .chbs-summary-price-element > .chbs-summary-price-element-pay {
	display: none !important;
}

.chbsetp-checkout-page .chbs-summary-price-element:not(.chbsetp-plan-ready)::after,
.chbsetp-checkout-form .chbs-summary-price-element:not(.chbsetp-plan-ready)::after {
	content: "";
	display: block;
	box-sizing: border-box;
	height: 62px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	background-color: transparent;
	background-image:
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08));
	background-repeat: no-repeat;
	background-position: 0 12px, 100% 12px, 0 36px, 100% 36px;
	background-size: 120px 14px, 74px 14px, 96px 14px, 58px 14px;
	animation: chbsetp-skeleton-pulse 1.4s ease-in-out infinite;
}

.chbsetp-checkout-page .chbs-summary-price-element.chbsetp-plan-failed > .chbs-summary-price-element-pay,
.chbsetp-checkout-form .chbs-summary-price-element.chbsetp-plan-failed > .chbs-summary-price-element-pay {
	display: block !important;
}

.chbsetp-checkout-page .chbs-summary-price-element.chbsetp-plan-failed::after,
.chbsetp-checkout-form .chbs-summary-price-element.chbsetp-plan-failed::after {
	display: none;
}

.chbsetp-loading-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes chbsetp-skeleton-pulse {
	0%, 100% {
		opacity: 0.55;
	}

	50% {
		opacity: 1;
	}
}

.chbs-payment > li > a > .chbs-payment-name {
	display: block;
	padding: 0 14px;
}

.chbs-payment > li > a.chbsetp-method-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.chbs-payment > li > a.chbsetp-method-link > .chbs-payment-name {
	display: block;
	line-height: 1.25;
	padding: 0 14px;
}

.chbsetp-method-icon {
	display: block;
	width: 38px;
	height: 38px;
	color: #1f7a4d;
}

.chbsetp-method-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	animation: chbsetp-method-pulse 2.8s ease-in-out infinite;
}

.chbsetp-method-icon--full {
	color: #135e96;
}

@keyframes chbsetp-method-pulse {
	0%, 100% {
		transform: translateY(0) scale(1);
	}

	50% {
		transform: translateY(-2px) scale(1.03);
	}
}

@media (prefers-reduced-motion: reduce) {
	.chbsetp-method-icon svg {
		animation: none;
	}

	.chbsetp-checkout-page .chbs-summary-price-element:not(.chbsetp-plan-ready)::after,
	.chbsetp-checkout-form .chbs-summary-price-element:not(.chbsetp-plan-ready)::after {
		animation: none;
	}
}

.chbsetp-dob-field {
	margin-top: 12px;
}

.chbsetp-dob-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.chbsetp-dob-field input {
	width: 100%;
	max-width: 360px;
	padding: 10px 12px;
}

body.chbsetp-payment-open .chbs-main-content-step-5 {
	display: none !important;
}

body.chbsetp-payment-open {
	overflow: hidden;
}

.chbsetp-payment-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.68);
}

.chbsetp-payment-modal {
	width: min(760px, 100%);
	max-height: 94vh;
	overflow: auto;
	background: #ffffff;
	border-radius: 12px;
	padding: 10px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.chbsetp-payment-frame {
	display: block;
	width: 100%;
	height: min(780px, 82vh);
	border: 0;
	background: #ffffff;
}

.chbsetp-payment-new-tab {
	display: inline-block;
	margin: 8px 4px 2px;
	font-size: 13px;
}

@media (max-width: 600px) {
	.chbsetp-payment-overlay {
		padding: 0;
	}

	.chbsetp-payment-modal {
		width: 100%;
		max-height: 100vh;
		border-radius: 0;
		padding: 0;
	}

	.chbsetp-payment-frame {
		height: 100vh;
	}
}

.chbsetp-checkout-plan-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.chbsetp-checkout-pay {
	font-weight: 700;
}

.chbsetp-checkout-cash-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.chbsetp-cash-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: -3px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	animation: chbsetp-cash-float 2.4s ease-in-out infinite;
}

@keyframes chbsetp-cash-float {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-2px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.chbsetp-cash-icon {
		animation: none;
	}
}

.chbs-summary-price-element:has(.chbsetp-checkout-plan) .chbs-summary-price-element-pay {
	display: none !important;
}

