.cc_l8qtu5k7_card_product_name .kombos-card-product-name {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.cc_l8qtu5k7_card_product_name .kombos-card-product-name__link {
  display: block;
  color: var(--kombos-gray-900);
  text-decoration: none;
  max-width: 100%;
}

.cc_l8qtu5k7_card_product_name .kombos-card-product-name__link:hover {
  text-decoration: underline;
}

.cc_l8qtu5k7_card_product_name .kombos-card-product-name__link--single-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tablet+: at most two lines, two lines' height kept so cards line up */
@media (min-width: 768px) {
  .cc_l8qtu5k7_card_product_name .kombos-card-product-name {
    width: 100%;
  }

  .cc_l8qtu5k7_card_product_name .kombos-card-product-name__link:not(.kombos-card-product-name__link--single-line) {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem; /* two lines of md:text-md-regular (1.5rem line height) */
  }
}
