/* Közös vendégoldal-stílus. Minden szín, betű és lekerekítés CSS-változóból jön,
   amit az arculati recept motor állít elő (theme/recipe.js); az alábbi :root csak alapérték.
   A változatokat a data-hero / data-card / data-shape / data-motif attribútumok kapcsolják.
   Mobil először; body betűméret min. 16 px. A töréspontok container query-k a .site elemen,
   így a galéria keskeny előnézetében is a valódi mobil elrendezés látszik. */

:root {
  --bg: #FFFFFF;
  --surface: #F5F4F2;
  --text: #1B1B1B;
  --muted: #575757;
  --border: #DEDAD4;
  --primary: #1B1B1B;
  --on-primary: #FFFFFF;
  --primary-text: #1B1B1B;
  --accent: #1B1B1B;
  --on-accent: #FFFFFF;
  --accent-text: #1B1B1B;
  --scrim: #000000;
  --scrim-alpha: 0.6;
  --on-image: #FFFFFF;
  --on-image-muted: #E8E8E8;
  --font-heading: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --heading-scale: 1;
  --radius: 14px;
  --radius-button: 10px;
  --space: clamp(3.5rem, 9vw, 6.5rem);
  --gutter: 1rem;
  --max: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site {
  container-type: inline-size;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--primary-text); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--on-primary);
  z-index: 10;
}
.skip-link:focus { top: var(--gutter); }

/* ── Gombok ─────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-button);
  border: 1.5px solid var(--primary);
  font: 500 1rem/1.2 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.button--primary { background: var(--primary); color: var(--on-primary); }
.button--primary:hover { background: transparent; color: var(--primary-text); }
.button--ghost { background: transparent; color: var(--primary-text); border-color: var(--border); }
.button--ghost:hover { border-color: var(--primary-text); }

/* ── Motívumok ──────────────────────────────────────── */

.motif { display: block; width: 100%; height: 100%; overflow: visible; }
.motif * { vector-effect: non-scaling-stroke; }

/* ── Hero: közös ────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 4rem var(--gutter) 3rem;
  max-width: 40rem;
}

/* A logó soha nem nyúlik: a flex-oszlop alapértelmezett "stretch" igazítása helyett a saját
   arányában, legfeljebb 4,5rem magasan és a szélesség 60%-áig (középre zárt fejlécben középen). */
.hero__logo {
  align-self: flex-start;
  width: auto;
  height: auto;
  max-width: min(60%, 16rem);
  max-height: 4.5rem;
  object-fit: contain;
}
[data-hero="centered"] .hero__logo { align-self: center; }

.hero__ornament {
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--primary-text);
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-text);
}

.hero__title { font-size: calc(clamp(2.75rem, 11cqi, 5.5rem) * var(--heading-scale)); font-weight: 500; }

.hero__tagline { font-size: 1.1875rem; color: var(--muted); max-width: 34ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 65%),
    var(--surface);
  overflow: hidden;
}

.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Képtári kép forrása (az Unsplash feltétele): kicsi, de sötét alapon fehérrel jól olvasható. */
.hero__credit {
  position: absolute; right: 0.5rem; bottom: 0.5rem; z-index: 2; margin: 0;
  padding: 0.25rem 0.625rem; border-radius: 999px; background: rgb(0 0 0 / 0.62); color: #FFFFFF;
  font-family: var(--font-body); font-size: 0.8125rem; line-height: 1.4;
}
.hero__credit a { color: inherit; }

.hero__motif { width: min(70%, 22rem); aspect-ratio: 1; color: var(--primary-text); opacity: 0.75; }

.hero__monogram {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 30cqi, 18rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary-text);
  opacity: 0.7;
}

/* Mobilon kép nélkül a díszpanel csak helyet foglalna: helyette kis díszítés a szöveg fölött. */
@container (max-width: 859px) {
  [data-hero-image="no"] .hero__visual { display: none; }
  [data-hero-image="no"] .hero__ornament { display: block; }
}

/* ── Hero: split ────────────────────────────────────── */

@container (min-width: 860px) {
  [data-hero="split"] .hero { grid-template-columns: 1fr 1fr; min-height: min(88vh, 50rem); }
  [data-hero="split"] .hero__body { padding: 5rem 3rem 5rem max(var(--gutter), calc((100cqi - var(--max)) / 2)); }
}

/* ── Hero: centered ─────────────────────────────────── */

[data-hero="centered"] .hero { text-align: center; }
[data-hero="centered"] .hero__body { margin: 0 auto; align-items: center; padding-block: 5rem 4rem; }
[data-hero="centered"] .hero__tagline { margin-inline: auto; }
[data-hero="centered"] .hero__ornament { display: block; }
[data-hero="centered"] .hero__visual {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%);
}
[data-hero="centered"] .hero__motif { width: min(120%, 44rem); opacity: 0.08; }
[data-hero="centered"] .hero__monogram { display: none; }
@container (max-width: 859px) {
  [data-hero="centered"][data-hero-image="no"] .hero__visual { display: grid; }
}
@container (min-width: 860px) {
  [data-hero="centered"] .hero { min-height: min(80vh, 44rem); }
}

/* ── Hero: minimal ──────────────────────────────────── */

[data-hero="minimal"] .hero { border-bottom: 0; }
[data-hero="minimal"] .hero__body {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding-block: 4.5rem 1rem;
}
[data-hero="minimal"] .hero__ornament { display: block; width: 2.75rem; height: 2.75rem; }
[data-hero="minimal"] .hero__visual { display: none; }
[data-hero="minimal"] .hero__title { font-size: calc(clamp(2.5rem, 9cqi, 4.5rem) * var(--heading-scale)); }
[data-hero="minimal"] .hero__tagline { max-width: 48ch; }

/* ── Hero: képes fejléc (framed, portrait, arch, collage) ──────────────
   Mobilon mindegyik borítókép: fent a kép, rajta a logó-jelvény, alatta középen a szöveg,
   a gombok egymás alatt, egyforma szélesen. Asztalon kétoszlopos: bal oldalt a szöveg
   függőlegesen középen, jobb oldalt a kép a változat keretében. A kép a fókuszpontja szerint
   vágódik (inline object-position). */

.hero-bar { display: none; }

.hero--image {
  display: flex;
  flex-direction: column;
  padding: 1rem var(--gutter) 2.75rem;
}
.hero__media { position: relative; order: -1; }
.hero__cover {
  position: relative;
  height: 15rem;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  background: var(--surface);
}
.hero__badge {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  margin: -3.5rem auto 0;
  padding: 0.75rem;
  background: #FFFFFF;
  border-radius: calc(var(--radius) * 1.75);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.16);
}
.hero__badge-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero--image .hero__body { max-width: 40rem; margin: 0 auto; padding: 1.25rem 0 0; align-items: center; text-align: center; }
.hero--image .hero__tagline { margin-inline: auto; }
.hero--image .hero__actions { display: grid; width: 100%; max-width: 22rem; }
.hero--image .hero__credit { top: 0.5rem; bottom: auto; }
.hero__chip { display: none; }

@container (min-width: 860px) {
  .hero-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem max(var(--gutter), calc((100cqi - var(--max)) / 2));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .hero-bar__brand { font-family: var(--font-heading); font-size: 1.375rem; color: var(--text); text-decoration: none; }
  .hero-bar__logo { display: block; height: 3rem; width: auto; max-width: 14rem; object-fit: contain; }
  .hero-bar .button { min-height: 2.75rem; padding: 0.5rem 1.125rem; }

  .hero--image {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    min-height: min(80vh, 42rem);
    padding: 3rem max(var(--gutter), calc((100cqi - var(--max)) / 2)) 3.5rem;
  }
  .hero--image .hero__body { margin: 0; padding: 0; align-items: flex-start; text-align: left; }
  .hero--image .hero__tagline { margin-inline: 0; }
  .hero--image .hero__actions { display: flex; width: auto; max-width: none; }
  .hero__media { order: 2; }
  .hero__cover { height: auto; aspect-ratio: 4 / 3; }
  .hero--image .hero__credit { top: auto; bottom: 0.5rem; }
  .hero__badge { position: absolute; margin: 0; width: 8rem; height: 8rem; }

  /* C) Keretezett: a logó a felső sávban, a kép mögött eltolt színes lap. */
  [data-hero="framed"] .hero__badge { display: none; }
  [data-hero="framed"] .hero__media::before,
  [data-hero="collage"] .hero__media::before {
    content: '';
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    border-radius: calc(var(--radius) * 1.75);
    background: var(--primary);
    opacity: 0.18;
  }

  /* D) Álló keret: kevesebbet vág le fent és lent; a logó-jelvény a kép bal alsó sarkán. */
  [data-hero="portrait"] .hero__media { justify-self: end; width: min(100%, 28rem); }
  [data-hero="portrait"] .hero__cover { aspect-ratio: 4 / 5; }
  [data-hero="portrait"] .hero__badge { left: -2.5rem; bottom: 2.5rem; }

  /* E) Boltív: a kép boltív alakú, mögötte halvány kör, a logó kerek jelvényben fent. */
  [data-hero="arch"] .hero__media { justify-self: center; width: min(100%, 26rem); }
  [data-hero="arch"] .hero__media::before {
    content: '';
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    right: -12%;
    bottom: -6%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.14;
  }
  [data-hero="arch"] .hero__cover { aspect-ratio: 3 / 4; border-radius: 999px 999px calc(var(--radius) * 1.5) calc(var(--radius) * 1.5); }
  [data-hero="arch"] .hero__badge { top: -1.5rem; left: 50%; transform: translateX(-50%); width: 7rem; height: 7rem; border-radius: 50%; }

  /* F) Kollázs: eltolt színes lap, logó a bal felső sarkon, két lebegő címke. */
  [data-hero="collage"] .hero__cover { aspect-ratio: 5 / 4; }
  [data-hero="collage"] .hero__badge { top: -1.75rem; left: -1.75rem; width: 7rem; height: 7rem; }
  .hero__chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 8px 22px rgb(0 0 0 / 0.14);
    font-weight: 600;
    font-size: 0.9375rem;
  }
  .hero__chip--1 { right: -1.25rem; top: 2.5rem; }
  .hero__chip--1::before { content: ''; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #2E9D5B; }
  .hero__chip--2 { left: 2rem; bottom: -1.25rem; }
}

/* ── Szekciók ───────────────────────────────────────── */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space) var(--gutter) 0;
}

.section__title {
  font-size: calc(clamp(2rem, 6cqi, 3rem) * var(--heading-scale));
  font-weight: 500;
  margin-bottom: 2rem;
}

.card { border-radius: var(--radius); padding: 1.5rem; }
[data-card="outline"] .card { border: 1px solid var(--border); }
[data-card="filled"] .card { background: var(--surface); }
[data-card="glass"] .card {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary-text) 18%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--on-image) 8%, transparent) inset;
  backdrop-filter: blur(10px);
}

/* Szolgáltatások */
.services__category {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin: 2rem 0 1rem;
}
.services__category:first-of-type { margin-top: 0; }

.services__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@container (min-width: 700px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
}
@container (min-width: 1040px) {
  .services__list { grid-template-columns: repeat(3, 1fr); }
}

.service { display: flex; flex-direction: column; gap: 0.75rem; }
.service__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.service__name { font-size: calc(1.375rem * var(--heading-scale)); }
.service__price { font-weight: 500; color: var(--primary-text); white-space: nowrap; }
.service__desc { color: var(--muted); }
.service__meta { margin-top: auto; font-size: 1rem; color: var(--muted); }

/* Bemutatkozás */
.prose { display: grid; gap: 1rem; max-width: 62ch; font-size: 1.125rem; }
.about__signature {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: calc(1.5rem * var(--heading-scale));
  font-style: italic;
  color: var(--accent-text);
}

/* Foglalás. A kiválasztott elem mindig az elsődleges gombszín (AA garantált),
   a hibaüzenet a kiemelő szövegszín + félkövér, mert a recept nem ad külön hibaszínt. */
.booking__app { display: grid; gap: 1.25rem; max-width: 46rem; scroll-margin-top: 1rem; }
.booking__phone { margin-top: 1rem; color: var(--muted); }
.booking__progress {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking__step-title { font-size: calc(1.5rem * var(--heading-scale)); }
.booking__step-title:focus { outline: none; }
.booking__subtitle { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.75rem; }
.booking__hint { color: var(--muted); }

.booking__app button { font: inherit; color: inherit; cursor: pointer; }
/* A fő gomb (pl. a küldés) a saját színét tartja meg (az előző sor ne írja felül). */
.booking__app .button--primary { color: var(--on-primary); }
.booking__app .button--primary:hover { color: var(--primary-text); }
.booking__app button:disabled { cursor: default; }

.booking__link {
  background: none;
  border: 0;
  padding: 0.5rem 0;
  min-height: 2.75rem;
  color: var(--primary-text) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.booking__link:disabled { visibility: hidden; }

.booking__options { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@container (min-width: 700px) {
  .booking__options { grid-template-columns: repeat(2, 1fr); }
}
.booking__option {
  width: 100%;
  min-height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-button);
}
.booking__option:hover { border-color: var(--primary-text); }
.booking__option-name { font-weight: 600; }
.booking__option-meta { color: var(--muted); font-size: 1rem; }

.booking__days-nav { display: flex; justify-content: space-between; gap: 1rem; }
.booking__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(4rem, 1fr)); gap: 0.5rem; }
.booking__day {
  display: grid;
  justify-items: center;
  gap: 0.125rem;
  padding: 0.5rem 0.25rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-button);
  line-height: 1.2;
}
.booking__day:not(:disabled):hover { border-color: var(--primary-text); }
.booking__day:disabled { opacity: 0.45; border-style: dashed; }
.booking__day-name, .booking__day-month { font-size: 0.875rem; }
.booking__day-num { font-size: 1.375rem; font-weight: 600; }

.booking__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: 0.5rem; }
.booking__slot {
  min-height: 3rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-button);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.booking__slot:hover { border-color: var(--primary-text); }

.booking__app [aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.booking__app [aria-pressed="true"] .booking__option-meta { color: var(--on-primary); }

.booking__summary {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--primary-text);
  background: var(--surface);
  border-radius: 0 var(--radius-button) var(--radius-button) 0;
}
.booking__summary-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 1rem; }
.booking__summary-row .booking__link { padding: 0; min-height: 2.25rem; }

.booking__form { display: grid; gap: 1.25rem; }
.booking__field { display: grid; gap: 0.375rem; }
.booking__field > label { font-weight: 600; }
.booking__optional, .booking__field-hint { font-weight: 400; color: var(--muted); font-size: 1rem; }
/* A jelölőnégyzet és a rádiógomb nem kap szövegmező-stílust (különben teljes szélességű lenne). */
.booking__form :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-button);
}
.booking__form :is(input, select, textarea):focus-visible { border-color: var(--primary-text); }
.booking__form [aria-invalid="true"] { border-color: var(--primary-text); border-width: 2px; }
.booking__fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.booking__fieldset legend { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; padding: 0; }
.booking__consent label { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 400; cursor: pointer; }
.booking__consent input { width: 1.375rem; height: 1.375rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--primary); }
.booking__error { color: var(--primary-text); font-weight: 600; }
.booking__error::before { content: "! "; }
.booking__alert {
  padding: 0.875rem 1rem;
  border: 2px solid var(--primary-text);
  border-radius: var(--radius-button);
  display: grid;
  gap: 0.75rem;
}
.booking__submit { justify-self: start; min-width: 12rem; }
.booking__submit:disabled { opacity: 0.7; cursor: progress; }

/* Ajánlatkérés (a foglaló űrlapelemeire épül) */
.booking__label { font-weight: 600; }
.qr-photos { list-style: none; margin: 0.25rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); gap: 0.5rem; }
.qr-photos__item { position: relative; aspect-ratio: 1; border-radius: var(--radius-button); overflow: hidden; background: var(--surface); }
.qr-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.booking__app .qr-photos__remove {
  position: absolute; top: 0.25rem; right: 0.25rem;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%;
  background: rgb(0 0 0 / 0.65); color: #fff;
  font-size: 1.5rem; line-height: 1;
}
.qr-photos__add { justify-self: start; position: relative; cursor: pointer; }
.qr-photos__add[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.qr-photos__add:focus-within { outline: 2px solid var(--primary-text); outline-offset: 2px; }
.qr-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.qr-chip { padding: 0 1rem; }
.qr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
  padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important;
}

/* Nyitvatartás */
.hours__table { margin: 0; max-width: 32rem; }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.hours__row dt { font-weight: 500; }
.hours__row dd { margin: 0; text-align: right; }
.hours__row[data-closed="true"] dd { color: var(--muted); }
.hours__closures { margin-top: 2rem; }
.hours__closures h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.hours__closures ul { margin: 0; padding-left: 1.25rem; }

/* GYIK */
.faq { display: grid; gap: 0.75rem; }
.faq .section__title { margin-bottom: 1.25rem; }
.faq__item summary { cursor: pointer; font-weight: 500; }
.faq__item p { margin-top: 0.75rem; color: var(--muted); }

/* Elérhetőség */
.contact__intro { margin: 0 0 1.5rem; max-width: 40rem; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact__label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__social { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }

/* Lábléc */
.footer {
  margin-top: var(--space);
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}
.footer__ornament { width: 2.5rem; height: 2.5rem; color: var(--primary-text); opacity: 0.8; margin-bottom: 0.5rem; }
.footer a { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }

/* Üzenetoldal (nincs tenant, zárolva, hiba) */
.message {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: var(--gutter);
  text-align: center;
}
.message h1 { font-size: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Étlap és ételrendelés (order/widget.js) */
.menu__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1.5rem; }
.menu__category { font-family: var(--font-heading); font-size: calc(1.375rem * var(--heading-scale)); margin: 2rem 0 1rem; scroll-margin-top: 1rem; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .menu__list { grid-template-columns: repeat(2, 1fr); } }
.menu-item { display: grid; gap: 0.75rem; align-content: start; }
.menu-item[data-active="false"] { opacity: 0.6; }
.menu-item__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-button); }
.menu-item__body { display: grid; gap: 0.375rem; }
.menu-item__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item__name { font-size: 1.125rem; font-weight: 600; margin: 0; }
.menu-item__price { font-weight: 600; white-space: nowrap; color: var(--primary-text); margin: 0; }
.menu-item__desc { color: var(--muted); margin: 0; }
.menu-item__allergens { font-size: 1rem; color: var(--muted); margin: 0; }
.menu-item__soldout { font-weight: 600; margin: 0; }
.menu-item__actions:empty { display: none; }
.menu-item__add { justify-self: start; min-height: 2.75rem; padding: 0.5rem 1.25rem; }

body.has-cart { padding-bottom: 5.5rem; }
.cart-fab {
  position: fixed; top: max(0.75rem, env(safe-area-inset-top)); right: 0.75rem; z-index: 31;
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.15);
}
.cart-fab[data-filled="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.cart-fab:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 2px; }
.cart-fab__count {
  position: absolute; top: -0.25rem; right: -0.25rem; min-width: 1.5rem; height: 1.5rem; padding: 0 0.375rem;
  display: grid; place-items: center; border-radius: 999px; font-size: 0.875rem; font-weight: 700;
  background: var(--text); color: var(--bg);
}
.cart-bar { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); }
.cart-bar__button { width: 100%; max-width: 40rem; margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; }

.order-dialog { width: min(40rem, 100%); max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: var(--radius-card, 12px); background: var(--bg); color: var(--text); }
.order-dialog::backdrop { background: rgb(0 0 0 / 0.5); }
@media (max-width: 599px) { .order-dialog { width: 100%; height: 100dvh; max-width: none; border-radius: 0; } }
.order-dialog__body { display: grid; gap: 1.25rem; padding: 1.25rem 1rem 2rem; }
@media (min-width: 600px) { .order-dialog__body { padding: 1.5rem 1.75rem 2rem; } }
.order-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.order-dialog__head h2 { font-family: var(--font-heading); font-size: calc(1.5rem * var(--heading-scale)); margin: 0; }
.order-dialog__head h2:focus { outline: none; }
.order-dialog__close { flex: none; width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.order-dialog button { font: inherit; cursor: pointer; }
.order-dialog .booking__slot, .order-dialog .qr-chip { color: var(--text); }
.order-dialog [aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.order-option { gap: 0.25rem; }
.order-choice { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; cursor: pointer; }
.order-choice input { width: 1.375rem; height: 1.375rem; flex: none; accent-color: var(--primary); margin: 0; }
.order-choice__price { margin-left: auto; color: var(--muted); white-space: nowrap; }
.order-qty { display: flex; align-items: center; gap: 0.75rem; }
.order-qty__btn { width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 1.25rem; }
.order-qty__btn:disabled { opacity: 0.4; cursor: default; }
.order-qty__value { min-width: 2.5rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-qty--small { gap: 0.25rem; }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.order-line { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.75rem; align-items: center; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.order-line__text { display: grid; grid-column: 1 / -1; }
.order-line__name { font-weight: 600; }
.order-line__meta { color: var(--muted); font-size: 1rem; }
.order-line__price { font-weight: 600; white-space: nowrap; }
.order-totals { margin: 0; display: grid; gap: 0.25rem; }
.order-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.order-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.order-totals__total { font-weight: 700; font-size: 1.125rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.order-number { font-size: 1.25rem; }
/* A kosár-gomb (jobb felül) ne takarja a keretezett fejléc sávjának gombját. */
body:has(.cart-fab) .hero-bar { padding-right: 4.75rem; }
