/* Hírlevél-feliratkozás. Terv: „fogy tervek” vászon, Hírlevél, kupon, űrlap lap. */

.hl-blokk,
.hl-blokk *,
.hl-valasz,
.hl-valasz * { box-sizing: border-box; }

.hl-blokk { color: #212121; font-family: Poppins, system-ui, sans-serif; }
.hl-blokk[hidden] { display: none !important; }
.hl-rejtett { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fgy-hl-cim {
	margin: 0 0 10px;
	color: #212121;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 38px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.fgy-hl-szoveg { margin: 0 0 14px; font-size: 15px; line-height: 25px; }

/* Űrlap */
.fgy-hl-mezok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fgy-hl-mezo label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; line-height: 20px; }

.fgy-hl-urlap input[type="text"],
.fgy-hl-urlap input[type="email"] {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	color: #212121;
	font-family: inherit;
	font-size: 16px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
}

.fgy-hl-urlap input:focus { border-color: #0073aa; outline: 2px solid #0073aa; outline-offset: 0; }
.fgy-hl-urlap input[aria-invalid="true"] { border: 2px solid #e00000; }
.fgy-hl-sor { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }

.fgy-hl-pipa { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; line-height: 20px; cursor: pointer; }
.fgy-hl-pipa input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #212121; }
.fgy-hl-pipa a { color: inherit; text-decoration: underline; }
.hl-hiba { display: block; margin: 6px 0 0; color: #b80000; font-size: 13px; font-weight: 500; line-height: 18px; }
.hl-hiba[hidden] { display: none; }

.fgy-hl-gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	color: #fff;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 19px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	background: #212121;
	border: 0;
	border-radius: 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.fgy-hl-gomb:hover,
.fgy-hl-gomb:focus { color: #fff; background: #000; }
.fgy-hl-gomb:disabled { opacity: 0.6; cursor: progress; }
.fgy-hl-gomb--teljes { width: 100%; margin-top: 16px; }

/* Sáv a lábléc fölött */
.fgy-hl-sav { background: #afd9ad; }

.fgy-hl-belso {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 50px;
	align-items: center;
	max-width: calc(var(--fgy-tartalom, 1180px) + 80px);
	margin: 0 auto;
	padding: 56px 40px;
}

.fgy-hl-bal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }

.fgy-hl-szam {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 150px;
	font-style: italic;
	font-weight: 800;
	line-height: 0.8;
	letter-spacing: -0.02em;
}

.fgy-hl-szam small { display: block; margin-top: 10px; font-size: 26px; letter-spacing: 0; text-transform: uppercase; }

.fgy-hl-ikon { display: flex; flex: none; align-items: center; justify-content: center; width: 64px; height: 64px; color: #212121; background: #afd9ad; border-radius: 50%; }
.fgy-hl-ikon--nagy { width: 104px; height: 104px; background: #fff; }

.fgy-hl-pontok { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.fgy-hl-pontok li { display: flex; align-items: center; gap: 6px; margin: 0; }
.fgy-hl-pontok svg { width: 20px; height: 20px; padding: 4px; color: #fff; background: #212121; border-radius: 50%; }
.fgy-hl-kartya-urlap { padding: 28px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(33, 33, 33, 0.08); }

/* Kártya képpel */
.fgy-hl-kartya { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; background: #fff; border-radius: 20px; }
.fgy-hl-kartya-kep { position: relative; min-height: 300px; }
.fgy-hl-kartya-kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgy-hl-kartya-test { padding: 34px 36px; }
.fgy-hl-kartya .fgy-hl-cim { font-size: 34px; }
.fgy-hl-kartya:not(:has(.fgy-hl-kartya-kep)) { grid-template-columns: minmax(0, 1fr); }
.fgy-hl-cimke { display: inline-flex; margin-bottom: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; background: #afd9ad; border-radius: 50px; }

/* Kompakt sor */
.fgy-hl-kompakt { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: center; padding: 22px 26px; background: #fff; border: 1px solid #eee; border-radius: 20px; }
.fgy-hl-kompakt .fgy-hl-cim { margin: 0 0 4px; font-size: 24px; }
.fgy-hl-kompakt p { margin: 0; color: #666; font-size: 14px; line-height: 21px; }
.fgy-hl-kompakt .fgy-hl-pipa { margin-top: 8px; }

/* Felugró ablak */
.fgy-hl-felugro { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fgy-hl-fatyol { position: absolute; inset: 0; background: rgba(20, 24, 22, 0.55); }

.fgy-hl-ablak {
	position: relative;
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	width: 100%;
	max-width: 780px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	animation: fgy-hl-be 0.25s ease;
}

.fgy-hl-ablak--kep-nelkul { grid-template-columns: minmax(0, 1fr); max-width: 480px; }

/* A kép a teljes bal oldalt kitölti, a szöveg magasságától függetlenül. */
.fgy-hl-ablak-kep { position: relative; min-height: 100%; }
.fgy-hl-ablak-kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgy-hl-ablak-test { position: relative; padding: 38px 34px 28px; }

.fgy-hl-zar {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #212121;
	background: #f7f8f9;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.fgy-hl-zar:hover,
.fgy-hl-zar:focus { color: #212121; background: #f0f0f0; }
.fgy-hl-ablak-szam { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 64px; font-style: italic; font-weight: 800; line-height: 0.9; }
.fgy-hl-ablak .fgy-hl-cim { margin-top: 6px; font-size: 30px; }
.fgy-hl-ablak .fgy-hl-szoveg { font-size: 14px; line-height: 22px; }
.fgy-hl-ablak .fgy-hl-pipa { font-size: 12px; }

.fgy-hl-nem {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 8px;
	color: #666;
	font-family: inherit;
	font-size: 14px;
	text-decoration: underline;
	background: none;
	border: 0;
	cursor: pointer;
}

.fgy-hl-nem:hover,
.fgy-hl-nem:focus { color: #212121; background: none; }

@keyframes fgy-hl-be {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* Köszönő- és visszaigazoló oldal (a bővítmény shortcode-jainak kimenete) */
.fgy-hl-oldal { padding: 56px 20px; background: #f7f8f9; }
.hl-valasz { max-width: 780px; margin: 0 auto; color: #212121; font-family: Poppins, system-ui, sans-serif; text-align: center; }
.hl-valasz__ikon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 18px; color: #212121; background: #afd9ad; border-radius: 50%; }
.hl-valasz__ikon svg { width: 40px; height: 40px; }
.hl-valasz--szurke .hl-valasz__ikon { background: #fff; }

.hl-valasz__cim {
	margin: 0 0 12px;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 48px;
	font-style: italic;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.hl-valasz__szoveg { max-width: 560px; margin: 0 auto 26px; font-size: 17px; line-height: 28px; }
.hl-valasz__megjegyzes { margin: 18px 0 0; color: #666; font-size: 14px; }
.hl-lepesek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 10px; padding: 0; text-align: left; list-style: none; }
.hl-lepesek li { padding: 18px; background: #fff; border-radius: 15px; }
.hl-lepesek__szam { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; font-weight: 700; background: #afd9ad; border-radius: 50%; }
.hl-lepesek strong { display: block; font-size: 15px; font-weight: 600; }
.hl-lepesek li > span:last-child { color: #666; font-size: 13px; line-height: 19px; }
.hl-kod { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 24px; padding: 18px 30px; background: #fff; border: 2px dashed #566559; border-radius: 15px; }
.hl-kod > span { color: #666; font-size: 13px; }
.hl-kod strong { font-size: 30px; letter-spacing: 3px; }

.hl-kod__masol {
	padding: 6px 14px;
	color: #212121;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	background: #f7f8f9;
	border: 1px solid #ddd;
	border-radius: 50px;
	cursor: pointer;
}

.hl-gomb--nagy,
.hl-valasz .hl-gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 30px;
	color: #fff;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-size: 20px;
	font-style: italic;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	background: #212121;
	border: 0;
	border-radius: 15px;
	cursor: pointer;
}

.hl-gomb--nagy:hover,
.hl-valasz .hl-gomb:hover { color: #fff; background: #000; }
.fgy-hl-oldal-tartalom { max-width: 780px; margin: 30px auto 0; font-size: 15px; line-height: 26px; }

/* ---------- Sáv: középre zárt változat (2.) ---------- */
.fgy-hl-sav--kozep { position: relative; display: flex; justify-content: center; overflow: hidden; padding: 70px 24px; }
.fgy-hl-gyuruk { position: absolute; top: 50%; left: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; pointer-events: none; }
.fgy-hl-kozep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 720px; text-align: center; }
.fgy-hl-jel { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fgy-hl-jel i { width: 56px; height: 2px; background: #212121; }
.fgy-hl-jel b { display: inline-flex; align-items: center; padding: 7px 16px; color: #fff; font-weight: 700; background: #212121; border-radius: 50px; }
.fgy-hl-sav--kozep .fgy-hl-cim { margin: 18px 0 10px; font-size: 52px; line-height: 1; }
.fgy-hl-sav--kozep .fgy-hl-szoveg { max-width: 560px; margin: 0 0 26px; }
.fgy-hl-sav--kozep .fgy-hl-urlap { width: 100%; max-width: 600px; }
.fgy-hl-sav--kozep .fgy-hl-pipa { justify-content: center; text-align: left; }
.fgy-hl-chipek { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.fgy-hl-chipek li { margin: 0; padding: 6px 14px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.55); border-radius: 50px; }

/* Egysoros, pirula alakú mező a gombbal (a középre zárt és a képes sávban). */
.fgy-hl-sav--kozep .fgy-hl-sor,
.fgy-hl-sav--kep .fgy-hl-sor { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; background: #fff; border: 1px solid transparent; border-radius: 50px; box-shadow: 0 10px 30px rgba(33, 33, 33, 0.1); }
.fgy-hl-sav--kep .fgy-hl-sor { background: #fff; border-color: #ddd; box-shadow: 0 6px 20px rgba(33, 33, 33, 0.06); }
.fgy-hl-sav--kozep .fgy-hl-sor:focus-within,
.fgy-hl-sav--kep .fgy-hl-sor:focus-within { outline: 2px solid #0073aa; outline-offset: 2px; }
.fgy-hl-sav--kozep .fgy-hl-sor input[type="email"],
.fgy-hl-sav--kep .fgy-hl-sor input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0; background: transparent; border: 0; border-radius: 0; outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
.fgy-hl-sav--kozep .fgy-hl-sor .fgy-hl-gomb,
.fgy-hl-sav--kep .fgy-hl-sor .fgy-hl-gomb { flex: none; min-height: 52px; padding: 0 26px; font-size: 20px; border-radius: 50px; }
.fgy-hl-sav--kep .fgy-hl-sor .fgy-hl-gomb { color: #000; background: #afd9ad; }
.fgy-hl-sav--kep .fgy-hl-sor .fgy-hl-gomb:hover,
.fgy-hl-sav--kep .fgy-hl-sor .fgy-hl-gomb:focus { color: #000; background: #90c08d; }

/* ---------- Sáv: képes változat (5.) ---------- */
.fgy-hl-sav--kep { position: relative; overflow: hidden; background: #fff; }
.fgy-hl-negyed { position: absolute; right: -180px; bottom: -260px; width: 520px; height: 520px; background: #afd9ad; border-radius: 50%; opacity: 0.45; pointer-events: none; }
.fgy-hl-kepes { position: relative; z-index: 1; display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 50px; align-items: center; max-width: calc(var(--fgy-tartalom, 1180px) + 80px); margin: 0 auto; padding: 40px 40px; }
.fgy-hl-korkep { position: relative; width: 480px; height: 480px; }
.fgy-hl-iv { position: absolute; inset: 0; width: 100%; height: 100%; }
.fgy-hl-korkep-kep { position: absolute; top: 40px; left: 40px; width: 400px; height: 400px; overflow: hidden; border-radius: 50%; }
.fgy-hl-korkep-kep img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fgy-hl-jelveny { position: absolute; top: 40px; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; height: 132px; color: #212121; background: #f2acbf; border: 6px solid #fff; border-radius: 50%; }
.fgy-hl-jelveny b { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 50px; font-style: italic; font-weight: 800; line-height: 0.9; }
.fgy-hl-jelveny span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fgy-hl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #f7f8f9; border-radius: 50px; }
.fgy-hl-chip i { width: 8px; height: 8px; background: #afd9ad; border-radius: 50%; }
.fgy-hl-sav--kep .fgy-hl-cim { margin: 16px 0 10px; font-size: 46px; line-height: 1.02; }
.fgy-hl-sav--kep .fgy-hl-szoveg { margin: 0 0 22px; }
.fgy-hl-sav--kep .fgy-hl-pontok { margin-top: 16px; }
.fgy-hl-sav--kep .fgy-hl-pontok svg { color: #212121; background: #f2acbf; }

@media (max-width: 1024px) {
	.fgy-hl-kepes { grid-template-columns: 360px minmax(0, 1fr); gap: 30px; padding: 30px 24px; }
	.fgy-hl-korkep { width: 360px; height: 360px; }
	.fgy-hl-korkep-kep { top: 30px; left: 30px; width: 300px; height: 300px; }
	.fgy-hl-jelveny { top: 24px; width: 110px; height: 110px; }
	.fgy-hl-jelveny b { font-size: 42px; }
	.fgy-hl-sav--kep .fgy-hl-cim { font-size: 38px; }
}

@media (max-width: 768px) {
	.fgy-hl-sav--kozep { padding: 44px 15px; }
	.fgy-hl-sav--kozep .fgy-hl-cim { font-size: 32px; }
	.fgy-hl-jel i { width: 28px; }
	/* Mobilon a mező és a gomb egymás alá kerül, mindkettő teljes szélességű. */
	.fgy-hl-sav--kozep .fgy-hl-sor,
	.fgy-hl-sav--kep .fgy-hl-sor { flex-direction: column; align-items: stretch; gap: 8px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
	.fgy-hl-sav--kozep .fgy-hl-sor:focus-within,
	.fgy-hl-sav--kep .fgy-hl-sor:focus-within { outline: 0; }
	.fgy-hl-sav--kozep .fgy-hl-sor input[type="email"],
	.fgy-hl-sav--kep .fgy-hl-sor input[type="email"] { flex: none; width: 100%; height: 52px; padding: 0 18px; background: #fff; border: 1px solid #ddd; border-radius: 50px; }
	.fgy-hl-sav--kozep .fgy-hl-sor input[type="email"]:focus,
	.fgy-hl-sav--kep .fgy-hl-sor input[type="email"]:focus { outline: 2px solid #0073aa; outline-offset: 0; }
	.fgy-hl-sav--kozep .fgy-hl-sor .fgy-hl-gomb,
	.fgy-hl-sav--kep .fgy-hl-sor .fgy-hl-gomb { width: 100%; }
	.fgy-hl-kepes { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 30px 15px 36px; justify-items: center; }
	.fgy-hl-korkep { width: 260px; height: 260px; }
	.fgy-hl-korkep-kep { top: 22px; left: 22px; width: 216px; height: 216px; }
	.fgy-hl-jelveny { top: 6px; right: -10px; width: 92px; height: 92px; border-width: 4px; }
	.fgy-hl-jelveny b { font-size: 34px; }
	.fgy-hl-jelveny svg { width: 34px; height: 34px; }
	.fgy-hl-kepes-test { width: 100%; }
	.fgy-hl-sav--kep .fgy-hl-cim { font-size: 30px; }
	.fgy-hl-negyed { right: -220px; bottom: -320px; }
}

@media (max-width: 1024px) {
	.fgy-hl-belso { gap: 30px; padding: 44px 24px; }
	.fgy-hl-szam { font-size: 110px; }
	.fgy-hl-kompakt { grid-template-columns: auto minmax(0, 1fr); }
	.fgy-hl-kompakt .fgy-hl-urlap { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
	.fgy-hl-belso { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 34px 15px; }
	.fgy-hl-bal { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fgy-hl-szam { font-size: 96px; }
	.fgy-hl-szam small { display: inline; margin-left: 8px; font-size: 20px; }
	.fgy-hl-cim { font-size: 28px; }
	.fgy-hl-mezok { grid-template-columns: minmax(0, 1fr); }
	.fgy-hl-kartya-urlap { padding: 20px 16px; }
	.fgy-hl-kartya { grid-template-columns: minmax(0, 1fr); }
	.fgy-hl-kartya-kep { min-height: 180px; }
	.fgy-hl-kartya-test { padding: 22px 18px; }
	.fgy-hl-kartya .fgy-hl-cim { font-size: 28px; }
	.fgy-hl-sor { grid-template-columns: minmax(0, 1fr); }
	.fgy-hl-kompakt { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; }
	.fgy-hl-ablak { grid-template-columns: minmax(0, 1fr); max-width: 400px; }
	.fgy-hl-ablak-kep { min-height: 150px; }
	.fgy-hl-ablak-test { padding: 24px 20px 20px; }
	.fgy-hl-ablak .fgy-hl-cim { font-size: 26px; }
	.hl-lepesek { grid-template-columns: minmax(0, 1fr); }
	.hl-valasz__cim { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.fgy-hl-ablak { animation: none; }
	.fgy-hl-gomb { transition: none; }
}
