/* WooCommerce cart access that remains visible when Elementor collapses or
   hides the mobile navigation widgets. Desktop and tablet keep their own cart. */
.sw-mobile-cart{display:none}

@media (max-width:600px){
  body.sw-elementor-header-active .sw-mobile-cart{
    position:fixed;
    z-index:10020;
    top:calc(var(--wp-admin--admin-bar--height,0px) + 48px);
    right:18px;
    width:42px;
    height:42px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    color:#111!important;
    background:rgba(244,244,241,.96);
    border:1px solid #111;
    border-radius:0;
    box-shadow:0 4px 16px rgba(0,0,0,.08);
    text-decoration:none!important;
    line-height:1;
  }
  .sw-mobile-cart svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .sw-mobile-cart-count{
    position:absolute;
    top:-8px;
    right:-8px;
    min-width:20px;
    height:20px;
    padding:0 5px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#d8ff43;
    color:#111;
    border:1px solid #111;
    font:700 10px/1 Arial,sans-serif;
  }
  .sw-mobile-cart.is-bouncing{animation:swBounce .55s ease}

  /* Avoid showing two cart controls if an Elementor Menu Cart is enabled later. */
  .elementor-location-header .elementor-menu-cart__toggle,
  .elementor-location-header .widget_shopping_cart{
    display:none!important;
  }
}
