.popup-overlay {
	display: none;
	position: fixed;
	inset: 0; /* top:0; right:0; bottom:0; left:0 */
	background: rgba(0,0,0,0.6);
	z-index: 999;
}

.popup {
	position: fixed;
	display: flex;
	flex-direction: column;
	transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 1000;
}

.popup-right {
	top: 0;
	right: -400px;
	width: 400px;
	height: 100%;
	background: #fff;
}

.popup-left {
	top: 0;
	left: -400px;
	width: 400px;
	height: 100%;
	background: #fff;
}

.popup-center {
	width: 100%;
	max-width: 1180px;
	max-height: calc(100vh - 40px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
}

.popup-center.send {
	max-width: 700px;
}

.popup-center .popup-inner {
	width: 100%;
	padding: 100px;
	background: #fff;
	overflow-y: auto;
}

.popup-center .popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.popup-center .popup-body {
	width: 100%;
	max-width: 70%;
	margin: 0 auto;
}

.popup-center .popup-title,
.popup-center .popup-content {
	text-align: left;
	justify-content: flex-start;
}

.popup-right.active {
	right: 0;
}

.popup-left.active {
	left: 0;
}

.popup-center.active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.popup-overlay.active {
	display: block;
}

.popup-close {
	border: none;
	cursor: pointer;
}

.popup-form-text-send {
	font-size: 24px;
	line-height: 130%;
	font-weight: 500;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.popup-form-text-send > * {
	margin: 0;
}

.popup-form-text-send.hidden {
	display: none;
}

@media screen and (max-width: 1600px) {
	.popup-center {
		max-width: 65%;
	}

	.popup-center .popup-body {
		max-width: 100%;
	}

	.popup-center.send {
		max-width: 700px;
	}
}

@media screen and (max-width: 1440px) {
	.popup-center .popup-inner {
		padding: 60px;
	}
}

@media screen and (max-width: 1200px) {
	.popup-center {
		max-width: 80%
	}

	.popup-center.send {
		max-width: 700px;
	}
}

@media screen and (min-width: 769px) {
	.popup-center.send .popup-inner {
		padding-top: 120px;
		padding-bottom: 120px;
	}
}

@media screen and (max-width: 768px) {
	.popup-center.send,
	.popup-center {
		max-width: calc(100% - 40px);
	}

	.popup-form-text-send br {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	.popup-center .popup-inner {
		padding: 60px 20px;
	}

	.popup-center .popup-title {
		margin-bottom: 36px;
	}

	.popup-center .popup-content .button {
		width: 100%;
	}

	.popup-left {
		top: -100%;
		left: 0;
		width: 100%;
		height: max-content;
		max-height: 80vh;
	}

	.popup-left.active {
		top: 0;
	}
}