/* 标题固定占两行、靠左排版，单行标题在两行高度内垂直居中。 */
html body .product-card .product-title.centered {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  height: 2.8em;
  min-height: 2.8em !important;
  margin: 0;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.4 !important;
  text-align: left !important;
}

html body .product-card .product-title-lines {
  display: block;
  width: 100%;
  min-width: 0;
  text-wrap: wrap;
  text-align: left !important;
}

html body .product-card .product-title .product-title-text {
  display: -webkit-box !important;
  width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  text-wrap: wrap;
  background: none !important;
}

/* 沿用博客站 .but.jb-yellow 与 .but.c-blue 的色值和圆角。 */
html body .product-card .product-card-meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 5px;
  width: 100%;
  min-height: 23px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 11px;
  line-height: 1.44;
}

.product-card-meta::-webkit-scrollbar {
  display: none;
}

.product-card-meta-pending {
  visibility: hidden;
}

html body .product-card :is(.product-card-price, .product-card-heat) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: .3em .5em;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  white-space: nowrap;
}

html body .product-card .product-card-price {
  background: linear-gradient(135deg, #f59f54 10%, #ff6922 100%) !important;
  color: #fff !important;
}

html body .product-card :is(.product-card-price-label, .product-card-price-amount) {
  display: inline-flex;
  align-items: center;
  min-height: 1.44em;
  line-height: 1.44;
}

.product-card-price-amount {
  font-variant-numeric: tabular-nums;
}

.product-card-currency {
  font-size: 1em;
  line-height: inherit;
}

html body .product-card .product-card-heat {
  background: rgba(41, 151, 247, .1) !important;
  color: #2997f7 !important;
}

html body .product-card .product-card-heat svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 420px) {
  html body .product-card .product-card-meta {
    gap: 4px;
    font-size: 10px;
  }
}
