/* Wlasny dialog; szerokosc strony i style sekcji newslettera pozostaja niezalezne. */
.ozi-np {
	--ozi-np-green: #073823;
	--ozi-np-height: 100dvh;
	--ozi-np-width: 100vw;
	position: fixed;
	left: var(--ozi-np-left, 50vw);
	top: var(--ozi-np-top, 50dvh);
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
	width: min(1440px, calc(var(--ozi-np-width) - 48px));
	max-width: none;
	max-height: calc(var(--ozi-np-height) - 48px);
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 16px;
	background: #faf8f2;
	color: #28392d;
	box-shadow: 0 24px 100px rgb(0 0 0 / 24%);
	font: 400 16px/1.6 'Rubik', sans-serif;
	overflow: auto;
	overscroll-behavior: contain;
}
.ozi-np:not([open]), .ozi-np-teaser[hidden] { display: none; }
.ozi-np::backdrop { background: rgb(7 30 20 / 58%); }
html.ozi-np-open { overflow: hidden; scrollbar-gutter: stable; }
.ozi-np *, .ozi-np-teaser * { box-sizing: border-box; }
.ozi-np-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ozi-np-photo { display: flex; align-items: center; justify-content: center; background: #969e7a; min-width: 0; }
.ozi-np-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.ozi-np-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 64px); min-width: 0; }
.ozi-np p.ozi-np-eyebrow { margin: 0 0 20px; color: #5a684e; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.ozi-np h2 { margin: 0 0 24px; color: var(--ozi-np-green); font: 400 clamp(32px, 3.4vw, 52px)/1.22 'Merriweather', serif; letter-spacing: -.03em; }
.ozi-np p { margin: 0 0 16px; }
.ozi-np #ozi-np-description { font-size: 19px; line-height: 1.65; }
.ozi-np #ozi-np-description strong { font-weight: 500; }
.ozi-np .ozi-np-benefits { font-size: 15px; line-height: 1.7; color: #5a6459; }
.ozi-np button.ozi-np-close {
	position: sticky; float: right; top: 12px; z-index: 2;
	width: 48px; height: 48px; margin: 12px 12px -60px 0; padding: 0;
	border: 1px solid rgb(7 56 35 / 18%); border-radius: 50%;
	background: #faf8f2; color: var(--ozi-np-green); cursor: pointer;
	font: 300 32px/1 'Rubik', sans-serif;
}
.ozi-np button.ozi-np-close:hover { background: #e8ecdf; }
.ozi-np :focus-visible, .ozi-np-teaser :focus-visible { outline: 3px solid #8b4c19; outline-offset: 4px; }
.ozi-np .ozi-nl--popup {
	position: static; width: 100%; max-width: 100%; margin: 12px 0 0; padding: 0; overflow: visible; text-align: left;
}
.ozi-np .ozi-nl-stage { margin: 0; }
.ozi-np .ozi-nl-row { display: flex; flex-direction: column; gap: 12px; max-width: none; }
.ozi-np .ozi-nl-field { max-width: none; }
.ozi-np .ozi-nl input.ozi-nl-input {
	height: 56px; padding-left: 52px; border-color: #aeb7a6; border-radius: 8px;
	font-size: 16px; color: #28392d;
}
.ozi-np .ozi-nl input.ozi-nl-input:focus { border-color: #073823; box-shadow: 0 0 0 3px rgb(7 56 35 / 15%); }
.ozi-np .ozi-nl-mail { width: 22px; height: 22px; left: 18px; color: #586c42; }
.ozi-np .ozi-nl button.ozi-nl-btn {
	min-width: 0; width: 100%; height: auto; min-height: 56px; padding: 16px 18px;
	border-radius: 8px; background: var(--ozi-np-green); color: #fff;
	font-size: 16px; font-weight: 500; line-height: 1.5; white-space: normal;
}
.ozi-np .ozi-nl button.ozi-nl-btn:hover { background: #17553a; }
.ozi-np .ozi-nl-consent { font-size: 14px; line-height: 1.6; gap: 10px; margin-top: 16px; color: #465141; }
.ozi-np .ozi-nl-checkwrap { flex-basis: 24px; width: 24px; height: 24px; margin-top: 0; }
.ozi-np .ozi-nl-box { border-color: #768269; }
.ozi-np .ozi-nl-box svg { width: 14px; height: 12px; top: 5px; left: 4px; }
.ozi-np .ozi-nl-check:checked + .ozi-nl-box { background: #073823; border-color: #073823; }
.ozi-np .ozi-nl-check:focus-visible + .ozi-nl-box { outline: 3px solid #8b4c19; outline-offset: 3px; }
.ozi-np .ozi-nl-msg { min-height: 0; margin: 10px 0 0; text-align: left; }
.ozi-np .ozi-nl-msg:empty { display: none; }
.ozi-np .ozi-nl-success { text-align: left; min-height: 0; padding: 20px 0; }
.ozi-np .ozi-nl-success-icon { margin-left: 0; }
.ozi-np .ozi-nl-success h3 { font-size: 26px; }
.ozi-np .ozi-nl-success p { font-size: 16px; line-height: 1.65; }
.ozi-np .ozi-nl-success .ozi-nl-success-note { color: #5a6459; }
.ozi-np p.ozi-np-terms { margin: 16px 0 0; color: #5a6459; font-size: 12px; line-height: 1.65; }
.ozi-np button.ozi-np-later { align-self: center; padding: 12px; margin: 8px 0 -12px; min-height: 48px; border: 0; background: transparent; color: #465141; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ozi-np-teaser {
	position: fixed; z-index: 990; bottom: var(--ozi-np-teaser-bottom, max(24px, env(safe-area-inset-bottom))); right: max(24px, env(safe-area-inset-right));
	display: flex; align-items: center; max-width: calc(100% - 32px); border: 1px solid #d0d8c3; border-radius: 30px;
	background: #faf8f2; box-shadow: 0 4px 24px rgb(7 56 35 / 15%); color: #073823;
}
.ozi-np-teaser button { background: transparent; color: inherit; border: 0; font: 500 14px/1.4 'Rubik', sans-serif; cursor: pointer; min-height: 48px; }
.ozi-np-teaser-open { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 18px; border-radius: 30px 0 0 30px; }
.ozi-np-teaser .ozi-np-teaser-close { width: 48px; padding: 0; border-radius: 0 30px 30px 0; font-size: 24px; font-weight: 300; }
.ozi-np-teaser button:hover { background: #e8ecdf; }
@media (max-width: 767px) {
	.ozi-np { width: calc(var(--ozi-np-width) - 24px); max-height: calc(var(--ozi-np-height) - 24px); border-radius: 12px; }
	.ozi-np-layout { display: block; }
	.ozi-np-photo { padding: 0; }
	.ozi-np-photo img { width: 100%; height: clamp(180px, 56vw, 320px); object-fit: cover; object-position: center top; }
	.ozi-np-content { padding: 24px; }
	.ozi-np p.ozi-np-eyebrow { margin-bottom: 12px; font-size: 11px; }
	.ozi-np h2 { font-size: clamp(27px, 7vw, 34px); margin-bottom: 16px; }
	.ozi-np #ozi-np-description { font-size: 16px; line-height: 1.6; }
	.ozi-np .ozi-np-benefits { display: none; }
	.ozi-np .ozi-nl--popup { margin-top: 4px; }
	.ozi-np .ozi-nl-consent { font-size: 14px; }
	.ozi-np p.ozi-np-terms { font-size: 12px; }
	/* Lewy gorny rog zdjecia jest pusty; krzyzyk nie zaslania napisu po prawej. */
	.ozi-np button.ozi-np-close { float: left; top: 8px; margin: 8px 0 -56px 8px; }
	.ozi-np-teaser { left: 16px; right: auto; max-width: calc(100vw - 32px); bottom: var(--ozi-np-teaser-bottom, max(16px, env(safe-area-inset-bottom))); }
}
@media (prefers-reduced-motion: reduce) {
	.ozi-np *, .ozi-np *::before, .ozi-np *::after { animation: none; transition: none; }
}
