/**
 * checkout-success.css — /checkout-success/ page
 *
 * Scoped under .sh-page-checkout-success (body class set by layout.php).
 * Depends on sh-site (homepage.css) for resets, font imports, and CSS tokens.
 * Class prefix: cs-
 */

/* ── Nav height token ── */
.sh-page-checkout-success {
  --nav-h: 72px;
}
@media (max-width: 767px) {
  .sh-page-checkout-success { --nav-h: 64px; }
}

/* ── Page wrapper ── */
.sh-page-checkout-success .cs-main {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 120px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

/* ── Card ── */
.sh-page-checkout-success .cs-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(15,23,42,.06);
  padding: 56px 48px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

/* ── Check icon ── */
.sh-page-checkout-success .cs-icon {
  margin-bottom: 24px;
}
.sh-page-checkout-success .cs-icon svg {
  display: block;
  margin: 0 auto;
}

/* ── Heading ── */
.sh-page-checkout-success .cs-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ── Lead paragraph ── */
.sh-page-checkout-success .cs-lead {
  font-size: 17px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* ── Sub-note ── */
.sh-page-checkout-success .cs-note {
  font-size: 13.5px;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 0;
}
.sh-page-checkout-success .cs-note a {
  color: var(--brand);
  text-decoration: none;
}
.sh-page-checkout-success .cs-note a:hover {
  text-decoration: underline;
}

/* ── Divider ── */
.sh-page-checkout-success .cs-divider {
  border: none;
  border-top: 1px solid var(--slate-100);
  margin: 40px 0;
}

/* ── Steps section label ── */
.sh-page-checkout-success .cs-steps-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 20px;
  text-align: left;
}

/* ── Steps list ── */
.sh-page-checkout-success .cs-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sh-page-checkout-success .cs-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sh-page-checkout-success .cs-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
}
.sh-page-checkout-success .cs-step-body {
  flex: 1;
}
.sh-page-checkout-success .cs-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
  line-height: 1.4;
}
.sh-page-checkout-success .cs-step-text {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}
.sh-page-checkout-success .cs-step-text a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.sh-page-checkout-success .cs-step-text a:hover {
  text-decoration: underline;
}

/* ── Quick links ── */
.sh-page-checkout-success .cs-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}
.sh-page-checkout-success .cs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--brand);
  transition: background .15s, color .15s;
  line-height: 1;
}
.sh-page-checkout-success .cs-link:hover {
  background: var(--brand);
  color: #fff;
}
.sh-page-checkout-success .cs-link svg {
  flex-shrink: 0;
}

/* ── Security note ── */
.sh-page-checkout-success .cs-security {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-100);
  font-size: 12px;
  color: var(--slate-400);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.sh-page-checkout-success .cs-security svg {
  flex-shrink: 0;
  opacity: .55;
}

/* ── Responsive ── */
@media (max-width: 599px) {
  .sh-page-checkout-success .cs-card {
    padding: 36px 24px;
    border-radius: 16px;
  }
  .sh-page-checkout-success .cs-h1 {
    font-size: 26px;
  }
  .sh-page-checkout-success .cs-links {
    flex-direction: column;
    align-items: stretch;
  }
  .sh-page-checkout-success .cs-link {
    justify-content: center;
  }
}
@media (max-width: 374px) {
  .sh-page-checkout-success .cs-card {
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-page-checkout-success * { transition: none !important; animation: none !important; }
}
