/* v5.10.58: prevent mid-word category labels while keeping arrows aligned. */
body.tax-product_cat .jts-retail-subcats__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
}
body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat {
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 34px 12px 12px;
  box-sizing: border-box;
}
body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat__image,
body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat__placeholder {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
}
body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  white-space: normal;
}
body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  margin: 0;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 767px) {
  body.tax-product_cat .jts-retail-subcats__grid .jts-retail-subcat {
    min-width: 215px;
    max-width: 245px;
    flex: 0 0 215px;
  }
}
