@charset "utf-8";

.header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 997;
  background-color: #fff;
}
.header_wrapper {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}
.header_logo {
  transition: opacity 0.15s ease;
}
.header_logo_img {
  width: auto;
  height: 34px;
}
.header_nav {
  height: 100%;
  margin-left: 32px;
}
.header_nav_list {
  display: flex;
  align-items: center;
  height: 100%;
}
.header_nav_list_item {
  height: 100%;
  position: relative;
}
.header_nav_list_item_link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-weight: 500;
}
.header_nav_list_item_link_text {
  position: relative;
}
.header_nav_list_item_link_text:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background-color: #182127;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}
.header_nav_list_item_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  background: #182127;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.header_nav_sub_list {
  visibility: hidden;
  position: absolute;
  top: 52px;
  left: 50%;
  z-index: 999;
  background-color: #fff;
  opacity: 0;
  transform: translate(-50%, 0);
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.header_nav_sub_list_item_link {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 220px;
  padding: 16px 12px;
  transition: background-color 0.15s ease;
}
.header_nav_sub_list_item_link.product {
  padding: 12px;
}
.header_nav_sub_list_item_link_text {
  white-space: nowrap;
}
.header_nav_sub_list_item_link_img {
  width: 18px;
  height: 6px;
  margin-left: 16px;
}
.header_nav_sub_list_item_link_product {
  display: flex;
  align-items: center;
}
.header_nav_sub_list_item_link_product_icon {
  width: 22px;
  height: auto;
  margin-right: 16px;
}
.header_nav_sub_list_item_link_product_text_name {
  white-space: nowrap;
}
.header_nav_sub_list_item_link_product_text_description {
  margin-top: 2px;
  color: #6e7c89;
  font-size: 11px;
  white-space: nowrap;
}
.header .lang_switch {
  height: 100%;
  margin-left: auto;
}
.header .lang_switch_btn {
  height: 100%;
}
.header .lang_switch_list {
  top: 52px;
  right: 0;
  animation: fadeInDown 0.15s ease;
}
.header_contact {
  margin-left: 32px;
  padding: 0 24px;
  border: solid 1px #dce2e8;
  border-radius: 48px;
  font-weight: 500;
  line-height: 46px;
  transition: border-color 0.15s ease;
}
.header_menu_btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-left: auto;
  padding-left: 32px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.header_menu_btn_line {
  width: 24px;
  height: 2px;
  background-color: #182127;
  border-radius: 1px;
  transition: transform 0.15s ease;
}
.header_menu_btn_line.top {
  margin-bottom: 8px;
}
.header_menu_btn.active .header_menu_btn_line.top {
  margin-bottom: -2px;
  transform: rotate(45deg);
}
.header_menu_btn.active .header_menu_btn_line.bottom {
  transform: rotate(-45deg);
}

@media screen and (max-width: 1140px) {
  .header_nav {
    margin-left: 24px;
  }
  .header_nav_list_item_link {
    padding: 0 12px;
  }
  .header_contact {
    margin-left: 24px;
  }
}

@media screen and (max-width: 1040px) {
  .header_wrapper {
    height: 56px;
  }
  .header_logo_img {
    height: 32px;
  }
  .header_nav {
    display: none;
  }
  .header .lang_switch {
    display: none;
  }
  .header_contact {
    display: none;
  }
  .header_menu_btn {
    display: flex;
  }
}

@media screen and (min-width: 641px) {
  .header_logo:hover {
    opacity: 0.6;
  }
  .header_nav_list_item:hover .header_nav_list_item_link_text:after {
    transform: none;
  }
  .header_nav_list_item:hover .header_nav_list_item_bg {
    display: block;
    opacity: 0.1;
  }
  .header_nav_list_item:hover .header_nav_sub_list {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }
  .header_nav_sub_list_item_link:hover {
    background-color: #f6f8fa;
  }
  .header_contact:hover {
    border-color: #182127;
  }
  .header_menu_btn:hover {
    opacity: 0.6;
  }
}

@media screen and (max-width: 640px) {
  .header_wrapper {
    padding: 0 20px;
  }
  .header_logo_img {
    height: 28px;
  }
}
