.product-card > .product-availability {
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid #c9c3b9;
  color: #675f55;
  font-size: 14px;
  font-weight: 500;
}

.product-card > .product-availability + .text-link {
  border-top: 0;
  padding-top: 6px;
}

/* Shared rows keep prices, stock and actions aligned on every screen. */
@supports (grid-template-rows: subgrid) {
  .products > .product-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    row-gap: 0;
    align-content: start;
  }
  .products > .product-card > .product-title { min-height: 0; }
  .products > .product-card > .price { margin-top: 0; align-self: start; }
  .products > .product-card > .product-buy-form { display: contents; }
  .products > .product-card .variant-feedback,
  .products > .product-card > .product-availability {
    grid-row: 5;
    margin: 0;
    padding: 10px 0 12px;
    border: 0;
    color: var(--muted);
    font-size: 14px;
  }
  .products > .product-card .add,
  .products > .product-card > .text-link {
    grid-row: 6;
    align-self: stretch;
  }
}
.products > .product-card .add,
.products > .product-card > .text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-align: left;
}
