/* ============================================================
   Protein House — meni (QR jelovnik), mobile-first
   Nadogradnja na styles.css: iste varijable, kartice, badge, modal.
   Ovdje je samo "ljuska" stranice: sticky vrh + raspored za telefon.
   ============================================================ */

body.meni { background: var(--bg); }

/* ───────────── sticky vrh: brend + kategorije uvijek pri ruci ───────── */
.m-top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 11, 8, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.m-brand {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .7rem 1rem .55rem; text-decoration: none;
}
.m-brand img { width: 28px; height: 28px; }
.m-brand span {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi);
}
.m-brand em { font-style: normal; color: var(--gold); }

.m-top .menu__cats { margin: 0; padding: 0 1rem .65rem; }

/* ───────────────────────────── sadržaj ─────────────────────────────── */
.m-wrap { max-width: 1100px; margin-inline: auto; padding: 1.2rem 1rem 3.5rem; }

.m-intro { margin-bottom: 1.1rem; }
.m-intro h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-hi);
}
.m-intro p { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

.m-wrap .menu__search { margin-bottom: .9rem; }
#filtersBar[hidden] { display: none; }

/* ─────────── cijena (spremna — prikazuje se SAMO kad postoji) ───────── */
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.card__price, .modal__price {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 600;
  color: var(--gold); white-space: nowrap; font-size: .95rem;
}
.modal__head { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; }
.modal__price { font-size: 1.1rem; }

/* ──────────────────────────── telefon ──────────────────────────────── */
@media (max-width: 560px) {
  .menu__grid { grid-template-columns: 1fr; gap: 1rem; }
  .menu__filters { justify-content: flex-start; }
  #sort { width: 100%; }
}

/* na dodir ne "skači" na hover (mobilni) */
@media (hover: none) {
  .card:hover { transform: none; border-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
  .card:hover .card__img img { transform: none; }
}

/* ───────────── podnaslovi (podgrupe) ───────────── */
.m-subhead {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 1.8rem 0 .9rem;
  display: flex; align-items: center; gap: .9rem;
}
.m-subhead::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
#grid > .menu__grid { margin-top: 0; }
#grid > .m-subhead:first-child { margin-top: .4rem; }

/* ───────────── cjenovnik (Pića / Dodaci) ───────────── */
.plist { list-style: none; margin: 0 0 .6rem; padding: 0; }
.plist li {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .62rem .2rem; border-bottom: 1px solid rgba(201, 162, 99, .10);
}
.plist__name { color: var(--ink); font-size: .98rem; }
.plist__name em { color: var(--muted); font-style: normal; font-size: .82rem; }
.plist__dots { flex: 1; border-bottom: 1px dotted rgba(201, 162, 99, .3); transform: translateY(-3px); }
.plist__price {
  flex: 0 0 auto; font-family: var(--font-display); font-weight: 600;
  color: var(--gold); white-space: nowrap; font-size: .95rem;
}
