.header_main {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) -20%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.15) 85%, rgba(0, 0, 0, 0) 100%);
  padding: 30px 0 10px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  color: #fff;
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.header_main nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.header_main nav ul li {
  padding: 20px 0;
}

.header_main nav ul li.menu-item-has-children {
  padding-right: 20px;
  position: relative;
}

.header_main nav ul li.menu-item-has-children::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 9px;
  top: 29px;
  right: 0;
  transition: transform 0.3s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.25L6.5 6.75L12 1.25' stroke='white' stroke-width='2'/%3E%3C/svg%3E%0A");
}

.header_main nav ul li.menu-item-has-children li a {
  padding: 10px 20px;
  width: 100%;
  display: block;
}

.header_main nav ul li.menu-item-has-children li {
  width: 100%;
  transition: 0.2s;
}

.header_main nav ul.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  width: 250px;
  align-items: flex-start;
  background-color: var(--color-yellow);
  color: #000;
  transform: translate(-30%, 4%) !important;
  border-top: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
  border-radius: 4px;

  transition: 0.2s;
  opacity: 0;
  pointer-events: none;
  filter: blur(40px);
}

.header_main nav ul.sub-menu li {
  padding: 0;
}

.header_mobile {
  display: none;
}

.header_phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header_right-top {
  display: none;
}

.search span {
  display: none;
}

@media (max-width: 1100px) {
  .header_right {
    position: fixed;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 99;
    background-color: #000;
    padding: 30px 50px;

    flex-direction: column;
    align-items: flex-start;

    transition: 0.45s !important;
  }

  .header_right.active {
    animation: slide-in-blurred-top 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
    top: 0;
  }

  .lang {
    order: 10;
  }

  .search {
    order: 2;
  }

  .header_phone {
    order: 9;
  }

  .header_right nav {
    width: 80%;
    order: 4;
  }

  .header_right .button1 {
    order: 5;
    margin-top: 15px;
  }

  .header_right nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header_right-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header_right-top .burger span:first-child {
    transform: translate(-50%) rotate(45deg);
    top: 50%;
    left: 50%;
  }

  .header_right-top .burger span:last-child {
    transform: translate(-50%) rotate(-45deg);
    top: 50%;
    left: 50%;
  }

  .search {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
  }

  .search span {
    display: inline-block;
  }

  .header_mobile {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .header_icon-phone {
    width: 44px;
    height: 44px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .burger {
    position: relative;
    width: 32px;
    height: 23px;
  }

  .burger span {
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    background-color: #fff;
    border-radius: 2px;
  }

  .burger span:first-child {
    top: 0;
  }

  .burger span:last-child {
    bottom: 0;
  }

  .burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .contacts_top .section_page-bg {
    background-color: #000;
  }

  .contacts_top-inner {
    flex-direction: column;
  }

  .contacts_top.section_page-top .container {
    padding-top: clamp(12.5rem, 10.4455rem + 6.9204vw, 18.75rem);
  }

  .contacts_top .section_page-bg-gif {
    height: auto;
  }

  .header_main nav ul.sub-menu {
    position: static;
    transform: translate(0) !important;
    margin-top: 8px;
    opacity: 1;
    pointer-events: all;
    filter: blur(0);
  }

  .header_main nav ul li {
    padding: 15px 0;
  }

  .header_right .button1 {
    margin-top: 0 !important;
  }

  .header_main nav ul li.menu-item-has-children {
    width: 100%;
    padding: 5px 16px 5px 0;
  }

  .header_main nav ul li.menu-item-has-children>a {
    display: inline-block;
    width: 100%;
    padding: 6px 0;
  }

  .header_main nav ul li.menu-item-has-children::after {
    top: 16px;
  }

  .menu-item-has-children .sub-menu {
    display: none !important;
    transition: all 0.3s ease;
  }

  .menu-item-has-children.open {
    &::after {
      transform: rotate(180deg);
    }

    & .sub-menu {
      display: flex !important;
    }
  }
}

@media (min-width: 1100px) {
  .header_main nav ul li.menu-item-has-children:hover ul.sub-menu {
    opacity: 1;
    pointer-events: all;
    filter: blur(0px);
  }

  .header_main nav ul li.menu-item-has-children li:hover {
    background-color: #000;
    color: #fff;
  }
}

/* new queries */
@media (min-width: 768px) {}

@media (min-width: 1100px) {

  .header_main nav ul,
  .header_right {
    gap: 1.2rem;
  }
}

@media (min-width: 1400px) {

  .header_main nav ul,
  .header_right {
    gap: 1.875rem;
  }
}