@media (max-width: 991.98px) {
  header {
    position: fixed;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100vh;
    background-color: var(--light);
    z-index: 99;
    padding: 0;
    transition: 0.3s;
  }
  .header__top {
    background-color: transparent;
    padding: 30px 0;
  }
  .header__top-wrap {
    flex-direction: column;
    align-items: start;
    gap: 52px;
  }
  .header__top-left {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    gap: 15px;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 30px;
    width: 100%;
  }
  .header__top-wrap span {
    display: none;
  }
  .header__top-wrap ul {
    flex-wrap: wrap;
    gap: 15px;
    column-gap: 30px;
    row-gap: 15px;
  }
  .header__top-wrap ul li {
    font-weight: var(--font-semi-bold);
    font-size: 16px;
    color: var(--primary-black);
  }
  .header__top-link {
    flex-direction: row;
    padding-bottom: 10px;
  }
  .header__top-link::after {
    content: "Мессенджеры";
    position: absolute;
    top: -25px;
    left: 0;
    font-weight: var(--font-bold);
    font-size: 13px;
    color: #7f7f7f;
  }
  .header__top-link a {
    color: var(--primary-black);
    font-size: 16px;
    text-decoration: none;
  }
  .header__top-link img {
    display: none;
  }
  .header__menu-wrap {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray);
    padding: 30px 0 30px 0px;
  }
  header > .header__menu > .container > .header__menu-wrap > .header-logo {
    display: none;
  }
  .header__menu-wrap nav ul {
    flex-wrap: wrap;
  }
  .header__menu-wrap nav ul li a {
    font-size: 21px;
  }
  /* На мобильном скрываем dropdown — клик ведёт на страницу подкатегорий */
  .nav-dropdown {
    display: none !important;
  }
  header > .header__menu > .container > .header__menu-wrap > .header__right > .header-cart {
    display: none;
  }
  header > .header__menu > .container > .header__menu-wrap > .header__right > .header-account {
    display: none;
  }
  .header__menu {
    padding: 0;
  }
  .header__menu-wrap::after {
    content: "Выберите категорию";
    position: absolute;
    top: 2px;
    left: 0;
    font-weight: var(--font-bold);
    font-size: 13px;
    color: #7f7f7f;
  }
  .header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6px 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    background-color: var(--primary-black);
  }
  .header-mobile-top .header-city {
    color: #fff;
    font-size: 12px;
    padding: 0;
  }
  .header-mobile-top .header-city__name {
    color: #fff;
  }
  .header-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px;
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--light);
  }
  .header-mobile-spacer {
    display: block;
    height: 102px;
  }
  /* Скрываем кнопку города в слайд-меню — она уже есть в верхней мобильной плашке */
  .header__top-left > .header-city {
    display: none;
  }
  .header-logo {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
  }
  .header-cart {
    margin-left: 0;
  }
  .hamb {
    position: relative;
    display: flex;
    align-items: center;
    padding: 7px 11px;
    z-index: 100;
  }
  .bar {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 5px;
    margin: 7px auto;
    background-color: var(--primary-black);
    transition: 0.7s;
  }
  .hamb__field.active .bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .hamb__field.active .bar:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }
  header.active {
    opacity: 1;
    visibility: visible;
  }
}
