.header-main {
  position: relative;
  padding-bottom: 20px;
}
.header-main__body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
@media (min-width: 1440px) {
  .header-main__body {
    grid-template-columns: auto 1fr auto;
    gap: 42px;
  }
}
.header-main__logo {
  width: 100%;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .header-main__logo {
    max-width: 210px;
  }
}
.header-main__logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-main__logo span svg {
  width: 100%;
  max-height: 35px;
  height: 100%;
}
.header-main__bar {
  position: relative;
  width: 100%;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  gap: 24px;
  background: #f6f6f6;
}
.header-main__button-menu {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .header-main__button-menu {
    grid-template-columns: 22px 1fr;
    padding: 16px 32px;
    max-width: 156px;
    width: 100%;
  }
}
.header-main__button-menu:hover .header-main__button-menu_burger span:nth-child(1) {
  transform: translateY(-6px);
}
.header-main__button-menu:hover .header-main__button-menu_burger span:nth-child(3) {
  transform: translateY(4px);
}
.header-main__button-menu.active .header-main__button-menu_burger span:nth-child(1) {
  transform: rotate(45deg);
}
.header-main__button-menu.active .header-main__button-menu_burger span:nth-child(2) {
  opacity: 0;
}
.header-main__button-menu.active .header-main__button-menu_burger span:nth-child(3) {
  transform: rotate(-45deg);
}
.header-main__button-menu:hover::before, .header-main__button-menu.active::before {
  transform: scaleY(1);
}
.header-main__button-menu:focus {
  opacity: 1 !important;
}
.header-main__button-menu_text {
  display: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.125;
  text-align: center;
}
@media (min-width: 1024px) {
  .header-main__button-menu_text {
    display: block;
  }
}
.header-main__search {
  width: 100%;
}
.header-main__search .search-field.focused {
  z-index: 1000;
  background-color: #fff;
}
@media (min-width: 768px) {
  .header-main__user-links {
    margin-right: 15px;
  }
}
.header-main__user-links_list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.header-main__user-links_link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}
.header-main__user-links_link:hover svg {
  color: #ff7100;
}
.header-main__user-links_link span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-main__user-links_link span svg {
  width: 22px;
  height: 22px;
}
.header-main__user-links_link.header-sidebar--button .header-sidebar--button__icon {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 2px;
  background-color: #ff7100;
  border-radius: 100%;
}
.header-main__user-links_link.header-sidebar--button .header-sidebar--button__icon svg {
  width: 100%;
  height: 100%;
  color: #fff !important;
}
.header-main__user-links_link.header-sidebar--button.active svg {
  color: #ff7100;
}

.burger-button {
  position: relative;
  width: 22px;
  height: 24px;
  display: block;
  cursor: pointer;
}
.burger-button span {
  position: absolute;
  left: 0;
  top: 47%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 25px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-button span:nth-child(1) {
  transform: translateY(-7px);
}
.burger-button span:nth-child(2) {
  transform: translateY(-47%);
}
.burger-button span:nth-child(3) {
  transform: translateY(5px);
}

.header-lk-sidebar {
  position: fixed;
  z-index: 100;
  border-radius: 16px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  max-width: 285px;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  box-shadow: none;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), box-shadow 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), margin-top 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.header-lk-sidebar.show {
  margin-top: 14px;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
}
.header-lk-sidebar .lk-sidebar {
  padding: 24px;
}
.header-lk-sidebar .lk-sidebar__header {
  margin-bottom: 24px;
}
.header-lk-sidebar .lk-sidebar__header_user-name {
  font-size: 16px;
}
.header-lk-sidebar .lk-sidebar__links {
  margin-bottom: 12px;
}
.header-lk-sidebar .lk-sidebar__action + .header-lk-sidebar .lk-sidebar__action {
  margin-top: 8px;
}
.header-lk-sidebar .lk-sidebar__exit {
  border-top: 1px solid #eaeaea;
  border-bottom: none;
  padding-block: 12px 0;
  margin-bottom: 0;
}