/* Mobile mini-cart footer: matching controls and safe-area clearance. */
@media(max-width:767px){
body .woocommerce-mini-cart__buttons,
body .buttons:has(> a.checkout.wc-forward){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;position:sticky!important;bottom:0!important;z-index:5;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;margin:0!important;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid #edf0eb!important;overflow:visible!important}
body .woocommerce-mini-cart__buttons > a.button,
body .buttons:has(> a.checkout.wc-forward) > a.button{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;float:none!important;position:static!important;width:0!important;min-width:0!important;max-width:none!important;height:46px!important;min-height:46px!important;max-height:46px!important;box-sizing:border-box!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:8px!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;transform:none!important;box-shadow:none!important}
body .woocommerce-mini-cart__buttons > a.button:not(.checkout),body .buttons:has(> a.checkout.wc-forward) > a.button:not(.checkout){background:#f1f3ef!important;color:#43503f!important}
body .woocommerce-mini-cart__buttons > a.checkout,body .buttons:has(> a.checkout.wc-forward) > a.checkout{background:#5dca65!important;color:#163b1b!important}
body .woocommerce-mini-cart__buttons > a.button:focus-visible,body .buttons:has(> a.checkout.wc-forward) > a.button:focus-visible{outline:2px solid #34723c!important;outline-offset:3px!important}
}
/* Keep the product's native image, title and price layout untouched.
   The remove action stays in normal flow rather than reserving a side column. */
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:max-content!important;max-width:100%!important;height:44px!important;min-width:44px!important;min-height:44px!important;float:none!important;clear:both!important;margin:2px 0 0 auto!important;padding:0 2px 0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;color:#788078!important;font-size:0!important;line-height:1!important;text-decoration:none!important;text-indent:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;cursor:pointer;box-sizing:border-box!important}
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button::before{content:"×  Remove"!important;display:inline-block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;transform:none!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;color:inherit!important}
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button::after{content:none!important;display:none!important}
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button:hover{background:transparent!important;color:#a83c30!important}
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button:hover::before{text-decoration:underline;text-underline-offset:3px}
/* One shared action row inside each item's content, above its separator. */
.aqs-cart-item-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;width:100%!important;clear:both!important;margin:4px 0 8px!important;padding:0!important;text-align:left!important;border:0!important;box-sizing:border-box}
.aqs-cart-item-footer .quantity{display:block!important;float:none!important;position:static!important;width:auto!important;margin:0!important;padding:0!important;text-align:left!important;line-height:1.5!important;color:#4c594f}
body .aqs-cart-item-footer a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button{flex:0 0 auto!important;clear:none!important;margin:0!important;padding:0 2px 0 8px!important;align-self:center!important}
body a.wpr-remove-item-from-mini-cart.remove.remove_from_cart_button:focus-visible{outline:2px solid #34723c!important;outline-offset:2px!important;border-radius:3px!important}
