.navbar {
  z-index: 1001;
  display: none;
}

.navbar__wrap .menu {
  display: none;
}

.hamb {
  display: flex;
  align-items: center;
}

.hamb__field {
  padding: 10px 0 10px 20px;
  cursor: pointer;
}

.bar {
  display: block;
  width: 33px;
  border-radius: 20px;
  height: 3px;
  margin: 6px 0;
  background-color: #007bff;
  transition: 0.2s;
  position: relative;
  z-index: 1000;
  align-items: flex-start;
}

.bar:nth-child(2) {
  width: 24px;
}

.popup-menu {
  position: fixed;
  top: 0px;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #f8f9fa;
  z-index: 1000;
  display: flex;
  transition: 0.3s;
}

.popup-menu.open {
  right: 0;
}

.popup-menu .menu {
  color: #212529;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0;
  overflow: hidden;
  gap: 20px;
}

.popup-menu .offer__nav_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  gap: 24px;
}

.popup-menu .menu li {
  list-style: none;
  width: 100%;
}

.popup-menu .menu li img {
  max-width: 220px;
}

.popup-menu .menu li a {
  color: #212529;
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: var(--font-size-title);
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

@media (hover: hover) {
  .popup-menu .menu li a:hover {
    background-color: #007bff;
  }
}

.hamb__field.active .bar:nth-child(2) {
  opacity: 0;
}

.hamb__field.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(42deg);
}

.hamb__field.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-42deg);
}

body.noscroll {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .offer__nav_menu {
    display: none;
  }

  .offer__nav_menu_item_social {
    display: flex;
    gap: 16px;
  }

  .offer__nav_menu_item_social svg {
    width: 28px;
    height: 28px;
  }

  .offer__nav_menu_item_social img {
    width: 28px;
    height: 28px;
  }

  .offer__nav_social {
    display: none;
  }

  .navbar {
    display: block;
    right: 0;
  }

  .offer__nav_logo_burger {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .popup-menu {
    width: 360px;
  }
}

@media screen and (max-width: 480px) {
  .popup-menu {
    width: 100%;
  }
}

@media screen and (max-height: 600px) {
  .popup-menu .menu {
    padding: 16px 0;
    gap: 8px;
  }

  .popup-menu .offer__nav_wrap {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
