.product-card {
  --product-card-color: var(--color-ink);
  --product-card-bg: var(--color-commerce-panel);
  --product-card-line: var(--color-border-on-paper);
}
.woocommerce ul.products li.product.product-card {
  margin: 0;
  width: auto;
  float: none;
  padding: var(--space-3);
  background: var(--product-card-bg);
  color: var(--product-card-color);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card__image {
  display: block;
  margin-bottom: var(--space-4);
}
.woocommerce ul.products li.product.product-card .product-card__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 333 / 143;
  object-fit: cover;
  margin: 0;
}
.product-card__image:empty {
  display: none;
}
.product-card__price {
  display: flex;
  align-items: center;
  gap: var(--space-icon);
  min-height: 19px;
  font-size: var(--fs-body);
  line-height: 1.2;
  margin-bottom: var(--space-copy-compact);
}
.product-card__price:not(:empty)::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  flex-shrink: 0;
}
.product-card__title {
  font-size: var(--fs-body);
  line-height: 1.15;
  font-weight: 500;
  padding-block: var(--space-2);
  border-block: 1px solid var(--product-card-line);
  margin: 0 0 var(--space-copy-compact);
  flex: 1;
}
.product-card__badge {
  font-size: var(--fs-tiny);
  margin-bottom: var(--space-icon);
}
.woocommerce ul.products li.product .button--product-action {
  margin: 0;
  padding: 0;
  min-height: 26px;
  font-size: var(--fs-small);
  background: transparent;
  color: inherit;
  align-self: flex-start;
}
.woocommerce ul.products li.product .button--product-action:hover {
  color: var(--color-action-icon);
  background: transparent;
}
.woocommerce ul.products li.product .added_to_cart {
  font-size: var(--fs-small);
  text-decoration: underline;
  padding-top: var(--space-icon);
}
@media (max-width: 600px) {
  .product-card__title {
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
  }
  .product-card__price {
    line-height: var(--lh-body);
  }
  .woocommerce ul.products li.product .button--product-action {
    font-size: var(--fs-body);
    min-height: 48px;
  }
}
.woocommerce ul.products li.product .button.button--product-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: 600;
  line-height: 1.25;
}
