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

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

.sm-checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 36, 0.55);
  backdrop-filter: blur(2px);
}

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

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

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

.sm-checkout-eyebrow {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 35, 58, 0.55);
}

.sm-checkout-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--navy, #10233a);
}

.sm-checkout-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(16, 35, 58, 0.06);
  color: var(--navy, #10233a);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.sm-checkout-close:hover {
  background: rgba(16, 35, 58, 0.12);
}

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

.sm-checkout-status {
  margin: 12px 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(44, 120, 52, 0.08);
  color: var(--navy, #10233a);
  font-weight: 700;
  font-size: 0.95rem;
}

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

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

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