/* Checkout widget — scoped to reduce theme collisions */
.haiq-checkout-scope,
.haiq-checkout-success-scope {
  font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.haiq-checkout-scope .haiq-checkout-section {
  /* Keeps embedded checkout clear of sticky headers when scrolling into view */
  scroll-margin-top: min(120px, 20vh);
  scroll-margin-bottom: 1.5rem;
}

.haiq-checkout-scope .haiq-checkout-subtitle {
  margin: 12px auto 0;
  max-width: 720px;
  padding: 0 12px;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: #374151;
}

.haiq-checkout-scope .haiq-checkout-container {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .haiq-checkout-scope .haiq-checkout-container {
    min-width: min(100%, 1080px);
  }
}

/* Success page (IDs from partner doc; wrapper adds extra isolation) */
.haiq-checkout-success-scope #haiq-success-wrapper {
  text-align: center;
  padding: 50px 16px;
}

@keyframes haiqspin {
  to {
    transform: rotate(360deg);
  }
}

.haiq-checkout-success-scope #haiq-message-shell {
  max-width: 560px;
  margin: 10px auto 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.haiq-checkout-success-scope #status-message {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.haiq-checkout-success-scope #haiq-email-meta {
  margin-top: 10px;
  min-height: 48px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.haiq-checkout-success-scope #haiq-email-meta strong {
  color: #4b5563;
  word-break: break-word;
}
