html.knup-checkout-open,
html.knup-checkout-open body {
  overflow: hidden;
}

.knup-checkout-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.knup-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(2px);
}

.knup-checkout-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  animation: knupCheckoutIn 0.28s ease;
}

@keyframes knupCheckoutIn {
  from {
    transform: translateX(24px);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.knup-checkout-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.knup-checkout-eyebrow {
  margin: 0 0 4px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #e60910);
}

.knup-checkout-header h2 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #111;
}

.knup-checkout-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.knup-checkout-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.knup-checkout-body {
  flex: 1;
  overflow: auto;
  padding: 8px 12px 24px;
}

.knup-checkout-pitch {
  margin: 8px 10px 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(230, 9, 16, 0.07);
  border: 1px solid rgba(230, 9, 16, 0.14);
  color: #222;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.knup-checkout-status {
  margin: 12px 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(230, 9, 16, 0.08);
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

.knup-checkout-status.is-error {
  background: rgba(180, 48, 48, 0.1);
  color: #7a1f1f;
}

.knup-checkout-mount {
  min-height: 320px;
}

@media (max-width: 560px) {
  .knup-checkout-panel {
    width: 100%;
  }
}
