/* Cart preview hover — bridge + open state (cache-busted standalone) */
@media (min-width: 768px) {
  #blockcart-wrapper,
  .ndx-cart {
    overflow: visible;
    position: relative;
  }

  .ndx-cart::after {
    content: "";
    height: 0.75rem;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 1059;
  }

  .ndx-cart.is-open::after {
    width: max(100%, 24rem);
  }

  /* Kill native CSS hover open — JS .is-open owns visibility.
     Do NOT use #blockcart-wrapper:hover .body — ID specificity beats .is-open. */
  .ndx-cart:hover .body {
    display: none;
  }

  .ndx-cart.is-open .body,
  .ndx-cart.is-open:hover .body,
  .ndx-cart:focus-within .body {
    display: block;
  }

  .ndx-cart.is-open {
    z-index: 1060;
  }
}
