.popup {
	display: block;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 100000;
	transition: opacity 0.5s ease;

}
.show-popup .popup {
	opacity: 1;
	pointer-events: all;
	transition: opacity 0.5s ease;
}

.popup .shader {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 248, 0.65);
	cursor: pointer;
	z-index: 100001;
	transition: opacity 0.5s ease;
}

.popup .alert {
	max-width: 610px;
	min-height: 300px;
	position: absolute;
	left: 50%;
	top: 10px;
	width: 75%;
	height: auto;
	transform: translate(-50%, 0);
	/* transform: translate(-50%, -50%); */
	transition: all 0.5s ease;
	/*border-radius: 6px;*/
	background-color: #fff;
	background-image: url(/includes/public/assets/shared/pattern-leaf-cabernet.svg);
	z-index: 100002;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
	padding: 30px 15px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.popup .alert::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.95);
	background: linear-gradient(180deg, rgba(255,255,255,0.9) 20%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 60%, rgba(255,255,255,0.9) 100%);
}
.popup .alert > * {
	z-index: 1;
}

.popup .close-btn {
	width: 40px;
	position: absolute;
	right: 5px;
	top: 5px;
	cursor: pointer;
}

.popup .alert .closer {
	margin: 0;
	padding: 5px;
	position: absolute;
	top: 0px;
	right: 0;
	background-color: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
}

.popup .subtitle {
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--Vine);
	font-family: 'GT Pressura Bold';
	font-weight: 700;
	font-style: normal;
	font-size: 16px;
	line-height: 1.0;
	letter-spacing: 4px;
	text-align: center;
	text-transform: uppercase;
	padding: 0 25px;
	margin-bottom: 12px;
}

.popup .title {
	color: var(--Ash);
	font-family: 'Playfair Display';
	font-weight: 400;
	font-style: normal;
	font-size: 30px;
	line-height: 1.0;
	text-align: center;
	margin-bottom: 15px;
}

.popup .gradient {
	width: 120px;
	height: 2px;
	background: rgb(0,0,0);
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,0) 100%);
	margin: 0 10px;
	display: none;
}

.popup .no-thanks {
	color: var(--Cabernet);
	text-decoration: none;
	border-bottom: 1px solid rgba(99,36,45,0.4);
	cursor: pointer;
	margin-bottom: 12px;
}
.popup .no-thanks:hover,
.popup .no-thanks:focus {
	text-decoration: none;
	border-bottom: 1px solid var(--Cabernet);
}

/* newsletter sign up */
.popup form {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.popup form input[type="email"],
.popup ::placeholder {
	font-family: 'Post Grotesk';
	font-size: 17px;
	line-height: 20px;
	background-color: var(--Parchment);
	color: #777;
	font-weight: 500;
	border: 0;
	box-shadow: none;
}

.popup button.submit {
	background-color: var(--Cabernet);
	color: #fff;
	font-family: "GT Pressura Bold", sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 12px;
	line-height: 17px;
	letter-spacing: 0.15em;
	padding: 7px 30px;
	box-shadow: 0px 1.5px 4px rgba(99, 36, 45, 0.5);
	margin-left: auto;
}

.popup .custom-button {
	display: flex;
	justify-content: center;
	margin-top: 15px;
}

.popup .custom-button.align-center {
	justify-content: center;
}

.popup .custom-button .button-link {
	display: inline-block;
	font-family: 'GT Pressura Bold';
	font-weight: 700;
	font-style: normal;
	color: #fff;
	font-size: 14px;
	line-height: 19px;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-align: center;
	padding: 10px 20px;
	background-color: var(--Cabernet);
	box-shadow: 0px 1.5px 4px rgba(99, 36, 45, 0.5);
	margin-bottom: 20px;
}

.popup .legal p {
	font-size: 12px;
	margin-bottom: 35px;
}

/* slides */
.popup .preview_grid_imagebox {
    margin-bottom: 20px;
}

.popup .preview_grid_imagebox .item .img-cont {
	height: 170px;
}


@media screen and (min-width: 64.063em) {
	.popup .alert {
		top: 45%;
		width: 85%;
		transform: translate(-50%, -50%);
		padding: 45px 30px 30px;
	}

	.popup .close-btn {
		width: 45px;
		right: 15px;
		top: 15px;
	}

	.popup .gradient {
		display: block;
	}

	.popup .subtitle {
		font-size: 20px;
		margin-bottom: 30px;
	}

	.popup .title {
		font-size: 50px;
		margin-bottom: 25px;
	}

	.popup button.submit {
		font-size: 14px;
		line-height: 19px;
		padding: 10px 28px;
	}
}


@media screen and (max-width: 1080px) {
	.popup .preview_grid_cards .cards-cont,
	.popup .preview_grid_imagebox .imagebox-cont {
		flex-wrap: wrap;
	}

	.popup .preview_grid_cards .item,
	.popup .preview_grid_imagebox .item {
		max-width: 100%;
	}
}