.mfs-swiper {
  padding: 20px 0 !important;
}

.mfs-swiper .swiper-wrapper {
  align-items: stretch;
}

.mfs-slide {
  background: #f2f5f8;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  max-height: 140px;
  height: 100%;
  position: relative;
  flex: 0 0 auto; 
}

.mfs-slide-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.mfs-slide img {
  max-height: 100px;
  object-fit: contain;
}

/* Стрелки */
.mfs-cat-gallery-swiper .mfs-swiper-arrow {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border-radius: 50%;
  background: #fff;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  box-shadow: none;
}

.mfs-cat-gallery-swiper .swiper-button-next {
  right: -8px;
}
.mfs-cat-gallery-swiper .swiper-button-prev {
  left: -8px;
}

/* Скрыть стандартные Swiper стрелки */
.mfs-button-prev::after,
.mfs-button-next::after {
  display: none !important;
}

@media (max-width: 600px) {
  .mfs-slide {
    flex: none;
  width: 150px !important; /* разрешаем управлять шириной Swiper'у */
  }
}