/* Mobile category archives only. Preserve the grid, images, typography,
   button dimensions and colors. Stretch cards in each existing grid row,
   and let the action area consume the remaining vertical space. */
@media (max-width: 767px) {
  body.tax-product_cat:not(.single-product) :is(ul.products, .ct-products-container, .wc-block-grid__products) > :is(li.product, li.wc-block-grid__product):not(.product-category) {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
  }
  body.tax-product_cat:not(.single-product) :is(ul.products, .ct-products-container, .wc-block-grid__products) > :is(li.product, li.wc-block-grid__product):not(.product-category) > :is(.ct-woo-card-actions, .wc-block-grid__product-add-to-cart, a.button, button.button, .add_to_cart_button) {
    margin-top: auto !important;
  }
}
