/* EN / ZH products route CSS. */
.language-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 36px;
  margin-top: 58px;
}

.language-product-card {
  margin: 0;
}

.language-product-card a {
  display: block;
  height: 100%;
  color: #050505;
  text-decoration: none;
}

.language-product-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d0d0d0;
}

.language-product-card__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.language-product-card__body {
  display: block;
  padding-top: 18px;
}

.language-product-card__category {
  display: block;
  color: #0079c4;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language-product-card__title {
  display: block;
  margin-top: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid #050505;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.language-product-card__text {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.language-product-card__more {
  display: inline-block;
  margin-top: 18px;
  color: #0079c4;
  font-size: 14px;
  font-weight: 900;
}

.language-filter-row {
  display: grid;
  grid-template-columns: 180px repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border: 2px solid #0079c4;
  background: #fff;
}

.language-filter-row + .language-filter-row {
  grid-template-columns: 180px repeat(2, minmax(0, 1fr));
}

.language-filter-row span,
.language-filter-row b {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #0079c4;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  border-right: 1px solid #0079c4;
}

.language-filter-row b:first-of-type {
  background: #0079c4;
  color: #fff;
}

.language-filter-row b:last-child {
  border-right: 0;
}

.language-products-filter__related {
  margin: 42px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1023px) {
  .language-product-grid {
      grid-template-columns: 1fr;
      gap: 34px;
  
  }

  .language-filter-row,
  .language-filter-row + .language-filter-row {
      grid-template-columns: 1fr;
  
  }

  .language-filter-row span,
  .language-filter-row b {
      border-right: 0;
      border-bottom: 1px solid #0079c4;
  
  }

  .language-filter-row b:last-child {
      border-bottom: 0;
  
  }
}

@media (min-width: 1024px) {
  body.language-page-body.page-id-17 .page-content .products-menu__lead,
  body.language-page-body.page-id-17 .page-content .products-menu__label,
  body.language-page-body.page-id-17 .page-content .products-menu__cell,
  body.language-page-body.page-id-17 .page-content .products-menu__related,
  body.language-page-body.page-id-17 .page-content .products-catalog__heading,
  body.language-page-body.page-id-17 .page-content .products-catalog__title,
  body.language-page-body.page-id-17 .page-content .products-catalog__text {
      white-space: normal !important;
      overflow-wrap: anywhere;
  
  }

  body.language-page-body.page-id-17 .page-content .products-menu__row,
  body.language-page-body.page-id-17 .page-content .products-menu__row.products-menu__row--type,
  body.language-page-body.page-id-17 .page-content .products-menu__options,
  body.language-page-body.page-id-17 .page-content .products-menu__label,
  body.language-page-body.page-id-17 .page-content .products-menu__cell {
      height: auto;
      max-height: none;
      min-height: var(--products-menu-row-height, 65px);
  
  }

  body.language-page-body.page-id-17 .page-content .products-menu__label,
  body.language-page-body.page-id-17 .page-content .products-menu__cell {
      line-height: 1.15;
      overflow: visible;
  
  }

  body.language-page-body.page-id-17 .page-content .products-menu__label-text,
  body.language-page-body.page-id-17 .page-content .products-menu__cell-text {
      display: block;
      max-width: 100%;
  
  }
}
