/*
 * VENDEGFELULET · 1/5 — ETLAP, TERMEK, KOSAR
 *
 * Kategoriakartyak, termeksorok es -lapok, kosarszalag, talalasi korok,
 * nyitvatartasi panel. Ez a vendeg BONGESZESI utja: amit lat, mielott
 * rendelne.
 *
 * A BETOLTESI SORREND KOTOTT, es nem izles kerdese. Ezek a fajlok EGY
 * kaszkadot alkotnak — ugyanazt, ami korabban egyetlen `vendeg.css` volt:
 *
 *   vendeg.css  ->  vendeg-vendegut.css  ->  vendeg-dizajn.css
 *               ->  vendeg-reteg.css     ->  vendeg-kartyas.css
 *
 * A darabolas BAJTRA folytonos volt: a reszek osszefuzve karakterre az
 * eredeti fajl. Ezert egyetlen szabaly sem valtoztatta a helyet a
 * kaszkadban — de csak addig, amig a sorrend ez marad. A sorrendet a
 * `lib/header.php` `$vendegLapok` tombje rogziti; ott kell hozzanyulni.
 */

/*
 * ══════════════════════════════════════════════════════════════════════════
 * A `style.css`-BŐL IDEKÖLTÖZÖTT VENDÉG-ONLY RÉSZ
 * ══════════════════════════════════════════════════════════════════════════
 *
 * Kosárszalag, rendeléskövető lépéssor, nyelvváltó, csevegőbuborék, heti
 * menü — 84 szabály, ami SOHA nem fordul elő személyzeti, tulajdonosi vagy
 * kijelzős lapon. A „közös" `style.css`-ben ült, tehát a pult tabletje és a
 * konyhai kijelző is letöltötte minden oldalbetöltéskor.
 *
 * MIÉRT PONT A FÁJL ELEJÉN? Mert a `vendeg.css` közvetlenül a `style.css`
 * után töltődik. Itt, a lap legelején ezek a szabályok pontosan ugyanott
 * állnak a kaszkádban, ahol eddig: minden `style.css`-szabály után, és
 * minden `vendeg.css`-szabály előtt. Ha lejjebb kerülnének, felülírnának
 * olyasmit, amit eddig nem.
 * ══════════════════════════════════════════════════════════════════════════
 */

/*
 * A FOGLALÁSI LAP ŰRLAPJA. Ezek a szabályok a `style.css` szétválasztásakor
 * kiestek: a `.qb-fog__sor > .qb-field` szelektor egy vendégoldali és egy
 * admin oldali osztályt köt össze, a felületek metszete pedig üres lett —
 * a gépi besorolás ebből azt olvasta ki, hogy a szabály sehol nem élhet.
 * Nem így van: a `foglalas.php` vendéglap, itt a helyük.
 */


/* ── Közlemény (elviteli díj, visszaváltási díj) ──────────────────────── */ 


/* A foglalólap kártyái ugyanaz a panel, mint a vezetői lapokon. */ 

/* * LÉTSZÁM GOMBSOR. A társaságok többsége 1–6 fő: azt egy koppintással meg * lehet adni, számbillentyűzet nélkül. A rádiógomb maga rejtve van, a * címke a kattintható felület — így billentyűzetről is bejárható marad. */ 

body.qb-guest:has(.qb-cartbar:not(.is-hidden)) {
  padding-bottom: 96px;
}

.qb-header {border-bottom: 1px solid var(--hairline);
}

.qb-header__meta .qb-link {
  display: inline-block;
  padding: 9px 2px;
}

.qb-catnav__btn.is-active {
  background: var(--mint-solid);
  border-color: var(--mint-solid);
  color: var(--on-accent);
}

.qb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qb-productrow {
  position: relative;
  display: block;
}

.qb-quickadd {align-items: center;
  justify-content: center;cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.qb-quickadd:active {
  transform: translateY(1px);
}

.qb-product {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;  padding: 12px 72px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.qb-product:hover {
  box-shadow: var(--lift-strong);
}

.qb-product:active {
  transform: translateY(1px);
}

.qb-product__main {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.qb-product__name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.qb-product__size {
  display: inline-block;
  margin-right: 8px;
  margin-top: 2px;
  color: var(--ash);
  font-weight: 400;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.qb-sheet--cart > .qb-sheet__backdrop {
  display: none;
}

.qb-sheet.qb-sheet--cart .qb-tape .qb-tape__body {
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

.qb-price__list {
  margin-right: 5px;
  color: var(--ash);
  font-size: 0.8125rem;
  font-weight: 600;
}

.qb-hit {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: -2px;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
}

.qb-akciojel {
  display: inline-flex;
  align-items: center;
  vertical-align: -1px;border-radius: var(--radius-sm);font-weight: 700;
  white-space: nowrap;
}

.qb-course {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(31, 111, 84, .22);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f3fbf7, #fff);
}

.qb-course__mode.is-active { border-color: #20845f; background: #dff5e9; color: #145a40; box-shadow: inset 0 0 0 1px #20845f; }

.qb-course__pick.is-later { border-color: #b77b26; background: #fff6e6; }

.qb-course__pick.is-later .qb-course__check { color: #fff; border-color: #b77b26; background: #b77b26; }

.qb-cartline__steps .qb-stepper button {
  width: 36px;
  height: 36px;
}

.qb-cartline__steps .qb-stepper span {
  width: 26px;
}

.qb-heti__kartya .qb-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.qb-catcard--sor { --cat: #b4791c; }

.qb-catcard--bor { --cat: #a33350; }

.qb-catcard--koktel { --cat: #1a7fa8; }

.qb-catcard--rovid { --cat: #7a4bbd; }

.qb-catcard--kave { --cat: #8a5a2b; }

.qb-catcard--pohar { --cat: #17879b; }

.qb-catcard--leves { --cat: #b35f1c; }

.qb-catcard--level { --cat: #3a8a3f; }

.qb-catcard--hal { --cat: #1a6fa8; }

.qb-catcard--lang { --cat: #c04a24; }

.qb-catcard--tal { --cat: #a06b28; }

.qb-catcard--koret { --cat: #6d8f24; }

.qb-catcard--csepp { --cat: #ab3f2c; }

.qb-catcard--desszert { --cat: #b33c72; }

.qb-catcard--peksuti { --cat: #a67b1f; }

.qb-catcard--snack { --cat: #b8801c; }

.qb-catcard--ajandek { --cat: #9c3f93; }

.qb-catcard--etel { --cat: #4f6478; }

.qb-catcard--ital { --cat: #2a719b; }

@media (prefers-color-scheme: dark) {
  .qb-catcard--sor { --cat: #e0a851; }
  .qb-catcard--bor { --cat: #e07a95; }
  .qb-catcard--koktel { --cat: #5cb8dd; }
  .qb-catcard--rovid { --cat: #b394ec; }
  .qb-catcard--kave { --cat: #cf9a63; }
  .qb-catcard--pohar { --cat: #4fc0d1; }
  .qb-catcard--leves { --cat: #e59a52; }
  .qb-catcard--level { --cat: #6fc274; }
  .qb-catcard--hal { --cat: #5aa9de; }
  .qb-catcard--lang { --cat: #ec8560; }
  .qb-catcard--tal { --cat: #d6a45f; }
  .qb-catcard--koret { --cat: #a6c85a; }
  .qb-catcard--csepp { --cat: #e08272; }
  .qb-catcard--desszert { --cat: #e57fae; }
  .qb-catcard--peksuti { --cat: #dcb455; }
  .qb-catcard--snack { --cat: #e4b054; }
  .qb-catcard--ajandek { --cat: #d484cc; }
  .qb-catcard--etel { --cat: #93a6ba; }
  .qb-catcard--ital { --cat: #6badd6; }}

.qb-cartreco__item > .qb-btn {
  align-self: stretch;  margin-top: auto;
  padding-inline: 8px;  border-color: var(--mint-solid);}
.qb-buzzer.is-active {
  background: var(--tint-mint);
  border-color: var(--mint);
}

.qb-steps li.is-done::before,
.qb-steps li.is-now::before {
  background: var(--mint);
}

.qb-steps li.is-done .qb-steps__dot {
  border-color: var(--mint);
  background: var(--mint);
}

.qb-steps li.is-done .qb-steps__dot::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--on-accent);
  border-left: 2px solid var(--on-accent);
  transform: rotate(-45deg);
}

.qb-steps li.is-done .qb-steps__label {
  color: var(--ink);
}

.qb-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.qb-product__img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;  border-radius: var(--radius-sm);
  object-fit: cover;
}

.qb-product__img--none {
  background: transparent;
}

.qb-list--images .qb-product {
  align-items: flex-start;
}

.qb-sheet__scroll > .qb-sheet__intro,
.qb-sheet__scroll > .qb-sheet__body {
  padding-left: 16px;
  padding-right: 16px;
}

body.qb-guest .qb-pagefoot .qb-kozlsav {
  gap: 10px;
}

body.qb-guest .qb-pagefoot .qb-kozl {
  position: relative;
  overflow: hidden;
  padding: 14px 16px 14px 18px;
  border-radius: var(--edge);
  box-shadow: 0 1px 0 rgba(27, 25, 21, 0.04);
}

body.qb-guest .qb-pagefoot .qb-kozl::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
}

body.qb-guest .qb-pagefoot .qb-kozl.is-highlight {
  background: var(--surface);
  border-width: 1px;
  border-color: var(--brand);
}

body.qb-guest .qb-pagefoot .qb-kozl.is-highlight::before {
  background: var(--amber);
}

.qb-suggest__item > .qb-btn {
  align-self: stretch;
  justify-content: center;
  margin: 0 10px;
}

@media (max-width: 480px) {
  .qb-steps__label {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .qb-cartreco {
    padding: 10px;
  }

  .qb-cartreco__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .qb-cartreco__item {
    width: 100%;
    min-width: 0;
    padding: 6px;
  }

  .qb-cartreco__img {
    height: clamp(54px, 16vw, 72px);
  }

  .qb-cartreco__nev {
    font-size: 0.7rem;
  }

  .qb-cartreco__ar {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .qb-cartreco__item > .qb-btn {
    min-height: 34px;
    padding: 5px;
  }}

.qb-farewell .qb-btn {
  display: inline-flex;
  margin-top: 24px;
  text-decoration: none;
}

.qb-heti .qb-heti__kartya .qb-btn {
  align-self: auto;
  margin-top: 0;
}

.qb-sheet .qb-tape .qb-tape__body {
  max-height: 86dvh;
  padding: 18px;
  background:
    linear-gradient(180deg, var(--surface) 0, var(--paper) 100%);
}

.qb-sheet .qb-tape .qb-cartline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;  border-radius: var(--radius);}

.qb-sheet .qb-tape .qb-cartline__img {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
}

.qb-sheet .qb-tape .qb-cartline__right {
  align-self: stretch;
}

.qb-sheet .qb-tape .qb-cartline__amount {
  font-size: 1.04rem;
}

.qb-sheet .qb-tape .qb-cartline__steps {
  flex-wrap: wrap;
}

.qb-sheet .qb-tape .qb-tapesum {  border-color: var(--ink);
  color: var(--paper);}
.qb-sheet .qb-tape .qb-tape__totalvalue,
.qb-sheet .qb-tape .qb-tape__totallabel {
  color: var(--paper);
}


body.qb-guest {
  --main-pad-x: 14px;}

body.qb-guest .qb-catnav__inner {
  gap: 6px;
  padding-inline: var(--main-pad-x);
}

body.qb-guest .qb-catnav__btn {
  padding: 8px 12px;}

.qb-statusmain {margin: 0 auto;
  padding: 16px var(--main-pad-x, 14px) 28px;
}

.qb-statusmain .qb-suggest {
  padding: 12px;
}

.qb-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;}

.qb-badge {
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/*
 * NYITVA MEDDIG. A vendég első kérdése: még rendelhetek? A záró idő a MAI
 * napra vonatkozik (nem heti átlag), és csak akkor kerül ki, amikor tényleg
 * nyitva vagyunk — zárás után a nagy „rendelési szünet" kártya beszél
 * helyette. Az élő zöld pont jelzi, hogy most megy a felvétel.
 */
.qb-openhours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 9px;
  border: 1px solid color-mix(in srgb, var(--mint) 32%, var(--hairline));
  border-radius: var(--radius);
  background: var(--mint-soft);
  color: var(--mint-solid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.qb-openhours b {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.qb-openhours__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--mint-solid);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 22%, transparent);
  animation: qb-openpulse 2.4s ease-in-out infinite;
}

@keyframes qb-openpulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 22%, transparent); }
  50%      { box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint) 8%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .qb-openhours__dot { animation: none; }
}

/*
 * RENDELÉSI SZÜNET. Ez nem hibaüzenet: a vendég semmit nem rontott el, csak
 * rossz pillanatban nyitotta meg az étlapot. A nagy, meleg kártya megállítja
 * a szemet, a sötét időblokk pedig egy pillantásra megválaszolja a fontos
 * kérdést: mikor lehet újra rendelni.
 */
.qb-orderpause {
  position: relative;
  margin: 22px var(--page-pad) 26px;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--surface) 0%, var(--amber-soft) 100%);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--lift-strong);
}

.qb-orderpause::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  opacity: 0.2;
}

.qb-orderpause__glow {
  position: absolute;
  top: -90px;
  left: -70px;
  width: 230px;
  height: 230px;
  background: var(--amber-soft);
  border-radius: var(--radius);
  filter: blur(2px);
}

.qb-orderpause__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--surface);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  color: var(--amber);
  transform: rotate(-3deg);
}

.qb-orderpause__icon svg {
  width: 44px;
  height: 44px;
}

.qb-orderpause__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.qb-orderpause__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qb-orderpause__dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: var(--radius);
  box-shadow: 0 0 0 5px var(--amber-soft);
}

.qb-orderpause__headline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qb-orderpause__title {
  max-width: 660px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.8vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.qb-orderpause__lead {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--ash);
  font-size: 0.98rem;
}

.qb-orderpause__hours {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 11px 14px;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  color: var(--paper);
}

.qb-orderpause__hours span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.qb-orderpause__hours strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/*
 * MIT LEHET MOST CSINÁLNI — a „mikor nyitunk" sáv ALATT.
 *
 * A fölötte lévő fekete sáv ADATOT közöl (mai nyitvatartás), ez pedig
 * KIUTAT kínál: mikor jöhet vissza, és hogy addig foglalhat asztalt. Ezért
 * nem fut egybe vele: nincs saját háttere, csak egy halk elválasztó vonal —
 * a panel nem lesz tőle második doboz, de a két gondolat elválik.
 */
.qb-orderpause__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.qb-orderpause__nextline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.qb-orderpause__nextline strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 520px) {
  /* Telefonon a gomb ne szoruljon a szöveg mellé egy sorba. */
  .qb-orderpause__next {
    flex-direction: column;
    align-items: stretch;
  }

  .qb-orderpause {
    margin: 14px 14px 22px;
  }

  .qb-orderpause__headline {
    align-items: flex-start;
    gap: 14px;
  }

  .qb-orderpause__icon {
    width: 58px;
    height: 58px;
  }

  .qb-orderpause__icon svg {
    width: 36px;
    height: 36px;
  }

  .qb-orderpause__hours {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }}

/* ── Kategórianavigáció ────────────────────────────────────────────────── */

.qb-catnav {
  position: sticky;
  top: 0;
  z-index: 20;  border-bottom: 1px solid var(--hairline);
}

.qb-catnav__inner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.qb-catnav__inner::-webkit-scrollbar {
  display: none;
}

.qb-catnav__btn {
  flex: 0 0 auto;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

/* ── Étlap ─────────────────────────────────────────────────────────────── */

.qb-section {
  padding: 28px var(--main-pad-x, 20px) 0;
  scroll-margin-top: 60px;
}

.qb-list,
.qb-suggest__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

/* ── A lap alja ────────────────────────────────────────────────────────── */

.qb-pagefoot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  padding: 22px var(--main-pad-x, 20px) 8px;
  border-top: 1px solid var(--hairline);
  color: var(--ash);
}

.qb-pagefoot__vat {
  margin: 0;
  font-size: 0.8125rem;
}

.qb-pagefoot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.8125rem;
}


.qb-btn__icon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.qb-btn--icon {
  min-width: 40px;
  padding-right: 0;
  padding-left: 0;
}

/* ── Kosár-sáv ─────────────────────────────────────────────────────────── */

.qb-cartbar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;  border: 1px solid var(--mint-solid);
  border-radius: var(--radius);font-weight: 700;
  cursor: pointer;
}

.qb-cartbar__icon {
  display: block;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
}
.qb-cartbar:active {
  background: var(--mint-solid-active);
  border-color: var(--mint-solid-active);
}

.qb-cartbar__db {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: rgba(255, 253, 248, 0.22);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.qb-cartbar__total {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.qb-offline {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.qb-sheet--cart {
  justify-content: stretch;
  background: var(--surface);
}

.qb-sheet--cart .qb-tape {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  /* A teljes képernyős kosárszalag SZÁNDÉKOSAN szögletes: a képernyő széléig
     ér, ott nincs mit lekerekíteni. Ez az egyetlen kivétel a vendégfelület
     egységes `--radius` kerekítése alól. */
  border-radius: 0;
  box-shadow: none;
}

.qb-carthead__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
}

.qb-sheet__foot {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}

/* ── Opciócsoportok ────────────────────────────────────────────────────── */

.qb-group {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.qb-group__legend {
  padding: 0;}

.qb-group__list {  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.qb-option {  align-items: center;
  gap: 12px;cursor: pointer;
}
.qb-option input {accent-color: var(--ink);
}

.qb-option__name {
  flex: 1 1 auto;
}
.qb-option__kcal {
  color: var(--ash);
  font-family: var(--font-mono);  opacity: 0.85;
}

/*
 * CSÍPŐSSÉG ÉS KOFFEIN — ugyanaz a nyelv, két szín. Egy szabály, két
 * szelektor: két másolatból előbb-utóbb kétféle méret lenne, és a két
 * jelölés egymás mellett a sorban kilógna egymástól.
 */
.qb-chili,
.qb-kavebab {
  display: inline-flex;
  align-items: center;
  vertical-align: -2px;
  color: var(--plum);
}

/* A kávébab a márka barnája, nem a chili pirosa. */
.qb-kavebab {
  color: var(--brand-dark);
}

.qb-chili__ikon,
.qb-kavebab__ikon {
  width: 15px;
  height: 15px;
  margin-right: -3px;
}

.qb-sheet__chili {
  margin: 2px 0 0;
}

.qb-sheet__chili .qb-chili__ikon {
  width: 18px;
  height: 18px;
}

/* ── Kosárösszesítő ────────────────────────────────────────────────────── */

.qb-tape .qb-tape__body {
  max-height: 82dvh;
  padding: 20px 20px 24px;
  overflow-y: auto;
  background: var(--paper);
}

.qb-tape__head {
  padding: 0 0 14px;
}

.qb-tape__venue {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.qb-tape__meta {
  margin: 4px 0 0;
  color: var(--ash);
  font-size: 0.875rem;
  font-weight: 600;
}

.qb-tape__lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}


.qb-tape__row {
  display: flex;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.qb-tape__qty {
  flex: 0 0 auto;
  color: var(--ash);
}

.qb-tape__name {
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qb-leader {
  flex: 1 1 auto;
  min-width: 12px;
  margin: 0 6px 5px;
  border-bottom: 1px dotted var(--hairline);
}

.qb-tape__amount {
  flex: 0 0 auto;
  font-weight: 500;
}

.qb-tape__linenote {
  font-style: italic;
}

.qb-tape__step,
.qb-tape__trash {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: inherit;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.qb-tape__step:hover {
  border-color: var(--hairline-strong);
}

.qb-tape__trash {
  width: 32px;
  height: 32px;
  background: none;
  border-color: transparent;
  color: var(--ash);
}

.qb-tape__trash:hover {
  background: var(--tint-plum);
  color: var(--plum);
}

.qb-tape__trash svg {
  width: 18px;
  height: 18px;
}

/* ── Kosársor (kártya) ─────────────────────────────────────────────────── */

.qb-tape .qb-cartline {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  animation: qb-tape-in 180ms ease-out;
}

.qb-tape .qb-cartline__img {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  background: var(--hairline);
  border-radius: var(--radius);
  object-fit: cover;
}

.qb-cartline__main {
  flex: 1 1 auto;
  min-width: 0;
}

.qb-cartline__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.qb-course__head strong { color: #164e3b; font-size: 1.05rem; }
.qb-course__head p,
.qb-course__hint { margin: .25rem 0 0; color: var(--ash); font-size: .88rem; line-height: 1.45; }
.qb-course__modes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .85rem; }
.qb-course__mode { min-height: 44px; padding: .65rem .75rem; font-weight: 750; }
.qb-course__picks { margin-top: .85rem; }
.qb-course__list { list-style: none; margin: .65rem 0 0; padding: 0; display: grid; gap: .45rem; }
.qb-course__pick { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: .55rem; padding: .7rem; text-align: left; }
.qb-course__pick small { color: var(--ash); font-weight: 700; }
.qb-course__check { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #b8c8c0; border-radius: var(--radius); }

@media (max-width: 480px) {
  .qb-course__modes { grid-template-columns: 1fr; }
  .qb-course__pick { grid-template-columns: 24px 1fr; }
  .qb-course__pick small { grid-column: 2; }}

.qb-cartline__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qb-cartline__qty {
  min-width: 24px;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.qb-tape .qb-cartline__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  gap: 12px;
}

.qb-tape .qb-cartline__amount {
  font-family: var(--font-mono);
  font-size: 1rem;  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.qb-tapesum {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}

.qb-tape__sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;  font-size: 0.9375rem;
}

.qb-tape__sublabel {
  white-space: nowrap;
}

.qb-tape__subvalue {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.qb-tape__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.qb-tape__totallabel {
  font-size: 1.0625rem;
  font-weight: 700;
}

.qb-tape__totalvalue {
  font-family: var(--font-mono);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ── Kiemelt termékek (kirakat) ────────────────────────────────────────── */

.qb-showcase {
  margin: 0 0 28px;
  padding: 24px 0 0;
}

.qb-showcase__title,
.qb-showcase__lead {
  padding: 0 var(--main-pad-x, 20px);
}

.qb-showcase__title {
  margin: 0 0 2px;
  font-family: var(--font-display);}

.qb-showcase__lead {
  margin: 0 0 14px;}

.qb-showcase__list {
  display: grid;margin: 0;
  padding: 4px var(--main-pad-x, 20px) 8px;
  list-style: none;
}

.qb-showcase__item {
  min-width: 0;
}

.qb-showcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.qb-showcard:hover {
  box-shadow: var(--lift-strong);
}

.qb-showcard:active {
  transform: translateY(1px);
}

.qb-showcard__img {
  display: block;
  width: 100%;  object-fit: cover;}

.qb-showcard__body {
  display: flex;
  flex-direction: column;}

.qb-showcard__name {  font-weight: 700;}

.qb-showcard__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--ash);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.qb-showcard__price {  font-size: 0.9375rem;}

.qb-showcard__unit {
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: normal;
}

@media (max-width: 560px) {
  .qb-showcase__list {
    gap: 8px;
  }

  .qb-showcard {
    padding-bottom: 10px;
  }

  .qb-showcard__body {
    gap: 2px;  }

  .qb-showcard__name {
    font-size: 0.8125rem;
    line-height: 1.2;
  }

  .qb-showcard__desc,
  .qb-showcard__unit {
    display: none;
  }

  .qb-showcard__price {
    margin-top: 4px;
    font-size: 0.8125rem;
  }}

/* ── Heti menü ─────────────────────────────────────────────────────────── */

.qb-heti {
  margin: 0 0 28px;
  padding: 24px 0 0;
}

.qb-heti__lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 4px var(--main-pad-x, 20px) 8px;
  list-style: none;
}

.qb-heti__kartya {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 184px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  --cat: var(--brand);
}

.qb-heti__kartya:hover {
  box-shadow: var(--lift-strong);
}

.qb-heti__ghost {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 92px;
  height: 92px;
  color: var(--cat);
  opacity: 0.09;
  pointer-events: none;
}

.qb-heti__ikon {
  width: 26px;
  height: 26px;
  color: var(--cat);
}

.qb-heti .qb-heti__nev {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.qb-heti__nev .qb-heti__ar {
  margin-left: auto;
}

.qb-heti__ar {  font-size: 0.95rem;}

.qb-heti__fogasok {
  margin: 0;
  padding-left: 18px;
  color: var(--ash);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.qb-heti__fogasok li {
  margin: 2px 0;
}

.qb-heti__fogas {
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
  cursor: pointer;
}

.qb-heti__fogas:hover {
  text-decoration-color: var(--brand);
}

.qb-heti__tobbi {
  margin: 4px var(--main-pad-x, 20px) 0;
  font-size: 0.9375rem;
}

.qb-heti__tobbi summary {
  padding: 8px 0;
  color: var(--ash);
  cursor: pointer;
}

.qb-heti__napnev {
  margin: 12px var(--main-pad-x, 20px) 0;
  font-weight: 700;
}

/* ── Kategória-kártyák ─────────────────────────────────────────────────── */

.qb-catgrid__title {
  margin: 0 0 14px;
  padding: 0 var(--main-pad-x, 20px);
  font-family: var(--font-display);}

.qb-catnav__back {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 10px;
  color: var(--ink);
  font-size: 1.125rem;
  text-decoration: none;
}

.qb-cathead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.qb-cathead__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--cat, var(--mint));
}

.qb-cathead__count {
  margin: 2px 0 0;
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
}

.qb-catgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));  margin: 0 0 32px;
  padding: 0 var(--main-pad-x, 20px);
}

@media (min-width: 640px) {
  .qb-catgrid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }}

.qb-catcard {
  position: relative;  text-decoration: none;
  display: flex;
  flex-direction: column;background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.qb-catcard:hover {
  box-shadow: var(--lift-strong);
}

.qb-catcard:active {
  transform: translateY(1px);
}

.qb-catcard__ghost {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 96px;
  height: 96px;
  color: var(--cat, var(--mint));  pointer-events: none;
}

.qb-catcard__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;  min-width: 0;
}

.qb-catcard__name {  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.qb-catcard__count {  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: -0.02em;
}

/*
 * FOTÓS KATEGÓRIAKÁRTYA.
 *
 * Ahol a tulajdonos feltöltött képet, a fénykép veszi át a háttérikon
 * szerepét. A sötétítő fátyol nem díszítés: enélkül a kártya neve egy világos
 * fotón olvashatatlan — és épp az ilyen kép a legvalószínűbb (tányér, terítő).
 * A szöveg világos szürke, nem tiszta fehér: ugyanaz a szabály, mint a
 * rendszer többi sötét felületén.
 */
/*
 * A FOTÓ LÁTSZIK, A SZÖVEG ALATTA VAN.
 *
 * Korábban a kép a KÁRTYA EGÉSZÉT kitöltötte, fölötte egy sötét átmenettel,
 * és a név meg a darabszám ráült. Ettől a kávé és a croissant alig
 * látszott: a fotó háromnegyedét elvitte a sötétítés és a szöveg.
 *
 * Most a fotó a kártya FELSŐ része, a szöveg pedig egy tömör sávban alatta.
 * A kép így teljes fényében látszik, a szöveg pedig olvasható marad —
 * eddig mind a kettő rosszul járt.
 */
.qb-catcard--foto {  padding: 0;
  gap: 0;
}

.qb-catcard__foto {
  display: block;
  flex: 1 1 auto;
  width: 100%;  object-fit: cover;
}

/*
 * AZ IKON A FOTÓ SARKÁBAN, saját korongon. A képen közvetlenül elveszne —
 * egy világos fotón a világos vonal nem látszik.
 */
.qb-catcard--foto .qb-catcard__icon {
  position: absolute;z-index: 1;border-radius: var(--radius);}
/* ── Értesítés-részletek felugró ablakban ──────────────────────────────── */

/*
 * A DOBOZBAN EGY SOR ÁLL, a részletek itt. Korábban egy négysoros bekezdés
 * volt a lapon — a vendég annyit értett belőle, hogy „valami nem működik".
 */
.qb-buzzer__reszlet {
  display: block;
  font-size: 0.8125rem;
}

.qb-buzzer__gombok {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Halk hivatkozás, nem gomb: ez nem művelet, csak magyarázat. */
.qb-buzzer__tobb {
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--mint-solid);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.qb-ertesitesablak {
  width: min(92vw, 460px);
  max-height: 82vh;
  padding: 20px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--lift-strong);
  color: var(--ink);
  overflow-y: auto;
}
.qb-ertesitesablak__cim {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.qb-ertesitesablak__alcim {
  margin: 18px 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

.qb-ertesitesablak p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}


.qb-ertesitesablak__zar {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}

/* ── Ajánló a kosárban ─────────────────────────────────────────────────── */

.qb-cartreco {
  margin-top: 18px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.qb-cartreco__title {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.qb-cartreco__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qb-cartreco__item {
  display: flex;
  flex-direction: column;  min-width: 0;  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.qb-cartreco__img {background: var(--hairline);  object-fit: cover;
}

.qb-cartreco__nev {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.qb-tape__note {
  margin: 4px 0 16px;  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: right;
  font-weight: 700;
  text-transform: uppercase;
}

.qb-tape__link {
  flex: 0 1 auto;
  width: auto;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.qb-tape__link--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  text-decoration: none;
}

.qb-tape__link--icon:hover {
  border-color: var(--hairline-strong);
  color: var(--brand-dark);
}

.qb-tape__link--icon .qb-btn__icon {
  width: 18px;
  height: 18px;
}

/* ── Rendeléskövetés ───────────────────────────────────────────────────── */

.qb-buzzer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 var(--page-pad) 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);  border-radius: var(--radius);
}

.qb-buzzer__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.qb-buzzer__copy strong,
.qb-buzzer__copy span {
  display: block;
}

.qb-buzzer__copy strong {
  font-size: 0.95rem;
}

.qb-buzzer__copy span {
  margin-top: 2px;
  color: var(--ash);
  font-size: 0.82rem;
  line-height: 1.35;
}

.qb-orders {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  list-style: none;
}

.qb-orders > li + li {
  margin-top: 12px;
}

.qb-order {  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);}

.qb-order__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.qb-order__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.qb-order__reorder {
  min-height: 50px;
  padding-inline: 18px;
  box-shadow: 0 8px 20px rgba(8, 119, 91, 0.18);
}

.qb-pickupcode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 4px;
  padding: 16px 18px;
  background: var(--mint-solid);
  border-radius: var(--radius);
  color: var(--on-accent);
  box-shadow: 0 8px 24px rgba(8, 119, 91, 0.18);
}

.qb-pickupcode__copy span,
.qb-pickupcode__copy strong {
  display: block;
}

.qb-pickupcode__copy span {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.qb-pickupcode__copy strong {
  margin-top: 2px;
  font-size: 1rem;
}

.qb-pickupcode__value {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 460px) {
  .qb-buzzer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .qb-pickupcode {
    gap: 12px;
    padding: 14px;
  }

  .qb-pickupcode__copy strong {
    font-size: 0.9rem;
  }

  .qb-pickupcode__value {
    font-size: 1.55rem;
  }}

.qb-steps {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}

.qb-steps li {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

.qb-steps li::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 50%;
  left: -50%;
  height: 3px;
  background: var(--hairline);
  border-radius: var(--radius);
}

.qb-steps li:first-child::before {
  display: none;
}

.qb-steps li.is-now.is-final::before {
  background: var(--mint);
  animation: none;
}

.qb-steps li.is-now::before {  background-size: 200% 100%;}

.qb-steps__dot {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 3px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}

.qb-steps li.is-now .qb-steps__dot {animation: qb-step-pulse 2s ease-in-out infinite;
}

.qb-steps li.is-now .qb-steps__dot::after {
  content: "";
  position: absolute;
  inset: 4px;  border-radius: var(--radius);
}

.qb-steps li.is-now.is-final .qb-steps__dot {
  border-color: var(--mint);
  background: var(--surface);
  box-shadow: 0 0 0 6px var(--mint-soft);
  animation: none;
}

.qb-steps li.is-now.is-final .qb-steps__dot::after {
  inset: auto;
  top: 4px;
  left: 5px;
  width: 7px;
  height: 4px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--mint);
  border-left: 2px solid var(--mint);
  border-radius: var(--radius);
  transform: rotate(-45deg);
}

.qb-steps__label {
  display: block;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}
.qb-steps li.is-now.is-final .qb-steps__label {
  color: var(--mint);
}

.qb-issuebox {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  background: var(--amber-soft);
  font-size: 0.9rem;
}
.qb-issuebox strong {
  display: block;
}

.qb-issuebox span {
  color: var(--ash);
}

.qb-linkbtn {
  margin-top: 12px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.qb-linkbtn[disabled] {
  opacity: 0.5;
  cursor: default;
}

.qb-confirmed {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--mint);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.qb-tablefeedback {
  border-top: 1px solid var(--hairline);
}

.qb-tablefeedback__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 16px 0 18px;
}

.qb-tablefeedback .qb-confirmed,
.qb-tablefeedback .qb-linkbtn {
  margin-top: 0;
}

.qb-feedback__ok {
  padding: 3px 0;
  background: none;
  border: 0;
  color: var(--mint);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.qb-feedback__ok:hover,
.qb-feedback__ok:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.qb-feedback__ok[disabled] {
  opacity: 0.55;
  cursor: default;
}

.qb-page--doc {
  max-width: 40rem;
}

.qb-doc__back {
  margin-top: 32px;
}

/* ── Allergénszűrő ────────────────────────────────────────────────────── */

.qb-allergens {border-bottom: 1px solid var(--hairline);
}

.qb-allergens__title {
  margin: 0 0 10px;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.qb-allergens__note {
  margin: 10px 0 0;
  color: var(--plum);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ── Termék-lap ─────────────────────────────────────────────────────────── */

.qb-sheet__panel--product {
  display: flex;
  flex-direction: column;  padding: 0;
  overflow: hidden;
}

@media (min-width: 600px) {
  .qb-sheet__panel--product {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius);
  }}

.qb-sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.qb-sheet__panel--product > .qb-sheet__figure {
  flex: 0 0 auto;
}


.qb-sheet__figure {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;  background: var(--hairline);
  cursor: zoom-in;
  overflow: hidden;
}

.qb-sheet__figure img {
  display: block;
  width: 100%;object-fit: cover;
}

.qb-sheet__figurehint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(22, 25, 28, 0.62);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.qb-sheet__x {
  position: absolute;z-index: 2;display: flex;
  align-items: center;
  justify-content: center;color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;}

.qb-sheet__x:hover {
  background: var(--surface);
}

.qb-sheet__intro {
  padding-top: 14px;
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qb-sheet__price {
  margin: 0;  font-family: var(--font-mono);
  font-size: 1.1875rem;  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.qb-sheet__meta {
  margin: 0;
  color: var(--ash);
  font-size: 0.8125rem;
}


.qb-sheet__eyebrow {
  margin: 0 0 2px;
  color: var(--ash);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Termékadatok ──────────────────────────────────────────────────────── */

.qb-specs {  flex-wrap: wrap;}
.qb-sheet__allergen {  color: var(--ash);
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ── Ajánló a termék lapján ─────────────────────────────────────────────── */

.qb-recos__title {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.qb-recos {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.qb-reco {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}

.qb-reco__img {object-fit: cover;  background: var(--hairline);
}

.qb-reco__name {
  font-size: 0.8125rem;
  line-height: 1.25;
}

.qb-reco__price,
.qb-cartreco__ar {  font-size: 0.8125rem;}

.qb-reco__add {
  align-self: flex-end;  align-items: center;
  justify-content: center;margin-top: auto;cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.qb-reco__add .qb-btn__icon {
  width: 17px;
  height: 17px;
}

.qb-reco__add:hover {  transform: translateY(-1px);
}
