/* Product controls keep their labels readable when the card is narrow. */
.product-card-actions { flex-wrap: wrap; }
.product-card-actions > .action-button:first-child { flex: 0 0 auto; }
@media (max-width: 900px) {
  .product-card-head { grid-template-columns: 44px minmax(0, 1fr); }
  .product-card-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 8px;
  }
  .product-card-actions > .action-button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    white-space: normal;
    line-height: 1.25;
  }
  .product-card-actions > .action-button > span {
    display: inline;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
