.tongda_product_recommend {
  width: 100%;
  overflow: hidden;
  padding-bottom: 7.5rem;
  background: #fafafa;
}

.tongda_product_recommend_title {
  width: 100%;
  margin: 0;
  color: var(--title-text-color, #000);
  font-family: var(--title-font-family);
  font-size: var(--font-size-60);
  font-weight: var(--font-weight-xl);
  line-height: 1.2167;
  letter-spacing: 0;
  text-transform: capitalize;
}

.tongda_product_recommend_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin: 5rem 0 0;
  padding: 0;
  list-style: none;
}

.tongda_product_recommend_item {
  min-width: 0;
}

.tongda_product_recommend_card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.625rem;
  color: #fff;
  text-decoration: none;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.tongda_product_recommend_media {
  display: flex;
  width: 100%;
  aspect-ratio: 517 / 440;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: 0.625rem;
  background: #fff;
  z-index: 1;
}

.tongda_product_recommend_image {
  display: block;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tongda_product_recommend_content {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--color-primary);
  position: relative;
}

.tongda_product_recommend_content::before {
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 0;
  background: var(--color-primary, #cf1b10);
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
}

.tongda_product_recommend_card_title {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-size-22);
  font-weight: var(--font-weight-lg);
  line-height: 1.2273;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
}
