@media (max-width: 768px) {
  a[href*="/categories/"]:has(img) {
    width: 85px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: auto !important;
  }

  a[href*="/categories/"] img {
    width: 85px !important;
    height: 85px !important;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 768px) {
  .swiper-wrapper:has(a[href*="/categories/"] img) {
    justify-content: center !important;
    gap: 0 !important;
    transform: none !important;
  }

  .swiper-slide:has(a[href*="/categories/"] img) {
    width: 25% !important;
    flex: 0 0 25% !important;
    margin: 0 !important;
  }

  a[href*="/categories/"] img {
    width: 70px !important;
    height: 70px !important;
  }
}