.header {
  position: fixed;
  z-index: 10;
  width: 100%;
  background-color: #f1f3f5;
  margin-bottom: 56px;
  padding: 0;
}

.header__wrapperFirst {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.header__wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
  /*padding-left: 60px;*/
}

.header__wrapper img {
  height: 35px;
  margin-top: 5px;
}

.header__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.header__item a {
  position: relative;
  padding: 16px 0;
  font-size: 15px;
  color: #000;
  line-height: 24px;
  letter-spacing: .3px;
  display: block;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.header__item a:hover {
  text-decoration: none !important;
}

.header__item a::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: .3s ease-out;
}

.header__item a:hover::after {
  transform: scaleX(100%);
}

.nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.nav__item1 a {
  display: block;
  height: 30px;
  width: 30px;
  background: url("/images/search1.svg") no-repeat center;
  background-size: cover;
  transition: 0.6s;
  opacity: 0.4;
  padding: 0 !important;
}

.nav__item1 a:hover {
  opacity: 1;
  transition: 0.6s;
}

.nav__item2 a {
  display: block;
  height: 22px;
  width: 22px;
  background: url("/images/user.svg") no-repeat center;
  background-size: cover;
  transition: 0.6s;
  opacity: 0.4;
  padding: 0 !important;
}

.nav__item2 a:hover {
  opacity: 1;
  transition: 0.6s;
}

.nav__item3 a {
  display: block;
  height: 26px;
  width: 26px;
  background: url("/images/bag1.svg") no-repeat center;
  background-size: cover;
  transition: 0.6s;
  position: relative;
  padding: 0 !important;
}

.nav__item3 a:hover {
  opacity: 1;
  transition: 0.6s;
}

.nav__item3 a span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  font-size: 10px;
  border-radius: 50%;
  bottom: -2px;
  right: -1px;
}

.header__catalog {
  display: none;
}

.header_appear {
  background: #FFFFFF;
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);
}

.product__testSplit {
  width: 100%;
}

.header__phone {
  display: flex;
  align-self: center;
  gap: 4px;
}

.header__phone a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 16px;
  margin-top: 2px;
  font-weight: bold;
}

@media (max-width: 1440px) {
  .header__wrapperFirst {
    padding: 0 40px;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 10px 10px;
    background: #FFFFFF;
    box-shadow: 0 1px 0 0 rgba(0,0,0,0.1);
  }

  .header__wrapperFirst {
    padding: 0;
  }

  .header__wrapper {
    padding-left: 15px;
    gap: 0;
  }

  .header__block {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
    padding-right: 30px;
  }

  .header__item {
    padding: 12px 0;
    border-top: 1px solid #E9EAEA;
    margin: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .header__item:first-child {
    border: none;
  }

  .header__item a {
    font-size: 16px;
    padding: 0;
  }

  .header__container {
    padding: 15px 0;
    margin: 0 25px;
  }

  .header__nav {
    margin: 0;
  }

  .header__burger {
    margin: 3px 0 0 -5px;
    cursor: pointer;
    z-index: 3;
    width: 22px;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .header__line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000000;
    margin: 5px 0 0;
    position: relative;
    transition: .4s ease-out;
  }

  .header__line:first-child {
    margin-top: 0;
  }

  .header__list {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 2;
    height: auto;
  }

  .header__list_active {
    display: block;
  }

  .header__catalog {
    display: flex;
    position: relative;
  }

  .header__checkbox {
    display: none;
  }

  .header__checkbox:checked ~ .header__burger .header__line_number_one {
    width: 25px;
    top: 3px;
    transform: rotate(225deg);
    transition: .4s ease-out;
  }

  .header__checkbox:checked ~ .header__burger .header__line_number_two {
    opacity: 0;
  }

  .header__checkbox:checked ~ .header__burger .header__line_number_three {
    width: 25px;
    top: -4px;
    transform: rotate(-225deg);
    transition: .4s ease-out;
  }

  .header__item a::after {
    display: none;
  }

  .header__item a:hover {
    opacity: .8;
  }
}

@media (max-width: 500px) {
  .header__phone a {
    font-size: 12px;
  }

  .header__phone img {
    width: 14px;
  }
}

@media (max-width: 374px) {
  .header__wrapper {
    padding-left: 15px;
    gap: 10px;
  }

  .header__phone a {
    font-size: 10px;
  }

  .header__phone img {
    width: 12px;
  }

  .nav__item1 a {
    height: 20px;
    width: 20px;
  }

  .nav__item2 a {
    height: 15px;
    width: 15px;
  }

  .nav__item3 a {
    height: 18px;
    width: 18px;
  }
}