/* Keep archive purchase buttons level when package titles wrap differently. */
.post-type-archive-product .product-grid > li.product > .content__product,
.tax-product_cat .product-grid > li.product > .content__product,
.tax-product_tag .product-grid > li.product > .content__product {
    display: flex;
    flex-direction: column;
}

.post-type-archive-product .product-grid .product__title,
.tax-product_cat .product-grid .product__title,
.tax-product_tag .product-grid .product__title {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-type-archive-product .product-grid .product__title > .button,
.tax-product_cat .product-grid .product__title > .button,
.tax-product_tag .product-grid .product__title > .button {
    align-self: flex-start;
    margin-top: auto;
}
