/* Global top-right shopping cart, scoped to this plugin. Can be manually placed with [uluv_global_cart]. */
.uluv-global-cart{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #e5d1c5;border-radius:100px;background:#fffdf9;color:#4d2d22;box-shadow:0 5px 16px rgba(54,27,17,.14);font-family:Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.1;text-decoration:none!important;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.uluv-global-cart:hover,.uluv-global-cart:focus-visible{color:#673c30;border-color:#a85f45;outline-offset:3px}
.uluv-global-cart svg{flex:0 0 auto}
.uluv-global-cart .uluv-global-cart-count{display:inline-grid;place-items:center;background:#754737;color:#fff;border-radius:99px;min-width:21px;height:21px;padding:2px 5px;font-size:12px}
.uluv-global-cart .uluv-global-cart-count[hidden]{display:none!important}
/* The cart is available on EVERY public page, including the Shop page.
 * The shortcode variant remains inline for header/Elementor placement.
 */
.uluv-global-cart-floating{
 position:fixed!important; top:max(20px, env(safe-area-inset-top))!important;
 bottom:auto!important;left:auto!important;right:20px!important;
 z-index:9800;
}
body.admin-bar .uluv-global-cart-floating{
 top:calc(52px + env(safe-area-inset-top))!important;bottom:auto!important;
}
@media(max-width:600px){
 .uluv-global-cart-floating{
  top:calc(70px + env(safe-area-inset-top))!important;
  bottom:auto!important;right:12px!important;
  min-height:44px; padding:9px 11px;
  box-shadow:0 4px 12px rgba(54,27,17,.14)
 }
 body.admin-bar .uluv-global-cart-floating{
  top:calc(160px + env(safe-area-inset-top))!important;bottom:auto!important;
 }
 .uluv-global-cart-floating .uluv-global-cart-label{font-size:13px}
}
/* The storefront's old bottom bar remains in DOM for cart state/checkout JS,
 * but is only visually hidden when the new all-page cart actually exists.
 * If the admin disables the global cart, the original checkout button returns.
 */
body.uluv-sitewide-cart-active #uluv-store .uluv-cart,
body.uluv-sitewide-cart-active #uluv-store .uluv-cart:has(> [data-uluv-open]:disabled){display:none!important;}
.uluv-global-cart-floating[hidden]{display:none!important;}
