html.checkout-leaving { overflow: hidden; }
.checkout-leaving body > :not(.checkout-page-cover) { pointer-events: none; }
.checkout-page-cover {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  width: 100vw;
  height: 100dvh;
  background: #fff;
  pointer-events: auto;
  will-change: clip-path;
}

html.checkout-arrival,
.checkout-arrival body { background: #fff; }
.checkout-arrival body > :not(#checkoutDialog) { visibility: hidden; }
.checkout-arrival #checkoutDialog[open] .checkout-shell {
  animation: checkout-form-arrival .42s cubic-bezier(.22, .72, .18, 1) both;
}
@keyframes checkout-form-arrival {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-arrival #checkoutDialog[open] .checkout-shell { animation: none; }
}
