let slides = document.querySelectorAll(".swiper-slide");
if (slides.length / 2 < 6) {
let next = document.querySelector(".swiper-button-next");
let prev = document.querySelector(".swiper-button-prev");
next.style.display = "none";
prev.style.display = "none";
}