.jagwa-bag-link{position:relative;}
.jagwa-bag-icon{display:inline-block;width:23px;height:25px;vertical-align:middle;}
.jagwa-bag-count{position:absolute;top:-7px;right:-9px;min-width:16px;height:16px;padding:0 2px;box-sizing:border-box;border-radius:50%;background:#142536;color:#fff;font:10px/16px system-ui,sans-serif;text-align:center;}
.jagwa-bag-count[hidden],.jagwa-floating-bag[hidden]{display:none!important;}
.jagwa-floating-bag{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));right:24px;z-index:9990;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border:1px solid #d8dde1;border-radius:50%;background:#fff;color:#142536;box-shadow:0 4px 18px #0002;text-decoration:none;}
.jagwa-floating-bag:hover{background:#f3f5f6;color:#142536;}
.jagwa-floating-bag:focus-visible{outline:2px solid #142536;outline-offset:4px;}
.jagwa-floating-bag .jagwa-bag-icon{width:27px;height:29px;}
.jagwa-floating-bag .jagwa-bag-count{top:0;right:0;min-width:19px;height:19px;font-size:11px;line-height:19px;}
.jagwa-bag-pulse .jagwa-bag-icon{animation:jagwa-bag-pulse .45s ease;}
@keyframes jagwa-bag-pulse{0%,100%{transform:scale(1)}45%{transform:scale(1.13)}}
@media(max-width:600px){.jagwa-floating-bag{right:16px;bottom:calc(20px + env(safe-area-inset-bottom));width:52px;height:52px;}}
@media(prefers-reduced-motion:reduce){.jagwa-bag-pulse .jagwa-bag-icon{animation:none;}}
/* Override Stockholm's generic cart span sizing without altering its dropdown. */
.shopping_cart_header a.header_cart.jagwa-bag-link{display:inline-flex;align-items:center;justify-content:center;overflow:visible;}
.shopping_cart_header a.header_cart .jagwa-bag-count{position:absolute!important;top:-7px!important;right:-9px!important;left:auto!important;bottom:auto!important;width:auto!important;min-width:16px!important;height:16px!important;margin:0!important;padding:0 2px!important;line-height:16px!important;font:10px/16px system-ui,sans-serif!important;color:#fff!important;background:#142536!important;border-radius:50%!important;}
/* Mobile cart: retain WooCommerce's native removal link with a touch-sized target. */
@media(max-width:768px){
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item{position:relative!important;padding-top:44px!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove{grid-area:auto!important;z-index:2!important;opacity:1!important;display:block!important;position:absolute!important;top:4px!important;right:auto!important;left:4px!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;visibility:visible!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove::before{display:none!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove a.remove{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;box-sizing:border-box;padding:0!important;text-indent:0!important;font:26px/1 system-ui,sans-serif!important;color:#142536!important;text-decoration:none!important;visibility:visible!important;}
 body.woocommerce-cart .woocommerce-cart-form tr.cart_item td.product-remove a.remove:focus-visible{outline:2px solid #142536;outline-offset:-5px;}
}


/* Stack floating controls with 24px clearance, including the cart badge. */
body.jagwa-has-floating-bag #back_to_top{bottom:calc(104px + env(safe-area-inset-bottom))!important;right:30px!important;margin:0!important;}
@media(max-width:600px){body.jagwa-has-floating-bag #back_to_top{bottom:calc(96px + env(safe-area-inset-bottom))!important;right:20px!important;}}
.jagwa-payment-intro{font-size:14px;line-height:1.6;text-align:center;margin:0 0 24px;color:#424242;}
.jagwa-checkout-express{margin:20px 0;clear:both;}
.jagwa-checkout-express #wc-stripe-express-checkout-button-separator{margin:12px 0!important;}
