/* Keep the cart's primary action reachable above the mobile quick-navigation bar. */
@media (max-width: 620px) {
  .cart-drawer {
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .cart-items {
    min-height: 0;
    overscroll-behavior: contain;
  }

  .cart-drawer.open ~ #mobileBottomBar {
    visibility: hidden;
    pointer-events: none;
  }

  .cart-summary {
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
}
