:root {
  --bg: #1C130D;
  --bg-soft: #2A1D14;
  --card: #FBF1E2;
  --ink: #241509;
  --brick: #B23B20;
  --ember: #E8752B;
  --cheese: #F0A93E;
  --cream: #F5E7D3;
  --basil: #5B8C3E;
  --muted: #9C8975;
  --muted-dark: #6b5c4d;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(232,117,43,0.16), transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(240,169,62,0.10), transparent 40%);
  color: var(--cream);
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
h1, h2, h3 { font-family: 'Archivo Black', sans-serif; margin: 0; line-height: 1.05; }

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 5vw, 48px) 18px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--ember), var(--brick));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  color: var(--cream);
  box-shadow: var(--shadow);
}
.brand-text h1 {
  font-size: clamp(1.3rem, 3.6vw, 1.9rem);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.brand-text h1 em { font-style: normal; color: var(--cheese); }
.tagline { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }
.phone-pill {
  flex: none;
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid rgba(240,169,62,0.35);
  color: var(--cheese);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ---------- Category nav ---------- */
.cat-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px clamp(16px, 5vw, 48px) 18px;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-btn {
  flex: none;
  border: 1px solid rgba(245,231,211,0.18);
  background: transparent;
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.cat-btn.active {
  background: var(--ember);
  border-color: var(--ember);
  color: #221208;
}

/* ---------- Menu ---------- */
.menu-grid {
  padding: 8px clamp(16px, 5vw, 48px) 140px;
  max-width: 1100px;
  margin: 0 auto;
}
.menu-section { margin-bottom: 40px; }
.menu-section h2 {
  color: var(--cream);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  border-left: 6px solid var(--brick);
  padding-left: 12px;
  margin-bottom: 16px;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  background: var(--cat-bg, var(--card));
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease;
}
.product-card h3 { font-size: 1.02rem; font-family: 'Karla', sans-serif; font-weight: 700; }
.product-card p.desc {
  margin: 0;
  color: #55483a;
  font-size: 0.9rem;
  flex-grow: 1;
}
.product-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.price { font-weight: 700; font-size: 1.05rem; color: var(--brick); }
.add-btn {
  border: none;
  background: var(--brick);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Karla', sans-serif;
}
.add-btn:hover { background: var(--ember); }

.product-card.unavailable {
  filter: grayscale(0.85);
  opacity: 0.55;
}
.product-card.unavailable .add-btn {
  background: var(--muted-dark);
  cursor: not-allowed;
}
.sold-out-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6b5c4d;
  background: rgba(0,0,0,0.06);
  padding: 3px 9px;
  border-radius: 6px;
  align-self: flex-start;
}

/* ---------- Cart bar ---------- */
.cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brick);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 48px);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  z-index: 20;
}
.cart-summary { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; }
.cart-summary strong { font-size: 1.15rem; }
.btn-primary {
  border: none;
  background: var(--cheese);
  color: #241509;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Karla', sans-serif;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-secondary {
  border: 1px solid rgba(36,21,9,0.25);
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,9,5,0.7);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  padding: 0;
}
.modal {
  background: var(--card);
  color: var(--ink);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  position: relative;
}
@media (min-width: 640px) {
  .modal-backdrop { align-items: center; }
  .modal { border-radius: 20px; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  border: none;
  background: rgba(36,21,9,0.08);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ink);
}
.modal h2 { margin-bottom: 14px; font-size: 1.3rem; }
.cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(36,21,9,0.15);
  padding-bottom: 8px;
}
.cart-item-row .qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(36,21,9,0.3);
  background: transparent; cursor: pointer; font-weight: 700;
}
.cart-grand-total { text-align: right; font-size: 1.05rem; margin: 6px 0 18px; }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; font-size: 0.9rem; font-weight: 700; }
.field input, .field textarea {
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(36,21,9,0.25);
  background: #fff;
  font-weight: 400;
  resize: vertical;
}
.optional { color: var(--muted-dark); font-weight: 400; font-size: 0.8rem; }
.required { color: var(--brick); }
.delivery-choice { border: none; padding: 0; margin: 0 0 14px; }
.delivery-choice legend { font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-bottom: 6px; }
.form-error { color: var(--brick); font-weight: 700; font-size: 0.88rem; }
.btn-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 6px; }

.order-success { text-align: center; padding: 20px 0; }
.order-success p { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  padding: 34px clamp(16px, 5vw, 48px) calc(34px + env(safe-area-inset-bottom, 0px));
  margin-top: 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer-col h3 { font-size: 0.95rem; color: var(--cheese); margin-bottom: 8px; font-family:'Karla',sans-serif; }
.footer-col p { margin: 4px 0; color: var(--muted); font-size: 0.88rem; }
.footer-col.privacy p { font-size: 0.8rem; line-height: 1.6; }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}

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

/* ---------- Round 1 additions ---------- */
.badge-18 { display: inline-block; background: var(--brick); color: var(--cream); font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; vertical-align: middle; }
.allergens { margin: 0; font-size: 0.78rem; color: #6b5c4d; }
.extras { font-size: 0.86rem; border-top: 1px dashed rgba(36,21,9,0.18); padding-top: 6px; }
.extras summary { cursor: pointer; font-weight: 700; color: var(--brick); }
.extra-opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.extra-opt .extra-price { margin-left: auto; font-weight: 700; color: var(--brick); }
.extra-opt.off { opacity: 0.5; }
.product-card .add-btn:disabled { background: var(--muted-dark); cursor: not-allowed; }

.closed-banner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center;
  margin: 0 clamp(16px, 5vw, 48px) 18px; padding: 18px 22px;
  background: var(--bg-soft); border: 1px solid rgba(240,169,62,0.3); border-radius: 18px;
}
.sleepy-burger { width: 170px; height: auto; overflow: visible; }
.burger-body { transform-origin: 110px 176px; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035, 1.02); } }
.zzz { font-family: 'Archivo Black', sans-serif; fill: var(--cheese); opacity: 0; animation: zfloat 3.2s ease-in-out infinite; }
.zzz.z1 { font-size: 18px; animation-delay: 0s; }
.zzz.z2 { font-size: 24px; animation-delay: 0.8s; }
.zzz.z3 { font-size: 30px; animation-delay: 1.6s; }
@keyframes zfloat { 0% { opacity: 0; transform: translate(0, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -14px); } }
.closed-text { max-width: 420px; }
.closed-text h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--cheese); margin-bottom: 6px; }
.closed-text p { margin: 4px 0; color: var(--cream); }
.closed-next { color: var(--muted); font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .burger-body, .zzz { animation: none; } .zzz { opacity: 0.9; } }
.sleepy-video { width: min(320px, 80vw); height: auto; border-radius: 14px; }
.sleepy-video[hidden] { display: none; }

.fee-lines { margin: 6px 0 0; }
.fee-line { display: flex; justify-content: space-between; font-size: 0.9rem; color: #4a3c2d; padding: 3px 0; }
.cart-item-row .cart-name { flex: 1; }
.cart-extras { font-size: 0.78rem; color: #6b5c4d; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; margin-bottom: 14px; }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine-print { font-size: 0.75rem; color: #6b5c4d; margin: 10px 0 0; }
.order-number-big { font-size: 1.15rem; }
.success-total { margin-bottom: 16px; }
.btn-primary.dark { background: #241509; color: var(--cream); }
.modal-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hours-title { margin-top: 16px; }
.hours-list { font-size: 0.85rem; color: var(--muted); max-width: 240px; }
.hours-line { display: flex; justify-content: space-between; padding: 1px 0; }
.footer-col.privacy h3 { margin-top: 14px; }
.footer-col.privacy h3:first-child { margin-top: 0; }

/* ---------- Photo background + logo (round: branding) ---------- */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(14, 9, 5, 0.74), rgba(14, 9, 5, 0.8)),
    url('assets/bg-food.jpg');
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
}
.brand-mark-img {
  width: 64px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
}
@media (min-width: 640px) {
  .brand-mark-img { width: 84px; }
}

/* ---------- Order history (this device) ---------- */
.site-header { flex-wrap: wrap; row-gap: 10px; }
.history-btn { font-size: 0.82rem; padding: 9px 14px; }
.my-orders-list { display: flex; flex-direction: column; gap: 14px; max-height: 60vh; overflow-y: auto; }
.my-order-card { background: rgba(36,21,9,0.04); border: 1px solid rgba(36,21,9,0.12); border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; }
.my-order-top { display: flex; justify-content: space-between; align-items: center; }
.my-order-status { font-weight: 700; font-size: 0.85rem; }

/* ---------- Round: notice banner, FAQ, stamp, history polish ---------- */
.site-notice {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--cheese); color: #241509; font-weight: 700; font-size: 0.9rem;
  padding: 10px 44px 10px 16px; position: relative; text-align: center;
}
.site-notice #siteNoticeClose {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: none; background: rgba(36,21,9,0.12); width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; color: #241509;
}

.history-btn {
  flex: none;
  border: none;
  background: var(--cheese);
  color: #241509;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.reorder-btn { margin-top: 10px; width: 100%; }

.product-card.unavailable { position: relative; overflow: hidden; }
.product-card.unavailable::after {
  content: "ELFOGYOTT";
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
  width: 150%;
  text-align: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(178,59,32,0.78);
  border-top: 3px solid rgba(178,59,32,0.78);
  border-bottom: 3px solid rgba(178,59,32,0.78);
  padding: 4px 0;
  pointer-events: none;
}

.contact-line { font-size: 0.85rem; margin: 10px 0; }
.contact-line a { color: var(--cheese); font-weight: 700; }

.faq-section {
  max-width: 800px; margin: 0 auto; padding: 10px clamp(16px,5vw,48px) 30px;
}
.faq-section h2 { color: var(--cream); font-size: clamp(1.1rem, 2.6vw, 1.5rem); border-left: 6px solid var(--brick); padding-left: 12px; margin-bottom: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card); color: var(--ink); border-radius: 12px; padding: 12px 16px;
}
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 8px 0 0; font-size: 0.92rem; color: #4a3c2d; }

/* ---------- Round: sizes, back-to-top, error banner, contact ---------- */
.size-select { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0; font-size: 0.86rem; }
.size-opt { display: flex; align-items: center; gap: 6px; background: rgba(36,21,9,0.05); padding: 5px 10px; border-radius: 8px; cursor: pointer; }

.back-to-top {
  position: fixed;
  right: 4px;
  bottom: 84px;
  z-index: 25;
  width: 84px; height: 84px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Nincs drop-shadow szűrő: egy mozgó képen minden képkockánál újra kellene számolni (lassítaná a régebbi telefonokat). */
.back-to-top picture, .back-to-top img { display: block; width: 100%; height: 100%; }
.back-to-top img { transition: transform 0.15s ease; user-select: none; -webkit-user-drag: none; }
.back-to-top:hover img, .back-to-top:focus-visible img { transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 2px solid var(--cheese); outline-offset: 2px; border-radius: 14px; }
@media (min-width: 640px) { .back-to-top { bottom: 26px; } }

.error-banner { border-color: rgba(178,59,32,0.5); }
.error-banner .closed-text h2 { color: var(--brick); }

/* ---------- Site credit ---------- */
.site-credit {
  max-width: 1100px;
  margin: 18px auto 0;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
}
.site-credit a, .legal-foot a { color: inherit; text-decoration: none; }
.site-credit a:hover, .site-credit a:focus-visible, .legal-foot a:hover, .legal-foot a:focus-visible { text-decoration: underline; }

/* Kategória-ikonok a termékkártyák jobb felső sarkában (kissé lelógnak a kártyáról) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cat-icon {
  position: absolute;
  top: -14px; right: -6px;
  width: 56px; height: 56px;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.28));
}
.product-card.has-icon h3 { padding-right: 50px; }
/* Elfogyott kártyán a levágás (overflow) miatt az ikon belül, kisebben jelenik meg */
.product-card.unavailable .cat-icon { top: 8px; right: 8px; width: 40px; height: 40px; }

/* ---------- Lábléc: jogi gomb ---------- */
.footer-legal { max-width: 1100px; margin: 22px auto 0; }
.legal-btn {
  display: inline-block; padding: 10px 18px;
  border: 1.5px solid var(--cheese); border-radius: 999px;
  color: var(--cheese); font-weight: 700; font-size: 0.85rem; text-decoration: none;
}
.legal-btn:hover, .legal-btn:focus-visible { background: var(--cheese); color: #241509; }
.radio[hidden], .fine-print[hidden] { display: none; }
.fine-print a { color: inherit; text-decoration: underline; }
#deliveryOffNote { margin: 0 0 14px; }

/* ---------- Jogi oldal (/jogi) ---------- */
body.legal-body { min-height: 100vh; }
.legal-head { max-width: 860px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 32px) 4px; }
.legal-back { color: var(--cheese); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.legal-head h1 { font-family: 'Archivo Black', sans-serif; font-size: 1.6rem; margin: 12px 0 0; font-weight: 400; }
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 32px) 36px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.legal-tab {
  background: transparent; border: 1.5px solid var(--cheese); color: var(--cheese);
  padding: 9px 16px; border-radius: 999px; font: 700 0.9rem 'Karla', sans-serif; cursor: pointer;
}
.legal-tab[aria-selected="true"] { background: var(--cheese); color: #241509; }
.legal-doc { background: var(--card); color: #241509; border-radius: 18px; padding: clamp(18px, 4vw, 34px); line-height: 1.65; }
.legal-doc h2 { font-size: 1.25rem; margin: 22px 0 8px; }
.legal-doc h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.legal-doc h2:first-child, .legal-doc h3:first-child { margin-top: 0; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 12px; padding-left: 22px; }
.legal-doc .legal-empty { color: #6b5c4d; font-style: italic; }
.legal-foot { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 0 16px 28px; }

/* Szószválasztó legördülő a termékkártyán */
.sauce-select { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; font-size: 0.88rem; font-weight: 700; }
.sauce-select select {
  font: inherit; font-weight: 700; padding: 9px 10px; border-radius: 8px; width: 100%;
  border: 1px solid rgba(36,21,9,0.3); background: #fff; color: var(--ink);
}
.sauce-select select:disabled { opacity: 0.55; }
.sauce-select.invalid select { border-color: var(--brick); box-shadow: 0 0 0 2px rgba(178,59,32,0.25); }
.sauce-error { color: var(--brick); font-size: 0.82rem; font-weight: 700; }

/* Sima nyíl a "vissza a tetejére" gombon (új példányoknál) */
.back-to-top.arrow { width: 52px; height: 52px; right: 14px; bottom: 90px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }
.back-to-top.arrow svg { display: block; width: 100%; height: 100%; transition: transform 0.15s ease; }
.back-to-top.arrow .arrow-bg { fill: var(--ember); }
.back-to-top.arrow:hover svg, .back-to-top.arrow:focus-visible svg { transform: translateY(-3px); }
@media (min-width: 640px) { .back-to-top.arrow { bottom: 30px; } }


/* ---- Nyelvválasztó (csak akkor látszik, ha legalább két nyelv engedélyezett) ---- */
.lang-bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 8px clamp(12px, 3vw, 28px) 0; max-width: 1200px; margin: 0 auto; }
.lang-bar[hidden] { display: none; }
.lang-btn {
  font: 700 0.78rem 'Karla', sans-serif; letter-spacing: 0.04em; color: var(--cream);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 6px 11px; min-width: 40px; min-height: 32px; cursor: pointer;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lang-btn[aria-pressed="true"] { background: var(--cheese); color: var(--ink); border-color: var(--cheese); }
.lang-btn:focus-visible { outline: 3px solid var(--cheese); outline-offset: 2px; }
.lang-note { max-width: 1200px; margin: 6px auto 0; padding: 0 clamp(12px, 3vw, 28px); font-size: 0.82rem; color: var(--muted); text-align: right; }
.lang-note[hidden] { display: none; }
.legal-banner { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FFF3C6; color: #4a3a00; border: 1px solid #E5CF73; font-size: 0.92rem; line-height: 1.4; }
.legal-banner[hidden] { display: none; }

/* Választócsoportok a kártyán */
.opt-group { margin-top: 8px; }
.opt-group-title { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.opt-list { display: flex; flex-direction: column; gap: 4px; }
.opt-group.invalid .opt-group-title { color: #d33; }
.opt-group .extra-opt.off { opacity: .45; }

/* Választékok: lenyíló doboz, mint az extra feltéteknél */
.opt-group.extras { margin-top: 6px; }
.opt-group.extras summary .opt-group-title { margin: 0; display: inline; font-size: inherit; }
.opt-group.extras summary .opt-sel { font-weight: 600; color: #6b5c4d; }
.opt-group.extras.invalid { border-top-color: #d33; }
.opt-group.extras.invalid summary { color: #d33; }
.opt-group .sauce-error { display: block; margin-top: 4px; }

/* ---------- Szállítási cím részekben (zónás / km-alapú díj) és a díj kijelzése ---------- */
.addr-parts[hidden], .delivery-quote[hidden] { display: none; }
.addr-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.addr-row .field { min-width: 0; }
.addr-row input { width: 100%; box-sizing: border-box; }
.delivery-quote { margin: 2px 0 14px; padding: 9px 12px; border-radius: 10px; background: rgba(91, 140, 62, 0.12); color: var(--ink); font-size: 0.9rem; line-height: 1.4; border-left: 4px solid var(--basil); }
.delivery-quote.bad { background: rgba(178, 59, 32, 0.1); border-left-color: var(--brick); color: var(--brick); font-weight: 700; }

/* ---------- Rendeléskövetés (/rendeles/<kód>) ---------- */
.track-wrap { max-width: 560px; }
.track-card { background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px 18px; transition: box-shadow .3s; }
.track-card.is-done { box-shadow: 0 0 0 3px var(--basil), var(--shadow); }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.track-head h2 { font-family: 'Archivo Black', sans-serif; font-size: 1.35rem; margin: 0; }
.track-placed { color: var(--muted-dark); font-size: .9rem; }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 14px; padding: 0; position: relative; }
.track-steps::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 17px; height: 4px; background: rgba(36,21,9,.15); border-radius: 2px; }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .9rem; color: var(--muted-dark); }
.track-steps .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e9dccb; color: var(--muted-dark); font-weight: 700; position: relative; z-index: 1; border: 3px solid var(--card); }
.track-steps li.done .dot { background: var(--basil); color: #fff; }
.track-steps li.done .dot { font-size: 0; }
.track-steps li.done .dot::after { content: "✓"; font-size: 18px; }
.track-steps li.current .dot { background: var(--ember); color: #fff; animation: trackPulse 1.6s ease-in-out infinite; }
.track-steps li.current, .track-steps li.done { color: var(--ink); font-weight: 700; }
@keyframes trackPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,117,43,.55); } 50% { box-shadow: 0 0 0 9px rgba(232,117,43,0); } }
@media (prefers-reduced-motion: reduce) { .track-steps li.current .dot { animation: none; } }
.track-now { font-size: 1.08rem; font-weight: 700; text-align: center; margin: 6px 0 4px; }
.track-card.is-done .track-now { color: var(--basil); font-size: 1.2rem; }
.track-eta { text-align: center; background: rgba(240,169,62,.18); border-radius: 10px; padding: 8px 10px; font-weight: 700; margin: 10px 0 4px; }
.track-items { border-top: 1px dashed rgba(36,21,9,.2); margin-top: 16px; padding-top: 12px; }
.track-items h3 { font-size: 1rem; margin: 0 0 8px; }
.track-items ul { list-style: none; margin: 0; padding: 0; }
.track-items li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 0; border-bottom: 1px solid rgba(36,21,9,.08); }
.track-items li small { grid-column: 1 / -1; color: var(--muted-dark); }
.track-mode { color: var(--muted-dark); margin: 10px 0 2px; font-size: .92rem; }
.track-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin: 4px 0 0; }
.track-call { display: block; text-align: center; margin: 16px 0 4px; text-decoration: none; }
.track-call[hidden], .track-eta[hidden] { display: none; }
.track-updated { text-align: center; }
.track-expired { text-align: center; font-weight: 700; padding: 10px 0; }
.track-loading { text-align: center; }
/* sikeres rendelés: követés gombok */
.track-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4px 0 18px; }
.track-box[hidden] { display: none; }
.track-box .btn-primary { text-decoration: none; display: inline-block; }
.track-box .fine-print { margin: 0; font-weight: 400; font-size: .8rem; }
.my-order-track { font-weight: 700; color: var(--brick); margin-left: 8px; }
.track-items li.fee { color: var(--muted-dark); font-size: .92rem; }
.track-share { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 12px 0 4px; }
.track-share .fine-print { margin: 0; text-align: center; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.share-menu { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; background: #fff; border: 1px solid rgba(36,21,9,.15); border-radius: 12px; padding: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.share-menu[hidden] { display: none; }
.share-menu a { padding: 7px 12px; border-radius: 8px; background: #f6ecdd; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .9rem; }
.share-menu a:hover { background: #eedcc2; }


/* ==========================================================================
   Új termékkártya-megjelenés (2026-11-16, a Burger Center webshop mintájára)
   Krémszínű kártya, kilógó háttér nélküli termékfotó, ÚJ címke, Kosárba gomb.
   A kiemelő színek a bérlő témájából jönnek (--brick = elsődleges, --ember = kiemelő).
   ========================================================================== */
.menu-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); row-gap: 36px; column-gap: 18px; }
.menu-section h2 { margin-bottom: 26px; }
.product-card {
  background: #fbf4e8;
  border: 1px solid #f0e2c8;
  border-radius: 20px;
  padding: 20px 20px 18px;
  gap: 9px;
}
.product-card h3 { font-size: 1.25rem; line-height: 1.25; color: #24170e; margin: 0; }
.product-card p.desc { font-size: 0.97rem; color: #4b3a2c; line-height: 1.45; }
.product-card .allergens { font-size: 0.82rem; color: #8a7766; margin: 0; }
.product-card .allergens .al-added { color: var(--brick); font-weight: 800; }
.badge-new {
  display: inline-block; vertical-align: middle;
  background: var(--brick); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1;
  padding: 5px 11px; border-radius: 50%;            /* ovális */
  box-shadow: 0 0 0 2px #fbf4e8, 0 0 0 3px rgba(0,0,0,0.18);
  margin-left: 4px;
  transform-origin: center;
  animation: badge-new-pulse 2.6s ease-in-out infinite;
}
/* diszkrét, folyamatos közelítés-távolodás */
@keyframes badge-new-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
/* akinek a telefonján ki van kapcsolva az animáció, annak álló pecsét */
@media (prefers-reduced-motion: reduce) {
  .badge-new { animation: none; }
}
.product-card .extras { border-top: 1px dashed #e0cdb0; padding-top: 10px; font-size: 0.93rem; }
.product-card .extras summary { color: var(--brick); font-size: 0.95rem; }
.product-card .price { font-size: 1.5rem; font-weight: 800; color: var(--brick); }
.product-card .add-btn {
  background: var(--ember); color: #fff;
  font-size: 1rem; font-weight: 800;
  padding: 11px 24px;
  box-shadow: 0 4px 0 #8a4210;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--ember) 68%, #000);
}
.product-card .add-btn:hover { filter: brightness(1.08); }
.product-card .add-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 color-mix(in srgb, var(--ember) 68%, #000); }
.product-card .add-btn:disabled { box-shadow: none; }

/* a kategória-ikon (ahol még nincs fotó) igazodik az új kártyához */
.product-card.has-icon h3 { padding-right: 56px; }
.cat-icon { top: -16px; right: -8px; width: 62px; height: 62px; }

/* termékfotó: kilóg a jobb felső sarokból, kicsit ferdén, árnyékkal */
.prod-photo {
  position: absolute; top: -30px; right: -14px;
  width: 124px; height: 112px; padding: 0; border: 0; background: none;
  cursor: zoom-in; transform: rotate(-6deg);
  transition: transform 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.prod-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: right top;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.35));
}
.prod-photo:hover, .prod-photo:focus-visible { transform: rotate(-2deg) scale(1.07); outline: none; }
.prod-photo-zoom {
  position: absolute; right: 4px; bottom: -4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ember); color: #fff;
  display: grid; place-items: center;
  border: 3px solid #fbf4e8; font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.product-card.has-photo h3,
.product-card.has-photo p.desc { margin-right: 104px; }
.product-card.has-photo h3 { min-height: 1.25em; }
/* Elfogyott kártyán (levágott szélek) a fotó belül, kisebben, egyenesen */
.product-card.unavailable .prod-photo { top: 10px; right: 10px; width: 84px; height: 76px; transform: none; }
.product-card.unavailable.has-photo h3,
.product-card.unavailable.has-photo p.desc { margin-right: 84px; }

/* termékfotó nagyban */
.photo-lb {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(232,116,42,0.30) 0%, transparent 62%), rgba(10,6,3,0.9);
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--ember) 30%, transparent) 0%, transparent 62%), rgba(10,6,3,0.9);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.photo-lb.open { opacity: 1; pointer-events: auto; }
.photo-lb figure { margin: 0; text-align: center; }
.photo-lb img {
  max-width: min(92vw, 620px); max-height: 70vh;
  filter: drop-shadow(0 25px 30px rgba(0,0,0,0.6));
  transform: scale(0.92); transition: transform 0.25s;
}
.photo-lb.open img { transform: scale(1); }
.photo-lb figcaption { color: #fff; font-weight: 800; font-size: 1.35rem; margin-top: 14px; }
.photo-lb-price { display: block; color: var(--cheese); font-size: 1.1rem; margin-top: 4px; }
.photo-lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: #fff; color: #24170e; font-size: 22px; font-weight: 700; cursor: pointer;
}
.photo-lb-tip { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #d9c3a5; font-size: 0.82rem; }
/* "A kép AI illusztráció" halvány felirat a nagyított termékkép alján */
.photo-lb-ai { position: absolute; bottom: 6px; left: 8px; right: 8px; text-align: center; color: #3e3228; font-size: 0.6rem; line-height: 1.3; }
.photo-lb.has-ai .photo-lb-tip { bottom: 26px; }

/* Allergének a kosárban */
.cart-allergens { font-size: 0.75rem; color: #8a7766; margin-top: 2px; }
/* Várható idő a "Korábbi rendeléseim" listában */
.my-order-eta { display: block; font-size: 0.88rem; font-weight: 700; color: var(--brick); }

/* Rendelési információk sáv a fejléc alatt */
.order-info { margin: 0 clamp(16px, 5vw, 48px) 14px; padding: 10px 14px; border-radius: var(--radius, 14px);
  background: rgba(245,231,211,0.07); border: 1px solid rgba(240,169,62,0.22); color: var(--cream, #F5E7D3);
  font-size: 0.86rem; display: flex; flex-direction: column; gap: 8px; }
.order-info .oi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.order-info .oi-item { display: inline-flex; align-items: center; gap: 6px; }
.order-info .oi-ic { font-size: 1rem; line-height: 1; }
.order-info .oi-dot { color: var(--muted, #9C8975); }
.order-info .oi-prices { gap: 8px; }
.order-info .oi-price { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px;
  background: rgba(251,241,226,0.95); color: var(--ink, #241509); font-size: 0.82rem; }
.order-info .oi-price strong { color: var(--brick, #B23B20); font-weight: 800; }
.order-info .oi-svg { width: 20px; height: 20px; flex: none; }
/* Telefonon: két keskeny, oldalra húzható sor */
@media (max-width: 560px) {
  .order-info { margin: 0 12px 10px; padding: 7px 0 7px 10px; gap: 6px; font-size: 0.78rem; }
  .order-info .oi-row { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 6px 8px; padding-right: 24px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .order-info .oi-row::-webkit-scrollbar { display: none; }
  .order-info .oi-item, .order-info .oi-price { flex: none; }
  .order-info .oi-ic { font-size: 0.9rem; }
  .order-info .oi-price { font-size: 0.74rem; padding: 2px 8px 2px 4px; gap: 4px; }
  .order-info .oi-svg { width: 16px; height: 16px; }
}
