/* Jost betűtípus (SIL Open Font License, lásd betu/OFL.txt), a saját oldalról */
@font-face {
  font-family: Jost;
  src: url("/betu/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}

@font-face {
  font-family: Jost;
  src: url("/betu/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --krem: #f6ecdc;
  --halvany: #8592a0;
  --narancs: #f6512b;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #1d262e;
  color: var(--krem);
  font-family: Jost, "Segoe UI", system-ui, sans-serif;
}

[hidden] {
  display: none !important;
}

/* Amíg egy ablak nyitva van, a háttér nem görög. A görgetősáv helye mindig megmarad, így semmi nem ugrik el. */
html {
  scrollbar-gutter: stable;
}

html:has(dialog[open]) {
  overflow: hidden;
}

dialog,
dialog * {
  overscroll-behavior: contain;
}

/* Letisztult fejléc a user mintaképe szerint: dobozok nélkül, narancs vonal a kiválasztottnál */
header {
  position: sticky;
  z-index: 10;
  top: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  align-content: center;
  gap: 6px 24px;
  height: 88px;
  margin-bottom: 22px;
  padding: 0 40px;
  background: #141c24;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 55%);
}

header button,
header input,
.gomb {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--halvany);
  font: 400 14px Jost, "Segoe UI", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

header :focus-visible {
  outline: 1px solid var(--narancs);
  outline-offset: 4px;
}

.kategoriak {
  justify-self: start;
  display: flex;
}

/* A vonal helye mindig megvan, így választáskor semmi nem mozdul el. */
.kategoriak button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 44px;
  padding: 0 12px 0 34px;
  letter-spacing: 2px;
  text-align: left;
  text-transform: uppercase;
}

/* Láthatatlan vastag másolat: helyet foglal, hogy a vastagítás se mozdítson el semmit. */
.oldalsav button::after,
.kategoriak button::after {
  content: attr(data-nev);
  height: 0;
  overflow: hidden;
  font-weight: 700;
  visibility: hidden;
}

.kategoriak button::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 22px;
  height: 2px;
}

.oldalsav button[aria-pressed="true"],
.kategoriak button[aria-pressed="true"] {
  color: var(--krem);
  font-weight: 700;
}

.oldalsav button[aria-pressed="true"]::before,
.kategoriak button[aria-pressed="true"]::before {
  background: var(--narancs);
}

/* Csak telefonon látszó elemek (telefon.css) */
.oldalsav svg,
.oldalsav button.csakTel,
.marka,
.kilepTel,
#zetonEgyenleg {
  display: none;
}

/* Piac és Megvásárolt: bal oldali sáv, nagy betűkkel */
.oldalsav {
  position: fixed;
  top: 150px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oldalsav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 64px;
  padding: 14px 0 0;
  font-size: 23px;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.oldalsav button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 40px;
  height: 3px;
  background: #2f3a45;
}

@media (min-width: 1850px) {
  main {
    padding-left: 236px;
  }
}

.lapozo {
  display: flex;
  align-items: center;
}

.lapozo button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  color: var(--krem);
}

.lapozo input:disabled {
  opacity: 1;
  cursor: default;
}

.lapozo button:disabled {
  color: #43505c;
  cursor: default;
}

.lapozo input {
  width: 158px;
  height: 44px;
  margin-left: 14px;
  padding-left: 34px;
  background: linear-gradient(var(--narancs), var(--narancs)) 0 50% / 22px 2px no-repeat;
  color: var(--krem);
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  cursor: text;
}

#oldalak {
  width: 92px;
  margin-right: 14px;
  color: var(--halvany);
  font-size: 17px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.fiok {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

#uzenet {
  margin: 0;
  color: var(--halvany);
  font-size: 15px;
}

.gomb {
  width: 176px;
  height: 44px;
  background: var(--narancs);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: 2.2px;
  text-align: center;
  text-transform: uppercase;
}

.ki {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--krem) !important;
  letter-spacing: 2.6px !important;
  text-transform: uppercase;
}

#profilGomb {
  position: relative;
}

.jelzo {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--narancs);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
}

.jelzo[hidden] {
  display: none;
}

.abLab:not(:has(> :not([hidden]))) {
  display: none;
}

header .keresoGomb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #343e4c;
  color: var(--krem);
}

header .zetonGomb {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--narancs);
  color: #ff8a5c;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.bent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ki i {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #343e4c;
}

#profilGomb {
  justify-content: flex-end;
  width: 172px;
}

#profilGomb[aria-pressed="true"] {
  font-weight: 700;
}

[data-kep] img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rejtett {
  visibility: hidden;
}

/* Profil */
.profil {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(1584px, 100vw - 52px);
  margin: 0 auto;
  padding: 26px 0 34px;
}

.arckep {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  overflow: hidden;
  border-radius: 20px;
  background: #343e4c;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 70%);
}

.arckep svg {
  width: 72px;
  height: 72px;
}

.kepValto {
  cursor: pointer;
}

.arcKeret {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kepValto input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.kepValto:focus-within {
  outline: 2px solid var(--narancs);
  outline-offset: 4px;
}

.kepFelirat {
  position: absolute;
  inset: auto 0 0;
  padding: 9px 4px;
  background: rgb(14 20 26 / 78%);
  color: var(--krem);
  font-size: 12.5px;
  letter-spacing: 0.8px;
  text-align: center;
  pointer-events: none;
}

.kepSor {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 24px;
  margin: 6px 0 0;
  padding-left: 34px;
  color: #ff8a6b;
  font-size: 15px;
}

.kepSor small {
  color: var(--halvany);
  font-size: 14px;
}

.kepTorol {
  padding: 0;
  border: 0;
  background: none;
  color: var(--halvany);
  font: 400 15px Jost, "Segoe UI", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.profil > div:nth-child(2) {
  min-width: 0;
}

.profil h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 200;
  line-height: 1.12;
  text-transform: uppercase;
}

.profil b {
  display: block;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profilDb {
  margin: 14px 0 0;
  padding-left: 34px;
  background: linear-gradient(var(--narancs), var(--narancs)) 0 50% / 22px 2px no-repeat;
  color: var(--halvany);
  font-size: 18px;
  letter-spacing: 1px;
}

.ures {
  box-sizing: border-box;
  width: min(1584px, 100vw - 52px);
  margin: 0 auto;
  padding: 96px 20px;
  border: 1px dashed #43505c;
  border-radius: 20px;
  color: var(--halvany);
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
}

/* 24 kártya, 4 egy sorban, a user mintaképe szerint: 381x293, ebből 214 a képhely. */
.kockak {
  --szeles: 381px;
  --also: 78px;
  --sarok: 20px;
  display: grid;
  grid-template-columns: repeat(4, var(--szeles));
  gap: 24px 20px;
  justify-content: center;
  margin: 0;
  padding: 8px 0 40px;
  list-style: none;
}

main {
  overflow-x: clip;
}

.kockak li {
  cursor: pointer;
}

.kockak li:focus-visible {
  outline: 1px solid var(--narancs);
  outline-offset: 5px;
  border-radius: var(--sarok);
}

/* A kód alatt a sorszám, Megvásároltnál a vevő beceneve */
.tulaj {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc((var(--also) - 1px) * 0.42);
  margin: 0;
  color: var(--halvany);
  font-size: 16px;
  letter-spacing: 1px;
}

/* A hely (li) nem mozdul, csak a benne lévő lap dől. Így az egér alatt nem ugrál. */
.kockak li {
  perspective: 900px;
}

.kockak li.elo {
  position: relative;
  z-index: 1;
}

.lap {
  position: relative;
  box-sizing: border-box;
  height: calc((var(--szeles) - 2px) * 214 / 379 + var(--also) + 1px);
  border: 1px solid #323c47;
  border-radius: var(--sarok);
  background: #232c35;
  box-shadow: 0 1px 2px rgb(0 0 0 / 18%), 0 6px 14px -4px rgb(0 0 0 / 30%);
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.kep {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 379 / 214;
  border-bottom: 1px solid #323c47;
  background: radial-gradient(90% 110% at 50% 38%, #4a5663, #2f3944 55%, #202932);
}

.kod {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc((var(--also) - 1px) * 0.58);
  margin: 0;
  color: #f6ecdc;
  font: 600 25px Jost, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 3px;
}

/* Lágy árnyék a padlón; a kockát a kocka3d.js rajzolja a vászonra. */
.kep::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 52%;
  height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(0 0 0 / 55%), rgb(0 0 0 / 22%) 45%, transparent);
}

.kep canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.elo .lap {
  transform: rotateX(var(--dx, 0deg)) rotateY(var(--dy, 0deg)) scale(1.12);
  box-shadow: var(--ax, 0) var(--ay, 22px) 36px -8px rgb(0 0 0 / 60%);
  transition-duration: 0.12s;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .lap {
    transition: none !important;
  }
}

/* Kisebb képernyőn is 4 marad, csak arányosan kisebb. */
@media (max-width: 1640px) {
  .kockak {
    --szeles: calc((100vw - 112px) / 4);
  }
}

/* Ablakok */
.ablak {
  box-sizing: border-box;
  width: min(1440px, 100vw - 48px);
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #141c24;
  color: var(--krem);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 85%);
}

.ablak::backdrop {
  background: rgb(8 12 16 / 78%);
}

.ablak h2 {
  margin: 0;
  font-size: min(52px, 6.4vh);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 2px;
}

.ablak h2:focus {
  outline: none;
}

.abDoboz {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: min(860px, 100vh - 32px);
}

.abKep {
  aspect-ratio: auto;
  height: 100%;
  border: 0;
  background: linear-gradient(118deg, #1a232c 34%, #262f38 34.1%, #2a3039 74%, #1a232c 74.1%);
}

.abKep::before {
  bottom: 20%;
  height: 12%;
}

.abAdat {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: min(36px, 4vh) 60px min(32px, 3.4vh) 56px;
  overflow: auto;
}

.ablak button,
.ablak .gomb {
  border: 0;
  border-radius: 5px;
  font-family: Jost, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.ablak :focus-visible {
  outline: 1px solid var(--narancs);
  outline-offset: 3px;
}

.bezar {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #343e4c;
  color: var(--krem);
}

.abTulaj {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  margin-bottom: min(20px, 2vh);
  padding-right: 30px;
}

.abTulaj i,
.ajanlatok li i {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 14px;
  background: #343e4c;
  color: var(--krem);
}

.ajanlatok li i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.ajanlatok li svg {
  width: 18px;
  height: 18px;
}

.navKep {
  display: contents;
}

.abTulaj svg {
  width: 28px;
  height: 28px;
}

.abTulaj img,
.navKep img,
.ajanlatok li img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abTulaj p {
  min-width: 0;
  margin: 0;
}

.abTulaj span {
  display: block;
  color: var(--halvany);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.abTulaj b {
  display: block;
  overflow: hidden;
  color: var(--krem);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.abRitka {
  margin: 0 0 4px;
  padding-left: 34px;
  background: linear-gradient(var(--ritka), var(--ritka)) 0 50% / 22px 2px no-repeat;
  color: var(--ritka);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.abRitka {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.abRitka b {
  font-weight: 600;
}

.abRitka span {
  color: var(--halvany);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: none;
}

.csik {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: min(14px, 1.6vh) 0 min(16px, 1.8vh);
}

.csik i {
  height: 4px;
  border-radius: 2px;
  background: #2c3641;
}

.csik .teli {
  background: var(--ritka);
}

.tulaj.ar {
  color: #ff8a5c;
  font-weight: 600;
}

.zeton {
  margin: 6px 0 0;
  padding-left: 34px;
  color: var(--halvany);
  font-size: 18px;
  letter-spacing: 1px;
}

.profil .zeton b {
  display: inline;
  color: var(--krem);
  font-size: 26px;
  font-weight: 700;
}

.ajanlataim {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  width: min(1584px, 100vw - 52px);
  max-height: 128px;
  margin: -14px auto 22px;
  overflow: auto;
}

.ajanlataim[hidden] {
  display: none;
}

.ajanlataim span {
  color: var(--halvany);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ajanlataim button {
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--krem);
  font: 500 17px Jost, "Segoe UI", sans-serif;
  letter-spacing: 0.6px;
  text-decoration: underline;
  text-decoration-color: #3a4652;
  text-underline-offset: 5px;
  cursor: pointer;
}

.ajanlataim b {
  margin-left: 10px;
  color: #ff8a5c;
  font-weight: 600;
}

.elad label {
  color: var(--halvany);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.elad input {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #3a4652;
  border-radius: 5px;
  background: #141c24;
  color: var(--krem);
  font: 400 18px Jost, "Segoe UI", sans-serif;
}

/* Adatok: annyi sor látszik, amennyi görgetés nélkül kifér. Ami nem fér, az a (levágott)
   második oszlopba kerül; a 0 magas első elem miatt az első sor is. */
.abAdat > .abInfo {
  display: flex;
  flex: 1 1 0;
  flex-flow: column wrap;
  align-content: flex-start;
  min-height: 0;
  margin-top: min(18px, 1.8vh);
  overflow: hidden;
}

.abInfo::before {
  content: "";
  width: 100%;
  height: 0;
}

.abInfo.var {
  visibility: hidden;
}

.abInfo div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  height: 62px;
  border-top: 1px solid #26313b;
}

.abInfo div[hidden] {
  display: none;
}

.abInfo p {
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

.abInfo p > span {
  display: block;
  color: var(--halvany);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.abInfo b {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--krem);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.abInfo i {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%);
}

.abAr {
  white-space: nowrap;
}

.abAr > span > span {
  margin-left: 8px;
  color: #6f7c89;
}

.elad {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  margin-top: min(16px, 1.8vh);
  padding-top: min(14px, 1.6vh);
  border-top: 1px solid #2c3641;
}

.elad[hidden] {
  display: none;
}

.elad span {
  color: var(--halvany);
  font-size: 15px;
  text-align: right;
}

.abAdat > * {
  flex: none;
}

.abAdat > .ajanlatok {
  flex: 0 1 auto;
  min-height: 96px;
}

.ajanlatok[hidden] {
  display: none;
}

.ajanlatok {
  display: flex;
  flex-direction: column;
  margin-top: min(18px, 1.8vh);
  padding-top: min(14px, 1.6vh);
  border-top: 1px solid #2c3641;
}

.ajanlatok h3 {
  margin: 0 0 8px;
  color: var(--halvany);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ajanlatok ul {
  flex: 0 1 auto;
  min-height: 50px;
  scrollbar-width: thin;
  scrollbar-color: #3a4652 transparent;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.ajanlatok li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid #222c36;
  font-size: 17px;
}

.ajanlatok li span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ajanlatok li b {
  color: #ff8a5c;
  font-weight: 600;
  white-space: nowrap;
}

.ajanlatok .nincs {
  color: var(--halvany);
}

.ajanlatok li button,
.ajUrlap button {
  height: 36px;
  padding: 0 16px;
  background: #343e4c;
  color: var(--krem);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ajUrlap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.ajUrlap input {
  box-sizing: border-box;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #3a4652;
  border-radius: 5px;
  background: #1d262e;
  color: var(--krem);
  font: 400 18px Jost, "Segoe UI", sans-serif;
}

.ajUrlap button {
  height: 46px;
}

.ajanlatok .sugo {
  margin: 6px 0 0;
}

#profilLekotve {
  margin-left: 8px;
  font-size: 16px;
}

.elad input {
  grid-column: 1 / -1;
  margin-top: 6px;
  background: #1d262e;
  font-weight: 600;
}

#abUzenet {
  min-height: 0;
  margin: 8px 0 0;
}

.szamok {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.szamok p {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

.szamok span {
  color: var(--halvany);
  font-size: 13px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.szamok b {
  color: var(--ritka);
  font-size: min(40px, 5.4vh, 2.9vw);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.szamok i {
  color: var(--halvany);
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

.abLab {
  margin-top: auto;
  padding-top: min(12px, 1.4vh);
}

.abAr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: auto 0 min(16px, 1.8vh);
  padding-top: min(16px, 1.8vh);
  color: var(--halvany);
  font-size: 17px;
}

.abAr b {
  color: var(--krem);
  font-size: 26px;
}

.ablak .gomb {
  width: 100%;
  height: 52px;
  background: var(--narancs);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: 2.2px;
  text-align: center;
  text-transform: uppercase;
}

.ablak .gomb:disabled {
  background: #343e4c;
  color: #a3b0bd;
  cursor: default;
}

.reg {
  width: min(520px, 100vw - 32px);
}

.reg form {
  display: flex;
  flex-direction: column;
  padding: 44px 48px 36px;
}

.reg h2 {
  margin-bottom: 26px;
  font-size: 42px;
  font-weight: 200;
  text-transform: uppercase;
}

.reg h2 b {
  display: block;
}

.reg label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.reg input {
  box-sizing: border-box;
  height: 50px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid #3a4652;
  border-radius: 5px;
  background: #1d262e;
  color: var(--krem);
  color-scheme: dark;
  font: 400 19px Jost, "Segoe UI", sans-serif;
}

.sugo {
  margin: 6px 0 20px;
  color: var(--halvany);
  font-size: 15px;
}

.regHiba {
  min-height: 42px;
  margin: 0 0 8px;
  color: #ff8a6b;
  font-size: 16px;
}

.regGombok {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.szoveges {
  background: none;
  color: var(--halvany);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ZETON vásárlás: bal oldalt érmék, jobb oldalt letisztult lista */
.zbolt {
  width: min(1240px, 100vw - 48px);
}

.zbolt .abDoboz {
  grid-template-columns: 1.06fr 1fr;
  height: min(780px, 100vh - 32px);
}

.zbKep {
  position: relative;
  background: radial-gradient(70% 46% at 50% 62%, #3a2c22, transparent), linear-gradient(118deg, #161e26 34%, #222a33 34.1%, #262b33 74%, #161e26 74.1%);
}

.zbKep::before {
  content: none;
}

.zbKep canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Nem görög: a sorok magassága a hely szerint áll be. */
.zbolt .abAdat {
  padding: min(44px, 4.6vh) 60px min(32px, 3.4vh) 56px;
  overflow: hidden;
}

.zbolt h2 {
  padding-right: 30px;
  font-size: min(44px, 5.4vh);
  font-weight: 200;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.zbolt h2 b {
  font-weight: 700;
}

.zbEgyenleg {
  min-height: 24px;
  margin: 6px 0 min(16px, 1.6vh);
  color: var(--halvany);
  font-size: 17px;
  letter-spacing: 1px;
}

.zbolt .csomagok {
  display: grid;
  flex: 1 1 0;
  grid-auto-rows: minmax(0, 1fr);
  min-height: 0;
  max-height: 420px;
}

/* Választáskor csak a betű vastagsága és színe változik. */
.csomag {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222c36;
  color: #6f7c89;
  cursor: pointer;
}

.csomag::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--narancs);
}

.csomag b {
  font-size: min(30px, 4vh);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

.csomag span,
.csomag input {
  font: 300 min(23px, 3.2vh) Jost, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}

.csomag[aria-checked="true"] {
  color: var(--krem);
}

.csomag[aria-checked="true"]::before {
  width: 100%;
}

.csomag[aria-checked="true"] b {
  font-weight: 700;
}

.csomag[aria-checked="true"] span {
  font-weight: 600;
}

.csomag input {
  box-sizing: border-box;
  width: 190px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: right;
}

.csomag input::placeholder {
  color: #56626e;
}

.ablak .csomag input:focus-visible {
  outline: none;
}

.zbolt .abAr {
  margin: 0 0 min(14px, 1.6vh);
  padding-top: min(20px, 2vh);
  font-size: 18px;
}

.zbolt .abAr b {
  font-size: min(38px, 5vh);
}

.ablak.zbolt .gomb:disabled {
  background: none;
  box-shadow: inset 0 0 0 1px var(--narancs);
  color: #ff8a5c;
}

.zbolt .zbJog {
  margin: 10px 0 0;
  font-size: 14px;
  text-align: center;
}

@media (max-height: 480px) {
  .zbEgyenleg {
    display: none;
  }

  .ablak.zbolt .gomb {
    height: 40px;
    line-height: 40px;
  }

  .zbolt .zbJog {
    margin: 2px 0 0;
    font-size: 12px;
  }
}

/* Kereső: bal oldalt nagyban a találat, jobb oldalt a szűrők. Fix méret, semmi nem ugrál. */
.ablak.kereso {
  width: min(1320px, 100vw - 48px);
}

.kerDoboz {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  height: min(800px, 100vh - 32px);
}

.kerBal {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: linear-gradient(118deg, #1a232c 34%, #262f38 34.1%, #2a3039 74%, #1a232c 74.1%);
}

.kerKep {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
  background: none;
  cursor: pointer;
}

.kerKep::before {
  bottom: 14%;
}

.kerAdat {
  flex: none;
  box-sizing: border-box;
  height: 112px;
  padding: 0 40px;
}

.kerInfo,
.kerUzenet {
  margin: 0;
  color: var(--halvany);
  font-size: 17px;
  line-height: 1.4;
}

.kerInfo {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kerUzenet:empty,
.kerInfo:empty {
  display: none;
}

.kerNyit {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: none;
  color: var(--krem);
}

.kerNyit b {
  font-size: min(46px, 6vh);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
}

.kerNyit span {
  color: #ff8a5c;
  font-size: 16px;
  letter-spacing: 0.6px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Színminták: egy sorban mind a tizenkettő */
.kerLista {
  display: grid;
  flex: none;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 40px 36px;
  list-style: none;
}

.ablak .kerLista button {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%);
}

.ablak .kerLista button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #1d262e, 0 0 0 4px var(--krem);
}

.kerJobb {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding: 0 48px;
}

.kerUrlap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 92px;
  color: var(--narancs);
}

.kerUrlap label {
  font-size: 34px;
  font-weight: 700;
}

.kerUrlap input {
  flex: 1;
  min-width: 0;
  height: 60px;
  padding: 0;
  border: 0;
  outline: none !important;
  background: none;
  color: var(--krem);
  font: 700 34px Jost, "Segoe UI", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  appearance: none;
}

.kerUrlap input::-webkit-search-cancel-button {
  display: none;
}

.kerUrlap input::placeholder {
  color: #4a5662;
  font-weight: 200;
}

.kerBezar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -24px;
  background: #343e4c;
  color: var(--krem);
}

.kerSzurok {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-auto-rows: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.kerCsoport {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border-top: 1px solid #232d37;
}

.kerCsoport.cs-f,
.kerCsoport.cs-s,
.kerCsoport.cs-o {
  grid-column: auto;
}

.kerCsoport > span {
  color: #7d8995;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.kerCsoport > div {
  display: flex;
  gap: 0 20px;
}

.kerCsoport button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: min(38px, 5vh);
  padding: 0;
  border-radius: 0;
  background: none;
  color: #c3bcb0;
  font-size: 16.5px;
  white-space: nowrap;
}

.kerCsoport button[aria-pressed="true"] {
  color: #ff8a5c;
  text-shadow: 0.35px 0 currentColor;
}

.kerCsoport button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 1px;
}

.kerCsoport button[aria-pressed="true"]::after {
  background: var(--narancs);
}

.kerCsoport i {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.kerCsoport.cs-e > div {
  gap: 0 15px;
}

/* Színek: nagy kerek minták */
.cs-c > div {
  justify-content: space-between;
  gap: 0;
  padding: 0 6px;
}

.cs-c i {
  width: 30px;
  height: 30px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%);
}

.cs-c button::after {
  content: none;
}

.cs-c button[aria-pressed="true"] i {
  box-shadow: 0 0 0 3px #141c24, 0 0 0 5px var(--krem);
}

.kerLab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 104px;
  border-top: 1px solid #232d37;
}

.kerLab .gomb {
  flex: 1;
  width: auto;
}

.kerLab .gomb:disabled {
  background: #26313b;
  color: #7d8995;
  cursor: default;
}

.kerTorol {
  width: 72px;
  height: 44px;
  padding: 0;
  background: none;
  color: var(--halvany);
  font-size: 16px;
  text-align: left;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

.kerTorol:disabled {
  color: #43505c;
  cursor: default;
}

@media (max-width: 1340px) {
  .kerDoboz {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  }

  .kerJobb {
    padding: 0 32px;
  }

  .kerAdat {
    padding: 0 28px;
  }

  .kerLista {
    grid-template-columns: repeat(6, 1fr);
    padding: 0 28px 28px;
  }

  .kerLista li:nth-child(n + 7) {
    display: none;
  }

  .kerNyit b {
    font-size: 32px;
  }

  .kerCsoport > div,
  .kerCsoport.cs-e > div {
    gap: 0 12px;
  }

  .kerCsoport button {
    gap: 6px;
    font-size: 14.5px;
  }

  .cs-c > div {
    gap: 0;
  }
}

@media (max-width: 1060px) {
  .kerCsoport > div {
    gap: 0 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kerCsoport button {
    flex: none;
  }

  .kerSzurok {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kerCsoport.cs-f > div,
  .kerCsoport.cs-s > div,
  .kerCsoport.cs-o > div {
    gap: 0 10px;
  }

  .kerCsoport.cs-f button,
  .kerCsoport.cs-s button,
  .kerCsoport.cs-o button {
    font-size: 14px;
  }
}

/* Alacsony ablak */
@media (max-height: 660px) {
  .kerUrlap {
    height: 66px;
  }

  .kerLab {
    height: 74px;
  }

  .kerAdat {
    height: 92px;
  }

  .kerCsoport > span {
    font-size: 11px;
  }
}

@media (max-height: 480px) {
  .kerUrlap {
    height: 46px;
  }

  .kerUrlap input,
  .kerUrlap label {
    font-size: 22px;
  }

  .kerLab {
    height: 54px;
  }

  .kerLab .gomb {
    height: 40px !important;
    line-height: 40px !important;
  }

  .kerAdat {
    height: 66px;
    padding: 0 16px;
  }

  .kerInfo,
  .kerUzenet {
    font-size: 13px;
  }

  .kerNyit b {
    font-size: 22px;
  }

  .kerNyit span {
    font-size: 13px;
  }

  .kerLista {
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    height: 26px;
    padding: 0 16px 12px;
  }

  .ablak .kerLista button {
    height: 26px;
    border-radius: 6px;
  }

  .kerSzurok .kerCsoport > span {
    display: none;
  }

  .kerCsoport.cs-f > div,
  .kerCsoport.cs-s > div,
  .kerCsoport.cs-o > div {
    gap: 0 8px;
  }

  .kerCsoport.cs-f button,
  .kerCsoport.cs-s button,
  .kerCsoport.cs-o button {
    font-size: 13px;
  }

  .kerCsoport > div {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .kerCsoport button {
    flex: none;
    height: 30px;
    font-size: 14px;
  }

  .cs-c i {
    width: 20px;
    height: 20px;
  }

  .cs-c button[aria-pressed="true"] i {
    box-shadow: 0 0 0 2px #141c24, 0 0 0 4px var(--krem);
  }

  .cs-c > div {
    padding: 0 5px;
  }
}

/* A találatok nézetének fejléce */
.keresFej {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1584px, 100vw - 52px);
  min-height: 56px;
  margin: 0 auto 14px;
}

.keresFej p {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keresFej b {
  margin-right: 18px;
  font-size: 26px;
  font-weight: 700;
}

.keresFej span {
  color: var(--halvany);
  font-size: 18px;
}

.keresFej button {
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #ff8a5c;
  font: 500 15px Jost, "Segoe UI", sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  cursor: pointer;
}

/* Közepes képernyő: a kategóriák külön sorba kerülnek */
@media (max-width: 1849px) {
  header {
    grid-template-rows: 48px 44px;
    height: 122px;
    padding: 0 28px;
  }

  .oldalsav {
    position: static;
    grid-row: 1;
    grid-column: 1;
    flex-direction: row;
    gap: 34px;
  }

  .oldalsav button {
    height: 48px;
    padding: 8px 0 0;
    font-size: 20px;
  }

  .oldalsav button::before {
    top: 2px;
    width: 32px;
  }

  .fiok {
    grid-row: 1;
    grid-column: 3;
  }

  .kategoriak {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .lapozo {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 1540px) {
  .zetonGomb span {
    display: none;
  }
}

/* A lapozó is a második sorba kerül, hogy a felső sorban minden elférjen */
@media (max-width: 1250px) {
  .kategoriak {
    justify-self: start;
  }

  .lapozo {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: end;
  }

  .kategoriak button {
    padding: 0 6px 0 28px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 1000px) {
  .kategoriak button {
    padding: 0 2px 0 22px;
    font-size: 13px;
    letter-spacing: 0.4px;
  }

  .kategoriak button::before {
    width: 15px;
  }

  .lapozo button {
    width: 34px;
  }

  .lapozo input {
    width: 104px;
    margin-left: 4px;
    padding-left: 20px;
    background-size: 14px 2px;
    font-size: 22px;
  }

  #oldalak {
    width: 74px;
    margin-right: 4px;
    font-size: 15px;
    letter-spacing: 0;
  }
}

/* Táblagép: a nagy menü kisebb betűvel fér el */
@media (max-width: 1100px) {
  .fiok {
    gap: 10px;
  }

  #profilGomb {
    gap: 0;
    width: auto;
    font-size: 0;
  }

  header .zetonGomb {
    padding: 0 14px;
    letter-spacing: 1.2px;
  }

  .gomb {
    width: 150px;
    letter-spacing: 1px;
  }

  .oldalsav {
    gap: 20px;
  }

  .oldalsav button {
    font-size: 15px;
  }
}
