.native-checkout-overlay[hidden] {
  display: none;
}

.native-checkout-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 1rem;
  background: rgb(7 35 26 / 72%);
}

.native-checkout-card {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(90vh, 48rem);
  overflow-y: auto;
  border: 1px solid rgb(16 61 46 / 12%);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  color: #123b2d;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%);
}

.native-checkout-card h2 {
  margin: 0 2.5rem 1rem 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.native-checkout-card p {
  line-height: 1.6;
}

.native-checkout-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: #52635c;
  font-size: 1.75rem;
}

.native-checkout-price {
  margin-top: 1.5rem;
  color: #103d2e;
  font-size: clamp(2.5rem, 12vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.native-checkout-duration,
.native-checkout-prompt,
.native-checkout-selected {
  text-align: center;
}

.native-checkout-duration {
  margin: 0.75rem 0 1.5rem;
  color: #52635c;
}

.native-checkout-prompt {
  margin: 0;
  font-weight: 700;
}

.native-checkout-actions,
.native-checkout-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.native-checkout-button {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cddbd2;
  border-radius: 0.875rem;
  background: #fff;
  padding: 0.75rem 1rem;
  color: #123b2d;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.native-checkout-button.primary {
  border-color: #103d2e;
  background: #103d2e;
  color: #fff;
}

.native-checkout-button.method {
  min-height: 3.75rem;
  font-size: 1.125rem;
}

.native-checkout-button.method.selected {
  border-color: #103d2e;
  background: #e8f5ee;
  box-shadow: inset 0 0 0 1px #103d2e;
}

.native-checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.native-checkout-selected {
  margin: 0.75rem 0 0;
  color: #52635c;
}

.native-checkout-qr {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  margin: 1rem auto;
  border: 1px solid #dce8df;
  border-radius: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .native-checkout-overlay,
  .native-checkout-card,
  .native-checkout-button {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
