/* ============================================================
   PIZZA MONKEY PÉCS – MOBIL RÉTEG
   A pizzaro.css UTÁN töltődik be. Asztali nézetet nem érinti:
   minden szabály 991px alatt él (kivéve a jelölt közös részeket).

   Cél: telefonon ugyanolyan gyorsan lehessen rendelni, mint egy
   ételrendelő appban – nagy ujjbarát gombok, egykezes elérés,
   mindig látható kosár.
   ============================================================ */

/* ---------- Közös alapok (minden méreten) ---------- */
:root {
  --mb-bar-h: 68px;                          /* alsó kosársáv magassága */
  --mb-safe-b: env(safe-area-inset-bottom, 0px);
}

/* Koppintáskor ne villanjon kék négyzet (érintőképernyőn) */
@media (hover: none) {
  a, button, label, summary, .fk-sizepill, .fk-opt {
    -webkit-tap-highlight-color: rgba(0,0,0,.06);
  }
}

/* A rejtett menü tényleg rejtve legyen: a media query display-je
   különben felülírná a hidden attribútumot. */
.mb-drawer[hidden], .mb-scrim[hidden] { display: none !important; }

/* ============================================================
   1. MOBIL MENÜ (fiók) + SÖTÉTÍTÉS
   ============================================================ */
.mb-scrim, .mb-drawer, .mb-bar, .mb-burger, .mb-cartico { display: none; }

@media (max-width: 991px) {

/* iOS: 16px alatti betűnél a Safari ránagyít a mezőre és elcsúszik az oldal */
input, select, textarea, button { font-size: 16px; }
img { max-width: 100%; height: auto; }

/* Ugrópontok ne bújjanak a ragadós fejléc alá */
[id] { scroll-margin-top: 76px; }

.mb-scrim {
  display: block; position: fixed; inset: 0; z-index: 1200;
  background: rgba(12,12,14,.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .25s ease;
}
.mb-scrim.on { opacity: 1; }

.mb-drawer {
  display: flex; flex-direction: column; position: fixed; z-index: 1201;
  top: 0; bottom: 0; left: 0; width: min(86vw, 340px);
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-102%); transition: transform .26s cubic-bezier(.32,.72,.31,1);
  box-shadow: 0 0 40px rgba(0,0,0,.3);
  padding-bottom: calc(20px + var(--mb-safe-b));
}
.mb-drawer.on { transform: translateX(0); }

.mb-drawer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 16px 12px; background: var(--pz-red, #C8102E); color: #fff;
  position: sticky; top: 0; z-index: 2;
}
.mb-drawer-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.mb-drawer-logo img { border-radius: 50%; background: #fff; }
.mb-drawer-logo span { font-weight: 900; font-size: 16px; line-height: 1.1; display: block; }
.mb-drawer-logo small { display: block; font-weight: 600; font-size: 12px; opacity: .85; }
.mb-x {
  width: 40px; height: 40px; border: 0; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.16); color: #fff; font-size: 17px; cursor: pointer;
}

.mb-me {
  display: flex; align-items: center; gap: 12px; margin: 14px 14px 4px;
  padding: 13px 14px; border-radius: 14px; background: #F7F5F1;
  text-decoration: none; color: var(--pz-dark, #1D1F24);
}
.mb-me-av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--pz-yellow, #FFC107); color: #6d4a00;
  display: grid; place-items: center; font-weight: 900; font-size: 18px;
}
.mb-me-txt { flex: 1; min-width: 0; }
.mb-me-txt strong { display: block; font-size: 15px; }
.mb-me-txt small { color: #7c8288; font-size: 13px; }
.mb-me-arrow { color: #b9bec4; font-size: 22px; }

.mb-authrow { display: flex; gap: 9px; margin: 14px 14px 4px; }
.mb-btn {
  flex: 1; text-align: center; padding: 13px 10px; border-radius: 12px;
  font-weight: 800; font-size: 14.5px; text-decoration: none;
}
.mb-btn-red { background: var(--pz-red, #C8102E); color: #fff; }
.mb-btn-ghost { background: #F1EEE9; color: var(--pz-dark, #1D1F24); }

.mb-sec-title {
  margin: 18px 16px 6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #a6acb3;
}
.mb-cats, .mb-links { display: flex; flex-direction: column; padding: 0 8px; }
.mb-cat, .mb-links a {
  display: flex; align-items: center; gap: 12px;
  min-height: 50px; padding: 8px 12px; border-radius: 11px;
  text-decoration: none; color: var(--pz-dark, #1D1F24);
  font-size: 15.5px; font-weight: 600;
}
.mb-cat:active, .mb-links a:active { background: #F2EFEA; }
.mb-cat.on { background: rgba(200,16,46,.08); color: var(--pz-red, #C8102E); font-weight: 800; }
.mb-cat-img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.mb-cat-ico { width: 30px; text-align: center; font-size: 19px; flex: none; }
.mb-links a { justify-content: space-between; }
.mb-pill {
  background: var(--pz-red, #C8102E); color: #fff; border-radius: 999px;
  min-width: 24px; height: 24px; padding: 0 8px; font-size: 12.5px; font-weight: 900;
  display: inline-grid; place-items: center;
}
.mb-out { color: var(--pz-red, #C8102E) !important; font-weight: 800 !important; }

.mb-call {
  display: block; margin: 18px 16px 0; padding: 14px; border-radius: 12px;
  background: #1D1F24; color: #fff; text-align: center;
  font-weight: 800; font-size: 16px; text-decoration: none;
}

/* ============================================================
   2. FEJLÉC – tömör, ragadós
   ============================================================ */
/* Csak a fejlécsor ragad; a kategóriacsík elgördül, így több hely marad
   a tartalomnak. A kategóriák a hamburger menüből bármikor elérhetők. */
.pz-top { position: relative; }
.pz-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--pz-red, #C8102E);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.pz-header .pz-wrap {
  display: grid !important; grid-template-columns: 44px 1fr 44px;
  align-items: center; gap: 10px; padding: 9px 12px !important; min-height: 60px;
}
.pz-header .pz-left { display: none !important; }
.pz-logo { justify-self: center; }
.pz-logo img { height: 46px !important; width: auto; }

.mb-burger, .mb-cartico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; color: #fff; cursor: pointer;
  border-radius: 12px; position: relative; padding: 0;
}
.mb-burger:active, .mb-cartico:active { background: rgba(255,255,255,.14); }
.mb-burger span {
  display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px;
  box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff;
}
.mb-cartico svg { width: 25px; height: 25px; }
.mb-cartico .mb-badge {
  position: absolute; top: 3px; right: 2px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px; background: var(--pz-yellow, #FFC107);
  color: #5a3d00; font-size: 12px; font-weight: 900;
  display: grid; place-items: center; border: 2px solid var(--pz-red, #C8102E);
}

/* Az asztali jobb blokk (kosárgomb, fiók) mobilon rejtve – helyette az ikonok */
.pz-right { display: none !important; }
.pz-sep { display: none; }

/* ---------- Kategóriacsík: vízszintesen görgethető ---------- */
.pz-cats .pz-wrap {
  justify-content: flex-start !important; gap: 6px !important;
  padding: 8px 12px 10px !important;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pz-cats .pz-wrap::-webkit-scrollbar { display: none; }
.pz-cat {
  flex-direction: column; gap: 5px !important; scroll-snap-align: start;
  min-width: 72px; padding: 6px 4px; border-radius: 12px;
}
.pz-cat img { width: 34px !important; height: 34px !important; }
.pz-cat span { font-size: 10.5px !important; letter-spacing: .01em !important; }
.pz-cat.is-active { background: rgba(255,255,255,.14); }

/* ============================================================
   3. TERMÉKKÁRTYÁK – nagy kép felül, tartalom alatta
   A sablon main.css-e erős szabályokkal dolgozik (pl. 245px-es
   képzóna, ::before rétegek), ezért itt mindent !important rögzít.
   ============================================================ */
.fk-page .row > [class*="col-"]:not(.fk-tilecol),
.food-category-section .row > [class*="col-"]:not(.fk-tilecol) {
  width: 100%; max-width: 100%; flex: 0 0 100%;
}

.catagory-product-card-2.pcard {
  display: block !important;
  text-align: left !important;
  padding: 0 0 14px !important;
  margin: 0 0 16px !important;
  border-radius: 18px !important;
  border: 1px solid #ece8e2 !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.06) !important;
  overflow: hidden;
}

/* --- Nagy, ehető kép --- */
.catagory-product-card-2.pcard .catagory-product-image {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #F7F5F1;
  display: flex !important; align-items: center; justify-content: center;
  overflow: hidden;
}
.catagory-product-card-2.pcard .catagory-product-image img {
  width: 100% !important; height: 100% !important;
  max-height: none !important;
  object-fit: cover;
}
/* a körbevágott (cut_) képek nem vághatók tovább – középre, ráhagyással */
.catagory-product-card-2.pcard .catagory-product-image img.is-cut {
  object-fit: contain; padding: 12px;
}

/* --- Tartalom a kép alatt --- */
.catagory-product-card-2.pcard .catagory-product-content {
  padding: 12px 14px 0 !important;
  text-align: left !important;
}
.catagory-product-card-2.pcard h4 {
  font-size: 17.5px !important; line-height: 1.28;
  margin: 0 0 5px !important; text-align: left !important;
}

/* Leírás: 2 sor, hogy a lista pörgethető maradjon */
.catagory-product-card-2.pcard .fk-desc {
  display: -webkit-box !important; -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important; overflow: hidden !important;
  margin: 0 0 10px !important; font-size: 13px; line-height: 1.5; color: #8b9098;
  min-height: 0 !important;             /* a sor-kiegyenlítő maradékai ellen */
}
.catagory-product-card-2.pcard ul.fk-desc-list { display: inline; margin: 0; padding: 0; }
.catagory-product-card-2.pcard ul.fk-desc-list li {
  display: inline; font-size: 13px; color: #8b9098; line-height: 1.5;
}
.catagory-product-card-2.pcard ul.fk-desc-list li::after { content: ", "; }
.catagory-product-card-2.pcard ul.fk-desc-list li:last-child::after { content: ""; }
.catagory-product-card-2.pcard .fk-desc-intro { display: none !important; }

/* Méretválasztó pirulák: görgethető sor */
.catagory-product-card-2.pcard .fk-sizes {
  display: flex !important; gap: 7px; margin: 0 0 10px !important;
  overflow-x: auto; justify-content: flex-start !important;
  padding-bottom: 2px; scrollbar-width: none;
}
.catagory-product-card-2.pcard .fk-sizes::-webkit-scrollbar { display: none; }
.catagory-product-card-2.pcard .fk-sizepill span {
  padding: 8px 15px !important; font-size: 13.5px !important;
  border-radius: 999px; white-space: nowrap;
}

/* Ár */
.catagory-product-card-2.pcard .info-price {
  justify-content: flex-start !important; margin: 0 0 2px !important;
}
.catagory-product-card-2.pcard .js-price,
.catagory-product-card-2.pcard .info-price p {
  font-size: 19px !important; font-weight: 900 !important;
  color: var(--pz-red, #C8102E) !important;
  background: none !important; padding: 0 !important;
}

/* Mennyiség + kosárgomb */
.catagory-product-card-2.pcard .fk-buy {
  display: flex !important; align-items: center; gap: 9px;
  margin-top: 10px !important;
}
.catagory-product-card-2.pcard .fk-qty {
  width: 62px !important; height: 48px !important; text-align: center;
  border-radius: 12px !important; border: 1.5px solid #e2ded7 !important;
  font-weight: 800;
}
.catagory-product-card-2.pcard .fk-buy .theme-btn-2 {
  flex: 1; min-height: 48px !important; border-radius: 13px !important;
  font-size: 15px !important;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px !important;
}

/* „Feltétek és extrák" nyitógomb: teljes szélességű, ujjbarát */
.catagory-product-card-2.pcard .fk-opts > summary {
  display: flex !important; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; margin: 0 0 10px !important; border-radius: 12px;
  background: #F5F2ED !important; color: #4a5057 !important;
  font-size: 13.5px; font-weight: 800;
}

/* ---------- Feltétpanel = alsó lap (bottom sheet) ---------- */
.fk-opts[open] .fk-optwrap {
  position: fixed !important; inset: auto 0 0 0 !important; z-index: 1300;
  max-height: 88vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.28);
  animation: mbSheetUp .26s cubic-bezier(.32,.72,.31,1);
  padding: 0 !important; margin: 0 !important; width: auto !important;
}
@keyframes mbSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.fk-opts[open] .fk-optbox {
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 0 16px 16px !important; max-height: none !important;
}
.fk-opts[open] .fk-optbox-head {
  position: sticky; top: 0; z-index: 2; background: #fff;
  padding: 16px 0 12px !important; margin: 0 0 6px;
  border-bottom: 1px solid #eee; font-size: 16px;
}
/* fogantyú a lap tetején */
.fk-opts[open] .fk-optbox-head::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px; border-radius: 2px; background: #ddd;
}
.fk-opts[open] .fk-optdone-x {
  width: 38px; height: 38px; border-radius: 50%; background: #F2EFEA; font-size: 15px;
}
.fk-opts[open] .fk-opt {
  min-height: 50px; padding: 6px 2px; font-size: 15px; align-items: center;
}
.fk-opts[open] .fk-opt input[type="checkbox"],
.fk-opts[open] .fk-opt input[type="radio"] { width: 22px; height: 22px; }
.fk-opts[open] .fk-grp-2col { grid-template-columns: 1fr !important; }
.fk-opts[open] .fk-optdone {
  position: sticky; bottom: 0; min-height: 52px; font-size: 16px;
  border-radius: 13px; margin: 10px 0 calc(4px + var(--mb-safe-b)) !important;
  box-shadow: 0 -10px 18px rgba(255,255,255,.9);
}
/* a lap mögötti tartalom sötétüljön */
.fk-opts[open]::after {
  content: ""; position: fixed; inset: 0; z-index: 1299;
  background: rgba(12,12,14,.5); animation: mbFade .25s ease;
}
@keyframes mbFade { from { opacity: 0 } to { opacity: 1 } }

/* ============================================================
   4. RAGADÓS KOSÁRSÁV
   ============================================================ */
.mb-bar {
  display: flex; position: fixed; z-index: 1100;
  left: 10px; right: 10px; bottom: calc(10px + var(--mb-safe-b));
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 16px; text-decoration: none;
  background: #97C13C; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  animation: mbBarUp .3s cubic-bezier(.32,.72,.31,1);
}
@keyframes mbBarUp { from { transform: translateY(120%); } to { transform: translateY(0); } }
.mb-bar:active { transform: scale(.985); }
.mb-bar-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mb-bar-count {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 10px;
  background: rgba(255,255,255,.24); display: grid; place-items: center;
  font-weight: 900; font-size: 15px;
}
.mb-bar-txt strong { display: block; font-size: 16px; font-weight: 900; line-height: 1.15; }
.mb-bar-txt small { font-size: 11.5px; opacity: .9; }
.mb-bar-go { font-weight: 900; font-size: 15px; white-space: nowrap; }

/* a sáv ne takarja el az oldal alját */
/* A :has() régebbi böngészőkben nincs meg, ezért a JS is felteszi a
   .has-mbbar osztályt – így a sáv sosem takarja el az oldal alját. */
body.has-mbbar,
body:has(.mb-bar) { padding-bottom: calc(var(--mb-bar-h) + var(--mb-safe-b)); }

/* Visszajelző buborék: mobilon középen, a kosársáv FÖLÖTT
   (alapból jobb alul ül, és pont eltakarta volna a sávot) */
.pz-toast {
  left: 16px; right: 16px; bottom: calc(16px + var(--mb-safe-b));
  text-align: center; font-size: 15px; padding: 14px 18px;
}
body.has-mbbar .pz-toast,
body:has(.mb-bar) .pz-toast { bottom: calc(var(--mb-bar-h) + 18px + var(--mb-safe-b)); }

/* A kosárba repülő kép a fejléc ikonját célozza – rezzenjen az is */
.mb-cartico.pz-bump { animation: pzBump .45s cubic-bezier(.34,1.56,.64,1); }

/* ============================================================
   5. KOSÁR OLDAL – táblázat helyett kártyák
   ============================================================ */
.pz .fk-page table.fk-carttbl { border: 0; }
.pz .fk-page table.fk-carttbl tr:first-child { display: none; }        /* fejléc-sor */
.pz .fk-page table.fk-carttbl,
.pz .fk-page table.fk-carttbl tbody,
.pz .fk-page table.fk-carttbl tr,
.pz .fk-page table.fk-carttbl td { display: block; width: 100%; }
.pz .fk-page table.fk-carttbl tr {
  position: relative; background: #fff; border: 1px solid #ece8e2;
  border-radius: 14px; padding: 13px 14px; margin-bottom: 11px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px;
}
.pz .fk-page table.fk-carttbl td { border: 0 !important; padding: 0 !important; }
.pz .fk-page table.fk-carttbl td:nth-child(1) { grid-column: 1 / -1; font-size: 15px; padding-right: 34px !important; }
.pz .fk-page table.fk-carttbl td:nth-child(1) small { color: #8b9098; font-size: 12.5px; }
.pz .fk-page table.fk-carttbl td:nth-child(2) { display: none; }        /* egységár – a soron belül felesleges */
.pz .fk-page table.fk-carttbl td:nth-child(3) { grid-column: 1; }
.pz .fk-page table.fk-carttbl td:nth-child(3) input {
  width: 78px !important; height: 44px; text-align: center;
  border-radius: 11px; border: 1.5px solid #e2ded7; font-weight: 800;
}
.pz .fk-page table.fk-carttbl td:nth-child(4) {
  grid-column: 2; align-self: center; justify-self: end;
  font-size: 17px; font-weight: 900; color: var(--pz-red, #C8102E);
}
.pz .fk-page table.fk-carttbl td:nth-child(5) { position: absolute; top: 10px; right: 10px; }
.pz .fk-page table.fk-carttbl td:nth-child(5) button,
.pz .fk-page table.fk-carttbl td:nth-child(5) .btn {
  width: 34px; height: 34px; padding: 0 !important; border-radius: 50%;
  font-size: 0; display: grid; place-items: center; background: #F6F2ED; color: #c0392b;
}
.pz .fk-page table.fk-carttbl td:nth-child(5) button::after,
.pz .fk-page table.fk-carttbl td:nth-child(5) .btn::after { content: "✕"; font-size: 13px; }

.pz .fk-page .summary { border-radius: 16px; padding: 16px !important; }
.pz .fk-page .summary .row { font-size: 15px; padding: 7px 0; }
.pz .fk-page .summary .row.total { font-size: 19px; }
.pz .fk-page .summary .btn,
.pz .fk-page form > .btn { width: 100%; min-height: 52px; border-radius: 13px; font-size: 16px; }

/* ============================================================
   6. PÉNZTÁR – egyhasábos, nagy mezők
   ============================================================ */
.pz .fk-page .fk-checkout-grid,
.pz .fk-page .acc-grid { grid-template-columns: 1fr !important; }
/* A mezők teljes szélessége NE vonatkozzon a vízszintes elrendezésű
   űrlapokra (pl. a rendeléskövető keresője) – ott a mező kilógna. */
.pz .fk-page form:not(.fk-ts-form) input[type="text"],
.pz .fk-page form:not(.fk-ts-form) input[type="tel"],
.pz .fk-page form:not(.fk-ts-form) input[type="email"],
.pz .fk-page form:not(.fk-ts-form) input[type="number"],
.pz .fk-page form:not(.fk-ts-form) input[type="password"],
.pz .fk-page form:not(.fk-ts-form) select,
.pz .fk-page form:not(.fk-ts-form) textarea {
  width: 100%; min-height: 50px; border-radius: 12px; padding: 12px 14px;
  border: 1.5px solid #e2ded7; background: #fff;
}
.pz .fk-page form textarea { min-height: 90px; }
.pz .fk-page label.f { font-size: 13.5px; font-weight: 800; margin-bottom: 6px; display: block; }
.pz .fk-page .acc-note { font-size: 12.5px; line-height: 1.45; }

/* fizetési mód (legördülő): nagy, jól koppintható */
.pz .fk-page select[name="payment"] {
  min-height: 54px; font-weight: 700; background: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c8288' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 19px;
  padding-right: 42px;
}

/* a rendelés gomb mindig kéznél */
.pz .fk-page .fk-submit, .pz .fk-page button[type="submit"].btn-big {
  position: sticky; bottom: calc(10px + var(--mb-safe-b)); z-index: 50;
  width: 100%; min-height: 56px; border-radius: 14px; font-size: 17px; font-weight: 900;
  box-shadow: 0 8px 24px rgba(200,16,46,.32);
}

/* ============================================================
   7. FŐOLDAL / HERO / SZAKASZOK
   ============================================================ */
.pz-hero { min-height: 0 !important; }
.pz-slide-inner { padding: 34px 16px 54px !important; }
.pz-hero h1, .pz-hero .pz-h1 { font-size: 34px !important; line-height: 1.08 !important; }
.pz-hero h1 small, .pz-hero .pz-h1 small { font-size: 22px !important; }
.pz-offer { font-size: 15px !important; letter-spacing: .18em !important; gap: 10px !important; }
.pz-slide-photo { width: 128vw !important; bottom: -8% !important; opacity: .9 !important; }
.pz-new { width: 58px; height: 58px; font-size: 15px; }

.pz-sec, section.pz-sec { padding: 34px 0 !important; }
.pz-sec h2, .pz-title h2 { font-size: 26px !important; line-height: 1.2 !important; }
.pz-wrap { padding-left: 16px !important; padding-right: 16px !important; }

/* szakaszok rácsai egy hasábra */
.pz-grid3, .pz-grid4, .pz-feats4 { grid-template-columns: 1fr !important; }
.pz-pgrid { grid-template-columns: 1fr !important; }
.pz-gallery { grid-template-columns: repeat(3, 1fr) !important; }

/* ============================================================
   8. ÉTLAP OLDAL
   ============================================================ */
.food-category-section .main-sidebar { display: none; }     /* a kategóriák a fejlécben és a menüben vannak */
.food-category-section .col-lg-8, .food-category-section .col-lg-9 { width: 100%; max-width: 100%; flex: 0 0 100%; }
.fk-cat-tile .catagory-product-image { height: 150px; }
.fk-page h1 { font-size: 25px !important; margin-bottom: 4px; }
.fk-page { padding: 18px 0 26px; }

/* alkategória-csempék: 2 hasáb (a fenti teljes szélesség alól kivétel) */
.pz .fk-page .row > [class*="col-"].fk-tilecol,
.food-category-section .row > [class*="col-"].fk-tilecol {
  width: 50%; max-width: 50%; flex: 0 0 50%; padding: 0 6px !important;
}
.fk-cat-tile h5 { font-size: 14px !important; }
.fk-tilecol .catagory-product-image { height: 128px !important; }

/* --- Rendeléskövető animációja: mobilon kisebb, hogy a mező is látszódjon --- */
.fk-ts-anim { min-height: 128px !important; margin-bottom: 0 !important; }
.fk-ts-lottie { width: 210px !important; height: 150px !important; }
.fk-track-search h1 { font-size: 24px !important; margin: 4px 0 6px !important; }
.fk-track-search p { font-size: 14px !important; line-height: 1.5; }

/* --- Rendeléskövető keresője: mobilon egymás alatt --- */
.fk-ts-form {
  flex-direction: column; gap: 10px !important; margin-top: 18px !important;
}
.fk-ts-form input {
  width: 100%; min-height: 54px; font-size: 19px !important;
  letter-spacing: .18em !important; border-radius: 12px !important;
}
.fk-ts-form .btn {
  width: 100%; min-height: 52px; border-radius: 12px;
  font-size: 16px; font-weight: 800;
}

/* ============================================================
   9/a. FIÓK OLDAL – fülsor és rendelés-sorok
   Keskeny kijelzőn a flex-wrap miatt a jobb oldali összeg átcsúszott
   a következő sorba (egyenetlen, „összecsúszott" sorok), a fülsor
   pedig kilógott a képernyőről. Mindkettő rögzített szerkezetet kap.
   ============================================================ */

/* --- Fülsor: vízszintesen görgethető, nem törik meg --- */
.acc-tabs {
  flex-wrap: nowrap !important;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 16px -16px 20px !important; padding: 0 16px;
  /* jobb szélen elhalványul, jelezve hogy van még */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
}
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a {
  flex: none; white-space: nowrap; scroll-snap-align: start;
  padding: 11px 14px !important; font-size: 14.5px !important;
}
.acc-tabs a.on { scroll-snap-align: center; }

/* --- Rendelés-sor: két soros, rögzített rács --- */
.acc-order {
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-areas: "kod  ar" "cimke cimke";
  align-items: center; gap: 8px 12px !important;
  flex-wrap: nowrap !important;
  padding: 14px 15px !important; border-radius: 14px !important;
}
.acc-order-l { grid-area: kod; min-width: 0 !important; flex: none !important; }
.acc-order-r { grid-area: ar; margin-left: 0 !important; gap: 6px !important; }
.acc-order-c { grid-area: cimke; flex-wrap: wrap; gap: 7px !important; }
.acc-code { font-size: 15.5px !important; }
.acc-order-date { font-size: 12.5px !important; }
.acc-order-r strong { font-size: 17px !important; white-space: nowrap; }
.acc-arrow { font-size: 20px !important; }
.acc-order .badge, .acc-pts { font-size: 11.5px !important; padding: 4px 9px !important; }

/* --- Fejléc és kártyák --- */
.acc-head { flex-wrap: wrap; gap: 12px !important; padding: 16px !important; }
.acc-head-txt { min-width: 0; flex: 1; }
.acc-head-txt h1 { font-size: 21px !important; line-height: 1.2; }
.acc-sub { font-size: 13px !important; word-break: break-word; }
.acc-cards { grid-template-columns: 1fr !important; gap: 12px !important; margin-bottom: 24px !important; }
.acc-card { padding: 16px 18px !important; }
.acc-big { font-size: 28px !important; }
.acc-h2 { font-size: 17.5px !important; }

/* --- Rendelés részletei, címek, űrlapok --- */
.acc-detail-head { gap: 10px !important; }
.acc-detail-head h2 { font-size: 18px !important; }
.acc-addr-grid, .acc-2col { grid-template-columns: 1fr !important; }

/* ============================================================
   9. KÖVETŐ OLDAL
   ============================================================ */
.fk-track { padding: 0 2px; }
.fk-tcard { padding: 16px !important; border-radius: 15px !important; }
.fk-tmeta { flex-wrap: wrap; gap: 8px; }
.fk-track table td { font-size: 14px; }

/* ============================================================
   9/b. TOVÁBBI GOMB- ÉS PIRULASOROK
   Ezek mind flex-wrap-esek: keskeny kijelzőn félbetört sorokat adnak.
   ============================================================ */

/* Cím-kártya gombjai: egyenlő szélességű, ujjbarát sor */
.acc-addr-btns { gap: 7px !important; }
.acc-addr-btns .btn, .acc-addr-btns .inline-form { flex: 1 1 auto; }
.acc-addr-btns .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }

/* Alkategória-pirulák: görgethető sor tördelés helyett */
.fk-subcat-pills {
  flex-wrap: nowrap !important; overflow-x: auto;
  scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -16px 14px; padding: 0 16px 2px;
}
.fk-subcat-pills::-webkit-scrollbar { display: none; }
.fk-pill { flex: none; white-space: nowrap; scroll-snap-align: start; }

/* Jogi oldalak alatti továbblépő gombok: egymás alatt, teljes szélességben */
.lg-more { flex-direction: column; gap: 9px !important; }
.lg-more a { text-align: center; min-height: 46px; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   10. LÁBLÉC
   ============================================================ */
footer .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; margin-bottom: 22px; }
footer { text-align: center; }
footer .footer-widget ul { padding: 0; }

/* Lábléc-információk: egymás alatt, elválasztó vonal nélkül */
.pz-finfo { flex-direction: column; gap: 8px !important; font-size: 14px !important; }
.pz-finfo span { padding: 0 !important; }
.pz-finfo span:not(:last-child)::after { display: none; }
.pz-fbottom { flex-direction: column; gap: 14px; text-align: center; padding: 18px 16px 0 !important; }
.pz-flegal { justify-content: center; gap: 14px !important; font-size: 13px; }

} /* /max-width: 991px */

/* ---------- Nagyon keskeny telefon ---------- */
@media (max-width: 380px) {
  .catagory-product-card-2.pcard { grid-template-columns: 88px 1fr; }
  .catagory-product-card-2.pcard .catagory-product-image { width: 88px; height: 88px !important; }
  .catagory-product-card-2.pcard h4 { font-size: 15px !important; }
  .pz-cat { min-width: 66px; }
  .mb-bar-txt strong { font-size: 15px; }
}

/* ---------- Fekvő tájolás, alacsony képernyő ---------- */
@media (max-width: 991px) and (max-height: 520px) {
  .fk-opts[open] .fk-optwrap { max-height: 94vh; }
  .pz-top { position: static; }
}

/* ---------- Mozgáscsökkentés ---------- */
@media (prefers-reduced-motion: reduce) {
  .mb-drawer, .mb-scrim, .mb-bar,
  .fk-opts[open] .fk-optwrap, .fk-opts[open]::after {
    transition: none !important; animation: none !important;
  }
}

/* A mennyiség módosítása mobilon magától frissít – a gomb felesleges */
@media (max-width: 991px) {
  .fk-qty-refresh { display: none; }
}

/* ============================================================
   v138 – mobil javítások (tesztcsapat észrevételei)
   ============================================================ */
/* Mobilmenü: a fehér kategóriaikonok a fehér háttéren eltűntek */
.mb-cat-img { filter: invert(1) opacity(.62); }
@media (max-width: 991px) {
  /* Kosár: a törlés (×) gomb a tétel nevének elejére csúszott (td{width:100%} miatt) */
  .pz .fk-page table.fk-carttbl td:nth-child(5) { width: auto !important; left: auto; }
  .pz .fk-page table.fk-carttbl td:nth-child(5) button,
  .pz .fk-page table.fk-carttbl td:nth-child(5) .btn { width: 40px; height: 40px; }
  /* Fiók fülsor: a negatív margó 4 px vízszintes görgetést okozott */
  .acc-tabs { margin-left: 0 !important; margin-right: 0 !important; padding: 0; }
  .pz-page-h1 { font-size: 22px; }
}
@media (max-width: 991px) {
  /* Kategóriacsík: a hosszú feliratok összeértek („BŐSÉGTÁLAKHAMBURGEREK”) */
  .pz-cat { flex: none !important; padding: 6px 8px; }
  /* Promó-csempék valós fotóval: a kép ne takarja a feliratot */
  .pz-pbig.pz-real img { inset: 34% -14% -14% 38% !important; width: 76% !important; height: 80% !important; }
  .pz-psmall.pz-real img { inset: auto auto -14% -14% !important; width: 62% !important; height: 62% !important; opacity: .9; }
  .pz-psmall.pz-real .pz-ps-txt { top: 14px; transform: none; right: 12px; }
  .pz-porder.pz-real img { display: none; }
  .pz-porder.pz-real .pz-po-txt { padding-left: 0; }
}
@media (max-width: 991px) {
  /* Hero: a lapozó nyilak és pöttyök ne takarják a címet – a dia aljára kerülnek */
  .pz-arrow { top: auto; bottom: 14px; width: 38px; height: 38px; font-size: 16px; }
  .pz-dots { bottom: 28px; }
}

/* ============================================================
   v139 – ASZTALI „SZŰK” MÓD
   Ha a kategóriák nem férnek ki egy sorban (keskeny laptop, tablet
   fekvő helyzetben, sok kategória), a sor eltűnik, és a mobilos
   hamburger menü veszi át. Két sorba soha nem törik.
   A mérést a mobile_ui.php szkriptje végzi (html.pz-tight osztály).
   ============================================================ */
@media (min-width: 992px) {
  .pz-cats .pz-wrap { flex-wrap: nowrap !important; justify-content: space-between !important; column-gap: 10px !important; overflow: hidden !important; }
  .pz-cat { flex: none !important; }
  html.pz-tight .pz-cats, html.pz-tight .pz-sep {
    visibility: hidden; position: absolute; left: 0; right: 0; height: 0; overflow: hidden; pointer-events: none;
  }
  html.pz-tight .pz-header .pz-wrap { position: relative; }
  html.pz-tight .pz-header .pz-left { padding-left: 58px; }
  html.pz-tight .mb-burger { position: absolute !important; left: 18px; top: 50%; transform: translateY(-50%); }
  html.pz-tight .mb-scrim {
    display: block; position: fixed; inset: 0; z-index: 1200;
    background: rgba(12,12,14,.55); backdrop-filter: blur(2px);
    opacity: 0; transition: opacity .25s ease;
  }
  html.pz-tight .mb-scrim.on { opacity: 1; }

  html.pz-tight .mb-drawer {
    display: flex; flex-direction: column; position: fixed; z-index: 1201;
    top: 0; bottom: 0; left: 0; width: min(86vw, 340px);
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-102%); transition: transform .26s cubic-bezier(.32,.72,.31,1);
    box-shadow: 0 0 40px rgba(0,0,0,.3);
    padding-bottom: calc(20px + var(--mb-safe-b));
  }
  html.pz-tight .mb-drawer.on { transform: translateX(0); }

  html.pz-tight .mb-drawer-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 16px 12px; background: var(--pz-red, #C8102E); color: #fff;
    position: sticky; top: 0; z-index: 2;
  }
  html.pz-tight .mb-drawer-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
  html.pz-tight .mb-drawer-logo img { border-radius: 50%; background: #fff; }
  html.pz-tight .mb-drawer-logo span { font-weight: 900; font-size: 16px; line-height: 1.1; display: block; }
  html.pz-tight .mb-drawer-logo small { display: block; font-weight: 600; font-size: 12px; opacity: .85; }
  html.pz-tight .mb-x {
    width: 40px; height: 40px; border: 0; border-radius: 50%; flex: none;
    background: rgba(255,255,255,.16); color: #fff; font-size: 17px; cursor: pointer;
  }

  html.pz-tight .mb-me {
    display: flex; align-items: center; gap: 12px; margin: 14px 14px 4px;
    padding: 13px 14px; border-radius: 14px; background: #F7F5F1;
    text-decoration: none; color: var(--pz-dark, #1D1F24);
  }
  html.pz-tight .mb-me-av {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--pz-yellow, #FFC107); color: #6d4a00;
    display: grid; place-items: center; font-weight: 900; font-size: 18px;
  }
  html.pz-tight .mb-me-txt { flex: 1; min-width: 0; }
  html.pz-tight .mb-me-txt strong { display: block; font-size: 15px; }
  html.pz-tight .mb-me-txt small { color: #7c8288; font-size: 13px; }
  html.pz-tight .mb-me-arrow { color: #b9bec4; font-size: 22px; }

  html.pz-tight .mb-authrow { display: flex; gap: 9px; margin: 14px 14px 4px; }
  html.pz-tight .mb-btn {
    flex: 1; text-align: center; padding: 13px 10px; border-radius: 12px;
    font-weight: 800; font-size: 14.5px; text-decoration: none;
  }
  html.pz-tight .mb-btn-red { background: var(--pz-red, #C8102E); color: #fff; }
  html.pz-tight .mb-btn-ghost { background: #F1EEE9; color: var(--pz-dark, #1D1F24); }

  html.pz-tight .mb-sec-title {
    margin: 18px 16px 6px; font-size: 11.5px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; color: #a6acb3;
  }
  html.pz-tight .mb-cats, html.pz-tight .mb-links { display: flex; flex-direction: column; padding: 0 8px; }
  html.pz-tight .mb-cat, html.pz-tight .mb-links a {
    display: flex; align-items: center; gap: 12px;
    min-height: 50px; padding: 8px 12px; border-radius: 11px;
    text-decoration: none; color: var(--pz-dark, #1D1F24);
    font-size: 15.5px; font-weight: 600;
  }
  html.pz-tight .mb-cat:active, html.pz-tight .mb-links a:active { background: #F2EFEA; }
  html.pz-tight .mb-cat.on { background: rgba(200,16,46,.08); color: var(--pz-red, #C8102E); font-weight: 800; }
  html.pz-tight .mb-cat-img { width: 30px; height: 30px; object-fit: contain; flex: none; }
  html.pz-tight .mb-cat-ico { width: 30px; text-align: center; font-size: 19px; flex: none; }
  html.pz-tight .mb-links a { justify-content: space-between; }
  html.pz-tight .mb-pill {
    background: var(--pz-red, #C8102E); color: #fff; border-radius: 999px;
    min-width: 24px; height: 24px; padding: 0 8px; font-size: 12.5px; font-weight: 900;
    display: inline-grid; place-items: center;
  }
  html.pz-tight .mb-out { color: var(--pz-red, #C8102E) !important; font-weight: 800 !important; }

  html.pz-tight .mb-call {
    display: block; margin: 18px 16px 0; padding: 14px; border-radius: 12px;
    background: #1D1F24; color: #fff; text-align: center;
    font-weight: 800; font-size: 16px; text-decoration: none;
  }

  html.pz-tight .mb-burger {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: transparent; color: #fff; cursor: pointer;
    border-radius: 12px; position: relative; padding: 0;
  }
  html.pz-tight .mb-burger:active { background: rgba(255,255,255,.14); }
  html.pz-tight .mb-burger span {
    display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px;
    box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff;
  }

}

/* v140: mobilon/tableten sem lóghat ki a kategóriacsík – ha nem fér ki egy sorban, eltűnik (a hamburger menüben ott vannak) */
@media (max-width: 991px) {
  html.pz-tight .pz-cats { display: none !important; }
  .pz-cats .pz-wrap { overflow-x: hidden !important; justify-content: space-evenly !important; }   /* ha kifér: egyenletesen elosztva */
}
