/* Burger Prof. — vendégoldal (index.html, ÁSZF, adatkezelés) stíluslapja.
   A pult a régi style.css-t használja, ehhez a fájlhoz nem kötődik.

   Arculat: brand guide (2026). Fő szín #E74B23, sárga #EDCE08, fekete #000000.
   Szabály: narancs felületen fekete szöveg. A narancsot a fotók hozzák, a felület
   nagy része krém és fekete. Mozgás csak három helyen van: ragadó kategóriasáv,
   ragadó kosársáv, a „+” gomb lenyomása. */

/* ---------- Betűk (saját tárhelyről, OFL licenc: fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: 'Climate Crisis';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/climate-crisis-1979-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Climate Crisis';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/climate-crisis-1979-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-tokenek: minden szín, betű, térköz, sugár, árnyék itt ----------
   Mért kontrasztok (WCAG):
   fekete a krémen 18,65 · fekete a fehéren 21 · fekete a narancson 5,43
   --soft a krémen 6,45, a fehéren 7,3 · krém a feketén 18,65 · --soft-dark a feketén 9,77
   narancs a feketén 5,43 · fekete a sárgán 13,43 · --err a krémen 5,81 · --ok a krémen 4,83
   Narancs a krémen csak 3,44: szövegre nem használjuk, csak felületre / nagy elemre. */
:root {
  --ink: #000000;
  --cream: #F6F1E7;
  --paper: #FFFFFF;
  --orange: #E74B23;
  --yellow: #EDCE08;
  --soft: #5C564C;
  --soft-dark: #B8B0A2;
  --line: #D9D1C2;
  --line-dark: #2A2A2A;
  --err: #B3261E;
  --ok: #0A7A3B;

  --font-display: 'Climate Crisis', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* méretskála */
  --fs-12: 12px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px;
  --fs-28: 28px; --fs-40: 40px; --fs-64: 64px;

  /* 8 px-es rács */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-bar: 0 8px 24px rgba(0,0,0,0.25);

  --tap: 48px;
  --gutter: 16px;
  --measure: 60ch;
  --press: 120ms;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }

h1, h2, h3 { margin: 0; line-height: 1; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.muted { color: var(--soft); }
img { max-width: 100%; }

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

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: var(--tap);
  padding: 0 var(--s3);
  border: 0; border-radius: var(--r-pill);
  font-weight: 800; font-size: var(--fs-16); letter-spacing: 0.01em;
  text-decoration: none;
}
/* Fő gomb: narancs felület, fekete felirat (5,43) */
.btn-red { background: var(--orange); color: var(--ink); }
.btn-red:disabled { background: var(--line); color: var(--soft); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-xl { width: 100%; min-height: 56px; padding: 0 var(--s2); font-size: var(--fs-20); }
.icon-btn {
  width: var(--tap); height: var(--tap); flex: 0 0 auto;
  border: 0; border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font-size: var(--fs-20); font-weight: 800;
}

/* ---------- Fotó ---------- */
.ph { position: relative; overflow: hidden; background: var(--orange); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Zárva / szünetel sáv ---------- */
.closed-bar {
  padding: 12px var(--gutter);
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: var(--fs-16); text-align: center;
}

/* ---------- Fejléc ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 64px; padding: var(--s1) var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; color: var(--ink); }
.logo img { display: block; height: 44px; width: auto; }
.logo-sm img { height: 36px; }
.topbar-tag { font-size: var(--fs-14); color: var(--soft); font-weight: 600; text-align: right; }
/* Keskeny kijelzőn a mondat két sorba törne; a logó pecsétje ugyanezt mondja */
@media (max-width: 399px) { .topbar-tag { display: none; } }

/* ---------- Hero: fotó éles vágással, alatta fekete sáv ---------- */
.hero { background: var(--ink); color: var(--cream); }
.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; max-height: 72svh; width: 100%; overflow: hidden; background: var(--orange); }
.hero-media picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-body { max-width: 720px; margin: 0 auto; padding: var(--s4) var(--gutter) var(--s4); }
.hero h1 { font-size: var(--fs-40); line-height: 0.98; margin-bottom: var(--s3); max-width: 14ch; }
.hero .btn-xl { letter-spacing: 0.04em; }
.hero-info { margin-top: var(--s2); font-size: var(--fs-14); color: var(--soft-dark); font-weight: 600; text-align: center; }
.hero :focus-visible { outline-color: var(--cream); }

/* ---------- Kategória-fülek (ragadó, aktív szakasz követés) ---------- */
.cat-tabs {
  position: sticky; top: 0; z-index: 30;
  display: flex; gap: var(--s1);
  padding: var(--s1) var(--gutter);
  background: rgba(246,241,231,0.97);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 auto;
  min-height: var(--tap); padding: 0 var(--s2);
  border: 2px solid transparent; border-radius: var(--r-pill); background: transparent;
  color: var(--soft); font-weight: 800; font-size: var(--fs-16);
}
.cat-tab.active { background: var(--ink); color: var(--cream); }

/* ---------- Étlap ---------- */
.menu { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) var(--s6); }
.menu-section { padding-top: var(--s6); scroll-margin-top: 72px; }
.menu-section h2 { font-size: var(--fs-28); margin-bottom: var(--s3); }
.cards { display: grid; gap: var(--s2); }

.card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.card h3 { font-size: var(--fs-20); }
.desc { color: var(--soft); font-size: var(--fs-14); margin-top: 4px; max-width: var(--measure); }
.price { font-weight: 800; font-size: var(--fs-20); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.card-text { min-width: 0; }

/* Képes nagy kártya (a három fotós burger) */
.card-large { box-shadow: var(--shadow); }
.card-large .ph { aspect-ratio: 1 / 1; }
.card-large .card-body { padding: var(--s3); display: grid; gap: var(--s3); }
.card-large h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-28); line-height: 1; }
.card-large .desc { font-size: var(--fs-16); margin-top: var(--s1); }
.card-large .price { font-size: var(--fs-20); }
.card-large .plus { width: 56px; height: 56px; font-size: 32px; }
.card-large .stepper { height: 56px; }
.card-large .stepper button { width: 52px; height: 56px; }

/* Kép nélküli nagy kártya (burger fotó nélkül): fekete, tipográfiai */
.card-large.no-photo { background: var(--ink); color: var(--cream); box-shadow: none; }
.card-large.no-photo .desc { color: var(--soft-dark); }
.card-large.no-photo h3, .card-large.no-photo .price { color: var(--cream); }
.card-large.no-photo .extra-link { color: var(--cream); }
.card-large.no-photo :focus-visible { outline-color: var(--cream); }
.card-large.no-photo .stepper { background: var(--cream); color: var(--ink); }

/* Sor-kártya (köret, szósz, ital): tiszta tipográfia, kép nélkül */
.layout-row .cards { gap: 0; background: var(--paper); border-radius: var(--r-lg); padding: 0 var(--s2); }
.card-row { display: block; background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); }
.card-row:last-child { border-bottom: 0; }
.card-row .card-body { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s2) 0; min-width: 0; }
.card-row .card-foot { flex: 0 0 auto; gap: 12px; }
.card-row h3 { font-size: var(--fs-16); }
.card-row .desc { margin-top: 2px; }
.card-row .price { font-size: var(--fs-16); }

.extra-link {
  position: relative; display: inline-block; margin-top: var(--s1); min-height: 32px; padding: 6px 0;
  border: 0; background: none; color: var(--ink);
  font-weight: 800; font-size: var(--fs-14); text-decoration: underline; text-underline-offset: 4px;
}
.extra-link::after { content: ''; position: absolute; inset: -8px -12px; } /* 48 px-es érintési terület */
body.ordering-off .extra-link { display: none; }

.is-soldout { opacity: 0.55; }
.is-soldout .ph img { filter: grayscale(1); }
.soldout-tag {
  display: inline-block; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: var(--fs-14);
}

/* ---------- „+” gomb és számláló (3. mozgás: lenyomás) ---------- */
.ctrl { display: inline-flex; }
.plus {
  display: inline-grid; place-items: center;
  width: var(--tap); height: var(--tap);
  border: 0; border-radius: var(--r-pill);
  background: var(--orange); color: var(--ink);
  font-size: var(--fs-28); font-weight: 800; line-height: 1;
}
.plus, .stepper button, .btn-red, .upsell-card { transition: transform var(--press) ease-out; }
.plus:active, .stepper button:active, .btn-red:active, .upsell-card:active { transform: scale(0.92); }
.btn-red:disabled:active { transform: none; }

.plus-sm { width: 32px; height: 32px; font-size: var(--fs-20); }
.plus-sm.in-cart { width: auto; padding: 0 10px; background: var(--yellow); color: var(--ink); font-size: var(--fs-14); }

.stepper {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--cream); border-radius: var(--r-pill);
  height: var(--tap);
}
.stepper button {
  width: var(--tap); height: var(--tap); border: 0; background: transparent; color: inherit;
  font-size: var(--fs-20); font-weight: 800; border-radius: var(--r-pill);
}
.stepper .qty { min-width: 24px; text-align: center; font-size: var(--fs-16); font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper :focus-visible { outline-color: var(--orange); outline-offset: -3px; }
.stepper-sm { height: var(--tap); }

/* A régi „pop” animáció nem része a három engedélyezett mozgásnak */
.pop { animation: none; }

/* ---------- Lábléc ---------- */
.footer {
  max-width: 1120px; margin: 0 auto; padding: var(--s6) var(--gutter) var(--s6);
  border-top: 1px solid var(--line); color: var(--soft); font-size: var(--fs-14);
  display: grid; gap: 4px;
}
.footer .logo { margin-bottom: var(--s2); }
.footer a { color: var(--ink); display: inline-block; min-height: var(--tap); line-height: var(--tap); font-weight: 600; }
.footer-links a { margin-right: var(--s1); }
body.has-cart-bar .footer { padding-bottom: 160px; }

/* ---------- Kosár-sáv (ragadó, alul) ---------- */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: var(--s1) var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cart-bar > * { max-width: 688px; margin-left: auto; margin-right: auto; }
.cart-bar-btn {
  width: 100%; min-height: 60px; justify-content: flex-start; gap: var(--s1);
  padding: 0 var(--s1) 0 var(--s1);
  background: var(--ink); color: var(--cream);
  font-size: var(--fs-16); box-shadow: var(--shadow-bar);
}
.cart-bar-btn:focus-visible { outline-color: var(--orange); }
.cart-bar-count {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--orange); color: var(--ink); font-weight: 800;
}
.cart-bar-go { margin-left: auto; padding-right: var(--s2); }

.progress { margin-bottom: var(--s1); }
.progress-text { font-size: var(--fs-14); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.progress.done .progress-text { font-weight: 800; }
.progress-track { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--ink); }
.progress-inline { margin: var(--s3) 0; }

/* ---------- Alsó panelek (kosár, extra) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.sheet-panel {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%; max-width: 720px; margin: 0 auto;
  max-height: 92vh; max-height: 92dvh;
  background: var(--cream);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.sheet-small { max-height: 80vh; max-height: 80dvh; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) var(--gutter) var(--s2); }
.sheet-head h2 { font-size: var(--fs-28); }
.sheet-body { overflow-y: auto; padding: 0 var(--gutter) var(--s2); overscroll-behavior: contain; }
.sheet-foot { padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.sheet-foot:empty { display: none; }

.empty { padding: var(--s3) 0; display: grid; gap: var(--s2); font-size: var(--fs-20); }

.lines { list-style: none; margin: 0; padding: 0 var(--s2); background: var(--paper); border-radius: var(--r-lg); }
.line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: var(--s2) 0; border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.line-text { display: grid; gap: 2px; min-width: 0; }
.line-text strong { font-size: var(--fs-16); }
.line-extras { font-size: var(--fs-14); color: var(--soft); }
.line-price { font-size: var(--fs-14); color: var(--soft); font-weight: 600; font-variant-numeric: tabular-nums; }

.swap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; margin-top: var(--s2); padding: 0 var(--s1) 0 var(--s2);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-pill);
  color: var(--ink); font-weight: 800; font-size: var(--fs-16); text-align: left;
}
.swap strong { background: var(--orange); color: var(--ink); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }

.zone-pick { margin-top: var(--s3); }
.field-label, .field label, .field legend { display: block; font-weight: 800; font-size: var(--fs-16); margin-bottom: var(--s1); }
.hint { margin-top: var(--s1); font-size: var(--fs-14); color: var(--soft); }

.select, .field input[type="text"], .field input[type="tel"], .field input[type="email"], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--soft); border-radius: var(--r-md);
  font-size: 17px; /* 16 px felett: iOS nem nagyít rá */
}
.select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.select:focus, .field input:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--ink); outline-offset: 1px; }
[aria-invalid] { border-color: var(--err) !important; }
::placeholder { color: var(--soft); opacity: 1; }

.upsell { margin-top: var(--s1); }
.upsell h3 { font-size: var(--fs-20); margin-bottom: 12px; }
.upsell-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s1); }
.upsell-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s1);
  min-height: 96px; padding: 12px; border: 0; border-radius: var(--r-md);
  background: var(--paper); color: var(--ink); text-align: left;
}
.upsell-name { font-weight: 800; font-size: var(--fs-14); line-height: 1.2; }
.upsell-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; font-size: var(--fs-14); font-weight: 600; }
.upsell-foot > span:first-child { white-space: nowrap; }

.totals { margin: var(--s3) 0 4px; display: grid; gap: var(--s1); }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--soft); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 12px; border-top: 2px solid var(--ink); font-size: var(--fs-20); }
.totals .grand dt { color: var(--ink); font-weight: 800; }
.totals .grand dd { font-weight: 800; }

.extra-list { display: grid; gap: var(--s1); margin-top: var(--s2); }

.check-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: var(--s1) var(--s2);
  background: var(--paper); border-radius: var(--r-md);
  cursor: pointer;
}
.check-row input { width: 24px; height: 24px; flex: 0 0 auto; accent-color: var(--ink); margin: 0; }
.check-label { flex: 1; font-weight: 600; font-size: var(--fs-16); }
.check-label.small { font-size: var(--fs-14); font-weight: 400; }
.check-price { font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Pénztár ---------- */
.view { min-height: 100vh; }
.back {
  min-height: var(--tap); padding: 0 var(--s1) 0 0; border: 0; background: none;
  color: var(--ink); font-weight: 800; font-size: var(--fs-16);
}
.checkout { max-width: 560px; margin: 0 auto; padding: var(--s4) var(--gutter) var(--s6); display: grid; gap: var(--s3); }
.checkout h1 { font-size: var(--fs-40); }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.err { color: var(--err); font-size: var(--fs-14); font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }

.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opt { position: relative; margin: 0 !important; }
.pay-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-opt > span {
  display: grid; justify-items: center; gap: 2px;
  min-height: 96px; padding: var(--s2) var(--s1);
  background: var(--paper); border: 2px solid var(--soft); border-radius: var(--r-md);
  font-weight: 800; font-size: var(--fs-16); text-align: center; cursor: pointer;
}
.pay-opt small { font-weight: 400; font-size: var(--fs-14); color: var(--soft); }
.pay-icon { font-size: var(--fs-28); line-height: 1.1; }
.pay-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.pay-opt input:checked + span small { color: var(--soft-dark); }
.pay-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.note summary {
  min-height: var(--tap); display: flex; align-items: center;
  font-weight: 800; cursor: pointer; color: var(--ink);
}
.note summary { list-style: none; gap: var(--s1); }
.note summary::-webkit-details-marker { display: none; }
.note summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); }
.note[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.note textarea { margin-top: var(--s1); resize: vertical; }

.summary { background: var(--paper); border-radius: var(--r-lg); padding: var(--s3); }
.summary h2 { font-size: var(--fs-20); margin-bottom: var(--s2); }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-14); }
.sum-lines small { color: var(--soft); }
.summary .totals { margin-top: var(--s2); }

.co-min { background: var(--paper); border: 2px solid var(--err); border-radius: var(--r-md); padding: var(--s2); font-weight: 600; display: grid; gap: 12px; }
.co-submit {
  position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--cream) 75%, rgba(246,241,231,0));
}

/* ---------- Visszaigazolás ---------- */
.success { max-width: 560px; margin: 0 auto; padding: var(--s6) var(--gutter) var(--s6); display: grid; gap: var(--s3); text-align: center; }
.success > * { min-width: 0; }
.success-kicker { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); font-size: var(--fs-14); }
.success-num {
  justify-self: center;
  /* A Climate Crisis nagyon széles: a „#BP-0001” kb. 7,4 betűméretnyi. Így 360 px-en is kifér. */
  font-family: var(--font-display); font-size: clamp(28px, calc((100vw - 96px) / 8.6), 64px); line-height: 1; white-space: nowrap;
  background: var(--orange); color: var(--ink);
  padding: var(--s2) var(--s3); border-radius: var(--r-lg);
  font-variant-numeric: tabular-nums;
}
.success h1 { font-size: var(--fs-28); line-height: 1.05; }
.success-status { font-size: var(--fs-16); padding: var(--s2); background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-md); }
.success-status.st-accepted { border-color: var(--ok); }
.success-status.st-rejected { border-color: var(--err); }
.success-status a { font-weight: 800; }
.success .summary { text-align: left; }
.meta { margin: var(--s2) 0 0; display: grid; gap: 6px; font-size: var(--fs-14); }
.meta div { display: flex; justify-content: space-between; gap: 12px; }
.meta dt { color: var(--soft); }
.meta dd { margin: 0; text-align: right; }

.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: var(--s1) 0 0; }
.track li { position: relative; padding-top: var(--s2); font-size: var(--fs-14); font-weight: 600; color: var(--soft); text-align: center; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: var(--line); }
.track li.is-done { color: var(--ink); }
.track li.is-done::before { background: var(--ink); }
.track li.is-now { color: var(--ink); font-weight: 800; }
.track li.is-now::before { background: var(--orange); }

/* A konfetti nem része a három engedélyezett mozgásnak */
.confetti { display: none !important; }

.toast {
  position: fixed; left: 50%; bottom: 104px; z-index: 95;
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: var(--r-md);
  background: var(--ink); color: var(--cream); font-weight: 800; font-size: var(--fs-16);
  box-shadow: var(--shadow-bar);
}

/* ---------- Jogi oldalak (ÁSZF, adatkezelés) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: var(--s3) var(--gutter) var(--s8); line-height: 1.6; }
.legal p, .legal li { max-width: 70ch; }
.legal h1 { font-size: var(--fs-28); line-height: 1.1; margin: var(--s2) 0 var(--s1); }
.legal h2 { font-family: var(--font-body); font-weight: 800; font-size: var(--fs-20); margin: var(--s4) 0 var(--s1); }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal a { font-weight: 600; }
.legal-table { width: 100%; border-collapse: collapse; margin: var(--s1) 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: var(--s1); border-bottom: 1px solid var(--line); }
.legal-table th { width: 28%; color: var(--soft); font-weight: 600; }
@media (max-width: 520px) {
  .legal-table th, .legal-table td { display: block; width: auto; border: 0; padding: 2px 0; }
  .legal-table tr { display: block; padding: var(--s1) 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Csökkentett mozgás: a lenyomás és a sima görgetés is kikapcsol ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .plus:active, .stepper button:active, .btn-red:active, .upsell-card:active { transform: none; }
}

/* ---------- Tablet és asztali gép ---------- */
@media (min-width: 640px) {
  .layout-large .cards { grid-template-columns: 1fr 1fr; }
  .card-large.no-photo { display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (min-width: 768px) {
  .hero { display: block; }
  .hero-media { aspect-ratio: 16 / 9; max-height: 64vh; }
  .hero-body { padding: var(--s6) var(--gutter); }
  .hero h1 { font-size: var(--fs-64); max-width: 12ch; }
  .hero .btn-xl { width: auto; min-width: 320px; }
  .hero-info { text-align: left; }
  .menu-section h2 { font-size: var(--fs-40); }
}
@media (min-width: 1024px) {
  .hero-media { max-height: 56vh; }
  .card-large .ph { aspect-ratio: 16 / 9; }
  .layout-row .cards { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
}

/* =====================================================================
   PROF. A PLAKÁT MÖGÖTT (főoldal, hero jobb felső sarka)
   A fotó a „plakát”. A sarka felhajlik, mögötte a krém fal, onnan kukucskál a Prof.
   Görgetésre (--curl 0→1) a sarok kicsit tovább hajlik. Ez az egyetlen görgetéses mozgás.
   ===================================================================== */
.topbar-link {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s2);
  border: 2px solid var(--ink); border-radius: var(--r-pill);
  color: var(--ink); font-weight: 800; font-size: var(--fs-14); text-decoration: none;
}

.peek {
  --peek: 150px; --curl: 0;
  position: absolute; top: 0; right: 0; z-index: 2;
  width: var(--peek); height: var(--peek);
  transform-origin: 100% 0;
  transform: scale(calc(1 + var(--curl) * 0.2));
  pointer-events: none;
}
/* A felhajtott sarok mögötti fal (jobb felső háromszög), onnan néz ki a Prof. */
.peek-behind {
  position: absolute; inset: 0;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.peek-prof {
  position: absolute; width: 68%; height: auto;
  left: 31%; top: 2%;
  transform: rotate(-8deg);
}
/* A plakát hátoldala: a hajtás a fotóra fekszik, árnyékot vet */
.peek-flap-wrap { position: absolute; inset: 0; filter: drop-shadow(-6px 8px 8px rgba(0,0,0,0.35)); }
.peek-flap {
  position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  background: linear-gradient(45deg, #C9B48F 0%, #E6D7BA 55%, #FBF5EA 100%);
}
/* Ujjak a hajtás élén (a papír fölött) */
.peek-finger {
  position: absolute; width: 12%; height: 8%;
  background: var(--cream); border: 2.5px solid var(--ink); border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.peek-finger.f1 { left: 40%; top: 40%; }
.peek-finger.f2 { left: 50%; top: 50%; }
.peek-finger.f3 { left: 60%; top: 60%; }
@media (min-width: 768px) { .peek { --peek: 220px; } }

/* Labor-firkák: csak asztalon, ahol a cím mellett üres hely van */
.hero-body { position: relative; }
.doodles { display: none; }
@media (min-width: 900px) {
  .doodles { display: block; position: absolute; right: var(--gutter); top: var(--s4); width: 240px; height: 200px; opacity: 0.55; pointer-events: none; }
}

/* Kis sárga jelvény a név mellett (pl. házi szósz) */
.badge {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 8px;
  border-radius: var(--r-pill); background: var(--yellow); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-12); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Történet-előzetes a főoldalon (a menü alatt) ---------- */
.story-teaser { background: var(--ink); color: var(--cream); padding: var(--s6) var(--gutter); }
.teaser-in { max-width: 1120px; margin: 0 auto; display: grid; gap: var(--s4); align-items: center; }
.teaser-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.teaser-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.teaser-photos img:nth-child(2) { margin-top: var(--s4); }
.teaser-kicker { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: var(--fs-14); color: var(--orange); }
.teaser-text h2 { font-size: clamp(28px, 8vw, 48px); margin: var(--s1) 0 var(--s2); }
.teaser-text p:not(.teaser-kicker) { color: var(--soft-dark); margin-bottom: var(--s3); max-width: var(--measure); }
.story-teaser :focus-visible { outline-color: var(--cream); }
@media (min-width: 768px) { .teaser-in { grid-template-columns: 1fr 1fr; } }

/* A burger karaktere a név alatt */
.tagline { margin-top: var(--s1); font-weight: 800; font-size: var(--fs-16); color: var(--ink); }
.card-large.no-photo .tagline { color: var(--cream); }

/* ---------- Menü-ajánló és krumpli-turbó (2026-11-09) ---------- */
.menu-hint { margin-top: 4px; font-size: var(--fs-14); font-weight: 700; }
.card-large.no-photo .menu-hint { color: var(--cream); }
.offer-menu { display: grid; gap: 4px; padding: var(--s2); background: var(--paper); border-radius: var(--r-md); }
.offer-menu strong { font-size: var(--fs-20); }
.offer-price { font-weight: 800; font-size: var(--fs-20); font-variant-numeric: tabular-nums; }
.offer-price small { font-weight: 600; font-size: var(--fs-14); color: var(--soft); }
.offer-sub { margin-top: var(--s3); font-size: var(--fs-16); }
.offer-btns { display: grid; gap: var(--s1); width: 100%; }

/* ---------- Menü-felajánlás: a külön vett ár és a menü ára egymás mellett (2026-11-13) ---------- */
/* EGY ajánlat egy dobozban: fent a menü neve és ára, alatta kicsiben a tartalma és áthúzva a külön vett ár */
.offer-one { display: grid; gap: 8px; margin-top: var(--s2); padding: var(--s2); background: var(--paper); border: 3px solid var(--ink); border-radius: var(--r-md); }
.offer-one-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.offer-one-row > :first-child { min-width: 0; overflow-wrap: anywhere; }
.offer-one-row strong { font-size: var(--fs-20); line-height: 1.2; }
.offer-one-row .offer-price { white-space: nowrap; }
.offer-one-sep { font-size: var(--fs-14); color: var(--soft); line-height: 1.3; }
.offer-one-sep s { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.offer-gift { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--s1); padding: 10px var(--s2); background: var(--orange); color: var(--ink); border-radius: var(--r-md); font-weight: 800; }
.offer-gift span { min-width: 0; overflow-wrap: anywhere; }
.offer-gift strong { font-size: var(--fs-20); white-space: nowrap; font-variant-numeric: tabular-nums; }
#offer-sauces.need { animation: offer-need 600ms ease-out; }
@keyframes offer-need { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px var(--orange); } }
@media (prefers-reduced-motion: reduce) { #offer-sauces.need { animation: none; box-shadow: 0 0 0 4px var(--orange); } }
/* „Első 30 menü” a kosárban és a pénztárban */
.gift-note { margin: var(--s2) 0 0; padding: 10px var(--s2); background: var(--orange); color: var(--ink); border-radius: var(--r-md); font-weight: 800; overflow-wrap: anywhere; }
.totals .gift-row dt, .totals .gift-row dd { font-weight: 800; }
.totals .gift-row dd { white-space: nowrap; }
.totals .gift-row dt { min-width: 0; overflow-wrap: anywhere; padding-right: 12px; }
.sum-lines li > span:last-child { white-space: nowrap; }
/* „Első 30 menü”: az ajánlat sávja a lap tetején, a fejléc alatt */
/* a rendelőoldal háttere narancs, ezért itt krém alapon, fekete kerettel áll, hogy sávként látsszon */
.gift-top { margin: 8px var(--s2); padding: 10px 14px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r-md); font-size: var(--fs-14); font-weight: 800; line-height: 1.3; }
.gift-top[hidden] { display: none; }
.gift-top span, .gift-top small { display: block; }
.gift-top small { margin-top: 2px; font-size: 12px; font-weight: 600; }
