/* Keep cart and checkout actions together at every card width. */
body.deep-theme #main-content .dh-storefront .dh-product-actions,
body.deep-theme #main-content .product-purchase-actions {
    display:flex; flex-wrap:nowrap; align-items:stretch; gap:8px; width:100%;
}
body.deep-theme #main-content .dh-storefront .dh-product-actions>.deep-button,
body.deep-theme #main-content .dh-storefront .dh-product-actions>.ai-cart-qty-control,
body.deep-theme #main-content .product-purchase-actions>button,
body.deep-theme #main-content .product-purchase-actions>.ai-cart-qty-control {
    flex:1 1 0; width:0; min-width:0; margin:0; min-height:44px; padding:9px 6px; font-size:12px; line-height:1.3; white-space:normal;
}
body.deep-theme #main-content .browse-products .browse-product-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:8px; }
body.deep-theme #main-content .browse-products .browse-product-actions>:is(.js-product-add-to-cart,.ai-cart-qty-control) { grid-column:1; grid-row:1; min-width:0; }
body.deep-theme #main-content .browse-products .browse-product-actions>.js-product-buy-now { grid-column:2; grid-row:1; min-width:0; }
body.deep-theme #main-content .browse-products .browse-product-actions>.browse-btn { white-space:normal; line-height:1.3; }
body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions)>.ai-cart-qty-control { align-items:center; justify-content:space-between; padding:3px; gap:2px; }
@media(max-width:767px) {
    body.deep-theme #main-content .dh-storefront .dh-product-actions,
    body.deep-theme #main-content .product-purchase-actions { gap:6px; }
    body.deep-theme #main-content .dh-storefront .dh-product-actions>.deep-button,
    body.deep-theme #main-content .product-purchase-actions>button { padding:7px 3px; font-size:11px; }
    body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions)>button :is(svg,i) { display:none; }
    body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions) .ai-cart-qty-btn { width:22px; min-width:22px; height:34px; font-size:18px; }
    body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions) .ai-cart-qty-value { min-width:12px; font-size:12px; }
}
@media(max-width:400px) {
    body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions)>.ai-cart-qty-control { padding:2px; gap:0; }
    body.deep-theme #main-content :is(.dh-product-actions,.product-purchase-actions,.browse-product-actions) .ai-cart-qty-btn { width:16px; min-width:16px; }
}
