/* v1.0.23: isolate archive action repair from stable FoodCommerce presentation. */
body .woocommerce ul.products li.product.ofc-actions-normalized .ofc-archive-actions,
body .woocommerce-page ul.products li.product.ofc-actions-normalized .ofc-archive-actions,
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions,
body .ofc-product-card .ofc-card-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;align-items:stretch!important;width:100%!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
body .ofc-product-card .ofc-card-actions > .ofc-archive-cart-button{
  grid-column:1!important;grid-row:auto!important;width:100%!important;
}
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions:has(> .added_to_cart.wc-forward) > .ofc-archive-compare-button,
body .ofc-product-card .ofc-card-actions > .ofc-archive-compare-button{
  grid-column:2!important;grid-row:auto!important;justify-self:stretch!important;
  width:100%!important;max-width:100%!important;
}
body .woocommerce ul.products li.product .ofc-archive-actions > a.added_to_cart.wc-forward,
body .woocommerce-page ul.products li.product .ofc-archive-actions > a.added_to_cart.wc-forward,
body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > a.added_to_cart.wc-forward,
body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > a.added_to_cart.wc-forward,
body .ofc-product-card .ofc-card-actions > a.added_to_cart.wc-forward{
  grid-column:1 / -1!important;grid-row:auto!important;justify-self:center!important;
  width:min(100%,260px)!important;min-height:40px!important;height:40px!important;
  margin:0 auto!important;
}
.ofc-card-quantity{display:block;clear:both;margin:9px 0 5px;padding:5px 8px;
  border:1px solid #dfe9d1;border-radius:6px;background:#f6faef;
  color:#476c25;font-size:12px;font-weight:700;line-height:1.35;text-align:center;}
@media(max-width:520px){
 body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions,
 body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions,
 body .ofc-product-card .ofc-card-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;}
 body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
 body .woocommerce .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button,
 body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-cart-button,
 body .woocommerce-page .products .product.ofc-actions-normalized .ofc-archive-actions > .ofc-archive-compare-button{grid-row:auto!important;min-width:0!important;height:auto!important;min-height:42px!important;padding:7px 4px!important;}
 .ofc-card-quantity{font-size:11px;}
}
