/* Desktop: päis kerib lehega (miu.ee). Mobiil jääb sticky — üle kirjutab miu-bundle + critical. */
@media (min-width: 992px) {
  html body #header:has(.miu-hdr),
  html body #header.header:has(.miu-hdr),
  html body #header.js-sticky-header:has(.miu-hdr) {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  html body #header:has(.miu-hdr),
  html body #header.header:has(.miu-hdr) {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
}