/* Keep purchase controls readable at every card and viewport width. */
.product-card__purchase,
.quantity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.product-card__purchase .product-card__quantity,
.quantity-row input {
    flex: 1 1 64px;
    width: 64px;
    min-width: 0;
    max-width: 100%;
}

.product-card__purchase .button,
.quantity-row .button {
    flex: 3 1 128px;
    width: auto;
    min-width: min(128px, 100%);
    max-width: 100%;
    min-height: 48px;
    padding: 12px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
}
