.search-bar__input-wrapper,
.search-field__inner {
  position: relative;
}

.hero-block {
  position: relative;
  z-index: 5000;
}

.hero-block .hero,
.hero-block .hero__inner,
.hero-block .search-bar,
.hero-block .search-field {
  position: relative;
  z-index: 5001;
}

.hero-block .search-bar__container,
.hero-block .search-bar__input-wrapper,
.hero-block .search-field__inner {
  position: relative;
  z-index: 5002;
}

@media (min-width: 769px) {
  .hero-block .search-bar__container.hidden-sm {
    display: flex !important;
    width: 100%;
    height: 28px;
    align-items: center;
    gap: 4px;
  }

  .hero-block .search-bar__container.hidden-sm.active {
    width: 100%;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__input-wrapper {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-block .search-bar__container.hidden-sm.active .search-bar__input-wrapper {
    display: block;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__btn--close,
  .hero-block .search-bar__container.hidden-sm .search-bar__submit {
    display: none;
  }

  .hero-block .search-bar__container.hidden-sm.active .search-bar__btn--search {
    display: none;
  }

  .hero-block .search-bar__container.hidden-sm.active .search-bar__btn--close {
    display: inline-flex;
  }

  .hero-block .search-bar__container.hidden-sm.active .search-bar__submit {
    display: block;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__actions {
    order: 2;
    margin: 0 0 4px;
    gap: 4px;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__btn {
    width: 24px;
    height: 24px;
    justify-content: center;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__btn svg {
    width: 20px;
    height: 20px;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__btn--search svg {
    width: 17px;
    height: 18px;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__input {
    height: 24px;
    padding: 1px 34px 5px 0;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__input::placeholder {
    color: #858585;
    opacity: 1;
  }

  .hero-block .search-bar__container.hidden-sm .search-bar__submit {
 
  }
}

.header-live-search {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 5003;

  display: none;
  width: 100%;
  max-height: min(620px, calc(100vh - 130px));
  overflow: hidden;

  background: #fff;
  border: 1px solid #151515;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.header-live-search.is-open {
  display: block;
}

.header-live-search__inner {
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #151515 #ccc;
  scrollbar-width: thin;
}

.header-live-search__inner::-webkit-scrollbar {
  width: 8px;
}

.header-live-search__inner::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 0;
}

.header-live-search__inner::-webkit-scrollbar-thumb {
  background: #151515;
  border-radius: 0;
}

.header-live-search__state {
  padding: 16px;
  font-family: "Mulish", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .24px;
  color: #808080;
}

.header-live-search__group {
  padding: 0;
}

.header-live-search__group + .header-live-search__group {
  border-top: 0;
}

.header-live-search__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 8px 16px;
  font-family: "Mulish", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1.2px;
  color: #808080;
  text-transform: uppercase;

  background: #151515;
  border-bottom: 0;
}

.header-live-search__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0;
  color: #f0f0f0;
  background: #2a2a2a;
}

.header-live-search__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  padding: 8px 16px;

  color: #151515;
  text-decoration: none;

  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}

.header-live-search__item--profile {
  justify-content: space-between;
}

.header-live-search__item:hover,
.header-live-search__item:focus,
.header-live-search__item.is-active {
  color: #151515;
  text-decoration: none;

  background-color: #f0f0f0;
  outline: 0;
}

.header-live-search__icon {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: #151515;

  background: #fff;
  border: 1px solid #151515;
  border-radius: 0;
}

.header-live-search__photo {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: cover;

  background: #f5f5f5;
  border-radius: 50%;
}

.header-live-search__content {
  flex: 1 1 auto;
  min-width: 0;
}

.header-live-search__name {
  display: block;
  overflow: hidden;

  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: #151515;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-live-search__meta,
.header-live-search__details {
  display: block;
  overflow: hidden;
  margin-top: 0;

  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .24px;
  color: #808080;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-live-search__badge {
  flex: 0 0 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 18px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .2px;
  text-transform: uppercase;
  background: #f0f0f0;
  border: .8px solid #ccc;
}

.header-live-search__badge--salon {
  color: #599cce;
  background: #d3fffb;
  border-color: #85b6db;
}

.header-live-search__badge--master {
  color: #68a693;
  background: #cfffe5;
  border-color: #afccc3;
}

.header-live-search__badge--school {
  color: #8b73c9;
  background: #eee8ff;
  border-color: #c7b8ec;
}

.header-live-search__arrow {
  flex: 0 0 9px;
  position: relative;
  width: 9px;
  height: 14px;
  margin-left: auto;
}

.header-live-search__arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 9px solid #151515;
}

.header-live-search__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
}

.header-live-search__category {
  flex: 0 0 calc((100% - 40px) / 6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  height: 40px;
  padding: 8px 8px 8px 16px;
  font-family: "Mulish", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  color: #151515;
  text-decoration: none;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid #ccc;
}

.header-live-search__category:hover,
.header-live-search__category:focus,
.header-live-search__category.is-active {
  color: #151515;
  text-decoration: none;
  background: #f0f0f0;
  outline: 0;
}

.header-live-search__category-name {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-live-search__category .header-live-search__arrow {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  margin-left: 8px;
}

.header-live-search__category .header-live-search__arrow::before {
  top: 5px;
}

.header-live-search__footer {
  border-top: 1px solid #ccc;
}

.header-live-search__all {
  justify-content: flex-end;
  min-height: 33px;
  padding: 9px 16px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #151515;
  text-decoration: underline;
  text-transform: uppercase;

  background: #f0f0f0;
  border-bottom: 0;
}

.header-live-search__all:hover,
.header-live-search__all:focus,
.header-live-search__all.is-active {
  color: #151515;
  text-decoration: underline;
  background: #e6e6e6;
}

.search-field__inner .header-live-search {
  top: calc(100% + 1px);
  left: 0;

  width: 100%;

  transform: none;
}

@media (max-width: 1279px) {
  .header-live-search__category {
    flex-basis: calc((100% - 24px) / 4);
    padding-left: 12px;
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-width: 1023px) {
  .header-live-search__category {
    flex-basis: calc((100% - 8px) / 2);
  }
}

@media (max-width: 768px) {
  .hero-block .search-bar__btn.search-btn-mob {
    display: flex !important;
  }

  .header-live-search {
    top: calc(100% + 1px);
    left: 0;

    width: 100%;
    max-height: calc(100vh - 110px);

    transform: none;
  }

  .header-live-search__item {
    min-height: 52px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-live-search__title {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-live-search__badge {
    flex-basis: 58px;
    min-width: 58px;
    font-size: 9px;
  }

  .header-live-search__arrow {
    display: none;
  }

  .header-live-search__categories {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-live-search__category {
    flex-basis: 100%;
  }

  .header-live-search__category .header-live-search__arrow {
    display: block;
  }

  .header-live-search__all {
    justify-content: center;
    min-height: 31px;
    padding: 9px 16px 8px;
    line-height: 14px;
  }

  .header-live-search__name,
  .header-live-search__details {
    max-width: 100%;
  }
}
