/* Popup se slevou */
.lp-overlay {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center; padding: 20px;
	background: rgba(10, 10, 26, .6); opacity: 0; transition: opacity .25s ease;
}
.lp-overlay.lp-viditelny { opacity: 1; }
/* `display:flex` výš přebíjí výchozí `[hidden] { display:none }`, takže odbytý popup zůstával
   ležet průhledný přes celou stránku a polykal kliknutí. Tohle ho opravdu odklidí. */
.lp-overlay[hidden] { display: none; }
.lp-box {
	position: relative; width: 100%; max-width: 440px; box-sizing: border-box;
	background: #fff; border-radius: 20px; padding: 36px 30px 28px; text-align: center;
	box-shadow: 0 24px 60px rgba(10, 10, 26, .28);
	transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.lp-overlay.lp-viditelny .lp-box { transform: none; }
.lp-box h2 { margin: 0 0 10px; font-size: clamp(22px, 5vw, 28px); font-weight: 800; color: var(--navy, #0A0A1A); }
.lp-lead { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--gray-500, #6b7280); }
.lp-note { margin: 12px 0 0; font-size: 12px; color: var(--gray-400, #9ca3af); }
.lp-chyba { margin: 10px 0 0; font-size: 13px; color: #991b1b; }

.lp-close {
	position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
	border: 0; background: transparent; color: var(--gray-400, #9ca3af);
	font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.lp-close:hover { background: #f3f4f6; color: var(--navy, #0A0A1A); }

.lp-form { display: flex; flex-direction: column; gap: 10px; }
.lp-form input {
	width: 100%; box-sizing: border-box; padding: 13px 16px; font: inherit; font-size: 15px;
	border: 2px solid var(--gray-200, #e5e7eb); border-radius: 12px; background: #f9fafb; text-align: center;
}
.lp-form input:focus { outline: none; border-color: var(--yellow, #ffe900); background: #fff; }
.lp-form button {
	padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--yellow, #ffe900); color: var(--navy, #0A0A1A);
	font: inherit; font-size: 16px; font-weight: 700;
	transition: transform .15s ease, background .15s ease;
}
.lp-form button:hover { background: var(--yellow-dark, #e6d200); transform: translateY(-2px); }
.lp-form button[disabled] { opacity: .6; cursor: progress; transform: none; }

.lp-fajfka {
	width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
	background: #edfaef; color: #135e2b; font-size: 30px; line-height: 58px;
}
.lp-btn-close {
	position: static; width: auto; height: auto; margin-top: 18px; padding: 11px 24px;
	border: 2px solid var(--gray-200, #e5e7eb); border-radius: 999px;
	font: inherit; font-size: 14px; font-weight: 600; color: var(--navy, #0A0A1A);
}

@media (max-width: 480px) { .lp-box { padding: 30px 20px 22px; } }
/* Odznáček po zavření popupu — sleva zůstane po ruce, ale nepřekáží. Vlevo dole, na mobilu
   uprostřed. Leží pod menu, košíkem i rychlým náhledem, které ho při otevření zakryjí. */
.lp-odznak {
	position: fixed; left: 20px; bottom: 20px; z-index: 990;
	display: flex; align-items: center;
	background: var(--yellow, #ffe900); color: var(--navy, #0A0A1A);
	border-radius: 999px; box-shadow: 0 6px 20px rgba(10, 10, 26, .18);
	opacity: 0; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease;
}
.lp-odznak.lp-viditelny { opacity: 1; transform: none; }
.lp-odznak[hidden] { display: none; }

.lp-odznak-otevrit {
	display: flex; align-items: center; gap: 8px;
	padding: 11px 4px 11px 18px; border: 0; background: none; cursor: pointer;
	color: inherit; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.lp-odznak-otevrit .lk-ico { width: 18px; height: 18px; vertical-align: 0; }
.lp-odznak-zavrit {
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; margin-right: 5px; padding: 0;
	border: 0; border-radius: 50%; background: none; cursor: pointer;
	color: rgba(10, 10, 26, .55); font-size: 20px; line-height: 1;
}
.lp-odznak-zavrit:hover { background: rgba(10, 10, 26, .08); color: var(--navy, #0A0A1A); }

@media (max-width: 640px) {
	.lp-odznak { left: 50%; bottom: 16px; transform: translate(-50%, 12px); }
	.lp-odznak.lp-viditelny { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.lp-overlay, .lp-box, .lp-form button, .lp-odznak { transition: none; }
}

/* Odkaz na ochranu údajů pod formulářem — nenápadný, ale ať je vidět, že jde kliknout. */
.lp-note a { color: inherit; text-decoration: underline; white-space: nowrap; }
.lp-note a:hover { color: var(--gray-600, #4b5563); }

/* Stránka odhlášení odběru (inc/odberatele.php) */
.lp-odhlaseni { max-width: 620px; margin: 0 auto; padding-block: clamp(40px, 8vw, 90px); text-align: center; }
.lp-odhlaseni .lk-page-title { margin-bottom: 18px; }
.lp-odhlaseni p { font-size: 16px; line-height: 1.6; color: var(--gray-600, #4b5563); margin: 0 0 22px; }
.lp-odhlaseni form { margin: 0 0 18px; }
.lp-odhlaseni-zpet a { font-size: 14px; color: var(--gray-600, #4b5563); text-decoration: underline; }
