.logo {
  padding: 10px;
  height: 50px;
}

.logo-wr {
  height: 64px;
  background-color: #0074ff;
  width: 195px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000000;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__item {
  display: flex;
  /* gap: 15px; */
}

.burger {
  padding: 20px;
  background-color: #1f292e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #615555;
}

.burger span {
  height: 1px;
  width: 25px;
  background-color: #fff;
}

.search {
  padding: 20px;
  background-color: #1f292e;
}

.grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.item {
  /* background: lightgray; */
  /* padding: 20px; */
  text-align: start;
  /* border: 1px solid #ccc; */
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

/* Для планшетов (768px и меньше) */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Для мобильных устройств (480px и меньше) */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 20px;
}
.header__logo {
  margin-bottom: -10px;
  transition: all 0.3s;
}
.header__logo img {
  width: 80px;
  height: 100%;
  transition: all 0.3s;
}
.header__logo._btm {
  margin: 0;
}
.header__logo._btm img {
  width: 40px;
}
.header__nav {
  width: 100%;
}
.header__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.header__link {
  color: #fff;
}
.header__link:hover {
  color: #fff;
}
.header__search img {
  width: 20px;
}
.header__menu img {
  width: 20px;
}

@media (max-width: 700px) {
  .header__nav {
    display: none;
  }
  .header__search {
    display: none;
  }
  .header__menu {
    order: 1;
  }
  .header__logo {
    order: 2;
  }
  .header__logo img {
    width: 66px;
  }
  .header__inner {
    gap: 10px;
    padding: 0 10px;
  }
}

.footer__inner {
  background: #000;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, auto));
  gap: 15px;
}

.footer__list {
  display: flex;
  flex-direction: column;
}

.footer__list li a {
  color: #fff;
  font-size: 14px;
}
.footer__list li:first-child a {
  font-size: 18px;
  padding-bottom: 10px;
}
.footer__list li a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__list li:first-child a:hover {
  text-decoration: underline;
  text-decoration-color: red;
}
@media (max-width: 700px) {
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__list li {
    display: none;
  }
  .footer__list li:first-child {
    display: block;
  }
}
