
/* Nectar Popup 1.1.0 — Nectar Inc. Inherits the site font. */
.nectar-popup {
	--nectar-popup-bar: #02193a;
	--nectar-popup-button: #07a;
	--nectar-popup-button-text: #fff;
	--nectar-popup-text: #1d1d1f;
	--nectar-popup-title: #02193a;
	--nectar-popup-link: #07a;
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .6);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	opacity: 0;
	transition: opacity .2s ease;
	box-sizing: border-box;
}

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

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

.nectar-popup *, .nectar-popup *::before, .nectar-popup *::after {
	box-sizing: border-box;
}

html.nectar-popup-is-open, html.nectar-popup-is-open body {
	overflow: hidden;
}

.nectar-popup__dialog {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	font: inherit;
	color: var(--nectar-popup-text);
	transform: translateY(8px);
	transition: transform .2s ease;
}

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

.nectar-popup__dialog:focus {
	outline: none;
}

.nectar-popup__header, .nectar-popup__footer {
	flex: 0 0 auto;
	background: var(--nectar-popup-bar);
	padding: 22px 32px;
}

.nectar-popup__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 74px;
}

.nectar-popup__logo {
	display: block;
	height: 30px;
	width: auto;
	max-width: 70%;
	margin: 0 !important;
}

.nectar-popup__close {
	margin-inline-start: auto;
	background: none;
	border: 0;
	padding: 4px 8px;
	color: #fff;
	font: inherit;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	border-radius: 4px;
}

.nectar-popup__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 34px 40px 30px;
	-webkit-overflow-scrolling: touch;
}

.nectar-popup__title {
	margin: 0 0 14px;
	font: inherit;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--nectar-popup-title);
}

.nectar-popup__content {
	font-size: 17px;
	line-height: 1.6;
}

.nectar-popup__content > :first-child {
	margin-top: 0;
}

.nectar-popup__content > :last-child {
	margin-bottom: 0;
}

.nectar-popup__content a {
	color: var(--nectar-popup-link);
	text-decoration: underline;
}

.nectar-popup__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 16px;
}

.nectar-popup__button {
	min-width: 150px;
	padding: 17px 34px;
	border: 1px solid var(--nectar-popup-button);
	border-radius: 5px;
	background: var(--nectar-popup-button);
	color: var(--nectar-popup-button-text);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
	cursor: pointer;
}

.nectar-popup__button--secondary {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.nectar-popup__button:hover {
	filter: brightness(1.08);
}

.nectar-popup__button:focus-visible, .nectar-popup__close:focus-visible, .nectar-popup__content a:focus-visible {
	outline: 3px solid #6ef0f9;
	outline-offset: 3px;
}

.nectar-popup[dir="rtl"] .nectar-popup__dialog {
	direction: rtl;
}

.nectar-popup-preview-note {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 99991;
	max-width: 90vw;
	padding: 12px 18px;
	border-radius: 6px;
	background: #02193a;
	color: #fff;
	font: inherit;
	font-size: 15px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

@media (max-width: 767px) {
	.nectar-popup {
		padding: 14px;
	}
	
	.nectar-popup__header, .nectar-popup__footer {
		padding: 16px 20px;
	}
	
	.nectar-popup__header {
		min-height: 60px;
	}
	
	.nectar-popup__logo {
		height: 24px;
	}
	
	.nectar-popup__body {
		padding: 24px 22px 22px;
	}
	
	.nectar-popup__title {
		font-size: 22px;
	}
	
	.nectar-popup__content {
		font-size: 15.5px;
	}
	
	.nectar-popup__button {
		flex: 1 1 100%;
	}
}

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