/* COFFEE TIME — final navigation/payment UX fixes · 2026-10-22 */
/* This file is deliberately loaded last: earlier redesign styles override position. */
.topbar {
  position: fixed !important;
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  width: min(1420px, calc(100% - 44px)) !important;
  z-index: 70 !important; /* Keep the bar below modal/drawer overlays. */
  isolation: isolate;
}

html { scroll-padding-top: 104px !important; }

@media (max-width: 1000px) {
  .topbar {
    width: calc(100% - 26px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: fixed !important;
    top: 8px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 16px) !important;
    min-height: 60px !important;
    margin: 0 !important;
    z-index: 70 !important;
  }
}
