


.parent-category-swiper {
  --slide-gap: 10px; 
  width: 100%;
  height: auto;
  margin: 20px 0px;
  overflow: visible; 
  
  touch-action: pan-y;
}


.parent-category-swiper .swiper-slide {
  
  width: calc(65% - var(--slide-gap)); 
  flex-shrink: 0; 
  height: auto; 
  
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
  overflow: hidden; 
  border: 1px solid #EAEAEA;
  background-color: white;
  transition: border-color 0.3s ease; 
}

.parent-category-swiper .swiper-slide:hover {
   border: 1px solid #4169e1; 
}



@media (min-width: 769px) {
  .parent-category-swiper .swiper-slide {
     
     width: auto; 
  }
   .parent-category-swiper {
     overflow: hidden; 
   }
}



.custom-category-item a { 
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.custom-category-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px 4px 0 0; 
}

.custom-category-image img {
    display: block; 
    width: 100%;
    height: 200px; 
    object-fit: cover;
    transition: transform 0.3s ease; 
}
@media (max-width: 767.98px) {
  .custom-category-image img {
    height: 150px; 
}
}


.custom-category-image:hover img {
    transform: scale(1.1); 
}

.custom-category-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #233142;
    border: 1px solid #f6f6f6;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 13px;
}

.custom-category-info {
    padding: 10px;
    background-color: white;
    border-radius: 0 0 4px 4px; 
}

.custom-category-text {
    font-size: 13px;
    margin: 0;
    text-transform: capitalize;
    color: #233142;
}


@media (prefers-reduced-motion: reduce) {
  .parent-category-swiper,
  .parent-category-swiper * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}