.header_4_header_block {
  width: 100%;
  height: auto;
  background-color: #000;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.header_4_header_block.fix_me {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}
.header_4_header_block section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.header_4_header_first {
  height: 40px;
  border-bottom: 1px solid rgba(185, 157, 117, 0.2);
}
.header_4_header_first p {
  color: #ffffff;
  line-height: 1.5;
  font-weight: 600;
}
.header_4_header_first ul {
  color: #b99d75;
  line-height: 1.5;
  font-weight: 600;
}
.header_4_header_first li {
  padding: 0 0 0 20px;
  display: inline-block;
  letter-spacing: 1px;
}
.header_4_header_first a {
  color: #b99d75;
  text-decoration: none;
}

.header_4_logo a {
  display: inline-block;
  width: 200px;
  height: 80px;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: contain;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.header_4_main_nav {
  font-size: 0;
}
.header_4_main_nav li {
  margin: 0 40px 0 0;
  display: inline-block;
  position: relative;
}
.header_4_main_nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  font-size: 14px;
  line-height: 1.18;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.header_4_main_nav a::before {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #b99d75;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.header_4_main_nav a:hover {
  color: #b99d75;
}
.header_4_main_nav a:hover::before {
  width: 100%;
}

.header_4_toggler {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 16px;
  top: calc(50% - 20px);
  border-radius: 4px;
  z-index: 3;
}
.header_4_toggler em {
  display: block;
  width: 32px;
  height: 2px;
  background-color: #b99d75;
  position: absolute;
  left: calc(50% - 16px);
  top: calc(50% - 4px);
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.header_4_toggler em + em {
  top: calc(50% + 4px);
}
.header_4_toggler.active em:first-child {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}
.header_4_toggler.active em:first-child + em {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

@media (min-width: 240px) and (max-width: 1023px) {
  .header_4_header_first {
    display: none;
  }
  .header_4_main_nav {
    display: none;
    width: 100%;
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 100%;
  }
  .header_4_main_nav li {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .header_4_main_nav a {
    padding: 12px 20px;
  }
  .header_4_main_nav a::before {
    display: none;
  }
  .header_4_main_nav.show_me {
    display: block;
  }
  .header_4_toggler {
    display: block;
  }
}
