/* Keep checkout within reach at every scroll position and screen size. */
.mobile-cart:not([hidden]) {
  display: flex;
  position: fixed;
  right: 28px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10;
  min-width: 280px;
  min-height: 58px;
  padding: 16px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid var(--cream);
  border-radius: 35px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 5px 24px #0003;
  font-size: 14px;
  font-weight: 700;
}
.mobile-cart .cart-count { margin-left: 8px; }
body:has(.mobile-cart) footer { padding-bottom: 115px; }
@media (max-width: 760px) {
  .mobile-cart:not([hidden]) {
    left: 16px;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 0;
    font-size: 13px;
  }
}
