.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 5px 0;
  background-color: var(--neutral);
}

.header__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--neutral-dark);
}

.header__bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  width: 205px;
  height: auto;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__burger {
  display: none;
}

.mobile-menu {
  display: none;
}

.header__menu {
  display: flex;
  gap: 20px;
}

.header__menu a {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__menu a:hover {
  color: var(--secondary);
}

.header__menu .current-menu-item a {
  color: var(--secondary);
  text-decoration: underline;
}

.header__mobile {
  display: none;
}

.header__cart {
  position: relative;
  transition: opacity 0.2s;
}

.header__cart:hover {
  opacity: 0.75;
}

.header__cart span {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--neutral);
  font-size: 12px;
  line-height: 100%;
}

.header__cart span:empty {
  display: none;
}

@media (max-width: 1280px) {
  .header__bottom .btn {
    max-width: 220px;
  }
}

@media (max-width: 1080px) {
  .header__mobile {
    display: block;
  }

  .header__nav {
    display: none;
  }

  .header__bottom .btn {
    display: none;
  }

  .header__inner .header__contact {
    display: none;
  }

  .header__top-text {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__top {
    border: none;

    justify-content: flex-end;
    gap: 20px;
    align-items: center;
  }

  .header__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .header__logo {
    width: 174px;
  }

  .header__inner {
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    max-height: 100dvh;
    overflow-y: auto;

  }

  .mobile-menu.open {
    display: flex;
    background-color: var(--neutral);
    padding: 10px 0;
  }

  .mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu__actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 20px;
  }

  .mobile-menu .btn {
    max-width: 100%;
  }

  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu__list a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
  }

  .header__socials {
    display: flex;
    gap: 20px;
  }

  .header__contact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 10px;
  }

  .header__contact svg {
    grid-row: 1 / 3;
  }

  .header__social svg {
    width: 44px;
    height: 44px;
  }
}

