@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&family=Poppins:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   MAWRA ISHAQUE — CHECKOUT
   Layout follows the spec scroll order:
     Order Summary → Pricing → Payment Methods → Your Details
     → Checkbox → Pay Button
   Palette inherits the site brand (red). To rebrand the whole
   page, change --co-brand* below — nothing else is hard-coded.
   ============================================================ */

:root {
  --co-brand: #DC2626;
  --co-brand-deep: #B91C1C;
  --co-brand-darker: #991B1B;
  --co-brand-tint: rgba(220, 38, 38, 0.06);
  --co-brand-line: rgba(220, 38, 38, 0.18);

  --co-ink: #14140f;
  --co-ink-soft: rgba(20, 20, 15, 0.72);
  --co-ink-mute: rgba(20, 20, 15, 0.52);
  --co-paper: #ffffff;
  --co-page: #f7f6f3;
  --co-rule: #e6e3dc;
  --co-rule-soft: #efedE7;

  --co-radius: 16px;
  --co-radius-sm: 10px;
  --co-shadow: 0 1px 2px rgba(20, 20, 15, 0.04),
               0 8px 24px -14px rgba(20, 20, 15, 0.18);
}

/* === Top secure-checkout strip ============================== */
.secure-bar {
  position: relative;
  z-index: 12;
  background: var(--co-brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  flex-wrap: wrap;
}
.secure-bar .secure-item { display: inline-flex; align-items: center; gap: 8px; }
.secure-bar .secure-item .ico {
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.secure-bar .sep { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 600px) {
  .secure-bar { gap: 10px; font-size: 9px; letter-spacing: 0.14em; padding: 9px 14px; }
  .secure-bar .secure-item .ico { width: 18px; height: 18px; }
  .secure-bar .sep { display: none; }
}

/* === Page container ========================================= */
.checkout-page {
  min-height: 100vh;
  padding: 34px 16px 72px;
  background: var(--co-page);
  color: var(--co-ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.checkout-wrap {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* === Layout ==================================================
   Mobile: one column, Order Summary first (spec scroll order).
   Desktop: two columns, form left + sticky summary right.
   ============================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.col-side { order: 1; min-width: 0; }
.col-main {
  order: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 901px) {
  .checkout-wrap { max-width: 1080px; }
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 392px;
    align-items: start;
    gap: 28px;
  }
  .col-main { order: 1; }
  .col-side {
    order: 2;
    position: sticky;
    top: 24px;
  }
}

/* === Card shell ============================================= */
.checkout-card {
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius);
  box-shadow: var(--co-shadow);
  padding: 26px 24px;
}
.card-h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 4.4vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--co-ink);
  margin: 0;
}
.card-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--co-ink-mute);
  margin: 7px 0 0;
}

@media (max-width: 520px) {
  .checkout-page { padding: 22px 12px 60px; }
  .checkout-card { padding: 22px 17px; border-radius: 14px; }
}

/* ============================================================
   1 · ORDER SUMMARY
   ============================================================ */

/* --- "Tap for more details" accordion toggle --- */
.order-acc-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--co-ink-mute);
  transition: color 0.18s ease;
}
.order-acc-toggle:hover { color: var(--co-brand); }
.order-acc-toggle:focus-visible {
  outline: 2px solid var(--co-brand);
  outline-offset: 4px;
  border-radius: 4px;
}
.order-acc-chev {
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg); /* points up when collapsed, per the spec's "∧" */
}
.order-acc-toggle[data-open="true"] .order-acc-chev { transform: rotate(0deg); }

/* --- Collapsible body --- */
.order-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.order-acc-body[data-open="true"] { grid-template-rows: 1fr; }
.order-acc-inner { overflow: hidden; }

/* --- Tinted detail panel --- */
.order-detail-panel {
  margin-top: 16px;
  padding: 18px 18px 16px;
  background: var(--co-brand-tint);
  border: 1px solid var(--co-brand-line);
  border-radius: var(--co-radius-sm);
}
.order-detail-eyebrow,
.order-detail-foot {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--co-brand-darker);
  margin: 0;
  line-height: 1.6;
}
.order-detail-foot {
  margin-top: 14px;
  color: var(--co-ink-mute);
  font-weight: 500;
}

.order-benefits {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.order-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--co-ink-soft);
}
.ob-tick {
  flex: 0 0 auto;
  margin-top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--co-brand);
  color: #ffffff;
}

/* --- Pricing --- */
.order-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--co-rule-soft);
}
.order-price-row .strike {
  font-size: 17px;
  color: var(--co-ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.order-price-row .now {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 6.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--co-brand);
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0 0;
}
.order-total .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--co-ink-soft);
}
.order-total .amt {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--co-brand);
}

/* --- Accepted payment methods --- */
.pay-methods { margin-top: 24px; }
.pay-methods-label {
  display: block;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--co-ink-mute);
  margin-bottom: 12px;
}
.pay-methods-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pay-methods-list .pm {
  display: grid;
  place-items: center;
  height: 46px;
  padding: 8px 10px;
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius-sm);
}
.pay-methods-list .pm img {
  max-height: 22px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 400px) {
  .pay-methods-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   2 · YOUR DETAILS
   ============================================================ */

/* --- The 10-second notice --- */
.wait-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  padding: 15px 16px;
  background: var(--co-brand-tint);
  border-left: 3px solid var(--co-brand);
  border-radius: var(--co-radius-sm);
}
.wait-notice .wn-ico {
  flex: 0 0 auto;
  margin-top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.12);
  color: var(--co-brand-deep);
}
.wait-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--co-ink-soft);
}
.wait-notice strong { color: var(--co-brand-darker); font-weight: 700; }

/* --- Form --- */
.checkout-form { margin-top: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--co-ink-soft);
}
.field label .req { color: var(--co-brand); }
.field-hint {
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--co-ink-mute);
  white-space: nowrap;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius-sm);
  font-family: "DM Sans", sans-serif;
  font-size: 15.5px;
  color: var(--co-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input::placeholder { color: rgba(20, 20, 15, 0.32); }
.field input:focus {
  outline: none;
  border-color: var(--co-brand);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* --- Invalid state (ours, never the browser's) --- */
.field[data-invalid="true"] input {
  border-color: var(--co-brand);
  background: rgba(220, 38, 38, 0.03);
}
.field[data-invalid="true"] input:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.16);
}
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--co-brand-deep);
  animation: co-err-in 0.18s ease both;
}
.field-error svg { flex: 0 0 auto; margin-top: 1.5px; }
@keyframes co-err-in {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: none; }
}

.phone-group { display: flex; gap: 8px; align-items: stretch; }
.phone-group input { flex: 1 1 auto; }

@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .field label { flex-wrap: wrap; }
}

/* ============================================================
   COUNTRY SELECT — custom combobox with flag images.
   Emoji flags don't render on Windows Chrome, and a native
   <select> can't hold images, hence this.
   ============================================================ */
.cs-root { position: relative; flex: 0 0 auto; }

.cs-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  min-height: 48px;
  padding: 0 11px;
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius-sm);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--co-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cs-trigger:hover:not(:disabled) { border-color: var(--co-brand-line); }
.cs-trigger:focus-visible {
  outline: none;
  border-color: var(--co-brand);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.cs-trigger:disabled { opacity: 0.6; cursor: not-allowed; }
.cs-dial { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-chev { color: var(--co-ink-mute); flex: 0 0 auto; }

.cs-flag {
  flex: 0 0 auto;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(20, 20, 15, 0.1);
  display: block;
}
/* Revealed by the <img> onError handler when a flag fails to load. */
.cs-iso-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  background: var(--co-page);
  box-shadow: 0 0 0 1px rgba(20, 20, 15, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--co-ink-mute);
}

/* --- Dropdown panel --- */
.cs-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  width: 310px;
  max-width: min(310px, calc(100vw - 40px));
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius);
  box-shadow: 0 18px 44px -14px rgba(20, 20, 15, 0.3),
              0 2px 6px rgba(20, 20, 15, 0.06);
  overflow: hidden;
  animation: co-pop 0.14s ease both;
}
@keyframes co-pop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.cs-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--co-rule-soft);
  color: var(--co-ink-mute);
}
.cs-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  color: var(--co-ink);
}
.cs-search input::placeholder { color: rgba(20, 20, 15, 0.36); }

.cs-list {
  list-style: none;
  margin: 0;
  padding: 5px;
  max-height: 264px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cs-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--co-ink-soft);
}
.cs-option[data-active="true"] {
  background: var(--co-brand-tint);
  color: var(--co-ink);
}
.cs-option[data-selected="true"] { font-weight: 700; color: var(--co-brand-darker); }
.cs-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-option-dial {
  flex: 0 0 auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--co-ink-mute);
  font-variant-numeric: tabular-nums;
}
.cs-option[data-active="true"] .cs-option-dial { color: var(--co-brand-deep); }

.cs-empty {
  margin: 0;
  padding: 22px 14px;
  text-align: center;
  font-size: 14px;
  color: var(--co-ink-mute);
}

/* Scrollbar, themed rather than OS-default. */
.cs-list::-webkit-scrollbar { width: 9px; }
.cs-list::-webkit-scrollbar-track { background: transparent; }
.cs-list::-webkit-scrollbar-thumb {
  background: var(--co-rule);
  border: 3px solid var(--co-paper);
  border-radius: 999px;
}
.cs-list::-webkit-scrollbar-thumb:hover { background: var(--co-brand-line); }

/* --- Trust badges row --- */
.trust-mini-row {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-mini-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--co-rule);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--co-ink-soft);
}
.trust-mini-row li svg { color: var(--co-brand); flex: 0 0 auto; }

/* --- Form-level error banner --- */
.checkout-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid var(--co-brand-line);
  border-radius: var(--co-radius-sm);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--co-brand-darker);
}
.checkout-error svg { flex: 0 0 auto; margin-top: 2px; }

/* ============================================================
   3 · FINE TEXT → CHECKBOX → PAY BUTTON
   ============================================================ */
.checkout-finetext {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12.8px;
  font-style: italic;
  line-height: 1.65;
  color: var(--co-ink-mute);
}
.finetext-link {
  color: var(--co-ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.finetext-link:hover { color: var(--co-brand); }

/* --- Mandatory consent checkbox --- */
.consent-box {
  background: var(--co-paper);
  border: 1px solid var(--co-rule);
  border-radius: var(--co-radius);
  padding: 16px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.consent-box[data-error="true"] {
  border-color: var(--co-brand);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
  color: var(--co-ink-soft);
}
.consent-label input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 1px;
  width: 19px;
  height: 19px;
  accent-color: var(--co-brand);
  cursor: pointer;
}
.consent-label strong { color: var(--co-ink); font-weight: 700; }
.consent-error {
  margin: 9px 0 0 30px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--co-brand);
}

/* --- Pay button --- */
.pay-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 19px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--co-brand) 0%, var(--co-brand-deep) 100%);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 3.4vw, 18px);
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-shadow: 0 10px 26px -10px rgba(220, 38, 38, 0.65);
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.16s ease;
}
.pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(220, 38, 38, 0.7);
  filter: brightness(1.04);
}
.pay-btn:active:not(:disabled) { transform: translateY(0); }
.pay-btn:focus-visible { outline: 3px solid var(--co-brand-darker); outline-offset: 3px; }
.pay-btn:disabled { opacity: 0.62; cursor: not-allowed; box-shadow: none; }
.pay-btn .ar {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* ============================================================
   STICKY MOBILE PAY BAR
   Below 900px the inline button is replaced by a fixed bar, so
   the CTA is always one thumb-reach away.
   ============================================================ */
.pay-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--co-rule);
  box-shadow: 0 -6px 24px -10px rgba(20, 20, 15, 0.22);
}
.pay-bar-total {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.pbt-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--co-ink-mute);
  white-space: nowrap;
}
.pbt-amt {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--co-brand);
}
.pbt-strike {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--co-ink-mute);
  text-decoration: line-through;
}

.pay-btn-sticky {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 16px;
  font-size: 14.5px;
  gap: 8px;
  box-shadow: 0 6px 18px -8px rgba(220, 38, 38, 0.6);
}
.pay-btn-sticky .ar { width: 22px; height: 22px; }

/* Desktop: inline button only, no sticky bar. */
@media (min-width: 901px) {
  .pay-bar { display: none; }
}
/* Mobile: sticky bar only, no inline button. Pad the page so the last
   card never hides behind the bar. */
@media (max-width: 900px) {
  .pay-btn-inline { display: none; }
  .checkout-page { padding-bottom: 120px; }
}
@media (max-width: 380px) {
  .pay-bar { gap: 10px; padding-left: 11px; padding-right: 11px; }
  .pay-btn-sticky { font-size: 13px; padding: 14px 12px; }
  .pbt-amt { font-size: 19px; }
  .pbt-strike { display: none; }
}

/* ============================================================
   POST-PAYMENT HOLD OVERLAY
   ============================================================ */
.redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 15, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: co-fade-in 0.22s ease both;
}
@keyframes co-fade-in { from { opacity: 0; } to { opacity: 1; } }

.redirect-card {
  width: 100%;
  max-width: 380px;
  background: var(--co-paper);
  border-radius: var(--co-radius);
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
}
.redirect-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--co-ink);
  margin: 18px 0 0;
}
.redirect-card p {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--co-ink-soft);
}
.redirect-spinner {
  display: inline-block;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(220, 38, 38, 0.18);
  border-top-color: var(--co-brand);
  animation: co-spin 0.8s linear infinite;
}
@keyframes co-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .redirect-spinner { animation-duration: 2.4s; }
  .order-acc-body, .order-acc-chev, .pay-btn { transition: none; }
}

/* ============================================================
   LEGACY — /checkout/success still uses these class names.
   ============================================================ */
.checkout-head { text-align: center; margin-bottom: 26px; }
.checkout-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--co-brand);
}
.checkout-h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--co-ink);
}
.checkout-h1 .gold { color: var(--co-brand); }
.checkout-sub {
  margin: 10px auto 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--co-ink-mute);
}
.step-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--co-ink);
}
.order-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--co-ink-mute);
}
