html {
	scrollbar-gutter: stable;
}
/* Buy one click modal (awpt-like) */
body.overflow-hidden{
	overflow: hidden;
	height: 100vh;
}

.modal-overlay{
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background: rgba(11, 38, 62, 0.5);
	z-index: 999;
	overflow: auto;
	align-items: center;
	justify-content: center;
	padding-top: 60px;
}
.modal-overlay.is-open{
	display: flex;
}
.modal-overlay .modal-content{
	position: relative;
	background: #F2F3F4;
	padding: 60px;
	text-align: center;
	max-width: 1240px;
	width: calc(100% - 20px);
	margin: auto;
}
.modal-overlay .close-button{
	position: absolute;
	width: 44px;
	height: 44px;
	top: 8px;
	right: 8px;
	cursor: pointer;
	transition: 0.2s linear;
}
.modal-overlay .close-button:before{
	background: #233C51;
	content: "";
	margin-top: 12px;
	height: 20px;
	width: 2px;
	display: block;
	transform: translateX(20px) rotate(-45deg);
}
.modal-overlay .close-button:after{
	content: "";
	margin-top: -20px;
	height: 20px;
	width: 2px;
	display: block;
	background: #233C51;
	transform: translateX(20px) rotate(45deg);
	transition: 0.2s linear;
}

/* Compact "contact" modal variant (copied shape from awpt) */
.modal-overlay .modal-form-contact{
	background: #fff;
	padding: 20px;
	max-width: 404px;
	width: 100%;
	text-align: left;
}
.modal-overlay .modal-form-contact .close-button{
	width: 40px;
	height: 40px;
	top: 0;
	right: 0;
}
.modal-overlay .modal-form-contact .close-button:before,
.modal-overlay .modal-form-contact .close-button:after{
	background: var(--c-text);
}
.modal-overlay .modal-form-contact .modal__title{
	margin: 0 0 24px;
	letter-spacing: 0.02em;
	padding-right: 40px;
	font-weight: 700;
	font-size: 22px;
	line-height: 120%;
}

/* CF7 inside the modal: make it look like awpt inputs */
.forticera-buy-one-click .wpcf7 form,
.forticera-buy-one-click .wpcf7-form{
	margin: 0;
}
.forticera-buy-one-click .wpcf7-form p{
	margin: 0 0 14px;
}
.forticera-buy-one-click .wpcf7-form label{
	display: block;
	font-size: 14px;
	line-height: 100%;
	margin-bottom: 6px;
	font-weight: 500;
}
.forticera-buy-one-click input[type="text"],
.forticera-buy-one-click input[type="tel"],
.forticera-buy-one-click input[type="email"],
.forticera-buy-one-click textarea{
	height: 50px;
	background: #fff;
	padding: 0 12px;
	line-height: 50px;
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(11, 38, 62, 0.18);
	border-radius: 10px;
	font: 400 16px/1.2 'Manrope', sans-serif;
	color: var(--c-text);
}
.forticera-buy-one-click textarea{
	min-height: 110px;
	padding: 12px;
	line-height: 1.35;
}
.forticera-buy-one-click input:focus,
.forticera-buy-one-click textarea:focus{
	outline: none;
	border-color: rgba(0, 117, 59, 0.65);
	box-shadow: 0 0 0 3px rgba(0, 117, 59, 0.12);
}
.forticera-buy-one-click .wpcf7-not-valid-tip{
	font-size: 13px;
	margin-top: 6px;
	color: #d63638;
}
.forticera-buy-one-click .wpcf7-response-output{
	margin: 12px 0 0 !important;
	padding: 10px 12px !important;
	border-radius: 10px;
	font-size: 14px;
	line-height: 140%;
}
.forticera-buy-one-click .wpcf7-spinner{
	margin-left: 10px;
}
.forticera-buy-one-click input[type="submit"],
.forticera-buy-one-click button,
.forticera-buy-one-click .wpcf7-submit{
	width: 100%;
	height: 50px;
	border-radius: 12px;
	border: 0;
	cursor: pointer;
	font: 700 16px/1 'Manrope', sans-serif;
	color: #fff;
	background: var(--gradient-brand-btn);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.forticera-buy-one-click input[type="submit"]:hover,
.forticera-buy-one-click .wpcf7-submit:hover{
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(11, 37, 62, 0.18);
	filter: brightness(1.02);
}

@media (max-width: 767px){
	.modal-overlay{
		padding-top: 20px;
	}
	.modal-overlay .modal-form-contact{
		max-width: calc(100% - 20px);
	}
}

