.checkout-page {
  min-height: 100vh;
  color: white;
  background:
    radial-gradient(circle at 78% 12%, rgba(111, 80, 237, 0.42), transparent 32%),
    radial-gradient(circle at 12% 92%, rgba(126, 224, 190, 0.14), transparent 28%),
    var(--night);
}

.checkout-header {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.checkout-shell {
  display: grid;
  width: min(1100px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
  margin: 0 auto;
  padding: 76px 0 84px;
}

.checkout-intro h1 {
  max-width: 650px;
  font-size: clamp(60px, 6vw, 88px);
}

.checkout-intro > p:last-of-type {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  line-height: 1.65;
}

.back-link {
  display: inline-flex;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  font-weight: 700;
}

.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.checkout-trust span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.order-card {
  padding: clamp(26px, 4vw, 38px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.order-kicker {
  color: var(--violet-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin: 20px 0 24px;
}

.order-heading h2 {
  margin: 0 0 7px;
  font-size: 34px;
  line-height: 1.05;
}

.order-heading p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.order-heading > strong {
  color: var(--violet-deep);
  font-family: "Fraunces", Georgia, serif;
  font-size: 44px;
}

.order-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 23px 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.order-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.4;
}

.order-card li::before {
  position: absolute;
  left: 0;
  color: var(--violet-deep);
  content: "✓";
  font-weight: 900;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 16px;
  font-weight: 700;
}

.order-total strong { font-size: 22px; }

.refund-summary {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 15px 17px;
  border: 1px solid #b9d8c7;
  border-radius: 16px;
  background: #eef8f2;
  color: #405149;
  font-size: 13px;
  line-height: 1.45;
}

.refund-summary strong { color: #07583f; font-size: 14px; }
.refund-summary a, .checkout-fineprint a, .checkout-faq a { color: var(--violet-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.checkout-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: white;
  border: 0;
  border-radius: 999px;
  background: var(--violet-deep);
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.checkout-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(78, 50, 189, 0.3); }
.checkout-button:disabled { cursor: wait; opacity: 0.65; transform: none; }
.checkout-button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.checkout-status { min-height: 22px; margin: 12px 0 0; color: #9d3f38; font-size: 15px; font-weight: 700; text-align: center; }
.fallback-link { display: block; color: var(--violet-deep); font-size: 15px; font-weight: 800; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.checkout-fineprint { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }

.checkout-faq {
  display: grid;
  width: min(1100px, calc(100% - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
  padding: 36px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-faq p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.6); font-size: 16px; line-height: 1.6; }

@media (max-width: 820px) {
  .checkout-shell { grid-template-columns: 1fr; padding-top: 38px; }
  .checkout-intro h1 { font-size: clamp(54px, 12vw, 76px); }
  .checkout-faq { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .checkout-header, .checkout-shell, .checkout-faq { width: min(100% - 28px, 1100px); }
  .checkout-header { min-height: 78px; }
  .checkout-shell { gap: 42px; padding-bottom: 58px; }
  .back-link { margin-bottom: 34px; }
  .order-heading { flex-direction: column; }
}
