/* All rendered product cards share one control: compact mobile, full-width desktop.
   The product detail purchase box and cart page controls are deliberately excluded. */
.storefront :is(#products, #recent-products, #detail .related) .catalog-cart-label { display:none; }
@media(min-width:761px) {
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions { display:contents; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions>.buy-slot { position:static; order:20; width:100%; height:48px; min-height:48px; margin: auto 0 0; padding-top:8px; box-sizing:content-box; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions .quick-quantity { width:100%; height:48px; min-height:48px; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions .buy-slot button[data-compact-cart] { display:flex; justify-content:center; align-items:center; gap:8px; width:100%; min-width:0; height:48px; min-height:48px; font-size:13px; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions .buy-slot button[data-compact-cart]::before { inset:0; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-cart-label { display:inline; max-width:calc(100% - 34px); white-space:normal; line-height:1.2; text-align:center; }
  .storefront :is(#products, #recent-products, #detail .related) .catalog-photo-actions .buy-slot svg { flex:none; }
}
