/* ══════════════════════════════════════════
   CASTRO — meni.css
══════════════════════════════════════════ */
:root {
  --primary:    #2EC4B6;
  --accent:     #E63946;
  --bg-page:    #F8F9FA;
  --bg-card:    #FFFFFF;
  --dark:       #111111;
  --text:       #1D1D1F;
  --muted:      #888888;
  --divider:    #E8E8EA;
  --gold:       #FFD166;
  --white:      #FFFFFF;
  --nav-h:      68px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --r:          14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg-page); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  gap: 16px;
}
.nav__logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav__center {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  justify-content: center;
}
.nav__center::-webkit-scrollbar { display: none; }
.nav__tab {
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  border-radius: 60px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__tab:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav__tab.active { color: var(--primary); background: rgba(46,196,182,0.12); }

.nav__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  transition: background .2s, transform .2s;
}
.cart-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }

.cart-badge, .fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease);
}
.cart-badge.pop { transform: scale(1.4); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.meni-hero {
  position: relative;
  height: 52vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.meni-hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.meni-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.meni-hero__slide.active { opacity: 1; }
.meni-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.08) 100%);
}
.meni-hero__content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
.meni-hero__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.meni-hero__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(60px, 11vw, 120px);
  line-height: .92;
  color: var(--white);
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.meni-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  max-width: 440px;
}

/* ─── MAIN ─── */
.meni-main { background: var(--bg-page); }

.cat:focus,
.cat:focus-visible { outline: none; }

/* ─── CATEGORY SECTION ─── */
.cat {
  background: var(--bg-page);
  border-bottom: 1px solid var(--divider);
}

/* Banner */
.cat__banner {
  position: relative;
  height: 38vh;
  min-height: 260px;
  overflow: hidden;
}
.cat__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 9s var(--ease);
}
.cat:hover .cat__banner img { transform: scale(1.03); }
.cat__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.18) 100%);
}
.cat__banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
}
.cat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.cat__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  color: var(--white);
  line-height: 1;
  letter-spacing: .01em;
}

/* Body */
.cat__body {
  padding: 40px 0 60px;
  background: var(--bg-page);
}

/* ─── ITEM GROUPS ─── */
.item-group {
  margin-bottom: 40px;
}
.item-group:last-child { margin-bottom: 0; }

.group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}
.group-label--special { color: #C49000; }

/* ─── ITEM GRID ─── */
.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--divider);
  border-radius: var(--r);
  overflow: hidden;
}

/* ─── ITEM CARD ─── */
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  transition: background .15s;
  min-height: 68px;
}
.item:hover { background: rgba(255,209,102,0.08); }

.item--special {
  background: rgba(255,209,102,0.1);
  border-left: 3px solid rgba(255,209,102,0.5);
}
.item--special:hover { background: rgba(255,209,102,0.18); }

.item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}
.item--special .item__name { color: #1D1D1F; }

.item__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -.01em;
}

/* Add button */
.add-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(46,196,182,0.12);
  color: var(--primary);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .18s, color .2s;
  flex-shrink: 0;
}
.add-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.add-btn.added {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.18);
}

/* ─── FOOTER ─── */
.footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}
.footer__grid h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__grid a, .footer__grid p {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 2;
  transition: color .2s;
}
.footer__grid a:hover { color: var(--primary); }
.footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,.2);
  text-align: center;
}

/* ─── CART PANEL ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #161616;
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  box-shadow: -8px 0 48px rgba(0,0,0,.45);
}
.cart-panel.open { transform: none; }

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cart-panel__head h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}
.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.cart-close:hover { background: rgba(255,255,255,.14); }

.cart-panel__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-panel__items::-webkit-scrollbar { width: 4px; }
.cart-panel__items::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: rgba(255,255,255,.22);
  font-size: 14px;
}
.cart-empty svg { opacity: .25; }

/* Cart item row */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 12px 14px;
}
.cart-item__name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
  min-width: 0;
}
.cart-item__price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 2px 6px;
}
.qty-ctrl button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.qty-ctrl button:hover { color: var(--white); background: rgba(255,255,255,.1); }
.qty-ctrl span {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.cart-panel__foot {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total span:first-child { font-size: 14px; color: rgba(255,255,255,.45); }
.cart-total span:last-child { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.02em; }

.order-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 60px;
  transition: background .2s, transform .2s, opacity .2s;
  letter-spacing: -.01em;
}
.order-btn:hover:not(:disabled) { background: #c62f3c; transform: translateY(-1px); }
.order-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ─── ORDER MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -44%) scale(.96);
  width: min(480px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  background: #1a1a1a;
  border-radius: 20px;
  padding: 36px 32px 28px;
  z-index: 401;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.14); }
.modal__title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.modal__sub { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 24px; line-height: 1.5; }

.modal__form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.field input, .field textarea {
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,196,182,.14);
}
.field input.err { border-color: var(--accent); }
.field textarea { resize: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.2); }

.radio-group { display: flex; gap: 10px; }
.radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  flex: 1;
  justify-content: center;
}
.radio:has(input:checked) { border-color: var(--primary); background: rgba(46,196,182,.1); }
.radio input { display: none; }
.radio span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.65); }
.radio:has(input:checked) span { color: var(--primary); }

.order-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: #25D366;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 60px;
  transition: background .2s, transform .2s;
  margin-top: 4px;
}
.order-submit:hover { background: #1ebe59; transform: translateY(-1px); }

.call-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.call-alt:hover { color: rgba(255,255,255,.65); }

/* ─── FAB CART ─── */
.fab-cart {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 199;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(230,57,70,.4);
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.fab-cart:hover { transform: scale(1.06); box-shadow: 0 10px 30px rgba(230,57,70,.5); }
.fab-badge {
  top: -3px;
  right: -3px;
  font-size: 12px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }

  /* Dark bar when menu open */
  .nav:has(.nav__burger.open) {
    background: #111111 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mobile nav drawer
     position: absolute (not fixed!) jer backdrop-filter na .nav
     pravi containing block za fixed descendante — iOS bug */
  .nav__center {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    background: #111111;
    z-index: 999;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__center.open { transform: translateX(0); }

  .nav__tab {
    font-size: 17px;
    font-weight: 500;
    padding: 14px 28px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    border-radius: 12px;
    color: rgba(255,255,255,0.65);
  }
  .nav__tab:hover,
  .nav__tab:active { background: rgba(255,255,255,0.07); color: var(--white); }
  .nav__tab.active { color: var(--primary); background: rgba(46,196,182,0.12); }
  .nav__tab:focus { outline: none; }
  .nav__tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

  .fab-cart { display: flex; }
  .cart-btn { display: none; }

  .cat__banner { height: 34vh; min-height: 220px; }
  .cat__banner-text { padding: 24px 20px; }
  .cat__title { font-size: clamp(36px, 9vw, 60px); }

  .item-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .item { padding: 16px 18px; min-height: 60px; }
  .item__name { font-size: 13.5px; }
  .item__price { font-size: 13.5px; }

  .cat__body { padding: 28px 0 44px; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .modal { padding: 28px 20px 24px; border-radius: 16px; }
}

@media (max-width: 480px) {
  .meni-hero { height: 46vh; min-height: 300px; }
  .meni-hero__title { font-size: 58px; }
  .cart-panel { width: 100vw; }
  .item { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.item.item--unavailable {
  opacity: 0.55;
  position: relative;
}

.item.item--unavailable .add-btn {
  display: none;
}

.item .unavailable-tag {
  margin-left: 8px;
  color: #ff5a5f;
  font-size: 12px;
  font-weight: 700;
}

.customer-status {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1100;
  background: rgba(18, 18, 18, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 220px;
  font-size: 13px;
  display: none;
}

/* ─── MOBILNI CHECKOUT FAB ─── */
.checkout-fab {
  display: none; /* sakriveno na desktopu */
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 600;
  background: var(--accent);
  color: var(--white);
  border-radius: 60px;
  padding: 14px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(230,57,70,.45);
  transition: transform .4s var(--ease), box-shadow .2s, opacity .4s;
  opacity: 0;
  white-space: nowrap;
  width: calc(100% - 32px);
  max-width: 400px;
  justify-content: space-between;
}
.checkout-fab.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.checkout-fab:hover {
  background: #c62f3c;
  box-shadow: 0 12px 40px rgba(230,57,70,.55);
}
.checkout-fab__text {
  flex: 1;
  text-align: left;
}
.checkout-fab__total {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .checkout-fab {
    display: flex;
  }
  /* Pomeri fab-cart kada je checkout-fab vidljiv */
  .checkout-fab.visible ~ .fab-cart,
  body:has(.checkout-fab.visible) .fab-cart {
    bottom: 100px;
  }
}

/* ─── INLINE QTY CTRL (na stavkama menija) ─── */
.item-qty-ctrl {
  display: flex;
  align-items: center;
  background: var(--primary);
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.item-qty-btn {
  width: 30px;
  height: 30px;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.item-qty-btn:hover { background: rgba(0,0,0,.18); }
.item-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* Badge za pice sa velicinama */
.size-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 13px;
  margin-right: 6px;
}

/* ─── SIZE PICKER (bottom sheet) ─── */
.size-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.size-picker-overlay.open { opacity: 1; pointer-events: all; }

.size-picker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-radius: 20px 20px 0 0;
  z-index: 501;
  padding: 0 20px 32px;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 -8px 48px rgba(0,0,0,.5);
}
.size-picker.open { transform: translateY(0); }

.size-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.size-picker__title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: .02em;
}
.size-picker__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.size-picker__close:hover { background: rgba(255,255,255,.15); }
.size-picker__hint {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.size-picker__opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.size-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  font-family: 'Poppins', sans-serif;
}
.size-opt:hover {
  border-color: var(--primary);
  background: rgba(46,196,182,.1);
  transform: translateY(-1px);
}
.size-opt__cm { font-size: 16px; font-weight: 600; color: #fff; }
.size-opt__price { font-size: 16px; font-weight: 700; color: var(--accent); }

/* ─── CUSTOMER ORDER PILL ─── */
.order-status-pill {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(17,17,17,0.92);
  border: 1px solid rgba(46,196,182,0.4);
  border-radius: 50px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform .2s, box-shadow .2s;
}
.order-status-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.5); }
.order-status-pill.waiting {
  background: rgba(40,40,40,0.92);
  border-color: rgba(255,255,255,0.15);
  color: #bbb;
  cursor: default;
}
.order-status-pill.waiting:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.osp-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  animation: osp-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes osp-blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ─── ORDER DETAIL POPUP ─── */
.order-status-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 1099;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.order-status-overlay.open { opacity: 1; pointer-events: all; }

.order-detail-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1100;
  background: #161616;
  border: 1px solid rgba(46,196,182,0.25);
  border-radius: 18px;
  padding: 24px;
  width: min(340px, calc(100vw - 40px));
  box-shadow: 0 24px 64px rgba(0,0,0,.8);
  transform: translate(calc(-50vw + 60px), calc(50vh - 60px)) scale(0.1);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), opacity .3s;
}
.order-detail-popup.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.odp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.odp-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 3px;
}
.odp-id {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.odp-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: background .2s;
}
.odp-close:hover { background: rgba(255,255,255,.14); }
.odp-status {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.odp-msg {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin-bottom: 12px;
}
.odp-timer {
  margin-top: 15px;
  background: rgba(46,196,182,0.1);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.odp-timer-label {
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.odp-timer-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════
   NOVO — Sub-nav, opisi, pića, clean UI
══════════════════════════════════════ */

/* ─── STICKY SUB-NAV ─── */
.sub-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 190;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sub-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  width: min(1200px, 100%);
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav__inner::-webkit-scrollbar { display: none; }
.sub-nav__item {
  flex-shrink: 0;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2.5px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.sub-nav__item:hover { color: var(--text); }
.sub-nav__item.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ─── ITEM DESCRIPTION ─── */
.item__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.item__desc {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

/* ─── COMPACT BANNER ─── */
.cat__banner { height: 26vh !important; min-height: 180px !important; }

/* ─── DRINK ITEMS ─── */
.item--drink { background: #f7f8fa !important; border-left: none !important; cursor: default; }
.item--drink:hover { background: #f0f2f5 !important; }
.item--drink .item__price { color: var(--text) !important; font-weight: 600; }

/* ─── DRINKS INFO NOTE ─── */
.drinks-info-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46,196,182,0.08);
  border: 1px solid rgba(46,196,182,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #1a7a73;
  font-weight: 500;
}
.drinks-info-note svg { flex-shrink: 0; stroke: #2EC4B6; }

/* ─── CAT DRINKS ─── */
.cat--drinks .cat__label { color: #2EC4B6; }

/* ─── MOBILE SUB-NAV ─── */
@media (max-width: 768px) {
  .sub-nav { top: var(--nav-h); }
  .sub-nav__item { padding: 10px 11px; font-size: 11.5px; }
}

/* ─── DORUČAK — cutoff banner & disabled state ─── */
.breakfast-closed-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 20px 0;
  font-size: 13px;
  font-weight: 500;
  color: #b36200;
}
.breakfast-closed-banner svg { flex-shrink: 0; stroke: #ff9500; }

.item--breakfast.item--breakfast-closed {
  opacity: 0.45;
  pointer-events: none;
}
.item--breakfast.item--breakfast-closed .add-btn { display: none; }
