.storefront .header-brand-group {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: 0;
}

.header-delivery-partners {
  flex: none;
  padding-inline-start: 12px;
  border-inline-start: 1px solid #e4d8c7;
}

.header-delivery-label {
  display: block;
  margin-bottom: 4px;
  color: #66564a;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

.header-delivery-label [lang="ru"],
.header-delivery-label [lang="en"],
html:is([lang="ru"], [lang="en"]) .header-delivery-label [lang="lv"] {
  display: none;
}

html[lang="ru"] .header-delivery-label [lang="ru"],
html[lang="en"] .header-delivery-label [lang="en"] {
  display: inline;
}

.header-delivery-links {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.header-delivery-link {
  display: grid;
  height: 36px;
  place-items: center;
  border-radius: 9px;
}

.header-delivery-link:hover {
  filter: brightness(1.09);
}

.header-delivery-link:focus-visible {
  outline: 2px solid #2b1d15;
  outline-offset: 3px;
}

.header-delivery-link--wolt {
  width: 44px;
  overflow: hidden;
  background: #08c1e8;
}

.header-delivery-link--wolt img {
  display: block;
  width: 44px;
  height: 36px;
  object-fit: cover;
}

.header-delivery-link--dotglot {
  width: 83px;
  background: #045ef5;
}

.header-delivery-link--dotglot img {
  display: block;
  width: 68px;
  height: auto;
}

@media (min-width: 1061px) and (max-width: 1340px) {
  html:not(.forced-mobile-layout) .storefront.compact-header .site-header {
    column-gap: 16px;
    padding-inline: 24px;
  }

  html:not(.forced-mobile-layout) .storefront.compact-header .main-nav {
    gap: 12px;
  }
}

@media (min-width: 1061px) and (max-width: 1200px) {
  html:not(.forced-mobile-layout) .storefront.compact-header .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
    padding-block: 8px 0;
  }

  html:not(.forced-mobile-layout) .storefront.compact-header .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  html:not(.forced-mobile-layout) .storefront.compact-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
  }
}

@media (min-width: 721px) and (max-width: 820px) {
  html:not(.forced-mobile-layout) .storefront.compact-header .site-header {
    column-gap: 12px;
    padding-inline: 18px;
  }
}

@media (max-width: 720px) {
  .storefront .header-brand-group {
    gap: 8px;
  }

  .header-delivery-partners {
    padding-inline-start: 8px;
  }

  .header-delivery-label {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .header-delivery-links {
    gap: 5px;
  }

  .header-delivery-link--dotglot {
    width: 70px;
  }

  .header-delivery-link--dotglot img {
    width: 59px;
  }
}

@media (max-width: 360px) {
  .storefront .header-brand-group .brand-logo {
    width: 92px;
  }
}
