/* ════════════════════════════════════════════════════════════
   NeuralWeb · ANIMÁLT JELENETEK a Webshop-készítés lapon · 2026-11-05
   ────────────────────────────────────────────
   A közös alap (színpad, belépő-rendszer, nagy színpad, ajánlatlap) a
   css/scenes-core.css-ben van, ELŐTTE töltődik. Vezérlés: js/ai-scenes.js.
   Az alapállapot a kész kép; a .play indítja a belépést. A keretek állnak,
   csak a tartalmuk animál (újraindításkor sem üres a színpad).
   ⛔ Nincs filter/blur, nincs width/height animáció; mobilon egyszer játszik le.
   ════════════════════════════════════════════════════════════ */

/* 2026-11-06: 6 kártyás rács, a színpad kicsi (.aa-scene--sm) és a kártyán belül, keretben áll. */
.ws-get-card > .aa-scene { margin: 0 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); }

/* ════════ 1 · FIZETÉS ÉS SZÁLLÍTÁS ════════ */
.s-pay .co { position: absolute; left: 4.6%; top: 7%; width: 58%; bottom: 8%; padding: .8em .95em; display: flex; flex-direction: column; gap: .5em; }
.s-pay .steps { display: flex; justify-content: space-between; position: relative; padding-bottom: .55em; margin-bottom: .1em; }
.s-pay .steps span { position: relative; z-index: 1; display: flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 600; color: var(--mute); background: rgba(12,15,24,0.95); padding-right: .35em; }
.s-pay .steps span i { width: .7em; height: .7em; border-radius: 50%; border: 1.5px solid currentColor; }
.s-pay .steps span.on { color: #fff; }
.s-pay .steps span.on i { background: var(--c); border-color: var(--c); }
.s-pay .prog { position: absolute; left: 0; right: 0; bottom: 0; height: .22em; border-radius: .2em; background: rgba(255,255,255,0.08); overflow: hidden; }
.s-pay .prog i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--c), var(--ok)); border-radius: inherit; }
.s-pay .sl { font-size: .78em; font-weight: 700; color: var(--mute); margin-top: .15em; }
.s-pay .opt { display: flex; align-items: center; gap: .55em; height: 2em; padding: 0 .65em; border-radius: .55em; border: 1px solid var(--line); background: rgba(255,255,255,0.025); font-size: .9em; }
.s-pay .opt .rd { width: 1em; height: 1em; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; flex: none; }
.s-pay .opt .rd b { width: .5em; height: .5em; border-radius: 50%; background: var(--c); }
.s-pay .opt.on { border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.s-pay .opt.on .rd { border-color: var(--c); }
.s-pay .opt em { margin-left: auto; font-style: normal; font-size: .78em; color: var(--mute); }
.s-pay .ship { display: flex; gap: .4em; }
.s-pay .ship span { flex: 1; display: flex; align-items: center; justify-content: center; height: 2em; border-radius: .55em; border: 1px solid var(--line); background: rgba(255,255,255,0.025); font-size: .8em; font-weight: 600; color: var(--ink); white-space: nowrap; }
.s-pay .ship span.on { border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: #fff; }
.s-pay .buy { margin-top: auto; height: 2.2em; border-radius: .6em; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #2563EB)); }
.s-pay .sum { position: absolute; right: 4.6%; top: 7%; width: 31%; padding: .75em .85em; display: flex; flex-direction: column; gap: .45em; }
.s-pay .sum .pr { display: flex; gap: .5em; align-items: center; padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.s-pay .sum .pr .sc-img { width: 2.3em; height: 2.3em; flex: none; }
.s-pay .sum .pr div { flex: 1; display: flex; flex-direction: column; gap: .3em; }
.s-pay .sum .tl { display: flex; justify-content: space-between; align-items: center; font-size: .8em; color: var(--mute); }
.s-pay .sum .tl .sc-pill { height: 1.6em; font-size: .9em; }
.s-pay .res { position: absolute; right: 4.6%; width: 31%; bottom: 8%; display: flex; flex-direction: column; gap: .4em; align-items: stretch; }
.s-pay .res .sc-pill { justify-content: flex-start; }

/* ════════ 2 · TERMÉKEK RENDBEN ════════ */
.s-tbl .tb { position: absolute; left: 4.6%; right: 4.6%; top: 6%; padding: 0; overflow: hidden; }
.s-tbl .tr { display: grid; grid-template-columns: 2.5em minmax(0, 1fr) 5.4em 6.6em; align-items: center; gap: .7em; padding: .38em .8em; border-top: 1px solid var(--line); min-height: 2.55em; }
.s-tbl .tr:first-child { border-top: 0; min-height: 1.9em; background: rgba(255,255,255,0.03); }
.s-tbl .tr:first-child span { font-size: .75em; font-weight: 700; color: var(--mute); }
.s-tbl .sc-img { width: 2.1em; height: 1.75em; }
.s-tbl .imgs { display: grid; } .s-tbl .imgs > * { grid-area: 1 / 1; }
.s-tbl .nm { display: grid; min-width: 0; }
.s-tbl .nm > * { grid-area: 1 / 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-tbl .nm .ok { font-size: .92em; color: #fff; font-weight: 500; }
.s-tbl .pc { font-size: .88em; color: var(--ink); display: grid; } .s-tbl .pc > * { grid-area: 1 / 1; }
.s-tbl .pc .miss { color: #fde68a; }
.s-tbl .stt { display: grid; justify-items: start; } .s-tbl .stt > * { grid-area: 1 / 1; }
.s-tbl .stt .sc-pill { height: 1.6em; font-size: .76em; }
.s-tbl .tr.dupe .nm .ok { text-decoration: line-through; text-decoration-color: rgba(248,113,113,0.8); color: var(--mute); }
.s-tbl .foot { position: absolute; left: 4.6%; right: 4.6%; bottom: 6.5%; display: flex; align-items: center; justify-content: space-between; gap: .6em; }

/* ════════ 4 · GOOGLE ÉS ÁRÖSSZEHASONLÍTÓK ════════ */
.s-feed .prod { position: absolute; left: 4.6%; top: 14%; width: 29%; bottom: 14%; display: flex; flex-direction: column; gap: .45em; }
.s-feed .prod .sc-img { height: 42%; flex: none; }
.s-feed .prod .sc-t { font-size: 1em; line-height: 1.25; }
.s-feed .prod .kv { display: flex; gap: .3em; flex-wrap: wrap; margin-top: auto; }
.s-feed .prod .kv .sc-pill { height: 1.6em; font-size: .76em; padding: 0 .55em; }
.s-feed .wire { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-feed .wire path { fill: none; stroke: color-mix(in srgb, var(--c) 55%, transparent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-feed .hub { position: absolute; left: 41.5%; top: 50%; width: 2.8em; height: 2.8em; margin: -1.4em 0 0 -1.4em; border-radius: .8em; }
.s-feed .hub svg { width: 1.4em; height: 1.4em; }
.s-feed .pk { position: absolute; top: 50%; left: 33.6%; width: .55em; height: .55em; margin-top: -.275em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 .25em color-mix(in srgb, var(--c) 25%, transparent); opacity: 0; }
.play .s-feed .pk { animation: feedPk 1s var(--eio) var(--at, 0s) both; }
@keyframes feedPk { 0% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(3.2em); } }
.s-feed .dst { position: absolute; right: 4.6%; width: 41%; padding: .55em .7em; display: flex; flex-direction: column; gap: .35em; }
.s-feed .d1 { top: 6%; } .s-feed .d2 { top: 37.5%; } .s-feed .d3 { top: 69%; }
.s-feed .dh { display: flex; align-items: center; gap: .45em; font-size: .78em; font-weight: 700; color: var(--mute); }
.s-feed .dh .sc-check { margin-left: auto; }
.s-feed .dr { display: flex; align-items: center; gap: .5em; }
.s-feed .dr .sc-img { width: 1.9em; height: 1.9em; flex: none; }
.s-feed .dr .nm { flex: 1; min-width: 0; font-size: .82em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-feed .dr .sc-pill { height: 1.55em; font-size: .74em; padding: 0 .55em; }
.s-feed .lnk { font-size: .9em; font-weight: 600; color: #c4b5fd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ════════ 1 · UNAS MOTOR + EGYEDI BOLT (kis színpad) ════════ */
.s-unas.sc { display: flex; flex-direction: column; gap: 0; }
.s-unas .store { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .5em; border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.s-unas .sh { display: flex; align-items: center; gap: .6em; }
.s-unas .logo { width: 1.3em; height: 1.3em; border-radius: .4em; background: linear-gradient(135deg, var(--c), #F97316); flex: none; }
.s-unas .q { flex: 1; height: 1.7em; display: flex; align-items: center; gap: .45em; padding: 0 .6em; border-radius: .5em; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: rgba(255,255,255,0.03); }
.s-unas .q svg, .s-unas .cart svg { width: 1em; height: 1em; color: var(--mute); flex: none; }
.s-unas .bnr { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6em; align-items: center; padding: .6em .7em; border-radius: .6em; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 30%, #0c1222), color-mix(in srgb, #F97316 22%, #0c1222)); }
.s-unas .bnr .tx { display: flex; flex-direction: column; gap: .35em; }
.s-unas .bnr .h { display: block; height: .6em; border-radius: .25em; background: rgba(255,255,255,0.8); width: var(--w, 90%); }
.s-unas .bnr .btnp { display: block; height: 1.2em; width: 4.5em; border-radius: .4em; background: #fff; opacity: .9; margin-top: .15em; }
.s-unas .bnr .sc-img { height: 3.2em; }
.s-unas .cats { display: flex; gap: .35em; }
.s-unas .cats .sc-pill { height: 1.55em; font-size: .76em; }
.s-unas .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; }
.s-unas .pc { display: flex; flex-direction: column; gap: .3em; padding: .35em; border-radius: .5em; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.s-unas .pc .sc-img { height: 2.1em; }
.s-unas .pc b { display: block; width: 40%; height: .45em; border-radius: .25em; background: var(--c); }
.s-unas .tag { position: absolute; right: .7em; bottom: .6em; height: 1.55em; font-size: .74em; }
.s-unas .pins { display: flex; justify-content: space-around; padding: 0 16%; height: 1em; }
.s-unas .pins i { width: 2px; height: 100%; background: linear-gradient(var(--c), var(--ok)); opacity: .7; }
.s-unas .motor { display: flex; align-items: center; gap: .5em; padding: .55em .7em; border-color: rgba(52,211,153,0.35); background: color-mix(in srgb, #34D399 6%, #0c0f18); --c: #34D399; }
.s-unas .ml { display: flex; flex-direction: column; gap: .1em; margin-right: .2em; flex: none; }
.s-unas .mod { flex: 1; min-width: 0; text-align: center; padding: .35em .2em; border-radius: .45em; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: .8em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ════════ 4 · GYORSKERESŐ (egyedi funkció) ════════ */
.s-qs.sc { display: flex; flex-direction: column; gap: .65em; }
.s-qs .bar { display: flex; align-items: center; gap: .6em; height: 2.6em; padding: 0 .9em; border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.s-qs .bar > svg { width: 1.15em; height: 1.15em; color: var(--c); flex: none; }
.s-qs .typed { font-size: 1.1em; font-weight: 600; color: #fff; letter-spacing: .03em; white-space: nowrap; overflow: hidden; }
.s-qs .caret { width: 1.5px; height: 1.1em; background: var(--c); margin-left: -.35em; }
.s-qs .cart { margin-left: auto; position: relative; display: flex; color: var(--ink); }
.s-qs .cart svg { width: 1.3em; height: 1.3em; }
.s-qs .cart b { position: absolute; right: -.55em; top: -.5em; min-width: 1.2em; height: 1.2em; border-radius: 1em; display: grid; place-items: center; font-size: .72em; font-weight: 700; color: #0a0d15; background: var(--c); }
.s-qs .flt { display: flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.s-qs .flt .sc-pill { height: 1.6em; font-size: .78em; }
.s-qs .res { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .35em; padding: .45em; }
.s-qs .r { flex: 1; display: flex; align-items: center; gap: .6em; padding: .4em .6em; border-radius: .55em; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.s-qs .r:first-child { background: color-mix(in srgb, var(--c) 10%, transparent); }
.s-qs .r .sc-img { width: 2.6em; height: 2.6em; flex: none; }
.s-qs .r > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15em; }
.s-qs .r .sc-t, .s-qs .r .sc-lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-qs .r .sc-pill { height: 1.55em; font-size: .74em; }
.s-qs .add { width: 1.6em; height: 1.6em; border-radius: .45em; display: grid; place-items: center; font-weight: 700; color: #0a0d15; background: var(--c); flex: none; }

/* ════════ 5 · API-SZINKRON (AI-automatizálás) ════════ */
.s-api.sc { display: flex; flex-direction: column; justify-content: center; gap: 1em; }
.s-api .nodes { display: grid; grid-template-columns: minmax(0, 1fr) 1.4em minmax(0, 1.1fr) 1.4em minmax(0, .8fr); align-items: stretch; }
.s-api .nd { display: flex; flex-direction: column; gap: .55em; padding: .8em .6em; min-width: 0; }
.s-api .nd--shop { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 7%, #0c0f18); }
.s-api .nh { display: flex; align-items: center; gap: .4em; min-width: 0; }
.s-api .nh .sc-ico { width: 1.6em; height: 1.6em; }
.s-api .nh .sc-t { font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-api .row { display: flex; align-items: center; justify-content: space-between; gap: .35em; min-height: 2.1em; padding: 0 .45em; border-radius: .4em; background: rgba(255,255,255,0.03); min-width: 0; }
.s-api .row .sc-raw { font-size: .72em; min-width: 0; }
.s-api .row .nm { font-size: .8em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.s-api .row .sc-pill { height: 1.45em; font-size: .68em; padding: 0 .45em; }
.s-api .ln { position: relative; align-self: center; height: 1px; margin: 0 .2em; background: color-mix(in srgb, var(--c) 55%, transparent); }
.s-api .ln .pk { position: absolute; left: 0; top: -.22em; width: .45em; height: .45em; border-radius: 50%; background: var(--c); opacity: 0; }
.play .s-api .ln .pk { animation: apiPk .55s var(--eio) var(--at, 0s) both; }
@keyframes apiPk { 0% { opacity: 0; transform: translateX(-.2em); } 25% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(.9em); } }
.s-api .log { display: flex; flex-direction: column; gap: .55em; padding: .8em .9em; }
.s-api .log .row { justify-content: flex-start; gap: .5em; background: none; padding: 0; min-height: 0; font-size: .88em; color: var(--ink); white-space: nowrap; overflow: hidden; }
.s-api .log .row i { width: .5em; height: .5em; border-radius: 50%; background: var(--ok); flex: none; }
.s-api .log .sc-mono { color: var(--c); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .play .s-api .ln .pk { animation: none !important; }
}

/* ── Reszponzív ── */
@media (max-width: 640px) {
  .s-tbl .tr { grid-template-columns: 2.3em minmax(0, 1fr) 5.6em; }
  .s-tbl .tr > .pc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .play .s-feed .pk { animation: none !important; }
}

/* Finomítások (képkocka-ellenőrzés után) */
.s-tbl .tr { min-height: 3.1em; }
.s-tbl .sc-img { width: 2.3em; height: 2em; }
.s-pay .opt, .s-pay .ship span { height: 2.25em; }
.s-pay .co { gap: .6em; }
.s-pay .res { top: 54%; bottom: auto; }
