.osite { background: var(--bg); min-height: 100vh; }

.onav {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg-3); border-bottom: 2px solid var(--honey);
}
.onav__inner { max-width: 1180px; margin: 0 auto; padding: 13px clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.onav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.onav__name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.onav__sub { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.onav__place { background: var(--honey); color: #2a160f; font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 999px; }

.order { max-width: 1180px; margin: 0 auto; padding: clamp(18px, 3vw, 30px) clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1fr 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.order__menu { min-width: 0; }

.mode {
  display: flex; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 16px;
}
.mode__opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 11px 8px; border: none; border-radius: 9px; background: transparent; color: var(--ink-2);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .18s, color .18s;
}
.mode__opt small { font-weight: 500; font-size: 11px; color: var(--ink-3); }
.mode__opt--on { background: var(--plum); color: #fff; }
.mode__opt--on small { color: rgba(255,255,255,.8); }

.pickup { margin-bottom: 18px; }

.mcat { margin: 22px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--honey); display: flex; align-items: center; gap: 10px; }
.mcat::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.mitem {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px;
  transition: border-color .18s, transform .18s;
}
.mitem--active { border-color: var(--honey); }
.mitem__thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex: none; background: var(--bg-3); position: relative; }
.mitem__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mitem__thumb--ph { display: flex; align-items: center; justify-content: center; color: var(--copper); }
.mitem__body { flex: 1; min-width: 0; }
.mitem__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.mitem__desc { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.mitem__price { font-weight: 800; font-size: 15px; color: var(--honey); margin-top: 5px; }
.mitem__action { flex: none; }
.add-btn {
  width: 42px; height: 42px; border-radius: 11px; border: none; background: var(--plum); color: #fff;
  font-size: 24px; font-weight: 600; cursor: pointer; line-height: 1; transition: transform .12s, background .15s;
}
.add-btn:hover { background: var(--plum-2); }
.add-btn:active { transform: scale(.88); }
.add-btn.pulse { animation: addpulse .4s ease; }
@keyframes addpulse { 0% { transform: scale(1); } 40% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(244,122,82,.25); } 100% { transform: scale(1); } }
.qstep { display: flex; align-items: center; gap: 8px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 11px; padding: 4px; }
.qstep button { width: 32px; height: 32px; border: none; border-radius: 8px; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.qstep button:hover { background: var(--bg); }
.qstep span { min-width: 20px; text-align: center; font-weight: 800; }
.mitem--off { opacity: .5; }
.mitem__off { font-size: 12px; color: var(--red); font-weight: 700; }

.summary {
  position: sticky; top: 86px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
}
.summary__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.summary__title { font-size: 18px; font-weight: 800; }
.summary__place { font-size: 12px; color: var(--honey); font-weight: 700; }
.summary__empty { color: var(--ink-3); font-size: 14px; padding: 22px 0; text-align: center; }
.sline { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sline__body { flex: 1; min-width: 0; }
.sline__name { font-weight: 700; font-size: 14px; }
.sline__sum { color: var(--honey); font-weight: 700; font-size: 13px; margin-top: 2px; }
.sline__note { margin-top: 6px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12px; background: var(--bg); color: var(--ink); }
.sline.bump { animation: bump .4s ease; }
@keyframes bump { 0% { background: transparent; } 30% { background: rgba(244,122,82,.16); } 100% { background: transparent; } }
.summary__totals { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; font-weight: 800; }
.summary__totals b { font-size: 22px; color: var(--honey); }

.payseg { display: flex; gap: 8px; margin: 14px 0; }
.payseg__opt { flex: 1; text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-3); color: var(--ink-2); font-weight: 700; font-size: 13px; cursor: pointer; transition: .15s; }
.payseg__opt--on { background: var(--honey); color: #2a160f; border-color: var(--honey); }

.contact-mini .field { margin-bottom: 10px; }

/* flying dot animace pri pridani */
.fly { position: fixed; z-index: 90; width: 16px; height: 16px; border-radius: 50%; background: var(--honey); pointer-events: none; box-shadow: 0 0 12px rgba(244,122,82,.7); }

/* mobilni spodni lišta + sheet */
.obar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
  background: var(--bg-3); border-top: 1px solid var(--line-2); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.4); cursor: pointer;
}
.obar__left { display: flex; flex-direction: column; }
.obar__count { font-size: 12px; color: var(--ink-2); }
.obar__total { font-weight: 800; font-size: 18px; color: var(--honey); }
.obar__go { background: var(--plum); color: #fff; font-weight: 800; padding: 12px 20px; border-radius: 10px; font-size: 15px; }

.osheet-ov { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.65); display: none; align-items: flex-end; }
.osheet-ov.show { display: flex; }
.osheet { background: var(--bg-2); width: 100%; max-width: 620px; margin: 0 auto; border-radius: 18px 18px 0 0; max-height: 90vh; overflow-y: auto; border-top: 1px solid var(--line); padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); }
.osheet__close { background: none; border: none; color: var(--ink-2); font-size: 26px; cursor: pointer; float: right; line-height: 1; }

.oconfirm { max-width: 520px; margin: 0 auto; text-align: center; padding: 60px 18px; }
.oconfirm__check { width: 72px; height: 72px; border-radius: 50%; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 38px; }
.oconfirm__no { font-size: 48px; font-weight: 800; color: var(--honey); margin: 8px 0; }
.oconfirm__msg { color: var(--ink-2); }

@media (max-width: 880px) {
  .order { grid-template-columns: 1fr; padding-bottom: 96px; }
  .order__summary { display: none; }
  .obar { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .add-btn.pulse, .sline.bump { animation: none; }
  .fly { display: none; }
}
