/* PRICING BLOCK */

:root {
	--btm-pr-btn-primary-bg: #1f7ae0;
	--btm-pr-btn-primary-bg-hover: #186dca;
	--btm-pr-btn-primary-border: #1b6dca;
	--btm-pr-btn-primary-border-hover: #165fb0;
	--btm-pr-btn-primary-text: #ffffff;

	--btm-pr-btn-secondary-bg: #f8fafc;
	--btm-pr-btn-secondary-bg-hover: #f3f7fb;
	--btm-pr-btn-secondary-border: #b6c5d8;
	--btm-pr-btn-secondary-border-hover: #b6c5d8;
	--btm-pr-btn-secondary-text: #24364f;

	--btm-pr-badge-bg: #ffcf38;
	--btm-pr-badge-text: #000000;

	--btm-pr-text: #2e3642;
	--btm-pr-text-strong: #242628;
	--btm-pr-text-muted: #6f8097;

	--btm-pr-container: 1040px;
}

.btm-pr-page *,
.btm-pr-summary-page *,
.btm-pr-modal * {
	box-sizing: border-box;
}

.btm-pr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btm-pr-btn--primary {
	border: 1px solid var(--btm-pr-btn-primary-border);
	background: var(--btm-pr-btn-primary-bg);
	color: var(--btm-pr-btn-primary-text) !important;
}

.btm-pr-btn--primary:hover {
	background: var(--btm-pr-btn-primary-bg-hover);
	border-color: var(--btm-pr-btn-primary-border-hover);
	color: var(--btm-pr-btn-primary-text) !important;
}

.btm-pr-btn--secondary {
	border: 1px solid var(--btm-pr-btn-secondary-border);
	background: var(--btm-pr-btn-secondary-bg);
	color: var(--btm-pr-btn-secondary-text) !important;
}

.btm-pr-btn--secondary:hover {
	background: var(--btm-pr-btn-secondary-bg-hover);
	border-color: var(--btm-pr-btn-secondary-border-hover);
	color: var(--btm-pr-btn-secondary-text) !important;
}

.btm-pr-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--btm-pr-badge-bg);
	color: var(--btm-pr-badge-text);
	font-size: 12px;
	line-height: 1;
	font-weight: 500;
	white-space: nowrap;
}

.btm-pr-text-muted {
	color: var(--btm-pr-text-muted);
}

.btm-pr-check-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.btm-pr-check-list li {
	position: relative;
	padding-left: 24px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--btm-pr-text-strong);
	font-weight: 600;
}

.btm-pr-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--btm-pr-btn-primary-bg);
}

.btm-pr-section-label {
	margin: 0;
	padding-left: 25px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--btm-pr-text-muted);
}


/* Premium modal */

.btm-pr-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}

.btm-pr-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.btm-pr-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(23, 35, 55, 0.38);
	opacity: 0;
	transition: opacity .2s ease;
}

.btm-pr-modal.is-open .btm-pr-modal__overlay {
	opacity: 1;
}

.btm-pr-modal__dialog {
	position: relative;
	width: min(100%, 720px);
	border: 1px solid #d9dfe7;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(24, 39, 75, 0.14);
	transform: translateY(10px);
	opacity: 0;
	transition: transform .22s ease, opacity .22s ease;
	overflow: hidden;
}

.btm-pr-modal.is-open .btm-pr-modal__dialog {
	transform: translateY(0);
	opacity: 1;
}

.btm-pr-modal__content {
	background: #fff;
}

.btm-pr-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 34px;
	height: 34px;
	padding: 0;
	background: transparent;
	color: #3c4a5f;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
}

.btm-pr-modal__close:hover {
	background: transparent;
}

.btm-pr-modal__header {
	padding: 24px 24px 18px;
	border-bottom: 1px solid #edf1f5;
}

.btm-pr-modal__title {
	margin: 0;
	padding-right: 42px;
	font-size: 30px;
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--btm-pr-text);
}

.btm-pr-modal__subtitle {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--btm-pr-text-muted);
	font-weight: 500;
}

.btm-pr-modal__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
	gap: 0;
}

.btm-pr-modal__left {
	padding: 20px 24px 24px;
	border-right: 1px solid #edf1f5;
}

.btm-pr-modal__right {
	padding: 20px 24px 24px;
	background: #fbfcfe;
}

.btm-pr-modal__plans {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.btm-pr-modal-plan {
	appearance: none;
	width: 100%;
	min-height: 96px;
	padding: 14px;
	text-align: left;
	border: 1px solid #d9dfe7;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.btm-pr-modal-plan:hover {
	border-color: #c7d2e0;
	background: #fafcff;
}

.btm-pr-modal-plan.is-selected {
	border-color: #6aa9f8;
	background: #f7fbff;
	box-shadow: 0 0 0 1px #6aa9f8 inset;
}

.btm-pr-modal-plan__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.btm-pr-modal-plan__meta-main {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	flex: 1 1 auto;
}

.btm-pr-modal-plan__name {
	display: block;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
	color: #383c40;
}

.btm-pr-modal-plan__radio {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #b8c4d3;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
	transition: border-color .15s ease, background .15s ease;
}

.btm-pr-modal-plan__radio-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #b8c4d3;
	transform: scale(0);
	opacity: 0;
	transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.btm-pr-modal-plan:hover .btm-pr-modal-plan__radio-dot {
	transform: scale(1);
	opacity: 1;
	background: #b8c4d3;
}

.btm-pr-modal-plan.is-selected .btm-pr-modal-plan__radio {
	border-color: var(--btm-pr-btn-primary-bg);
	background: #fff;
}

.btm-pr-modal-plan.is-selected .btm-pr-modal-plan__radio-dot {
	transform: scale(1);
	opacity: 1;
	background: var(--btm-pr-btn-primary-bg);
}

.btm-pr-modal-plan__bottom {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.btm-pr-modal-plan__price {
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1e1f21;
}

.btm-pr-modal-plan__old-price {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 600;
	color: #525a66;
	text-decoration: line-through;
	text-decoration-color: #d14343;
}

.btm-pr-modal__benefits {
	margin-top: 14px;
	gap: 20px;
}

.btm-pr-modal-benefit-title {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--btm-pr-text-muted);
}

.btm-pr-modal-benefit-text {
	display: block;
	margin-top: 3px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--btm-pr-text-muted);
}

.btm-pr-modal__footer {
	padding: 16px 0 0;
	background: transparent;
}

.btm-pr-modal__upgrade-btn {
	width: 100%;
	min-height: 50px;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
}

body.btm-pr-modal-lock {
	overflow: hidden;
}


@media (max-width: 760px) {
	.btm-pr-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
		border-radius: 14px;
	}

	.btm-pr-modal__body {
		grid-template-columns: 1fr;
	}

	.btm-pr-modal__left {
		padding: 16px;
		border-right: 0;
		border-bottom: 1px solid #edf1f5;
	}

	.btm-pr-modal__right {
		padding: 16px;
	}

	.btm-pr-modal__plans {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.btm-pr-modal {
		padding: 14px;
	}

	.btm-pr-modal__header {
		padding: 20px 16px 16px;
	}

	.btm-pr-modal__title {
		font-size: 26px;
	}
}

/* Mobile modal viewport fix with safe area */

@media (max-width: 760px) {
	.btm-pr-modal {
		align-items: flex-start;
		justify-content: center;
		padding: 12px;
		padding-top: max(12px, env(safe-area-inset-top));
		padding-bottom: max(12px, env(safe-area-inset-bottom));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.btm-pr-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 24px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 14px;
	}
}

@supports (height: 100dvh) {
	@media (max-width: 760px) {
		.btm-pr-modal__dialog {
			max-height: calc(100dvh - 24px);
		}
	}
}

