.Category_Subcategory_Card .product-image {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #F0F0F0;
  padding: 10px;
  transition: 0.3s;
}

.activecategory .Category_Subcategory_Card .product-image {
  background: #fff;
  transition: 0.3s;
}

.Category_Subcategory_Card .product-image .img_hodler {
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 5px;
}

.Category_Subcategory_Card .product-image .img_hodler .category-image {
  border-radius: 5px;
  height: 100%;
  transition: 0.3s;
  width: 100%;
  object-fit: cover;
  object-position: top;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.Category_Subcategory_Card .product-image:hover .category-image {
  transform: scale(1.1);
  transition: 0.3s;
}

.Category_Subcategory_Card .product-image .text-holder {
  z-index: 1;
  text-align: center;
  width: 100%;
  /* Ensure the entire width is centered */
}

.Category_Subcategory_Card .product-image .text-holder p {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
  margin-bottom: 4%;
  margin-bottom: 0px;
}



@media (min-width:0px) and (max-width:767.98px) {
  .Category_Subcategory_Card .product-image .text-holder p {
    font-size: 12px;
  }
}