/* ===== NAV STAYS ON TOP, ALWAYS ===== */
.navui-topbar{
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* If any hero/section creates stacking contexts, header still wins */
.navui-panel,
.navui-backdrop,
.navui-header-dim{
  z-index: 9998;
}

/* ===== CLEAN ANCHOR JUMPS (header won't cover content) ===== */
#cennik,
#cennikinf,
#cennik-estetika{
  scroll-margin-top: calc(var(--topbar-h) + 14px);
}

/* Optional: make second "page" not add extra top padding again */
.page--second{
  padding-top: 0;
}
/* ===== NAVUI: make topbar bulletproof (no more vanishing) ===== */
:root{
  --navui-topbar-h: 64px; /* keep in sync with your design */
}

/* Always visible header */
.navui-topbar{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navui-topbar-h);
  z-index: 2147483647; /* yes, absurd. also yes, effective. */
}

/* Push page content below the fixed header */
body{
  padding-top: var(--navui-topbar-h);
}

/* Your overlays should still be above page content, but below topbar */
.navui-backdrop,
.navui-header-dim{
  position: fixed;
  inset: 0;
  z-index: 2147483646;
}

/* The sliding panel */
.navui-panel{
  position: fixed;
  z-index: 2147483646;
}

/* Safer anchor jumps */
html{
  scroll-padding-top: calc(var(--navui-topbar-h) + 14px);
}
