.product-card {
  background: var(--color-bg-card);
  display: flex;
  flex-direction: column;
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 18%;
  aspect-ratio: 350 / 290;
  overflow: hidden;
}

.product-card__image {
  max-height: 100%;
  object-fit: contain;
}

.product-card__info {
  padding: 10px 10px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.product-card__name {
  font-size: var(--fs-base);
  line-height: 20px;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__price {
  font-size: var(--fs-base);
  line-height: 20px;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
}

.product-card__price del {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.product-card__price ins {
  text-decoration: none;
  color: var(--color-primary);
}

.product-card__color {
  display: block;
  font-size: var(--fs-base);
  line-height: 20px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.product-card__btn {
  margin: auto 10px 10px;
  width: calc(100% - 20px);
  padding: 8px;
  font-size: var(--fs-md);
  letter-spacing: var(--ls-tight);
  background-color: var(--color-bg-card-btn);
  color: var(--color-text);
}

.product-card__btn:hover {
  background-color: #c0c0c0;
}

@media (max-width: 575px) {
  .product-card__image-wrap {
    padding: 12px 10%;
  }
}
