* {
  box-sizing: border-box;
}

.main-categories {
  position: relative;
  margin: 0 auto;
  max-width: 1409px;
}

.main-categories-title {
  font-size: 25px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
  word-wrap: break-word;
  text-transform: none;
  color: #24242e;
}

.main-categories__list {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.main-categories__link {
  text-decoration: none !important;
}

.main-categories__item {
  width: calc((100% - (10px * 7)) / 8);
}

.main-categories__image {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1.2;
  margin-bottom: 15px;
  background-color: #f7f7f7;
  border-radius: 15px;
}
.main-categories__image img {
  width: 100%;
}

.main-categories__title {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  font-family: "Nunito Sans", sans-serif;
  color: #24242e;
}

.prevArrow,
.nextArrow {
  display: none;
  position: absolute;
  top: 50%;
  width: 50px;
  height: 65px;
  font-size: 0;
  border: none;
  background: transparent;
  z-index: 100;
}
.prevArrow {
  left: 10px;
  transform: rotate(180deg);
  transform-origin: center;
}
.nextArrow {
  right: 10px;
}

.main-categories .nextArrow::before,
.main-categories .prevArrow::before {
  content: "\e939" !important;
  position: absolute;
  top: 0;
  right: 0;
  font-family: "ikony" !important;
  padding: 0 !important;
  width: 40px !important;
  background: none !important;
  color: black !important;
  font-size: 44px !important;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1440px) {
  .main-categories__title {
    font-size: 16px;
  }
}
@media (max-width: 1199px) {
  .footer-banner {
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .prevArrow,
  .nextArrow {
    display: block;
  }
}
