/* Keep the scooter sale link in the storefront navigation. */
body#checkout #header #top-menu > :is(#lnk-verkoop-je-scooter, #lnk-sell-your-scooter) {
  display: none !important;
}

@media (min-width: 992px) {
  body:not(#checkout) #header .header-top,
  body:not(#checkout) #header .header-top > .container,
  body:not(#checkout) #header .header-top > .container > .row:not(#mobile_top_menu_wrapper) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body:not(#checkout) #header .header-top {
    padding-block: 6px !important;
  }

  body:not(#checkout) #header .header-top > .container > .row:not(#mobile_top_menu_wrapper) {
    display: grid !important;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 2px 20px !important;
    align-items: center !important;
  }

  body:not(#checkout) #header .header-top .header-top-right {
    display: contents !important;
  }

  body:not(#checkout) #header .header-top #_desktop_logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body:not(#checkout) #header .header-top #search_widget {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    justify-self: end !important;
    width: min(100%, 320px) !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body:not(#checkout) #header .header-top #search_widget form {
    width: 100% !important;
    min-width: 0 !important;
  }

  body:not(#checkout) #header .header-top #_desktop_top_menu {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body:not(#checkout) #header .header-top #_desktop_top_menu #top-menu[data-depth="0"] {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 2px 12px !important;
  }
}
