.yasmeen-categories {
  padding: 60px 0;
}

@media (max-width: 1024px) {
  .yasmeen-categories {
    padding: 40px 0;
  }
}

/* Title */
.yasmeen-categories .yasmeen-categories-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
  height: 100%;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .yasmeen-categories .yasmeen-categories-title {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
}

.yasmeen-categories .yasmeen-categories-title .yasmeen-categories-text {
  display: flex;
  flex-direction: column;
}

.yasmeen-categories .yasmeen-categories-title .yasmeen-categories-text h2 {
  font-size: 36px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .yasmeen-categories .yasmeen-categories-title .yasmeen-categories-text h2 {
    font-size: 24px;
  }
}

.yasmeen-categories .yasmeen-categories-title .yasmeen-categories-text span {
  font-size: 17px;
  font-weight: 400;
}

@media (max-width: 992px) {
  .yasmeen-categories .yasmeen-categories-title .yasmeen-categories-text span {
    font-size: 15px;
  }
}

.yasmeen-categories .yasmeen-categories-title .yasmeen-categories-title-btn a {
  font-size: 17px;
  font-weight: 400;
  transition: .3s;
  color: var(--primary-color);
}

.yasmeen-categories .yasmeen-categories-title .yasmeen-categories-title-btn a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .yasmeen-categories .yasmeen-categories-title .yasmeen-categories-title-btn a {
    font-size: 15px;
  }
}

/* Slider */
.yasmeen-categories .yasmeen-categories-slider {
  padding: 20px 0;
}

.yasmeen-categories .yasmeen-categories-slider .yasmeen-categories-wrapper .swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 5px;
}

.yasmeen-categories .yasmeen-categories-slider .yasmeen-categories-wrapper .swiper-wrapper .yasmeen-categories-slide {
  max-width: 190px !important; 
  max-height: 190px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  text-align: center;
  border-radius: 2px;
  overflow: hidden;
  position: relative;

}

.yasmeen-categories .yasmeen-categories-slider .yasmeen-categories-wrapper .swiper-wrapper .yasmeen-categories-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.2;
}

.yasmeen-categories .yasmeen-categories-slider .yasmeen-categories-wrapper .swiper-wrapper .yasmeen-categories-slide img {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.yasmeen-categories .yasmeen-categories-slider .yasmeen-categories-wrapper .swiper-wrapper .yasmeen-categories-slide h4 {
  font-size: 17px;
  font-weight: 400;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}