.block__header__wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  /* Важно для корректного отображения dropdown */
  height: auto;
  /* background-image: url(../img/fon/fon-top.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2; */
}
.block__header__wrapper .logo__header {
  position: relative;
  display: block;
  width: 165px;
  height: 55px;
  margin-left: 10px;
  background-image: url("../img/kotelinfo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* Ноутбуки и десктопы (от 769px) */
@media (min-width: 769px) {
  .block__header__wrapper {
    position: relative;
    display: block;
    max-width: 1920px;
    margin: auto;
    width: 100%;
    height: auto;
    /* background-image: url(../img/fon/fon-top-mac.webp);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2; */
  }
  .block__header__wrapper .logo__header {
    position: relative;
    display: block;
    width: 180px;
    height: 55px;
    margin-left: 10px;
  }
}
/* Стили для навбара */
.navbar__menu__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 9000;
}
.navbar-container-header {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px;
}
.logo__header {
  font-size: 1.5em;
  color: #fff;
  text-decoration: none;
}
.menu__header {
  list-style: none;
  display: flex;
}
.menu__header li {
  position: relative;
  font-size: 1.1rem;
}
@media (min-width: 769px) {
  .menu__header li {
    position: relative;
    font-size: 1.1rem;
    top: 5px;
  }
}
.menu__header li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid yellow;
  letter-spacing: 0.5px;
}
/* Стилизация выпадающего меню для десктопа */
.submenu-header {
  position: absolute;
  top: 100%;
  left: 0;
  background: #000000ac;
  list-style: none;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  border-radius: 5px;

}
.submenu-header li a {
  padding: 10px;
  color: #fff;
  border-left: none;
  letter-spacing: 1.1px;
  z-index: 1;
}
/* При ховере на десктопе показываем подменю */
.menu__header li:hover>.submenu-header {
  opacity: 1;
  visibility: visible;
}
/* Иконка мобильного меню */
.menu-toggle-header {
  margin-top: -4px;
  display: none;
  font-size: 2.4em;
  color: #fff;
  cursor: pointer;
}
/* Стили для мобильного */
@media (max-width: 768px) {
  .menu__header {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background: #060606f2;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .menu__header li {
    border-bottom: 0px solid transparent;
  }
  .menu__header li a {
    display: block;
    padding: 30px 15px;
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    text-align: left;
    letter-spacing: 0.5px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    border-bottom: 0.5px solid #fff;
    border-left: none;
  }
  /* Убираем позиционирование у подменю */
  .menu__header li .submenu-header {
    position: relative;
    top: 0;
    left: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  .submenu-header li a {
    padding: 10px;
    color: #fff;
    border-bottom: 0px solid transparent;
    border-left: none;
    letter-spacing: 1.1px;
  }
  .menu-toggle-header {
    display: block;
  }
  /* Активное основное меню */
  .menu__header.active {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    height: 100vh;
  }
  /* Активное подменю */
  .menu__header li .submenu-header.active {
    max-height: 600px;
    /* Можно подстроить под нужную высоту */
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }
}