/* Mobile minicart: compact dropdown under the header, not a full-screen sheet */

@media only screen and (max-width: 770px) {
  html:root body #header .page-header-container {
    position: relative !important;
    overflow: visible !important;
  }

  html:root body #header .skip-links,
  html:root body #header .account-cart-wrapper,
  html:root body #header .header-minicart {
    position: static !important;
    overflow: visible !important;
  }

  html:root body #header-cart,
  html:root body #header-cart.skip-content,
  html:root body #header-cart.skip-active,
  html:root body #header-cart.skip-content.skip-active,
  html:root body #header .header-minicart #header-cart.skip-active {
    position: absolute !important;
    top: 100% !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    width: min(360px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    height: auto !important;
    max-height: min(70vh, calc(100dvh - 80px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 10000 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08) !important;
    padding: 0 !important;
  }
}
