/* Subscribe pop-up (includes/popup.php), to Andreea's specification of 25.11.2026 (sizes, colours and rules from her
   reference code). Desktop from 700px: two columns, photo 48% / form 52%; below 700px: one column, the whole photo on top. */
.fpf-popup[hidden] { display: none; }
.fpf-popup { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(61, 48, 86, .45); opacity: 0; transition: opacity .35s; }
.fpf-popup.on { opacity: 1; }
.fpf-popup-cutie { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); width: 52vw; min-width: 660px; max-width: 780px; max-height: min(460px, 92vh); background: #F4F2F3; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(61, 48, 86, .25); transform: translateY(14px); transition: transform .35s; }
.fpf-popup.on .fpf-popup-cutie { transform: none; }
.fpf-popup-poza { position: relative; min-height: 100%; background: #8F9297 center 15% / cover no-repeat; }
.fpf-popup-sigla { position: absolute; left: 18px; top: 16px; height: 34px; width: auto; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .18)); }
.fpf-popup-continut { position: relative; padding: 28px 30px 22px; color: #3D3056; overflow: auto; }
.fpf-popup-x { position: absolute; top: 10px; right: 12px; z-index: 1; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); color: #53416F; font-size: 22px; line-height: 30px; cursor: pointer; }
.fpf-popup-eticheta { margin: 0 0 12px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #A07C9D; }
.fpf-popup-titlu { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 300; color: #53416F; }
.fpf-popup-intro { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: #3D3056; }
.fpf-popup-rand { display: flex; gap: 12px; }
.fpf-popup-rand input { flex: 1; min-width: 0; }
.fpf-popup form input[type="text"], .fpf-popup form input[type="email"] { width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 7px 2px; border: 0; border-bottom: 1px solid #CFC4D8; border-radius: 0; background: transparent; font: inherit; font-size: 14px; color: #3D3056; outline: none; }
.fpf-popup form input:focus { border-bottom-color: #53416F; }
.fpf-popup-alegeri { margin: 6px 0 4px; padding: 0; border: 0; }
.fpf-popup-alegeri label { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 6px; padding: 8px 12px; background: #fff; border: 1px solid #E4DCEA; border-radius: 12px; cursor: pointer; }
.fpf-popup-alegeri label:has(input:checked) { border-color: #53416F; background: #EEE8F1; }
.fpf-popup-alegeri input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: #53416F; }
.fpf-popup-alegeri b { display: block; font-size: 13.5px; font-weight: 500; color: #53416F; }
.fpf-popup-alegeri small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: #6B5A78; }
.fpf-popup .form-note { margin: 2px 0 0; font-size: 12.5px; color: #A0476B; }
.fpf-popup .form-note:empty { display: none; }
.fpf-popup-buton { width: 100%; margin-top: 6px; padding: 11px; border: 0; border-radius: 999px; background: #53416F; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.fpf-popup-buton:hover { background: #3D3056; }
.fpf-popup-buton:disabled { opacity: .6; }
.fpf-popup-legal { margin: 8px 0 0; font-size: 10.5px; line-height: 1.5; color: #856B8E; }
.fpf-popup-legal a { color: inherit; }
.fpf-popup-nu { display: block; margin: 6px auto 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: #856B8E; text-decoration: underline; cursor: pointer; }
.fpf-popup-semnatura { margin: 6px 0 0; font-family: var(--script, "Corinthia", cursive); font-size: 44px; line-height: 1; color: #856B8E; }
.fpf-popup .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.fpf-popup-deschis { overflow: hidden; }
/* The quick exit stays above the pop-up. */
html.fpf-popup-deschis .quick-exit { z-index: 9999; }
@media (max-width: 700px) {
	.fpf-popup-cutie { grid-template-columns: 1fr; width: 100%; min-width: 0; max-height: 92vh; overflow: auto; }
	.fpf-popup-poza { min-height: 0; aspect-ratio: 960 / 1024; max-height: 52vh; background-size: contain; background-position: center top; }
	.fpf-popup-continut { padding: 20px 22px 18px; overflow: visible; }
	.fpf-popup-titlu { font-size: 22px; }
	.fpf-popup-intro { margin-bottom: 8px; }
	.fpf-popup-rand { gap: 10px; }
	.fpf-popup-alegeri small { display: none; }
	.fpf-popup-alegeri label { padding: 7px 12px; }
}
