/*
 * IGM 2026 – Newsletter popups (2026-11-26): IGMTouch 20% and registers 10%.
 * Markup from igm-2026-newsletter.php [6]; the form inside is MailPoet's own, only its look is set here.
 *
 * [1] Overlay and box (computer: two panels, 920 px)
 * [2] Left panel: IGMTouch 20% with prices / registers photo with −10%
 * [3] Right panel: heading, text, note
 * [4] MailPoet form: email, consent, button, messages
 * [5] Phones: panel from the bottom, without the left panel
 */

/* [1] Overlay and box ------------------------------------------------------ */
.igm-nlp[hidden] {
	display: none !important;
}
.igm-nlp {
	position: fixed;
	inset: 0;
	z-index: 2147483000; /* above the WhatsApp and language buttons */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: var(--igm-font);
	color: #2B2433;
}
.igm-nlp *,
.igm-nlp *::before,
.igm-nlp *::after {
	box-sizing: border-box;
}
.igm-nlp__overlay {
	position: absolute;
	inset: 0;
	background: rgba(36, 26, 43, 0.55);
	animation: igm-nlp-fade 0.2s ease-out;
}
.igm-nlp__dialog:focus {
	outline: none;
}
.igm-nlp__dialog {
	position: relative;
	display: flex;
	width: 920px;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	overflow: auto;
	border-radius: 24px;
	background: #FFFFFF;
	box-shadow: 0 20px 44px rgba(74, 34, 89, 0.14);
	animation: igm-nlp-in 0.25s ease-out;
}
@keyframes igm-nlp-fade {
	from { opacity: 0; }
}
@keyframes igm-nlp-in {
	from { opacity: 0; transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
	.igm-nlp__overlay,
	.igm-nlp__dialog {
		animation: none;
	}
}
.igm-nlp p {
	padding: 0;
}

/* [2] Left panel ------------------------------------------------------------- */
.igm-nlp__side {
	flex: 0 0 380px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 40px;
}
.igm-nlp--igm .igm-nlp__side {
	background: #4A2259;
	color: #FFFFFF;
}
.igm-nlp--rt .igm-nlp__side {
	background: #F7F4F9;
}
.igm-nlp__side-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #E3C9EE;
}
.igm-nlp--rt .igm-nlp__side-eyebrow {
	color: #7F3E98;
}
.igm-nlp__big {
	margin: 0;
	font-size: 120px;
	line-height: 0.9;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: #FFFFFF;
}
.igm-nlp__big-sub {
	margin: 12px 0 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #FFFFFF;
}
.igm-nlp__price {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
}
.igm-nlp__price-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}
.igm-nlp__price-row s {
	color: #D9CCE3;
}
.igm-nlp__price-row--new {
	font-size: 16px;
	font-weight: 800;
}
.igm-nlp__price p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #D9CCE3;
}
.igm-nlp__photo-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 260px;
	padding: 16px;
	border-radius: 16px;
	background: #FFFFFF;
}
.igm-nlp__photo {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
.igm-nlp__photo-badge {
	position: absolute;
	top: -18px;
	right: -18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #4A2259;
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.igm-nlp__side-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #5B5566;
}

/* [3] Right panel -------------------------------------------------------------- */
.igm-nlp__main {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 56px;
}
.igm-nlp__grab,
.igm-nlp__badge,
.igm-nlp__m {
	display: none;
}
.igm-nlp__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #5B5566;
	cursor: pointer;
}
.igm-nlp__close:hover {
	background: #F7F4F9;
	color: #2B2433;
}
.igm-nlp__close:focus-visible {
	outline: 2px solid #7F3E98;
	outline-offset: 2px;
}
.igm-nlp__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #B0359E;
}
.igm-nlp .igm-nlp__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: 34px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 800;
	color: #2B2433;
}
.igm-nlp__lead {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.55;
	color: #5B5566;
}
.igm-nlp__note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #5B5566;
}

/* [4] MailPoet form ------------------------------------------------------------- */
.igm-nlp .mailpoet_form,
.igm-nlp .mailpoet_form * {
	font-family: var(--igm-font) !important;
}
.igm-nlp form.mailpoet_form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0 !important;
}
.igm-nlp .mailpoet_paragraph {
	margin: 0 !important;
	line-height: 1.5 !important;
}
.igm-nlp .mailpoet_paragraph fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.igm-nlp .mailpoet_text_label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px !important;
	line-height: 1.4 !important;
	font-weight: 700 !important;
	color: #2B2433;
}
.igm-nlp .mailpoet_required {
	color: #B0359E;
}
.igm-nlp .mailpoet_text {
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #DCD0E5 !important;
	border-radius: 8px;
	background: #FFFFFF !important;
	font-size: 16px !important;
	color: #2B2433 !important;
	box-shadow: none;
}
.igm-nlp .mailpoet_text:focus {
	border-color: #7F3E98 !important;
	outline: 2px solid rgba(127, 62, 152, 0.25);
	outline-offset: 1px;
}
.igm-nlp .mailpoet_checkbox_label {
	position: relative;
	display: block !important;
	margin: 0;
	padding: 0 0 0 28px;
	font-size: 13px !important;
	line-height: 1.5 !important;
	font-weight: 400 !important;
	color: #5B5566;
	cursor: pointer;
}
.igm-nlp .mailpoet_checkbox {
	position: absolute;
	top: 1px;
	left: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #7F3E98;
}
.igm-nlp .mailpoet_checkbox_label a {
	color: #7F3E98;
	font-weight: 700;
}
.igm-nlp .mailpoet_submit {
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 6px;
	background: #7F3E98;
	color: #FFFFFF;
	font-size: 15px !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}
.igm-nlp .mailpoet_submit:hover {
	background: #703189;
}
.igm-nlp .mailpoet_form_loading {
	display: none;
}
.igm-nlp .parsley-errors-list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #B3261E;
}
.igm-nlp .mailpoet_message {
	padding: 0 !important;
}
.igm-nlp .mailpoet_validate_success,
.igm-nlp .mailpoet_validate_error {
	margin: 0;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.5;
}
.igm-nlp .mailpoet_validate_success {
	background: #EFE4F5;
	color: #4A2259 !important;
	font-weight: 600;
}
.igm-nlp .mailpoet_validate_error {
	background: #FCE8E6;
	color: #B3261E !important;
}

/* [5] Phones ------------------------------------------------------------------------ */
@media (max-width: 760px) {
	.igm-nlp {
		align-items: flex-end;
		padding: 0;
	}
	.igm-nlp__dialog {
		width: 100%;
		max-height: calc(100vh - 24px);
		border-radius: 24px 24px 0 0;
		animation-name: igm-nlp-up;
	}
	@keyframes igm-nlp-up {
		from { transform: translateY(40px); opacity: 0; }
	}
	.igm-nlp__side,
	.igm-nlp__d {
		display: none;
	}
	.igm-nlp__m {
		display: inline;
	}
	.igm-nlp__main {
		padding: 12px 20px 24px;
	}
	.igm-nlp__grab {
		display: block;
		width: 40px;
		height: 4px;
		margin: 0 auto 12px;
		border-radius: 2px;
		background: #DCD0E5;
	}
	.igm-nlp__close {
		top: 8px;
		right: 8px;
	}
	.igm-nlp__head {
		display: flex;
		align-items: center;
		gap: 14px;
		margin: 8px 0 14px;
		padding-right: 36px;
	}
	.igm-nlp__badge {
		display: inline-flex;
		flex: none;
		align-items: center;
		justify-content: center;
		width: 72px;
		height: 72px;
		border-radius: 16px;
		background: #4A2259;
		color: #FFFFFF;
		font-size: 24px;
		font-weight: 800;
		letter-spacing: -0.02em;
	}
	.igm-nlp__eyebrow {
		margin: 0 0 2px;
		font-size: 12px;
	}
	.igm-nlp__eyebrow svg {
		display: none;
	}
	.igm-nlp .igm-nlp__title {
		margin: 0;
		font-size: 20px;
		line-height: 1.25;
	}
	.igm-nlp__lead {
		margin: 0 0 16px;
		font-size: 15px;
		line-height: 1.5;
	}
	.igm-nlp form.mailpoet_form {
		gap: 12px;
	}
	.igm-nlp .mailpoet_text_label {
		margin-bottom: 6px;
	}
	.igm-nlp .mailpoet_checkbox {
		width: 20px;
		height: 20px;
		top: 0;
	}
	.igm-nlp .mailpoet_checkbox_label {
		padding-left: 30px;
	}
	.igm-nlp__note {
		margin-top: 12px;
	}
}
