.ttp-popup[hidden] {
	display: none !important;
}

.ttp-popup,
.ttp-popup * {
	box-sizing: border-box;
}

.ttp-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: #142f28;
	font-family: inherit;
}

.ttp-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 22, 20, 0.52);
	backdrop-filter: blur(4px);
}

.ttp-popup__dialog {
	position: relative;
	width: min(100%, 660px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 82px 54px 58px;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.ttp-popup__close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: #f3f3f3;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ttp-popup__close:hover,
.ttp-popup__close:focus-visible {
	background: #e9e9e9;
	transform: scale(1.03);
	outline: none;
}

.ttp-popup__close span,
.ttp-popup__close span::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 27px;
	height: 3px;
	border-radius: 4px;
	background: #111;
	content: "";
}

.ttp-popup__close span {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ttp-popup__close span::before {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ttp-popup__title {
	max-width: 560px;
	margin: 0 0 30px;
	color: #143126;
	font-size: clamp(34px, 4.1vw, 42px);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: 0;
}

.ttp-popup__title .ttp-green {
	color: #68a930;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
}

.ttp-popup__text {
	max-width: 560px;
	margin: 0 0 58px;
	color: #101010;
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 400;
	line-height: 1.75;
	letter-spacing: 0;
}

.ttp-popup__text p {
	margin: 0;
}

.ttp-popup__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 82px;
	padding: 18px 28px;
	border: 4px solid #fff;
	border-radius: 999px;
	background: #72ad35;
	box-shadow: 0 0 0 3px #6ca832;
	color: #fff;
	font-family: "ManropeBold", sans-serif;
	font-size: 0.778rem;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	letter-spacing: -0.016rem;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ttp-popup__button:hover,
.ttp-popup__button:focus-visible {
	background: #639b2f;
	box-shadow: 0 0 0 3px #5f982d;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	outline: none;
}

.ttp-popup-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.ttp-popup {
		padding: 18px;
	}

	.ttp-popup__dialog {
		padding: 76px 34px 44px;
		border-radius: 24px;
	}

	.ttp-popup__close {
		top: 24px;
		right: 24px;
		width: 52px;
		height: 52px;
	}

	.ttp-popup__title {
		margin-bottom: 22px;
		font-size: 30px;
		line-height: 1.22;
	}

	.ttp-popup__text {
		margin-bottom: 44px;
		line-height: 1.65;
	}

	.ttp-popup__button {
		min-height: 70px;
		padding: 16px 22px;
	}
}

@media (max-width: 420px) {
	.ttp-popup {
		padding: 12px;
	}

	.ttp-popup__dialog {
		padding: 66px 24px 36px;
		border-radius: 20px;
	}

	.ttp-popup__close {
		top: 18px;
		right: 18px;
		width: 46px;
		height: 46px;
	}

	.ttp-popup__close span,
	.ttp-popup__close span::before {
		width: 23px;
		height: 3px;
	}
}
