/* Ravix Store 4.5: desktop cart dropdown beneath the three header controls;
   precise user-supplied cat-all icon in the mobile navigation bar. */
@media (min-width: 1051px) {
  /* One connected hover target: button -> gap -> mini-cart. */
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell {
    overflow: visible !important;
    isolation: isolate;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    height: 14px !important;
    left: -12px !important;
    right: -12px !important;
    width: auto !important;
    display: block !important;
    background: transparent !important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell .rvx-cart-popover {
    /* Previously calc(100% - 12px), overlapping the cart/login icons. */
    top: calc(100% + 8px) !important;
    transform: translateY(-3px) scale(.995) !important;
    transform-origin: top left !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  body .rvx-site-header.rvx-unified-header .rvx-cart-shell.is-cart-open .rvx-cart-popover {
    transform: translateY(0) scale(1) !important;
  }
  /* Remove the artificial upward white tab left over from v4.4. */
  body .rvx-site-header.rvx-unified-header .rvx-cart-popover .rvx-smart-cart__header::before {
    content: none !important;
    display: none !important;
  }
}
@media (max-width: 1050px) {
  body .rvx-mobile-tabbar.rvx-mobile-tabbar--reference
    .rvx-nav-reference-icon--categories.is-cat-all-outline {
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
    stroke: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .rvx-site-header.rvx-unified-header .rvx-cart-popover {
    transition: none !important;
  }
}
