/* Newsletter prozor (inc/news-popup.php, assets/js/news-popup.js) */
.ifu-nlpop [hidden] { display: none !important; }
.ifu-nlpop { width: min(820px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: transparent; color: var(--ifu-ink); overflow: visible; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .25s var(--ifu-ease, ease), transform .25s var(--ifu-ease, ease); }
.ifu-nlpop.is-open { opacity: 1; transform: none; }
.ifu-nlpop::backdrop { background: rgba(22, 21, 15, .45); backdrop-filter: blur(3px); }
.ifu-nlpop__card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: 28px; background: var(--ifu-paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); max-height: calc(100dvh - 32px); }
.ifu-nlpop__x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ifu-ink); cursor: pointer; }
.ifu-nlpop__x:hover { background: #fff; }
.ifu-nlpop__side { position: relative; display: flex; align-items: flex-end; min-height: 100%; padding: 28px; background: var(--ifu-accent) center / cover no-repeat; color: #fff; }
.ifu-nlpop.has-img .ifu-nlpop__side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6)); }
.ifu-nlpop:not(.has-img) .ifu-nlpop__side { background-image: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.22), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(0,0,0,.22), transparent 60%); background-color: var(--ifu-accent); }
.ifu-nlpop__sidein { position: relative; display: flex; flex-direction: column; gap: 18px; }
.ifu-nlpop__badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ifu-nlpop__perks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ifu-nlpop__perks li { display: flex; align-items: flex-start; gap: 10px; }
.ifu-nlpop__perks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fff; color: var(--ifu-accent); }
.ifu-nlpop__main { display: flex; flex-direction: column; gap: 12px; padding: 40px 36px 28px; overflow-y: auto; }
.ifu-nlpop__title { margin: 0; padding-right: 32px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.ifu-nlpop__text { margin: 0 0 4px; color: var(--ifu-muted); font-size: 15px; line-height: 1.5; }
.ifu-form--pop { display: grid; gap: 10px; }
.ifu-form--pop .ifu-field input { width: 100%; height: 52px; }
.ifu-form--pop .ifu-btn { width: 100%; justify-content: center; }
.ifu-form--pop .ifu-form__check { font-size: 12.5px; line-height: 1.45; color: var(--ifu-muted); }
.ifu-nlpop__no { align-self: center; border: 0; background: none; color: var(--ifu-muted-2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ifu-nlpop__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ifu-nlpop__done h3 { margin: 4px 0 0; font-size: 22px; }
.ifu-nlpop__done p { margin: 0 0 6px; color: var(--ifu-muted); line-height: 1.5; }
.ifu-nlpop__ok { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ifu-accent-soft, #E8EBFF); color: var(--ifu-accent); }

/* Telefon: panel odozdo, bez bočne slike — samo traka sa prednostima. */
@media (max-width: 700px) {
	.ifu-nlpop { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; transform: translateY(40px); }
	.ifu-nlpop__card { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 92dvh; }
	.ifu-nlpop__side { min-height: 0; padding: 22px 20px 18px; }
	.ifu-nlpop.has-img .ifu-nlpop__side { min-height: 140px; }
	.ifu-nlpop__perks { gap: 8px; font-size: 14px; }
	.ifu-nlpop__main { padding: 20px 20px calc(18px + env(safe-area-inset-bottom)); }
	.ifu-nlpop__title { font-size: 23px; }
}
