/* Ravix Store 4.4 — refined desktop cart preview placement and Digikala-like cart/categories icons. */
@media (min-width:1051px){
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell{z-index:1600!important;}
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell::after{
    height:18px!important;top:100%!important;left:-10px!important;right:-10px!important;width:auto!important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell .rvx-cart-popover{
    top:calc(100% - 12px)!important;
    left:-10px!important;
    right:auto!important;
    z-index:1800!important;
    border-radius:14px!important;
    border:1px solid #e0e0e2!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(15,23,42,.16)!important;
    transform:translateY(-4px) scale(.992)!important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell.is-cart-open .rvx-cart-popover{transform:translateY(0) scale(1)!important;}
  body .rvx-site-header.rvx-unified-header .rvx-cart-popover .rvx-smart-cart__header{
    position:relative!important;z-index:2!important;background:#fff!important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-popover .rvx-smart-cart__header::before{
    content:"";position:absolute;inset:auto 0 100% 0;height:12px;background:#fff;border:1px solid #e0e0e2;border-bottom:0;border-radius:14px 14px 0 0;
  }
  body .rvx-site-header.rvx-unified-header .rvx-uni-cart__button{
    width:38px!important;height:38px!important;min-width:38px!important;border-radius:8px!important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-uni-cart__button .rvx-action-icon-wrap{width:22px!important;height:22px!important;}
  body .rvx-site-header.rvx-unified-header .rvx-header-vector--cart-refined{width:22px!important;height:22px!important;display:block!important;}
  body .rvx-site-header.rvx-unified-header .rvx-uni-cart__button .rvx-cart-count{top:-6px!important;left:-6px!important;min-width:16px!important;height:16px!important;border-radius:5px!important;}
}

@media (max-width:1050px){
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-mobile-tabbar__icon--badge{width:26px!important;height:25px!important;}
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-nav-reference-icon--categories{
    width:23px!important;height:23px!important;color:inherit!important;
  }
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-nav-reference-icon--categories.is-grid-outline{
    fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;
  }
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-nav-reference-icon--cart.is-cart-refined{
    width:22px!important;height:22px!important;fill:currentColor!important;stroke:none!important;
  }
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-mobile-tabbar__count{
    left:-1px!important;bottom:-1px!important;min-width:14px!important;height:14px!important;padding:0 2px!important;border-radius:5px!important;font-size:8.5px!important;
  }
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-mobile-tabbar__item[data-rvx-mobile-tab="categories"] .rvx-mobile-tabbar__icon,
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference .rvx-mobile-tabbar__item[data-rvx-mobile-tab="cart"] .rvx-mobile-tabbar__icon{
    transform:translateY(-.5px)!important;
  }
}
