body.tax-product_cat .products-category-grid-media-container {
  position: relative;
  overflow: hidden;
}

body.tax-product_cat .products-category-grid-media-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

body.tax-product_cat .products-category-grid-media-carousel__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.tax-product_cat .products-category-grid-media-carousel__viewport::-webkit-scrollbar,
.products .after_shop_loop_actions {
  display: block !important;
}

body.tax-product_cat .products-category-grid-media-carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  list-style: none;
}

body.tax-product_cat .media__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: auto;
  padding: 0; /* remove padding-bottom hack */
  aspect-ratio: 3 / 4; /* optional: control consistent shape */
  position: relative;
}




body.tax-product_cat .media-image__image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  position: static; /* remove absolute positioning */
}


body.tax-product_cat .embla__prev,
body.tax-product_cat .embla__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000;
  width: 5px;
  height: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
  padding: 0;
}

/* Show arrows on hover */
body.tax-product_cat .products-category-grid-media-carousel:hover .embla__prev,
body.tax-product_cat .products-category-grid-media-carousel:hover .embla__next {
  opacity: 1;
  pointer-events: auto;
}

body.tax-product_cat .embla__prev {
  left: 8px;
}

body.tax-product_cat .embla__next {
  right: 8px;
}

/* Inject the icon font using ::before */
body.tax-product_cat .products-category-grid-media-carousel .embla__prev::before,
body.tax-product_cat .products-category-grid-media-carousel .embla__next::before {
  font-family: 'icons';
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 1;
  content: "\F108"; /* ← Replace with correct left arrow */
}

body.tax-product_cat .products-category-grid-media-carousel .embla__next::before {
  content: "\F109"; /* → Replace with correct right arrow */
}
div.product-inner div.caption{
	position:relative;
}
div.product-inner button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
}

div.product-inner .wishlist-icon {
  display: block;
  fill: currentColor;
  height: var(--icon-size, 18px);
  width: var(--icon-size, 18px);
}
div.product-inner .product-grid-product-info-wishlist {
    position: absolute;
    right: -5px;
    top: 3px;
    display: none;
}
.products .product .product-title {
    margin: 0px 0px 0px 0px !important;
}
