/* Mobile header must not become the positioning context for the fixed bottom navigation. */
@media (max-width: 767px) {
  body #header.l-header.fixed {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  body #wrapper,
  body #header.l-header.fixed + #wrapper {
    padding-top: 0 !important;
  }

  body:not(#index) #wrapper {
    margin-top: 0 !important;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .sr-bottom-nav {
    box-sizing: border-box;
    height: calc(72px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  body#checkout,
  body#order {
    padding-bottom: 0;
  }
}
