/* ==========================================================================
   WOW! Pop-Up — promotional pop-over.
   ========================================================================== */

.wow-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.wow-popup.is-open {
	opacity: 1;
}

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

.wow-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(42, 32, 53, 0.62);
	cursor: pointer;
}

.wow-popup__dialog {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(42, 32, 53, 0.35);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.wow-popup.is-open .wow-popup__dialog {
	transform: none;
}

/* ---- close ---- */

.wow-popup__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #2A2035;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(42, 32, 53, 0.2);
}

.wow-popup__close:hover {
	background: #fff;
}

.wow-popup__close:focus-visible {
	outline: 2px solid #402A5F;
	outline-offset: 2px;
}

/* ---- media ---- */

.wow-popup__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #e8e8e8;
}

.wow-popup__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---- body ---- */

.wow-popup__body {
	padding: 28px 32px 24px;
	text-align: center;
}

.wow-popup__heading {
	font-size: 1.6rem;
	line-height: 1.15;
	font-weight: 700;
	color: #402A5F;
	margin: 0 0 10px;
}

.wow-popup__copy {
	font-size: 1rem;
	line-height: 1.55;
	color: #444;
	margin: 0 0 22px;
}

.wow-popup__copy p:last-child {
	margin-bottom: 0;
}

.wow-popup__button {
	display: inline-block;
	background-color: #FF0158;
	color: #fff !important;
	text-decoration: none;
	padding: 12px 34px;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}

.wow-popup__button:hover {
	background-color: #ee9b00;
}

.wow-popup__button:focus-visible {
	outline: 2px solid #402A5F;
	outline-offset: 3px;
}

.wow-popup__decline {
	display: block;
	margin: 14px auto 0;
	padding: 4px 8px;
	background: none;
	border: 0;
	color: #666;
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.wow-popup__decline:hover {
	color: #2A2035;
}

/* Stop the page behind from scrolling while it is open. */
html.wow-popup-open,
html.wow-popup-open body {
	overflow: hidden;
}

@media (max-width: 520px) {
	.wow-popup { padding: 16px; }
	.wow-popup__body { padding: 22px 20px 20px; }
	.wow-popup__heading { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
	.wow-popup,
	.wow-popup__dialog,
	.wow-popup__button {
		transition: none;
	}
	.wow-popup__dialog { transform: none; }
}
