.popup-open {
	overflow: hidden;
}

.pu {
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
/* 	transition: all 0.3s ease-in-out; */
}
.pu.open {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.pu.open .pu_wrapper {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transform: translate(-50%, -50%);
}
.pu input[type=submit] {
	position: fixed;
	bottom: 16px;
}
.pu_wrapper {
	position: fixed;
	top: 50%;
	left: 50%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -40%);
	z-index: 51;
	width: min(80%, 920px);
	height: min(80%, 565px);
	border-radius: 10px;
	display: grid;
	grid-template-rows: 192px auto;
	gap: 20px;
	overflow: hidden;
	background: #fff;
	padding: 16px;
/* 	transition: opacity 0.3s ease-in-out; */
}
.pu .hide-msg {
	display: none;
	visibility: hidden;
	pointer-events: none;
}
.pu_close-btn {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: 0;
	font-size: 20px;
	font-weight: 600;
	color: #888;
	height: 44px;
	width: 44px;
	cursor: pointer;
	border-radius: 50%;
	z-index: 2;
}
.pu_close-btn:hover {
	background-color: #e9e9e9;
}
.pu_info {
	display: flex;
	flex-direction: column;
	height: calc(100% - 51px);
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
}
.pu_info .final-msg-btns {
	display: inline-flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 8px;
	align-items: start;
}
.pu_info .title {
	color: var(--secondary);
	margin-bottom: 24px;
}
.pu_info p.text {
	margin-bottom: 24px;
}
.pu_bg {
	width: 100%;
	height: 192px;
	overflow: hidden;
	border-radius: 10px;
}
.pu_bg img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}
.pu_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 49;
}
.pu form {
	padding: 0 1px;
}
.pu form .actions {
	width: 100%;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	display: inline-flex;
	justify-content: center;
}
@media (min-width: 80em) {
	.pu input[type=submit] {
		position: fixed;
		bottom: 32px;
	}
	.pu_wrapper {
		grid-template-columns: 400px auto;
		grid-template-rows: unset;
		height: min(80%, 600px);
		padding: 32px;
		gap: 32px;
	}
	.pu_bg {
		height: 100%;
	}
  .pu.pu--v1 .pu_bg img{
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    aspect-ratio: auto;
  }
  .pu.pu--v2 .btn .btn--primary .form-submit-btn{
 	  background-color: var(--secondary) !important;
    color:#FFF!important;
  }
  .pu.pu--v2 .btn .btn--primary .form-submit-btn:hover{
 	  background-color: var(--secondary-dark); !important;
    color:#FFF!important;
  }
}

.custom-select__button,
.hs-input:not([type=checkbox]),
input:not([type=checkbox]),
select,
textarea {
	border: 1px solid var(--secondary);
}