@media all {
  section.section {
    background: #EEEEEE !important;
  }

  .categories-list__body {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;         /* Центрируем все категории в ряду */
    gap: 2vw;                       /* Современный отступ между элементами */
    padding: 2.60417vw 0;
  }

  .categories-list__body .categories-list__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1.30208vw;
    width: 12vw;                     /* Оптимальная ширина для десктопа */
    min-height: 14vw;
    margin-bottom: 1.35417vw;
    text-align: center;
    background: #FFFFFF;             /* Добавил белый фон для единообразия с карточками товаров */
    border-radius: 10px;
    border: 0.05208vw solid #E6E6E6;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
  }

  .categories-list__body .categories-list__item .categories-list__image {
    width: 100%;
    height: 8vw;                     /* Фиксированная высота для выравнивания заголовков */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
  }

  .categories-list__body .categories-list__item .categories-list__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;             /* Картинка не искажается */
    display: block;
  }

  .categories-list__body .categories-list__item .categories-list__title {
    max-width: 100%;
    font-weight: normal;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    color: #333333;
    margin-top: 1vw;
    -webkit-transition: color 0.2s linear;
    transition: color 0.2s linear;
  }

  /* Эффект при наведении — меняем на наш фиолетовый */
  .categories-list__body .categories-list__item:hover {
    border-color: #6347ff;
    -webkit-box-shadow: 0 0 10px rgba(99, 71, 255, 0.2);
    box-shadow: 0 0 10px rgba(99, 71, 255, 0.2);
  }

  .categories-list__body .categories-list__item:hover .categories-list__title {
    color: #6347ff;
  }

  body .categories-list .categories-list__body a {
    width: auto;
    text-decoration: none;
  }
}

/* ======= АДАПТИВ ДЛЯ ТЕЛЕФОНОВ ======= */
@media (max-width: 480px) {
  .right-block__content {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .categories-list__body {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 10px;
  }

  .categories-list__body .categories-list__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 10px;
    width: 44%;                      /* Две колонки на мобильном */
    min-height: 180px;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .categories-list__body .categories-list__item .categories-list__image {
    width: 100%;
    height: 100px;                  /* Фиксированная высота для мобильных */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .categories-list__body .categories-list__item .categories-list__title {
    font-size: 14px;
    line-height: 16px;
    margin-top: 10px;
  }
}