.ml-header-cart {
  position:relative;
}

.ml-header-cart .cart-count {
  position:absolute;
  top:-5px;
  right:-7px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:999px;
  background:var(--colour-storefront-primary);
  color:var(--colour-bg-light);
  font-size:.6rem;
  font-weight:700;
}

html:has(.site-header) {
  scroll-padding-top: 10.5rem;
  scroll-padding-bottom: 5rem;
}

.site-header .ml-header-bar {
  flex-wrap: wrap;
}

.site-header .ml-header-bar > .site-logo {
  margin-right: auto;
}

.site-header .ml-header-bar .header-search__wrap {
  order: 1;
  flex: 1 1 100%;
  min-width: 0;
}

.site-header .header-search__wrap > svg {
  flex-shrink: 0;
}

.site-header .header-search__wrap .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header .ml-header-bar .header-search__input {
  min-width: 0;
  width: 100%;
  font-size: 1rem;
}

@media (min-width: 600px) {
  html:has(.site-header) {
    scroll-padding-top: 8rem;
  }

  .site-header .ml-header-bar {
    flex-wrap: nowrap;
  }

  .site-header .ml-header-bar > .site-logo {
    margin-right: calc(2rem - 12px);
  }

  .site-header .ml-header-bar .header-search__wrap {
    order: 0;
    flex: 1 1 0;
  }
}
