.header {
  display: none;
  background-color: white;
}
@media (min-width: 768px) {
  .header {
    display: block;
  }
}
.header__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.header__top {
  padding-top: 10px;
}
@media (min-width: 1024px) {
  .header__top {
    padding-top: 20px;
  }
}
.header--fixed {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  z-index: 20;
  background-color: #fff;
  padding-top: 20px;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  pointer-events: none;
}
@media (min-width: 768px) {
  .header--fixed {
    display: block;
  }
}
.header--fixed.active {
  transform: translateY(0);
  pointer-events: all;
}
.header--fixed .header-main__search.focused {
  z-index: inherit;
  background: none;
}
.header--fixed .header-main__search .search-field::before {
  display: none;
}
.header--fixed .header-main__search .search-field.focused {
  background-color: transparent;
}
.header--fixed .header-main__search .search-field .search-field__header {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.04);
}
.header--fixed .header-main__search .search-field .search-field__results {
  margin: 0 auto;
  width: 100%;
  border-radius: 10px;
}
.header--fixed .header-main__search .header-main__search_filed {
  overflow: auto;
}
.header--fixed .header-main__search .header-main__search_input:focus {
  box-shadow: 0 0 10px 10px #dadada;
}
.header--fixed .header-main__search .header-main__results {
  background: none;
}
.header--fixed .header-main__search .header-main__results .header-main__results_body {
  border-radius: 10px;
  padding-inline: 10px;
}

.header-cart-button {
  position: relative;
}
.header-cart-button__label {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -10px;
  right: -10px;
  border-radius: 10px;
  padding: 4px 6px;
  background-color: #ff7100;
  max-width: 35px;
}
@media (max-width: 375px) {
  .header-cart-button__label {
    right: -5px;
  }
}
.header-cart-button__label span {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.1;
  color: #fff;
}