/* =========================================================================
   SOLVI – Kész minták: kompakt, szűrhető katalógus (main.js: initRefs).
   A kártya képe a teljes oldal hosszú képernyőképe, ami rámutatáskor
   végiggördül; kattintásra a bemutató élőben, keretben nyílik meg (initElo).
   ========================================================================= */
.minta-eszkoz { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 26px; }
.minta-kereso { position: relative; flex: 0 1 300px; min-width: 220px; }
.minta-kereso svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; translate: 0 -50%; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.minta-kereso input { width: 100%; height: 40px; padding: 0 14px 0 40px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: .9rem; transition: box-shadow .2s; }
.minta-kereso input::placeholder { color: var(--ink-4); }
.minta-kereso input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.minta-szuro { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 420px; }
.minta-nincs { margin: 8px 0 0; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); text-align: center; }
.minta-nincs[hidden] { display: none; }
.minta-nincs a { color: var(--accent-ink); font-weight: 600; }
.szuro-gomb { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.szuro-gomb i { font-style: normal; font-size: .76rem; color: var(--ink-4); }
.szuro-gomb:hover { box-shadow: 0 0 0 1px #C7C7CC; color: var(--ink); }
.szuro-gomb[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.szuro-gomb[aria-pressed="true"] i { color: rgba(255, 255, 255, .6); }

.mintak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mk { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.mk[hidden] { display: none; }
.mk:hover { box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.mk-kep { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #E9E9EC; cursor: pointer; text-align: left; font: inherit; color: inherit; container-type: inline-size; }
.mk-bongeszo { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; background: #F2F2F4; border-bottom: 1px solid #E1E1E5; }
.mk-bongeszo i { width: 8px; height: 8px; border-radius: 50%; background: #D5D5DA; }
.mk-bongeszo b { margin: 0 auto; padding-right: 34px; font-size: .72rem; font-weight: 500; color: var(--ink-3); }
.mk-lap { display: block; aspect-ratio: 16 / 10.4; overflow: hidden; }
/* a hosszú képernyőkép teteje látszik; rámutatáskor lassan végiggördül, mint egy élő oldal */
.mk-lap img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s cubic-bezier(.3, 0, .2, 1); }
@media (hover: hover) {
  .mk-kep:hover .mk-lap img, .mk-kep:focus-visible .mk-lap img { transform: translateY(calc(-100% + 65cqw)); transition: transform 9s cubic-bezier(.35, 0, .25, 1); }
}
.mk-proba { position: absolute; left: 50%; bottom: 14px; translate: -50% 6px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(29, 29, 31, .92); color: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .25s, translate .25s; pointer-events: none; }
.mk-proba svg { width: 14px; height: 14px; fill: currentColor; }
.mk-kep:hover .mk-proba, .mk-kep:focus-visible .mk-proba { opacity: 1; translate: -50% 0; }
@media (hover: none) { .mk-proba { opacity: 1; translate: -50% 0; } }
.mk-szoveg { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.mk-agazat { font-size: .78rem; font-weight: 600; color: var(--accent-ink); }
.mk h3 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.25; }
.mk-kinek { font-size: .86rem; line-height: 1.45; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-tud { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tud li { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); font-size: .76rem; font-weight: 500; color: var(--ink-2); }
.mk-lab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.mk-ar { display: grid; gap: 1px; }
.mk-ar b { font-size: 1.2rem; letter-spacing: -.03em; }
.mk-ar span { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 1080px) { .mintak { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mintak { grid-template-columns: 1fr; gap: 16px; }
  .minta-kereso { flex: 1 1 100%; }
  .minta-szuro { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .minta-szuro::-webkit-scrollbar { display: none; }
  .szuro-gomb { flex: none; }
}

/* --- élő kipróbálás: a bemutató keretben, mellette az ár és a tartalom --- */
.elo { width: min(1480px, calc(100vw - 32px)); height: min(920px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 22px; background: #F5F5F7; color: var(--ink); overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6); }
.elo::backdrop { background: rgba(0, 0, 0, .55); }
.elo[open] { display: flex; flex-direction: column; }
.elo-fej { flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.elo-nev { display: grid; gap: 1px; min-width: 0; margin-right: auto; }
.elo-nev > b { font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elo-nev span { font-size: .82rem; color: var(--ink-3); }
.elo-nev span b { color: var(--ink); }
.elo-nezet { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.elo-nezet button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .84rem; font-weight: 500; color: var(--ink-3); cursor: pointer; }
.elo-nezet button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.elo-nezet svg, .elo-uj svg, .elo-zar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.elo-uj { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.elo-uj:hover { color: var(--ink); }
.elo-zar { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink-2); cursor: pointer; }
.elo-zar:hover { background: #E4E4E8; color: var(--ink); }
.elo-test { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.elo-keret { min-width: 0; min-height: 0; display: grid; place-items: center; padding: 18px; }
.elo-eszkoz { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, .4); transition: width .35s var(--ease), border-radius .35s; }
.elo-eszkoz iframe { display: block; width: 100%; height: 100%; border: 0; }
.elo-keret[data-nezet="telefon"] .elo-eszkoz { width: min(390px, 100%); height: calc(100% - 20px); margin: 10px 0; border-radius: 30px; box-shadow: 0 0 0 9px #1D1D1F, 0 0 0 10px #3A3A3C, 0 24px 60px -24px rgba(0, 0, 0, .5); }
.elo-info { overflow-y: auto; padding: 22px 22px 26px; background: #fff; border-left: 1px solid var(--line); font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.elo-agazat { font-size: .78rem; font-weight: 600; color: var(--accent-ink); }
.elo-rovid { margin-top: 6px; color: var(--ink); }
.elo-info h4 { margin: 20px 0 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.elo-info ul, .elo-info ol { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.elo-megj { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: .82rem; color: var(--ink-3); }
@media (max-width: 1020px) { .elo-test { grid-template-columns: 1fr; } .elo-info { display: none; } }
@media (max-width: 760px) {
  .elo { width: 100vw; height: 100dvh; border-radius: 0; }
  .elo-fej { gap: 8px; padding: 10px 10px 10px 14px; }
  .elo-nezet, .elo-uj { display: none; }
  .elo-keret { padding: 0; }
  .elo-eszkoz, .elo-keret[data-nezet="telefon"] .elo-eszkoz { width: 100%; height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
}

/* --- valósághű iPhone-keret (élő kipróbálás telefon nézete, app-kártyák) ---
   1:1 méretben egy iPhone 15 Pro: 393 × 852 pontos kijelző, 55 pontos
   sarkok, Dynamic Island, állapotsor, titánkeret oldalgombokkal. A tartalom
   (iframe vagy kép) az állapotsor alatt kezdődik, így semmi nem kerül a
   sziget alá. Kicsinyíteni a --s változóval lehet (az .iph-hely viszi a
   kicsinyített helyet a tördelésben). */
.iph-hely { position: relative; display: block; flex: none; width: calc(425px * var(--s, 1)); height: calc(884px * var(--s, 1)); }
.iph { position: absolute; left: 0; top: 0; display: block; width: 425px; height: 884px; border-radius: 71px; transform: scale(var(--s, 1)); transform-origin: 0 0;
  background: linear-gradient(140deg, #6E6E73 0%, #3A3A3D 18%, #545458 42%, #2C2C2E 64%, #5A5A5E 86%, #3B3B3E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 1px rgba(255, 255, 255, .25), 0 50px 90px -34px rgba(0, 0, 0, .55), 0 22px 40px -22px rgba(0, 0, 0, .4); }
.iph::before { content: ""; position: absolute; inset: 4px; border-radius: 67px; background: #050506; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.iph-gomb { position: absolute; display: block; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2A2A2C, #6C6C70 60%, #3A3A3C); }
.iph-gomb.bal { left: -3px; border-radius: 2px 0 0 2px; }
.iph-gomb.jobb { right: -3px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #2A2A2C, #6C6C70 60%, #3A3A3C); }
.iph-akcio { top: 168px; height: 34px; } .iph-fel { top: 232px; height: 64px; } .iph-le { top: 310px; height: 64px; } .iph-be { top: 262px; height: 104px; }
.iph-kijelzo { position: absolute; left: 16px; top: 16px; width: 393px; height: 852px; border-radius: 55px; overflow: hidden; background: var(--sav-bg, #fff); isolation: isolate; display: block; }
.iph-kijelzo iframe, .iph-kijelzo img { position: absolute; left: 0; top: 54px; display: block; width: 100%; height: calc(100% - 54px); border: 0; background: #fff; }
.iph-kijelzo img { object-fit: cover; object-position: 50% 0; }
.iph-sav { position: absolute; left: 0; right: 0; top: 0; height: 54px; z-index: 2; display: grid; grid-template-columns: 133px 1fr 133px; align-items: center; padding-top: 4px; background: var(--sav-bg, #fff); color: var(--sav-szin, #000); font: 600 17px/1 -apple-system, "SF Pro Text", "Inter", "Segoe UI", sans-serif; letter-spacing: -.01em; transition: background .25s, color .25s; }
.iph-sav time { justify-self: center; padding-left: 14px; }
.iph-jelek { justify-self: center; display: flex; align-items: center; gap: 6px; padding-right: 10px; }
.iph-jelek svg { display: block; height: 12px; width: auto; fill: currentColor; }
.iph-sziget { position: absolute; z-index: 3; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; display: block; }
.iph-sziget::after { content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3550 0, #0B0F1A 55%, #000 70%); }
.iph-home { position: absolute; z-index: 3; bottom: 8px; left: 50%; width: 139px; height: 5px; margin-left: -69.5px; border-radius: 3px; background: var(--sav-szin, #000); opacity: .85; display: block; pointer-events: none; }

/* az élő kipróbálás telefon nézete: a keret közepén, a rendelkezésre álló helyre kicsinyítve */
@media (min-width: 761px) { .elo-keret[data-nezet="telefon"] { padding: 18px; } }
.elo-keret .iph-hely { margin: auto; }

/* app-kártyák: a telefon alulról emelkedik ki a színes mezőből */
.app-kep .iph-hely { --s: .46; transition: transform .35s var(--ease); }
.app-kartya:hover .app-kep .iph-hely { transform: translateY(-6px); }
.app-kep .iph { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 1px rgba(255, 255, 255, .25), 0 40px 70px -30px rgba(0, 0, 0, .5); }
@media (max-width: 640px) { .app-kep .iph-hely { --s: .36; } }
