/*
Theme Name: Sushi Show & Ramen Star
Theme URI: https://demo6.umplitude.pl
Author: UmPlitude
Description: Motyw custom — scroll-snap menu (z OrderUp), rezerwacje, hero Twitch. Deep black + gold.
Version: 1.3.0
*/
/* ============================================================
   Sushi Show & Ramen Star — demo v1
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #14110e;
  --cream: #f5f1e8;
  --cream-dim: #c8c3b8;
  --gold: #d4a017;
  --gold-hi: #f5c542;
  --gold-deep: #a67d00;
  --ramen: #c44e1a;
  --uramaki: #c64a4a;
  --futomaki: #4a7c4a;
  --desery: #d4a017;
  --nav-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Montserrat', -apple-system, system-ui, sans-serif;
  font-weight: 700;
  background: var(--bg);
  color: var(--cream);
  overscroll-behavior: contain;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ===== REEL ===== */
.reel {
  height: var(--app-h, 100vh);   /* --app-h ustawia JS na starszych przegladarkach bez dvh */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
/* Telefony: 100vh NIE uwzglednia paska adresu przegladarki, wiec dol sekcji
   (cena + przycisk Zamow) wypadal PONIZEJ widocznego obszaru i chowal sie za
   paskiem kategorii. dvh liczy realnie widoczna wysokosc -> dol sekcji = dol ekranu. */
@supports (height: 100dvh) {
  .reel   { height: 100dvh; }
  .screen { height: 100dvh; }
}

/* ===== SCREEN BASE ===== */
.screen {
  height: var(--app-h, 100vh);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8vh 8vw calc(var(--nav-h) + 6vh);
  background: var(--bg);
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at center 35%, rgba(212,160,23,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at center 110%, rgba(212,160,23,.12) 0%, transparent 60%),
    #0a0a0a;
  gap: 1.5rem;
}
.hero-badge {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
}
.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 6.5rem);
  line-height: .95;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .08em;
  color: var(--cream);
}
.brand-amp {
  color: var(--gold);
  font-style: italic;
  font-size: .55em;
  font-weight: 700;
}
.hero-tag {
  color: var(--cream-dim);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 36ch;
  line-height: 1.6;
  margin: 0;
}
.hero-cta {
  display: inline-block;
  padding: .9rem 2.2rem;
  background: var(--gold);
  color: var(--cream);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .85rem;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s;
  margin-top: .5rem;
}
.hero-cta:hover { background: var(--gold-hi); transform: translateY(-2px); }
.hero-cta-group { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.hero-cta-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold);
}
.hero-cta-ghost:hover { background: var(--gold); color: #0a0a0a; }
.scroll-cue {
  position: absolute;
  bottom: calc(var(--nav-h) + 2rem);
  color: var(--cream-dim);
  font-size: 1.5rem;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===== DISH SCREEN ===== */
/* MOBILE-FIRST: content od gory z malym odstepem, zdjecie tlem za i pod nim */
.dish {
  gap: .9rem;
  overflow: hidden;
  background-image: var(--bg-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: flex-start;
  padding-top: 2.5vh;
  padding-bottom: calc(var(--nav-h) + 1rem);
}
.dish::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at center, var(--cat-color, var(--ramen)) 0%, transparent 65%);
  opacity: .14;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.dish::after {
  content: '';
  position: absolute;
  inset: 0;
  /* MOBILE: gora ciemna pod text, srodek czysty (zdjecie widoczne), winieta przy nav */
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.55) 22%,
      rgba(0,0,0,.10) 50%,
      rgba(0,0,0,0)   75%,
      rgba(0,0,0,.5)  100%);
  pointer-events: none;
  z-index: 0;
}
.cat-ramen     { --cat-color: var(--ramen); }
.cat-uramaki   { --cat-color: var(--uramaki); }
.cat-futomaki  { --cat-color: var(--futomaki); }
.cat-desery    { --cat-color: var(--desery); }

.cat-tag {
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.dish-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4.5rem);
  margin: 0;
  line-height: 1.02;
  position: relative;
  z-index: 1;
  max-width: 18ch;
  color: var(--cream);
  text-shadow: 0 6px 30px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.5);
}
.dish-desc {
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.dish-sub {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .35em;
  letter-spacing: .15em;
  color: var(--cream-dim);
  margin-left: .35em;
  vertical-align: .35em;
  text-transform: uppercase;
}
.dish-desc {
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  color: var(--cream-dim);
  max-width: 52ch;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.dish-foot {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: .75rem;
  position: relative;
  z-index: 1;
}
.price {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--gold);
}
.btn-order {
  padding: .85rem 2rem;
  background: var(--cream);
  color: #1a0e0a;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  border-radius: 999px;
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.btn-order:hover:not(:disabled) { transform: translateY(-2px); background: var(--gold); }
.btn-order.added { background: #4caf50; color: var(--cream); }
.btn-order:disabled { opacity: .35; cursor: not-allowed; }

/* ===== CONTACT ===== */
.contact {
  background:
    radial-gradient(ellipse 80% 60% at center 30%, rgba(212,160,23,.1) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #1a1410 100%);
  gap: 2rem;
}
.contact-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 .5rem;
  color: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 3rem;
  max-width: 720px;
  width: 100%;
}
.contact-grid div { line-height: 1.7; }
.contact-grid strong {
  display: block;
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: .6rem;
  font-weight: 700;
}
.tel-link {
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  color: var(--cream);
}
.tel-link:hover { color: var(--gold); }
.contact-cta {
  display: inline-block;
  padding: .8rem 2rem;
  border: 1px solid var(--cream-dim);
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all .25s;
}
.contact-cta:hover { background: var(--cream); color: #0a0a0a; border-color: var(--cream); }

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  border-top: 1px solid rgba(255,255,255,.06);
  z-index: 100;
}
.bottom-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 700;
  transition: color .2s;
  position: relative;
  white-space: nowrap;
}
.bottom-nav a + a { border-left: 1px solid rgba(255,255,255,.08); }
.bottom-nav a:hover { color: var(--cream); }
.bottom-nav a.active { color: var(--gold); }
.bottom-nav a.active::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}

/* ===== CART FAB ===== */
.cart-fab {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(212,160,23,.35);
  z-index: 101;
  transition: transform .2s var(--ease), background .2s;
}
.cart-fab:hover { transform: scale(1.06); background: var(--gold-hi); }
.cart-icon { font-size: 1.4rem; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  background: var(--cream);
  color: var(--bg);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 200;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 201;
  box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cart-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin: 0;
}
.cart-close { font-size: 2rem; line-height: 1; color: var(--cream-dim); padding: 0 .5rem; }
.cart-close:hover { color: var(--cream); }

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  flex: 1;
  overflow-y: auto;
}
.cart-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
}
.cart-item-name { font-weight: 700; }
.cart-item-price { color: var(--gold); font-weight: 700; text-align: right; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: .55rem;
  grid-column: 1 / 2;
}
.cart-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s;
  line-height: 0;
}
.cart-qty button:hover { background: rgba(255,255,255,.16); }
.cart-qty span { min-width: 1.5rem; text-align: center; font-weight: 700; }
.cart-remove {
  grid-column: 2 / 3;
  font-size: .72rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 0;
}
.cart-remove:hover { color: var(--gold); }

.cart-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  text-align: center;
  padding: 2rem;
  line-height: 1.7;
}

.cart-foot {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.cart-total span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
}
.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--cream);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  transition: background .2s;
}
.btn-checkout:hover:not(:disabled) { background: var(--gold-hi); }
.btn-checkout:disabled { opacity: .35; cursor: not-allowed; }

/* ===== MODALS ===== */
.checkout-modal, .success-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  padding: 1rem;
}
.checkout-modal.open, .success-modal.open { opacity: 1; pointer-events: auto; }
.checkout-card, .success-card {
  background: #1a1612;
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255,255,255,.06);
}
.modal-close {
  position: absolute;
  top: .75rem; right: .75rem;
  font-size: 1.8rem;
  color: var(--cream-dim);
  width: 40px; height: 40px;
  line-height: 0;
}
.modal-close:hover { color: var(--cream); }
.checkout-card h3, .success-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  margin: 0 0 1.5rem;
}
#checkout-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: var(--cream-dim);
  letter-spacing: .04em;
}
#checkout-form input, #checkout-form textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .7rem .9rem;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--cream);
  border-radius: 8px;
  font: inherit;
}
#checkout-form input:focus, #checkout-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
#checkout-form textarea { min-height: 70px; resize: vertical; }
.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  margin: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.checkout-summary span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  color: var(--gold);
  font-weight: 700;
}
.btn-confirm {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--cream);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
}
.btn-confirm:hover { background: var(--gold-hi); }
.checkout-note {
  font-size: .72rem;
  color: var(--cream-dim);
  text-align: center;
  margin: 1rem 0 0;
  line-height: 1.55;
}
.success-card { text-align: center; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: rgba(76,175,80,.15);
  color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}
.success-card p { color: var(--cream-dim); line-height: 1.6; margin-bottom: 1.5rem; }
.btn-close-success {
  padding: .8rem 2rem;
  background: var(--cream);
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
}

/* ===== ZAMOW (iframe OrderUp widget) ===== */
.embed {
  padding: 0;
  background: var(--bg);
  display: block;
}
.orderup-frame {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  border: 0;
  background: transparent;
  display: block;
}
@supports (height: 100dvh) {
  .orderup-frame { min-height: 100dvh; }
}

/* Bottom nav — zL�oty accent przycisku "ZamAlw" */
.bottom-nav a.nav-cta {
  color: #0a0a0a;
  background: var(--gold);
  font-weight: 700;
}
.bottom-nav a.nav-cta:hover { background: var(--gold-hi); }
.bottom-nav a.nav-cta.active::before { background: transparent; }

/* ===== REZERWACJA ===== */
.reserve {
  background:
    radial-gradient(ellipse 80% 60% at center 20%, rgba(212,160,23,.10) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #14100a 100%);
  overflow-y: auto;
  justify-content: flex-start;
  padding: 6vh 6vw calc(var(--nav-h) + 4vh);
}
.reserve-inner { width: 100%; max-width: 460px; margin: auto; }
.reserve-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3rem);
  margin: .5rem 0 .4rem;
  color: var(--cream);
}
.reserve-sub {
  color: var(--cream-dim);
  font-size: .9rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.reserve-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.rf { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.rf > span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.rf input {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,160,23,.25);
  color: var(--cream);
  border-radius: 10px;
  padding: .8rem .9rem;
  font: 700 1rem 'Montserrat', sans-serif;
  width: 100%;
  min-width: 0;
}
.rf input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.06); }
.rf input::placeholder { color: var(--faint, #8b8272); font-weight: 400; }
.rf.invalid input, .slot-grid.invalid { border-color: #e0526a; }
/* Data i Osoby ZAWSZE jedno pod drugim: pole Data pelnej szerokosci (rowno z Imie/Telefon),
   Osoby wezsze ponizej. Rozwiazuje tez nachodzenie natywnego pickera daty na telefonie. */
.rf-row { display: flex; flex-direction: column; gap: 1rem; }
.rf-row .rf { flex: none; width: 100%; max-width: none; }
.rf-row .rf-narrow { width: 150px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* sloty godzin */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 44px;
}
.slot-hint { grid-column: 1 / -1; color: var(--cream-dim); font-size: .85rem; font-weight: 400; margin: .5rem 0; }
.slot {
  position: relative;
  padding: .7rem .3rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,160,23,.22);
  border-radius: 9px;
  color: var(--cream);
  font: 700 .95rem 'Montserrat', sans-serif;
  cursor: pointer;
  overflow: hidden;
  transition: background .15s, border-color .15s, transform .1s;
}
.slot:hover { border-color: var(--gold); background: rgba(212,160,23,.1); }
.slot.sel { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.slot-tag {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.slot.sel .slot-tag { color: #0a0a0a; }
.btn-reserve {
  margin-top: .5rem;
  padding: 1rem;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 12px;
  font: 700 .9rem 'Montserrat', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-reserve:hover { background: var(--gold-hi); transform: translateY(-1px); }
/* dopisek o potwierdzeniu i bezplatnym anulowaniu (wymog Google Business Link) */
.reserve-note { font-size: .74rem; line-height: 1.5; color: var(--cream-dim); font-weight: 400; text-align: center; margin: .6rem 0 0; }
.reserve-status { font-size: .88rem; text-align: center; margin: .25rem 0 0; min-height: 1.2em; font-weight: 700; }
.reserve-status.ok { color: #4caf7d; }
.reserve-status.err { color: #e0526a; }

/* ===== RESPONSIVE ===== */

/* DESKTOP: content w prawym dolnym rogu (Frank prosil), zdjecie widoczne z lewej-gory */
@media (min-width: 768px) {
  .dish {
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    padding: 6vh 7vw calc(var(--nav-h) + 2rem) 8vw;
    gap: 1.3rem;
  }
  .dish .cat-tag,
  .dish .dish-name,
  .dish .dish-desc {
    margin-left: auto;
  }
  .dish-foot {
    justify-content: flex-end;
  }
  .dish::after {
    /* diagonalnie: lewa-gora czysta (zdjecie), prawa-dol ciemna (pod tekst) */
    background:
      linear-gradient(125deg,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,0)   38%,
        rgba(0,0,0,.45) 68%,
        rgba(0,0,0,.85) 100%);
  }
}

/* MOBILE: caly content musi sie miescic w viewport telefonu */
@media (max-width: 700px) {
  .screen { padding: 2.5vh max(18px, 5vw) calc(var(--nav-h) + 1rem + env(safe-area-inset-bottom, 0px)); }
  .dish {
    justify-content: flex-end;   /* tresc na DOLE slajdu */
    align-items: flex-end;       /* i po PRAWEJ stronie (spojnie z desktopem) */
    text-align: right;
    padding-top: 2.5vh;
    /* zapas nad paskiem kategorii: wysokosc paska + odstep + obszar bezpieczny iPhone'a
       -> cena i przycisk "Zamow" zawsze wyraznie NAD paskiem i wygodne do kliknięcia */
    padding-bottom: calc(var(--nav-h) + 3rem + env(safe-area-inset-bottom, 0px));
    gap: .55rem;
  }
  .dish .cat-tag,
  .dish .dish-name,
  .dish .dish-desc { margin-left: auto; }
  .dish::after {
    /* tekst na dole -> przyciemniamy dol pod nazwe/cene/przycisk, gora zdjecia zostaje czysta */
    background: linear-gradient(180deg,
      rgba(0,0,0,0)   0%,
      rgba(0,0,0,0)   34%,
      rgba(0,0,0,.42) 62%,
      rgba(0,0,0,.9)  100%);
  }
  .cat-tag { font-size: .62rem; letter-spacing: .25em; }
  .dish-name {
    font-size: clamp(1.55rem, 6.2vw, 2.1rem);
    line-height: 1.08;
    max-width: 18ch;
  }
  .dish-desc {
    font-size: .85rem;
    line-height: 1.4;
    max-width: 34ch;
    /* zabezpieczenie: dlugi opis nie wypchnie przycisku poza ekran */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dish-foot {
    flex-direction: row;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: .25rem;
  }
  .price { font-size: 1.35rem; }
  .btn-order { padding: .6rem 1.35rem; font-size: .72rem; letter-spacing: .12em; }
  /* wszystkie 6 kategorii obok siebie, bez przewijania — czcionka zmniejszona tak,
     by najdluzsza etykieta ("Rezerwacja") zmiescila sie w rownej komorce (flex:1 + min-width:0).
     rozmiar plynny: ~7-8px na typowym telefonie, skaluje sie z szerokoscia ekranu */
  .bottom-nav a {
    flex: 1;
    min-width: 0;
    padding: 0 2px;
    font-size: clamp(.4rem, 2vw, .62rem);
    letter-spacing: 0;
  }
  .cart-fab { width: 50px; height: 50px; top: .85rem; right: .85rem; }
  .cart-icon { font-size: 1.2rem; }
  .checkout-card, .success-card { padding: 1.5rem; }
  .contact-grid { gap: 1.5rem; }
}



/* ===== HERO: warstwy Twitch / foto ===== */
.hero { position: relative; overflow: hidden; justify-content: flex-end; padding-bottom: 11vh; }
.hero-media { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-color: #0a0a0a; }
.hero-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.18) 34%, rgba(10,10,10,.55) 74%, rgba(10,10,10,.92) 100%); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.hero.is-live .hero-media { z-index: 0; }
/* Telefon: przyciski hero zawijaja sie do dwoch linii przy waskim ekranie —
   dolny ("Rezerwuj") mial tylko ~6px nad paskiem kategorii i wygladal na uciety. */
@media (max-width: 700px){
  .hero { padding-bottom: calc(var(--nav-h) + 2.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ===== Player Twitcha w hero =====
   KLUCZOWE: player jest WIDOCZNY OD STARTU (opacity 1). Wczesniej startowal ukryty
   (opacity 0) i byl odslaniany po zdarzeniu ONLINE — ale przegladarka/Twitch
   WSTRZYMUJE autoplay dla niewidocznej ramki, wiec po odslonieciu player byl juz
   w stanie zablokowanym i rysowal ikone PLAY zamiast leciec.
   Teraz: player leci od zaladowania (muted), a stan OFFLINE zaslaniamy NAKLADKA
   (zdjecie z Customizera / czern) — zdejmowana dopiero gdy stream jest LIVE. */
.hero-media .tw-player { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 1; pointer-events: none; }
/* nakladka OFFLINE nad playerem: dziedziczy zdjecie hero, pod nim czern gdy zdjecia brak */
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background-image: inherit; background-size: cover; background-position: center;
  background-color: #0a0a0a;
  pointer-events: none;
}
/* stream LIVE -> zdejmij nakladke, odslon juz odtwarzany stream */
.hero.is-live .hero-media::after { display: none; }
/* Player: dopoki obraz NIE leci jest klikalny (mozna ruszyc play, gdy przegladarka
   odmowila autostartu w ramce). Gdy LECI, JS dokL�ada klase tw-locked i wtedy jest
   tlem — nie da sie kliknac, zatrzymac ani wejsc w kontrolki. */
.hero-media .tw-player, .hero-media .tw-player iframe { pointer-events: auto; }
.hero-media .tw-player.tw-locked, .hero-media .tw-player.tw-locked iframe { pointer-events: none; }
.hero-media .tw-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ===== Przelacznik jezyka (flagi) ===== */
.lang-switch { position: fixed; top: 14px; right: 14px; z-index: 120; display: flex; gap: 8px; }
.lang-switch .flag { display: block; width: 34px; height: 21px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(212,160,23,.45); opacity: .5; transition: opacity .2s, transform .2s, border-color .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.lang-switch .flag:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch .flag.is-on { opacity: 1; border-color: var(--gold); }
.lang-switch .flag svg { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) { .lang-switch { top: 10px; right: 10px; gap: 6px; } .lang-switch .flag { width: 28px; height: 18px; } }