/* 1470 · Egyedi bögre kérés (assets/egyedi.js). A jóváhagyott terv CSS-e egy az egyben: ~/ClaudeCode/lapok/egyedi-urlap/forras/
   keretek.js (S1/S2: a lap), keretek3.js (KA: a kosár buboréka), keretek2.js (K2: a kosár alja), keretek5.js (P4/P4b: a pénztár),
   keretek4.js (KO: a köszönőoldal kártyája és az e-mail-lap). Az osztálynevek `eg-` előtagúak; ahol a terv két helyen ugyanazt a
   nevet használta más stílussal (.eg-ala, .eg-gomb), itt a szülővel szűkítve. A termékoldali doboz (.eg-kartya): gomb-kore.css.
   Görgetősáv sehol (a lap görgethető, de sáv nélkül), buborék (title) sehol. */

:root { --eg-f: "Plus Jakarta Sans", "Plus Jakarta Sans Tartalek", Poppins, Arial, sans-serif; --eg-d: "Baloo 2", "Baloo 2 Tartalek", "Plus Jakarta Sans", Poppins, Arial, sans-serif; }

/* ── 1 · a felcsúszó lap (S1, S2) ─────────────────────────────────────────────────────────────────────────────────── */
.eg-hatter { position: fixed; inset: 0; background: rgba(28, 20, 25, .46); z-index: 9000; opacity: 0; transition: opacity .22s ease; }
.eg-lap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9001; box-sizing: border-box; background: #fff; border-radius: 22px 22px 0 0;
  padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 40px rgba(28, 20, 25, .18); font-family: var(--eg-f); color: #1c1419;
  max-height: 86vh; max-height: 86dvh; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.eg-lap::-webkit-scrollbar { display: none; width: 0; height: 0; }
.eg-nyitva .eg-hatter { opacity: 1; }
.eg-nyitva .eg-lap { transform: translateY(0); }
@media (min-width: 640px) { .eg-lap { left: 50%; right: auto; width: 480px; margin-left: -240px; } }
@media (prefers-reduced-motion: reduce) { .eg-hatter, .eg-lap { transition: none; } }
html.eg-zar, html.eg-zar body { overflow: hidden; }
.eg-fogo { width: 42px; height: 5px; border-radius: 9px; background: #e6dce1; margin: 0 auto 12px; }
.eg-fej { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.eg-fej img { width: 58px; height: 58px; object-fit: contain; border-radius: 12px; background: #f8f4f2; flex: none; }
.eg-fej .eg-kis { font: 800 10.5px/1 var(--eg-f); letter-spacing: .7px; color: #f0327e; text-transform: uppercase; }
.eg-fej .eg-cim { font: 800 17px/1.2 var(--eg-d); margin-top: 3px; }
.eg-fej .eg-x { margin-left: auto; align-self: flex-start; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #f6f1f3;
  display: grid; place-items: center; font: 700 16px/1 var(--eg-f); color: #73676d; cursor: pointer; }
.eg-cimke-sor { font: 800 14px/1.25 var(--eg-f); margin: 0 0 6px; }
.eg-bogre { border: 1.5px solid #eee3e8; border-radius: 16px; padding: 10px 12px 12px; margin: 0 0 10px; background: #fffafc; }
.eg-bogre .eg-szam { font: 800 11px/1 var(--eg-f); color: #73676d; letter-spacing: .4px; margin: 0 0 7px; display: flex; justify-content: space-between; align-items: center; }
.eg-bogre .eg-torol { border: 0; background: none; padding: 4px 0 4px 12px; margin: -4px 0; font: 700 11px/1 var(--eg-f); letter-spacing: .4px; color: #a2949b; cursor: pointer; }
.eg-mezo { display: block; box-sizing: border-box; width: 100%; min-height: 64px; border: 1.5px solid #e4d7de; border-radius: 12px; padding: 10px 12px;
  font: 600 15px/1.35 var(--eg-f); color: #1c1419; background: #fff; resize: none; overflow: hidden; margin: 0; -webkit-appearance: none; appearance: none; }
.eg-mezo::placeholder { color: #a2949b; font-weight: 500; opacity: 1; }
.eg-mezo:focus { outline: none; border-color: #ee86ae; box-shadow: 0 0 0 3px rgba(240, 50, 126, .12); }
/* iOS a 16 px alatti mezőnél fókuszkor ránagyít az egész lapra: ott 16 px */
@supports (-webkit-touch-callout: none) { .eg-mezo { font-size: 16px; } }
.eg-hibas .eg-mezo { border-color: #e0245e; }
.eg-hiba { font: 700 11.5px/1.35 var(--eg-f); color: #c81d58; margin: 6px 2px 0; }
.eg-tipp { font: 600 11.5px/1.35 var(--eg-f); color: #8a7d84; margin: 6px 2px 0; }
.eg-meg { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; box-sizing: border-box; border: 1.5px dashed #ee86ae; border-radius: 14px;
  background: #fff4f8; color: #d61f6a; font: 800 13.5px/1 var(--eg-f); height: 44px; margin: 2px 0 14px; padding: 0 12px; cursor: pointer; }
.eg-info { display: flex; gap: 10px; align-items: flex-start; background: #eef8f1; border-radius: 14px; padding: 10px 12px; margin: 0 0 14px; font: 600 12.5px/1.4 var(--eg-f); color: #2c5d40; }
.eg-info b { color: #1d4a30; font-weight: 800; }
.eg-info .eg-ik { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2f9e60; color: #fff; display: grid; place-items: center; font: 800 12px/1 var(--eg-f); margin-top: 1px; }
.eg-lap .eg-gomb { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; box-sizing: border-box; border: 0; border-radius: 15px;
  background: #f0327e; color: #fff; font: 800 15px/1 var(--eg-f); box-shadow: rgba(240, 50, 126, .7) 0 12px 24px -12px; cursor: pointer; padding: 0 14px; }
.eg-lap .eg-gomb small { font-weight: 700; opacity: .85; font-size: 13px; }

/* ── 2 · a kosár buboréka (KA: szürke buborék, kis nyíllal a bögrekép felé; ceruza nincs) ────────────────────────────── */
.kv2-tetel.eg-van { flex-wrap: wrap; row-gap: 8px; }
.eg-s { box-sizing: border-box; flex: 0 0 100%; display: flex; align-items: center; gap: 12px; font-family: var(--eg-f); color: #1c1419; min-width: 0; }
.eg-s .eg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eg-s .eg-t small { font: 700 10px/1.1 var(--eg-f); letter-spacing: .6px; color: #8a7d84; text-transform: uppercase; }
.eg-s .eg-t span { font: 600 13.5px/1.3 var(--eg-f); overflow-wrap: anywhere; }
.eg-s .eg-mod { flex: none; font: 800 13.5px/1 var(--eg-f); color: #d61f6a; border: 0; background: none; padding: 10px 0 10px 6px; margin: -10px 0; cursor: pointer; }
.eg-s.ka { position: relative; background: #f4f0f2; border-radius: 12px; padding: 10px 12px 10px 14px; margin-top: 2px; }
.eg-s.ka::before { content: ""; position: absolute; left: 22px; top: -7px; border: 7px solid transparent; border-top: 0; border-bottom-color: #f4f0f2; }
/* K2: a kosár alja egyedi bögrénél (a „Biztonságos fizetés · utánvét is választható” sor helyén) */
.eg-kosar-ala { text-align: center; font: 600 12px/1.35 var(--eg-f); color: #5a4f55; margin: 10px 0 0; }
.eg-kosar-ala b { font-weight: 800; color: #1c1419; }

/* ── 3 · a pénztár (P4, P4b): tipp-sor, „Fizetés a terv után”, a lezárt Utánvét, „Most nem fizetsz semmit.” ─────────────── */
.eg-penz-tipp { font: 600 12.5px/1.4 var(--eg-f); color: #5a4f55; margin: -2px 0 10px; }
.eg-most-nem { text-align: center; font: 700 12px/1.35 var(--eg-f); color: #1c1419; margin: 10px 0 4px; }
.radio-card.eg-zar small[data-cod-nagy-sub], .radio-card.eg-zar small[data-eg-cod-sub] { color: #5a4f55; font-weight: 600; }
.radio-card.eg-zar .eg-lakat { display: inline-block; width: 13px; height: 13px; margin: 0 0 -1px 5px; vertical-align: baseline; }

/* ── 4 · a köszönőoldal kártyája (KO-most-fizet, KO-terv-utan) és az összesítő alatti mondat ─────────────────────────── */
.eg-terv { box-sizing: border-box; width: 100%; margin: 14px 0 2px; background: #fff; border: 1px solid #f1e6e9; border-radius: 14px; padding: 14px 16px 14px;
  text-align: left; font-family: var(--eg-f); color: #1c1419; }
.eg-terv .eg-cim { font: 700 19px/1.15 var(--eg-d); margin: 0; }
.eg-terv .eg-mail { font: 500 13.5px/1.4 var(--eg-f); color: #5a4f55; margin: 4px 0 0; }
.eg-terv .eg-cimsor { display: flex; align-items: center; gap: 2px; margin: 1px 0 0; }
.eg-terv .eg-cimsor b { font: 800 14px/1.3 var(--eg-f); color: #1c1419; overflow-wrap: anywhere; min-width: 0; }
.eg-terv .eg-ceruza { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: -8px -6px -8px 0; border: 0; background: none; padding: 0; cursor: pointer; }
.eg-terv .eg-ceruza svg { width: 17px; height: 17px; }
.eg-mail-al { font: 500 12.5px/1.4 var(--eg-f); color: #5a4f55; margin: 8px 0 0; }
.eg-terv ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.eg-terv li { display: flex; align-items: flex-start; gap: 10px; font: 600 13.5px/1.35 var(--eg-f); }
.eg-terv li i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #ffe7f0; color: #d31c6a; font: 800 12px/22px var(--eg-f); text-align: center; font-style: normal; margin-top: -2px; }
.eg-terv .eg-kerek { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.eg-terv .eg-k { background: #f4f0f2; border-radius: 10px; padding: 8px 11px; display: flex; flex-direction: column; gap: 1px; }
.eg-terv .eg-k small { font: 700 10px/1.1 var(--eg-f); letter-spacing: .6px; color: #8a7d84; text-transform: uppercase; }
.eg-terv .eg-k span { font: 600 13px/1.3 var(--eg-f); overflow-wrap: anywhere; }
.eg-osszeg-al { font: 600 12.5px/1.4 var(--eg-f); color: #5a4f55; text-align: center; margin: 8px 4px 0; }
.eg-osszeg-al b { font-weight: 800; color: #1c1419; }
