:root {
      color-scheme: dark;
      --bg: #0D0F14;
      --bg2: #14171e;
      --card: #171a22;
      --sil: #C4C7CE;
      --pur: #8B3DFF;
      --mut: #8a8f9a;
      --line: #262a35;
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    *, *::before, *::after {
      box-sizing: inherit;
      margin: 0;
    }

    html {
      scroll-padding-top: 70px;
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg);
      color: var(--sil);
      font: 400 15px/1.65 Montserrat, Inter, system-ui, sans-serif;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input, select, textarea {
      font: inherit;
      color: inherit;
    }

    h1, h2, h3 {
      color: #fff;
      font-weight: 600;
      line-height: 1.2;
    }

    h1 {
      font-size: clamp(30px, 6vw, 56px);
    }

    h2 {
      font-size: clamp(24px, 4vw, 36px);
      margin-bottom: 12px;
    }

    .w {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .sec {
      padding: 64px 0;
    }

    .alt {
      background: var(--bg2);
    }

    /* Fejléc és navigáció */
    header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(13, 15, 20, 0.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 20px;
      height: 64px;
    }

    .logo {
      font-weight: 700;
      letter-spacing: 0.28em;
      color: #fff;
      font-size: 17px;
    }

    .logo b {
      color: var(--pur);
    }

    nav {
      display: flex;
      gap: 22px;
      margin-left: auto;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    nav a:hover, nav a.on {
      color: #fff;
    }

    .ic {
      position: relative;
      background: none;
      border: 0;
      cursor: pointer;
      padding: 6px;
      display: flex;
    }

    .ic svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.6;
    }

    .bd {
      position: absolute;
      top: -2px;
      right: -4px;
      background: var(--pur);
      color: #fff;
      font-size: 10px;
      border-radius: 9px;
      min-width: 17px;
      height: 17px;
      display: grid;
      place-items: center;
    }

    .menu {
      display: none;
    }

    /* Gombok */
    .btn {
      display: inline-block;
      border: 1px solid var(--pur);
      background: var(--pur);
      color: #fff;
      padding: 13px 28px;
      border-radius: 30px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
      transition: 0.25s;
      box-shadow: 0 0 24px rgba(139, 61, 255, 0.35);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 36px rgba(139, 61, 255, 0.6);
    }

    .btn.o {
      background: transparent;
      box-shadow: none;
      border-color: var(--sil);
      color: var(--sil);
    }

    .btn.s {
      padding: 9px 18px;
      font-size: 13px;
    }

    /* Hero és kártyák */
    .hero {
      position: relative;
      overflow: hidden;
      background: radial-gradient(ellipse at 70% 40%, rgba(139, 61, 255, 0.28), transparent 60%);
    }

    .hero .w {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: 30px;
      align-items: center;
      min-height: 620px;
    }

    .hero p {
      margin: 18px 0 28px;
      font-size: 17px;
      max-width: 520px;
    }

    .hero .bt {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .art {
      width: 100%;
      height: auto;
      display: block;
      animation: fl 6s ease-in-out infinite;
    }

    @keyframes fl {
      50% {
        transform: translateY(-8px);
      }
    }

    .grid {
      display: grid;
      gap: 22px;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      transition: 0.3s;
      position: relative;
    }

    .card:hover {
      border-color: var(--pur);
      box-shadow: 0 12px 40px rgba(139, 61, 255, 0.18);
    }

    .pi {
      background: radial-gradient(circle at 50% 60%, rgba(139, 61, 255, 0.2), #101218 70%);
      padding: 14px;
    }

    .pb {
      padding: 18px;
    }

    .pb h3 {
      font-size: 17px;
    }

    .pr {
      color: #fff;
      font-weight: 600;
      margin: 6px 0;
    }

    .mut {
      color: var(--mut);
      font-size: 13px;
    }

    .fv {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 2;
      background: rgba(13, 15, 20, 0.7);
      border: 1px solid var(--line);
      border-radius: 50%;
      width: 36px;
      height: 36px;
      cursor: pointer;
      display: grid;
      place-items: center;
    }

    .fv.on svg {
      fill: var(--pur);
      stroke: var(--pur);
    }

    .fv svg {
      width: 17px;
      height: 17px;
      stroke: var(--sil);
      fill: none;
      stroke-width: 1.8;
    }

    .f3 {
      display: grid;
      gap: 22px;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .box {
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--card);
    }

    .box svg {
      width: 34px;
      height: 34px;
      stroke: var(--pur);
      fill: none;
      stroke-width: 1.5;
      margin-bottom: 12px;
    }

    .num {
      color: var(--pur);
      font-size: 34px;
      font-weight: 700;
    }

    /* Űrlapok és szűrők */
    .tools {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin: 20px 0;
    }

    input, select, textarea {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px 14px;
      width: 100%;
    }

    input:focus, select:focus, textarea:focus {
      outline: 0;
      border-color: var(--pur);
    }

    .tools > * {
      width: auto;
      flex: 1 1 160px;
    }

    .er {
      border-color: #e5484d !important;
    }

    .em {
      color: #ff7b80;
      font-size: 12px;
      min-height: 16px;
    }

    label {
      font-size: 13px;
      display: block;
      margin: 12px 0 4px;
    }

    details {
      border-bottom: 1px solid var(--line);
      padding: 16px 0;
    }

    summary {
      cursor: pointer;
      color: #fff;
      font-weight: 500;
    }

    details p {
      margin-top: 8px;
    }

    /* Termékoldal, kosár, pénztár */
    .pg {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 40px;
    }

    .th {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }

    .th button {
      flex: 1;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 4px;
      cursor: pointer;
    }

    .th button.on {
      border-color: var(--pur);
    }

    .opt {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .opt button {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 20px;
      padding: 8px 16px;
      cursor: pointer;
      font-size: 13px;
    }

    .opt button.on {
      border-color: var(--pur);
      background: rgba(139, 61, 255, 0.18);
      color: #fff;
    }

    .q {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 24px;
    }

    .q button {
      background: none;
      border: 0;
      width: 38px;
      height: 38px;
      cursor: pointer;
      font-size: 18px;
    }

    .q span {
      min-width: 28px;
      text-align: center;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    td, th {
      padding: 12px 10px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: top;
    }

    th {
      color: #fff;
    }

    .row {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      gap: 16px;
      align-items: center;
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
    }

    .two {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 34px;
      align-items: start;
    }

    .sum {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 24px;
      position: sticky;
      top: 84px;
    }

    .sum div {
      display: flex;
      justify-content: space-between;
      padding: 6px 0;
    }

    .tot {
      color: #fff;
      font-weight: 700;
      font-size: 18px;
      border-top: 1px solid var(--line);
      margin-top: 8px;
      padding-top: 12px !important;
    }

    .warn {
      background: rgba(139, 61, 255, 0.12);
      border: 1px solid var(--pur);
      border-radius: 12px;
      padding: 12px 16px;
      font-size: 13px;
      margin-bottom: 16px;
    }

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

    .fg .full {
      grid-column: 1 / -1;
    }

    .rd {
      display: flex;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      margin: 8px 0;
      cursor: pointer;
    }

    .rd input {
      width: auto;
    }

    /* Lábléc és értesítések */
    footer {
      border-top: 1px solid var(--line);
      padding: 50px 0 24px;
      background: #0a0b0f;
    }

    .fc {
      display: grid;
      gap: 30px;
      grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    footer h4 {
      color: #fff;
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    footer a {
      display: block;
      padding: 3px 0;
      color: var(--mut);
      font-size: 14px;
    }

    footer a:hover {
      color: #fff;
    }

    .edu {
      margin-top: 30px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      font-size: 11.5px;
      color: #666b76;
      text-align: center;
    }

    #toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translate(-50%, 90px);
      background: var(--pur);
      color: #fff;
      padding: 12px 22px;
      border-radius: 30px;
      transition: 0.3s;
      z-index: 60;
      font-size: 14px;
    }

    #toast.on {
      transform: translate(-50%, 0);
    }

    #ck {
      position: fixed;
      left: 16px;
      right: 16px;
      bottom: 16px;
      max-width: 520px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 18px;
      z-index: 50;
      font-size: 13px;
    }

    #ck .btn {
      margin-top: 10px;
    }

    #cmp {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--card);
      border-top: 1px solid var(--pur);
      padding: 12px 20px;
      z-index: 40;
      display: flex;
      gap: 14px;
      align-items: center;
      justify-content: center;
      font-size: 14px;
    }

    .md {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 70;
      display: grid;
      place-items: center;
      padding: 20px;
    }

    .md > div {
      background: var(--bg2);
      border: 1px solid var(--line);
      border-radius: 18px;
      padding: 28px;
      width: 100%;
      max-width: 400px;
    }

    .ok {
      text-align: center;
      padding: 30px 0;
    }

    .ok .ck {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--pur);
      display: grid;
      place-items: center;
      margin: 0 auto 18px;
      font-size: 34px;
      color: #fff;
      box-shadow: 0 0 40px var(--pur);
    }

    .rev {
      font-style: italic;
    }

    @media (max-width: 820px) {
      nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        display: none;
        margin: 0;
        border-bottom: 1px solid var(--line);
      }

      nav.open {
        display: flex;
      }

      .menu {
        display: flex;
        margin-left: auto;
      }

      .hero .w, .pg, .two, .fc, .fg {
        grid-template-columns: 1fr;
      }

      .hero .w {
        min-height: 0;
        padding-top: 30px;
        padding-bottom: 30px;
      }

      .sum {
        position: static;
      }

      .nav .logo {
        font-size: 15px;
      }

      .row {
        grid-template-columns: 70px 1fr;
      }

      .row .rt {
        grid-column: 1 / -1;
      }

      .sec {
        padding: 44px 0;
      }
    }