/* ============================================================
   Kalandország Life 2.0 — publikus design tokenek + komponensek
   A játék "akta/dosszié" világának értékesítő párja: papír,
   pecsétvörös, írógép-részletek — de világos, gyors, mobil-első.
   Nincs külső függőség: rendszerbetűk, CSS-textúra, natív elemek.
   ============================================================ */

:root {
  --lf-paper: #f4ecd9;
  --lf-paper-deep: #e9dec4;
  --lf-surface: #fdf8ec;
  --lf-ink: #2a2118;
  --lf-ink-soft: #5b4c3a;
  --lf-accent: #8c2f24;        /* pecsétvörös — CTA */
  --lf-accent-hover: #a63a2c;
  --lf-accent-ink: #fff;
  --lf-success: #2e6b3e;
  --lf-line: #c9b990;
  --lf-dark: #241c14;          /* sötét sávok (ár-szekció, footer) */
  --lf-dark-ink: #f0e8d5;
  --lf-focus: #1d4ed8;

  --lf-font-body: "Georgia", "Times New Roman", serif;
  --lf-font-display: "Courier New", "Courier", monospace;
  --lf-font-ui: -apple-system, "Segoe UI", Roboto, sans-serif;

  --lf-radius: 8px;
  --lf-maxw: 1100px;
  --lf-maxw-text: 720px;

  --lf-texture:
    repeating-linear-gradient(0deg, rgba(0,0,0,.012) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.008) 0 3px, transparent 3px 6px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lf-paper);
  background-image: var(--lf-texture);
  color: var(--lf-ink);
  font-family: var(--lf-font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

a { color: var(--lf-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lf-focus); outline-offset: 2px;
}

.lf-container { max-width: var(--lf-maxw); margin: 0 auto; padding: 0 1.25rem; }
.lf-narrow { max-width: var(--lf-maxw-text); }

/* ---- Cimke: írógépes kis felirat (szekció-azonosító) ---- */
.lf-kicker {
  font-family: var(--lf-font-display);
  font-size: 1.25rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lf-accent);
  margin-bottom: .75rem;
}

/* ---- Gombok ---- */
.lf-btn {
  display: inline-block;
  font-family: var(--lf-font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.lf-btn-primary { background: var(--lf-accent); color: var(--lf-accent-ink); }
.lf-btn-primary:hover { background: var(--lf-accent-hover); }
.lf-btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.lf-btn-ghost:hover { background: rgba(0,0,0,.08); }

/* ---- Fejléc ---- */
.lf-topbar {
  background: var(--lf-dark);
  color: var(--lf-dark-ink);
  font-family: var(--lf-font-ui);
  font-size: .85rem;
}
.lf-topbar .lf-container {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  justify-content: center; padding-top: .4rem; padding-bottom: .4rem;
}
.lf-topbar a { color: inherit; text-decoration: none; }

.lf-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--lf-surface) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--lf-line);
}
.lf-header .lf-container {
  display: flex; align-items: center; gap: 1rem;
  padding-top: .55rem; padding-bottom: .55rem;
}
.lf-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.lf-logo img { width: 44px; height: 44px; }
.lf-logo span {
  font-family: var(--lf-font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .06em;
}

.lf-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; font-family: var(--lf-font-ui); }
.lf-nav a {
  color: var(--lf-ink); text-decoration: none; font-weight: 600;
  padding: .5rem .6rem; border-radius: var(--lf-radius); font-size: .92rem;
  white-space: nowrap;
}
.lf-nav a:hover, .lf-nav a[aria-current="page"] { background: var(--lf-paper-deep); }

.lf-lang { display: flex; gap: .15rem; margin-left: .5rem; font-family: var(--lf-font-ui); }
.lf-lang a {
  text-decoration: none; color: var(--lf-ink-soft); font-weight: 700;
  font-size: .85rem; padding: .35rem .5rem; border-radius: 6px; text-transform: uppercase;
}
.lf-lang a[aria-current="true"] { background: var(--lf-accent); color: var(--lf-accent-ink); }

.lf-nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--lf-line); border-radius: var(--lf-radius);
  padding: .45rem .7rem; font-size: 1.2rem; line-height: 1; color: var(--lf-ink); cursor: pointer;
}

/* ---- Kalandvárosaink dropdown ---- */
.lf-dropdown { position: relative; }
.lf-dropbtn {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-family: var(--lf-font-ui); font-weight: 600; font-size: .92rem;
  color: var(--lf-ink); padding: .5rem .6rem; border-radius: var(--lf-radius);
  display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap;
}
.lf-dropbtn:hover, .lf-dropbtn[aria-current="page"] { background: var(--lf-paper-deep); }
.lf-dropcaret { font-size: .7rem; transition: transform .15s; }
.lf-dropmenu {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  background: var(--lf-surface); border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius); box-shadow: 0 10px 24px -10px rgba(42,33,24,.35);
  padding: .35rem; display: none; flex-direction: column; z-index: 60;
}
.lf-dropmenu a {
  padding: .5rem .75rem; border-radius: 6px; color: var(--lf-ink);
  text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.lf-dropmenu a:hover, .lf-dropmenu a[aria-current="page"] { background: var(--lf-paper-deep); }
.lf-dropdown:hover .lf-dropmenu, .lf-dropdown.open .lf-dropmenu { display: flex; }
.lf-dropdown:hover .lf-dropcaret, .lf-dropdown.open .lf-dropcaret { transform: rotate(180deg); }

.lf-logo { flex-shrink: 0; }
@media (max-width: 1280px) and (min-width: 1101px) {
  .lf-logo span { display: none; }
}

@media (max-width: 1100px) {
  .lf-nav-toggle { display: block; }
  .lf-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--lf-surface); border-bottom: 1px solid var(--lf-line);
    padding: .5rem 1rem 1rem; margin: 0;
  }
  .lf-nav.open { display: flex; }
  .lf-lang { margin: .5rem 0 0; }
  /* A dropdown mobilon behúzva, mindig kinyitva jelenik meg */
  .lf-dropmenu {
    position: static; display: flex; box-shadow: none; border: 0;
    padding: 0 0 0 1rem; background: none; min-width: 0;
  }
  .lf-dropcaret { display: none; }
  .lf-dropbtn { width: 100%; text-align: left; }
}

/* ---- Hero ---- */
.lf-hero {
  position: relative; color: #fff;
  display: grid; place-items: center; text-align: center;
  min-height: min(78vh, 640px); padding: 4rem 0;
  background-size: cover; background-position: center;
}
.lf-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(20,14,8,.55), rgba(20,14,8,.65));
}
.lf-hero > .lf-container { position: relative; }
.lf-hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.lf-hero .lf-sub {
  font-style: italic; font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  max-width: 46rem; margin: 0 auto 1.5rem;
}
.lf-hero blockquote { font-style: italic; margin: 1rem auto; max-width: 40rem; }
.lf-hero blockquote footer { font-style: normal; opacity: .8; font-size: .9rem; margin-top: .5rem; }

/* ---- Szekciók ---- */
.lf-section { padding: 3.5rem 0; }
.lf-section-alt { background: var(--lf-paper-deep); background-image: var(--lf-texture); }
.lf-section-dark {
  background: var(--lf-dark); color: var(--lf-dark-ink);
  text-align: center; padding: 3.5rem 0;
}
.lf-center { text-align: center; }
.lf-lead { font-size: 1.15rem; font-style: italic; color: var(--lf-ink-soft); }

hr.lf-rule {
  border: 0; height: 3px; width: 72px; margin: 1.5rem auto;
  background: var(--lf-accent);
}

/* ---- Dosszié-kártya ---- */
.lf-card {
  background: var(--lf-surface);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  box-shadow: 0 10px 24px -12px rgba(42,33,24,.35);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.lf-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .75rem; }
.lf-card-body .lf-btn { align-self: center; margin-top: auto; }
.lf-card h3 a { color: inherit; text-decoration: none; }

.lf-grid { display: grid; gap: 1.5rem; }
.lf-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.lf-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Kártyasáv, ahol az utolsó (nem teljes) sor középre zár — így nincs
   balra lógó árva kártya 4 (vagy később 5+) elemnél. */
.lf-cards { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.lf-cards > * { flex: 1 1 300px; max-width: 350px; }

/* ---- Jellemző-dobozok (ikonos) ---- */
.lf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1rem; }
.lf-fact {
  background: var(--lf-surface); border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius); padding: 1rem; text-align: center;
}
.lf-fact .lf-fact-icon { font-size: 1.6rem; margin-bottom: .35rem; }
/* A kártyákon (helyzet/haszon) az ikon nagyobb — kb. 2rem. */
.lf-card-body .lf-fact-icon { font-size: 2rem; line-height: 1; }
.lf-fact h4 { font-family: var(--lf-font-ui); font-size: .95rem; margin-bottom: .25rem; }
.lf-fact p { margin: 0; font-size: .9rem; color: var(--lf-ink-soft); }

/* ---- Pipás listák ---- */
ul.lf-checks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.lf-checks li { padding-left: 1.9rem; position: relative; margin-bottom: .6rem; }
ul.lf-checks li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--lf-success); font-weight: 700;
}

/* ---- Számlálók ---- */
.lf-counters { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; text-align: center; }
.lf-counter b {
  display: block; font-family: var(--lf-font-display);
  font-size: clamp(2rem, 5vw, 3rem); color: var(--lf-accent);
}
.lf-section-dark .lf-counter b { color: #e8b96a; }
.lf-counter span { font-family: var(--lf-font-ui); font-size: .95rem; }

/* ---- Ár-blokk ---- */
.lf-price { font-family: var(--lf-font-display); font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .25rem 0; }

/* ---- Pecsét (garancia) ---- */
.lf-stamp {
  display: inline-block; transform: rotate(-6deg);
  border: 4px double var(--lf-accent); color: var(--lf-accent);
  border-radius: 12px; padding: .6rem 1.4rem;
  font-family: var(--lf-font-display); font-weight: 700;
  font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase;
}

/* ---- GYIK (natív details) ---- */
.lf-faq details {
  background: var(--lf-surface); border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius); margin-bottom: .6rem; overflow: hidden;
}
.lf-faq summary {
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 700;
  font-family: var(--lf-font-ui); list-style: none; position: relative; padding-right: 2.5rem;
}
.lf-faq summary::-webkit-details-marker { display: none; }
.lf-faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--lf-accent);
}
.lf-faq details[open] summary::after { content: "–"; }
.lf-faq .lf-faq-body { padding: 0 1.25rem 1rem; }

/* ---- Térkép (kattintásra töltődik — nincs 3rd-party süti alapból) ---- */
.lf-map { position: relative; border-radius: var(--lf-radius); overflow: hidden; border: 1px solid var(--lf-line); }
.lf-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.lf-map-placeholder {
  width: 100%; height: 380px; display: grid; place-items: center;
  background: var(--lf-paper-deep); cursor: pointer; border: 0;
  font-family: var(--lf-font-ui); font-size: 1rem; color: var(--lf-ink);
  padding: 1rem; text-align: center;
}
.lf-map-placeholder b { display: block; font-size: 1.1rem; margin-bottom: .35rem; }

/* ---- Űrlap ---- */
.lf-form { display: grid; gap: 1rem; }
.lf-form input, .lf-form textarea {
  width: 100%; font: inherit; color: inherit;
  background: var(--lf-surface); border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius); padding: .8rem 1rem;
}
/* A checkbox/radio natív méretű maradjon (ne nyúljon 100%-ra a form-ban) */
.lf-form input[type="checkbox"],
.lf-form input[type="radio"] {
  width: auto; flex: 0 0 auto; padding: 0;
}
.lf-form input[type="checkbox"] { border-radius: 3px; }
.lf-form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.lf-form .lf-error { color: var(--lf-accent); font-size: .9rem; font-family: var(--lf-font-ui); }

/* — Csoportos megrendelő űrlap (L3.5) — */
.grp-missions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.grp-mission { position: relative; display: block; cursor: pointer; }
.grp-mission input { position: absolute; opacity: 0; pointer-events: none; }
.grp-mission-card {
  display: block; height: 100%; overflow: hidden; background: var(--lf-surface);
  border: 2px solid var(--lf-line); border-radius: var(--lf-radius); transition: border-color .15s;
}
.grp-mission input:checked + .grp-mission-card { border-color: var(--lf-accent); box-shadow: 0 0 0 2px var(--lf-accent); }
.grp-mission input:focus-visible + .grp-mission-card { outline: 2px solid var(--lf-accent); outline-offset: 2px; }
.grp-mission-img { display: block; height: 90px; background-size: cover; background-position: center; }
.grp-mission-body { display: block; padding: .55rem .7rem .7rem; }
.grp-mission-name { display: block; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.grp-mission-city { display: block; color: var(--lf-ink-soft); font-size: .8rem; }
.grp-mission-price { display: block; color: var(--lf-accent); font-weight: 700; margin-top: .25rem; }

.grp-qty { display: flex; align-items: center; gap: .5rem; }
.grp-qty-btn {
  width: 46px; height: 46px; flex: 0 0 auto; line-height: 1; font-size: 1.4rem; cursor: pointer;
  border: 2px solid var(--lf-line); border-radius: var(--lf-radius); background: var(--lf-surface); color: var(--lf-ink);
}
.grp-qty-btn:hover { border-color: var(--lf-accent); color: var(--lf-accent); }
.lf-form .grp-qty input[type="number"] { width: 96px; text-align: center; }
.grp-qty-unit { color: var(--lf-ink-soft); }

.grp-total { margin-top: 1rem; border: 1px solid var(--lf-line); border-radius: var(--lf-radius); padding: 1rem 1.25rem; background: var(--lf-surface); }
.grp-total-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.grp-total-sum { font-size: 1.3rem; font-weight: 700; margin-top: .5rem; border-top: 1px solid var(--lf-line); padding-top: .5rem; }
.grp-total-sum span:last-child { color: var(--lf-accent); }

.grp-pay { display: grid; gap: .6rem; }
.grp-pay-opt {
  display: flex; gap: .7rem; align-items: flex-start; cursor: pointer;
  border: 2px solid var(--lf-line); border-radius: var(--lf-radius); padding: .85rem 1rem; background: var(--lf-surface);
}
.grp-pay-opt:has(input:checked) { border-color: var(--lf-accent); box-shadow: 0 0 0 1px var(--lf-accent); }
.grp-pay-opt input { margin-top: .2rem; }
.grp-pay-name { display: block; font-weight: 700; }
.grp-pay-desc { display: block; color: var(--lf-ink-soft); font-size: .9rem; }
.lf-alert-ok {
  background: #e0efe2; border: 1px solid var(--lf-success); color: var(--lf-success);
  border-radius: var(--lf-radius); padding: 1rem 1.25rem; font-family: var(--lf-font-ui);
}

/* — Jogi oldalak (ÁSZF, adatkezelés, cookie) tipográfiája — */
.lf-legal { max-width: 860px; margin: 0 auto; }
.lf-legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.lf-legal h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.lf-legal p, .lf-legal li { color: var(--lf-ink); line-height: 1.7; }
.lf-legal ul { margin: .5rem 0 1rem; padding-left: 1.3rem; }
.lf-legal li { margin: .3rem 0; }
.lf-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.lf-legal th, .lf-legal td { border: 1px solid var(--lf-line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.lf-legal th { background: var(--lf-paper-deep); font-family: var(--lf-font-ui); }
.lf-legal .lf-legal-meta { font-family: var(--lf-font-ui); font-size: .85rem; color: var(--lf-ink-soft); border-top: 1px solid var(--lf-line); margin-top: 2.5rem; padding-top: 1rem; }
.lf-legal-note {
  background: var(--lf-surface); border: 1px solid var(--lf-line); border-left: 4px solid var(--lf-accent);
  border-radius: var(--lf-radius); padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .95rem;
}

/* — Cookie-consent banner — */
.lf-cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000; max-width: 720px;
  margin: 0 auto; background: var(--lf-surface); border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius); box-shadow: 0 16px 40px -12px rgba(42,33,24,.5);
  padding: 1.25rem 1.4rem; font-family: var(--lf-font-ui);
}
.lf-cookie[hidden] { display: none; }
/* A .lf-btn/inline elemek display-je felülírná a [hidden]-t — kényszerítjük. */
.lf-cookie [hidden], .lf-cookie-cats[hidden] { display: none !important; }
.lf-cookie h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.lf-cookie p { margin: 0 0 .8rem; font-size: .92rem; color: var(--lf-ink-soft); line-height: 1.55; }
.lf-cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.lf-cookie-actions .lf-btn { font-size: .9rem; padding: .55rem 1.1rem; }
.lf-cookie-cats { margin: .2rem 0 1rem; display: grid; gap: .5rem; }
.lf-cookie-cat { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.lf-cookie-cat input { margin-top: .2rem; }
.lf-cookie-cat b { display: block; }
.lf-cookie-cat span { color: var(--lf-ink-soft); }

/* ---- Lábléc ---- */
.lf-footer { background: var(--lf-dark); color: var(--lf-dark-ink); padding: 3rem 0 1.5rem; font-family: var(--lf-font-ui); }
.lf-footer a { color: inherit; }
.lf-footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-bottom: 2rem; }
.lf-footer ul { list-style: none; margin: 0; padding: 0; }
.lf-footer li { margin-bottom: .5rem; }
.lf-footer-bottom {
  border-top: 1px solid rgba(240,232,213,.25); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .85rem;
}

/* ---- Jogi/próza-oldalak ---- */
.lf-prose h2 { margin-top: 2rem; }
.lf-prose { max-width: var(--lf-maxw-text); }

/* ---- Belépő animáció (finom) ---- */
@media (prefers-reduced-motion: no-preference) {
  .lf-fade { animation: lf-fadeup .6s ease both; }
  @keyframes lf-fadeup {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ============================================================
   Kalandutalvány-szerkesztő + kártya
   ============================================================ */
.vo-card {
  position: relative; border-radius: var(--lf-radius);
  overflow: hidden; border: 1px solid var(--lf-line);
  box-shadow: 0 12px 28px -14px rgba(42,33,24,.45);
  aspect-ratio: 1.414 / 1;   /* A5 fekvő oldalarány (a nyomtatott utalvánnyal egyező) */
  background-size: cover;
}
.vo-veil { position: absolute; inset: 0; z-index: 0; }
.vo-content {
  position: relative; z-index: 1; padding: 1.25rem 1.75rem; text-align: center;
  display: flex; flex-direction: column; gap: .4rem; height: 100%;
  justify-content: center;
}
.vo-kicker { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.vo-hr { border: 0; height: 2px; width: 60px; margin: .6rem auto; background: currentColor; opacity: .5; }
.vo-for { margin: 0; font-size: .85rem; opacity: .8; }
.vo-to { margin: 0; font-size: 1.5rem; font-weight: 700; }
.vo-msg { margin: .25rem 0; font-style: italic; }
.vo-product { margin: 0; font-weight: 700; }
.vo-price { margin: 0; font-size: 1.5rem; font-weight: 700; }
.vo-code-label { margin: 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.vo-code { margin: 0; font-size: 1.8rem; font-weight: 700; letter-spacing: .12em; }

/* Stílus-választók */
.vo-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin: .35rem 0 1rem; }
.vo-swatch {
  cursor: pointer; border: 2px solid var(--lf-line); border-radius: var(--lf-radius);
  overflow: hidden; width: 56px; height: 40px; padding: 0; background-size: cover; background-position: center;
}
.vo-swatch[aria-pressed="true"] { border-color: var(--lf-accent); box-shadow: 0 0 0 2px var(--lf-accent); }
.vo-color {
  cursor: pointer; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--lf-line);
}
.vo-color[aria-pressed="true"] { border-color: var(--lf-accent); box-shadow: 0 0 0 2px var(--lf-accent); }
.vo-font {
  cursor: pointer; padding: .4rem .8rem; border: 2px solid var(--lf-line);
  border-radius: 999px; background: var(--lf-surface); font-size: .9rem;
}
.vo-font[aria-pressed="true"] { border-color: var(--lf-accent); color: var(--lf-accent); }
.vo-field-label { font-family: var(--lf-font-ui); font-size: .9rem; font-weight: 600; margin-top: 1rem; display: block; }

/* A szerkesztő bal oszlopa: egyenletes függőleges térköz (a mezők ne érjenek össze). */
.vo-form-col { display: flex; flex-direction: column; gap: .7rem; }

/* Háttér-galéria: sima hátterek + tematikus fotó-csempék, görgethető keretben. */
.vo-bg-gallery {
  max-height: 320px; overflow-y: auto; padding: .5rem;
  border: 1px solid var(--lf-line); border-radius: var(--lf-radius); background: var(--lf-surface);
}
.vo-bg-theme { font-family: var(--lf-font-ui); font-size: .8rem; font-weight: 600; color: var(--lf-ink-soft); margin: .7rem 0 .3rem; }
.vo-bg-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.vo-swatch-img { width: 76px; height: 52px; }

/* QR a végleges utalványon (a beváltó/játékindító link). */
.vo-qr { margin: .5rem auto 0; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.vo-qr canvas { background: #fff; border-radius: 6px; padding: 6px; width: 116px; height: 116px; }
.vo-qr-hint { font-size: .72rem; opacity: .85; max-width: 210px; line-height: 1.35; }

/* A hátlap a képernyőn az előlap alatt, kis térközzel. */
.vo-back-wrap { margin-top: 1.25rem; }

/* Hátlap: mindig fehér/papír háttér (nem az előlapi fotó), sötét tinta szöveg. */
.vo-card-back { background: #fff; }
.vo-content-back { color: var(--lf-ink); }
.vo-content-back .vo-kicker,
.vo-content-back .vo-code-label { color: var(--lf-accent); }
.vo-content-back .vo-hr { background: var(--lf-accent); opacity: .6; }
.vo-content-back .vo-code { color: var(--lf-ink); }

@media print {
  /* Csak az utalványt nyomtatjuk. A .vo-print-area mélyen ágyazott, ezért a
     „direkt gyerek elrejtés" üres lapot adott — helyette mindent láthatatlanná
     teszünk, és csak az utalványt tesszük vissza láthatóra. Az elő- és hátlap
     külön A5 oldalra kerül. */
  body * { visibility: hidden; }
  .vo-print-area, .vo-print-area * { visibility: visible; }
  .vo-print-area {
    position: absolute; left: 0; top: 0; width: 100%; margin: 0; padding: 0;
  }
  .vo-back-wrap { margin-top: 0; }
  .vo-card, .vo-card * {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;  /* a fotó-háttér is nyomtatódjon */
  }
  .vo-card {
    box-shadow: none; break-inside: avoid;
    width: 194mm; max-width: 194mm; margin: 0 auto;   /* A5 fekvő - margó */
  }
  .vo-back-wrap .vo-card { break-before: page; }       /* hátlap új oldalra */
  @page { size: A5 landscape; margin: 8mm; }
}

/* ---- Csillagos értékelés ---- */
.lf-stars { position: relative; display: inline-block; font-size: 1.1rem; line-height: 1; letter-spacing: 2px; font-family: Arial, sans-serif; }
.lf-stars::before { content: "★★★★★"; color: #a8926a; }  /* üres csillag: erős kontraszt az aranyhoz */
.lf-stars .lf-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }
.lf-stars .lf-stars-on::before { content: "★★★★★"; color: #e2a53a; }
.lf-review-summary { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; font-family: var(--lf-font-ui); }
.lf-review-summary .lf-review-avg { font-size: 1.4rem; font-weight: 700; }
.lf-review-card .lf-card-body { gap: .5rem; }
.lf-review-msg { margin: 0; font-style: italic; }
.lf-review-author { margin: 0; font-weight: 700; font-family: var(--lf-font-ui); font-size: .9rem; color: var(--lf-ink-soft); }

/* ---- Vélemény-karussző (autoscroll) ---- */
.lf-review-scroller {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab; margin: 1.5rem auto 0;
  max-width: var(--lf-maxw); padding: .5rem 1.25rem;
}
.lf-review-scroller::-webkit-scrollbar { display: none; }
.lf-review-scroller:active { cursor: grabbing; }
.lf-review-track {
  display: flex; gap: 1.5rem; width: max-content;
  padding: .5rem 0; align-items: stretch;
}
.lf-review-card {
  flex: 0 0 300px; width: 300px; text-align: left;
  position: relative; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column;
}
/* Csak-pontszámos kártya: nem kattintható, nincs modal. */
.lf-review-card-plain { cursor: default; }
.lf-review-head {
  background: var(--lf-paper-deep); border-bottom: 3px solid #e2a53a;
  font-family: var(--lf-font-ui); font-weight: 700; font-size: .95rem;
  text-align: center; padding: .7rem 1rem;
}
.lf-review-img {
  height: 140px; background-size: cover; background-position: center;
  position: relative; display: grid; place-items: center;
}
.lf-review-img::before { content: ""; position: absolute; inset: 0; background: rgba(20,14,8,.34); }
.lf-review-img-city {
  position: relative; color: #fff; font-family: var(--lf-font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: .05em;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.lf-review-card .lf-card-body { gap: .5rem; justify-content: flex-start; flex: 1; }
.lf-review-team { font-weight: 700; font-family: var(--lf-font-ui); text-align: center; margin: 0; }
.lf-review-stars { margin: 0; display: flex; gap: .4rem; justify-content: center; align-items: center; }
.lf-review-score { font-family: var(--lf-font-ui); color: var(--lf-ink-soft); font-size: .9rem; }
.lf-review-msg {
  margin: 0; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; font-style: italic;
}
.lf-review-date {
  margin: auto 0 0; text-align: right; font-size: .8rem;
  color: var(--lf-ink-soft); font-family: var(--lf-font-ui);
}
.lf-review-more { display: none; }
.lf-review-card.is-clamped .lf-review-more {
  display: inline-block; color: var(--lf-accent); font-family: var(--lf-font-ui);
  font-size: .85rem; font-weight: 700;
}
@media (prefers-reduced-motion: reduce) { .lf-review-scroller { scroll-behavior: auto; } }

/* Vélemény-modal (teljes szöveg) */
.lf-review-modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  place-items: center; padding: 1.5rem;
  background: rgba(20, 14, 8, .6); backdrop-filter: blur(2px);
}
.lf-review-modal.open { display: grid; }
.lf-review-modal-panel {
  position: relative; background: var(--lf-surface);
  border: 1px solid var(--lf-line); border-radius: var(--lf-radius);
  max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 2.25rem 2rem 2rem; box-shadow: 0 20px 50px -18px rgba(0,0,0,.5);
}
.lf-review-modal-close {
  position: absolute; top: .4rem; right: .7rem; background: none; border: 0;
  font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--lf-ink-soft);
}
.lf-review-modal-msg { font-style: italic; margin: 1rem 0; }
.lf-review-modal-author { font-weight: 700; font-family: var(--lf-font-ui); color: var(--lf-ink-soft); margin: 0; }

/* Vélemény-modal kiegészítők (küldetésnév, dátum) */
.lf-review-modal-mission { font-family: var(--lf-font-ui); font-weight: 700; color: var(--lf-accent); margin: 0 0 .5rem; }
.lf-review-modal-date { font-family: var(--lf-font-ui); font-size: .8rem; color: var(--lf-ink-soft); margin: 1rem 0 0; }

/* ---- Inline értékelés (város-kártya, hero) ---- */
.lf-rating-inline { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-family: var(--lf-font-ui); }
.lf-rating-inline .lf-stars { font-size: 1.05rem; }
.lf-rating-score { color: var(--lf-ink-soft); font-weight: 700; }
.lf-rating-count { color: var(--lf-ink-soft); font-size: .85rem; }
.lf-rating-label { font-weight: 700; margin-right: .3rem; }
.lf-hero-rating { margin: .25rem 0 1.5rem; }
.lf-hero-rating .lf-rating-inline { justify-content: center; }
.lf-hero-rating .lf-stars { font-size: 1.3rem; }
.lf-hero-rating .lf-rating-score, .lf-hero-rating .lf-rating-count { color: rgba(255,255,255,.92); }

/* ---- SimplePay adattovábbítási nyilatkozat ---- */
.lf-sp-declaration {
  border: 1px solid var(--lf-line); border-radius: var(--lf-radius);
  background: var(--lf-surface); padding: 1.25rem; margin: .5rem 0 0;
  text-align: left; font-family: var(--lf-font-ui);
}
.lf-sp-logo { margin: 0 0 .75rem; }
.lf-sp-text { font-size: .82rem; color: var(--lf-ink-soft); line-height: 1.5; margin: 0 0 .85rem; }
.lf-sp-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; font-weight: 600; cursor: pointer; }
.lf-sp-check input { margin-top: .2rem; }

/* — Partnereink szekció — */
.lf-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.lf-partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  min-width: 180px; padding: 1.25rem 1.5rem; text-decoration: none; color: var(--lf-ink);
  background: var(--lf-surface); border: 1px solid var(--lf-line); border-radius: var(--lf-radius);
  transition: border-color .15s, transform .15s;
}
.lf-partner:hover { border-color: var(--lf-accent); transform: translateY(-2px); }
.lf-partner img { max-height: 56px; max-width: 160px; object-fit: contain; }
.lf-partner-name { font-family: var(--lf-font-display); font-weight: 700; font-size: 1.1rem; }
.lf-partner-discount { font-family: var(--lf-font-ui); font-size: .85rem; font-weight: 700; color: var(--lf-accent); }
