    /* ── Page layout ── */
    .page {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      max-width: 880px;
      width: 100%;
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 32px) env(safe-area-inset-bottom);
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr auto;
      align-items: start;
    }

    header {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    /* ── Info / hero ── */
    .info-panel {
      padding: clamp(32px, 6vw, 56px) 0 40px;
      display: flex;
      flex-direction: column;
      gap: clamp(24px, 4vw, 36px);
      min-width: 0;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
    }
    .eyebrow::before {
      content: '';
      width: 22px;
      height: 2px;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--blue), var(--cyan));
    }

    .info-panel h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4.4vw, 2.85rem);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -0.03em;
      color: var(--navy);
      max-width: 18ch;
      margin-top: 10px;
      overflow: visible;
    }
    /* Gradient text clips Arabic dots above letters if line-height / padding too tight */
    .info-panel h1 .accent {
      display: inline-block;
      padding: 0.14em 0 0.06em;
      margin: -0.06em 0;
      line-height: 1.35;
      overflow: visible;
      background: linear-gradient(105deg, var(--blue) 0%, var(--cyan) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
    }
    html[lang="ar"] .info-panel h1 {
      line-height: 1.38;
      letter-spacing: 0;
      max-width: 22ch;
    }
    html[lang="ar"] .info-panel h1 .accent {
      line-height: 1.45;
      padding: 0.18em 0 0.08em;
    }

    .hero-lead {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 42ch;
      margin-top: 14px;
    }

    .trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }

    /* ── Order preview card (shown after step 1) ── */
    .order-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 20px 24px;
      box-shadow: var(--shadow-sm);
    }
    .order-card-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 14px;
    }
    .order-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 11px 0;
      border-bottom: 1px solid var(--border);
      font-size: 14px;
      min-width: 0;
    }
    .order-row:last-child { border-bottom: none; }
    .order-row .label { color: var(--muted); flex-shrink: 0; }
    .order-row .value {
      font-weight: 600;
      text-align: right;
      word-break: break-word;
      min-width: 0;
    }
    .order-row.total { padding-top: 14px; border-top: 1px dashed var(--border); border-bottom: none; }
    .order-row.total .label {
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--navy);
    }
    .order-row.total .value {
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 800;
      background: linear-gradient(105deg, var(--blue), var(--blue-deep));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── Checkout panel ── */
    .payment-panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-xl);
      padding: clamp(22px, 4vw, 32px);
      box-shadow: var(--shadow);
      margin: clamp(28px, 5vw, 48px) 0 48px;
      align-self: start;
      width: 100%;
      min-width: 0;
      position: relative;
      overflow: hidden;
    }
    .payment-panel::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--cyan), var(--blue), var(--blue-deep));
    }

    /* ── Step indicator ── */
    .steps {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
    }
    .steps .step {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px 6px 6px;
      border-radius: 999px;
      background: var(--surface-2);
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
    }
    .steps .step .dot {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .steps .step.active {
      background: rgba(42, 124, 232, 0.10);
      color: var(--blue-deep);
    }
    .steps .step.active .dot {
      background: linear-gradient(135deg, var(--blue), var(--blue-deep));
      color: #fff;
      border-color: transparent;
    }
    .steps .step.done { color: var(--success); }
    .steps .step.done .dot {
      background: var(--success);
      color: #fff;
      border-color: transparent;
    }
    .steps .sep {
      flex: 1;
      height: 1px;
      background: var(--border);
      max-width: 28px;
    }

    .checkout-head { margin-bottom: 22px; }
    .payment-panel-title {
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--navy);
    }
    .payment-panel-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }

    .form-section { display: flex; flex-direction: column; gap: 18px; }
    .form-section-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    /* Currency grouped with amount */
    .amount-group { display: grid; grid-template-columns: 1fr 240px; gap: 12px; }
    @media (max-width: 420px) { .amount-group { grid-template-columns: 1fr; } }
    #currency { min-width: 220px; }

    /* Phone — country code select + number input side by side */
    .phone-wrap {
      display: grid;
      grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr);
      gap: 8px;
      align-items: stretch;
    }
    .phone-wrap > select,
    .phone-wrap > input {
      min-height: 46px;
      width: 100%;
    }
    @media (max-width: 480px) { .phone-wrap { grid-template-columns: 1fr; } }
    /* intl-tel-input — full width inside checkout */
    #fieldMobile .iti {
      width: 100%;
      display: block;
    }
    #fieldMobile .iti__selected-flag,
    #fieldMobile .iti__selected-dial-code {
      min-height: 46px;
    }
    #fieldMobile .iti__tel-input {
      width: 100% !important;
      min-height: 46px;
    }
    html[dir="rtl"] #fieldMobile .iti__tel-input {
      text-align: right;
    }
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(20, 40, 71, 0.45);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 50;
      padding: 16px;
    }
    .modal-backdrop.show { display: flex; }
    .modal-card {
      width: 100%;
      max-width: 420px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      box-shadow: var(--shadow-lg);
      padding: 18px;
      display: grid;
      gap: 12px;
    }
    .modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }

    #embedded-sessions {
      min-height: 200px;
      border-radius: var(--r-lg);
      overflow: hidden;
      width: 100%;
      max-width: 100%;
      border: 1px dashed rgba(20, 40, 71, 0.12);
      background: var(--surface-2);
      padding: 2px;
    }

    #stepPayment {
      display: none;
      flex-direction: column;
      gap: 22px;
    }

    .edit-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--blue-deep);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
    }
    .edit-link:hover { text-decoration: underline; }

    footer {
      grid-column: 1 / -1;
      padding: 24px 0 32px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
      color: var(--muted);
    }
    footer strong { color: var(--navy); font-weight: 700; }
    .footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }

    /* ── Responsive ── */
    @media (max-width: 960px) {
      .page { grid-template-columns: 1fr; padding: 0 16px; }
      header { padding: 16px 0; }
      .info-panel { padding: 24px 0 4px; gap: 22px; }
      .info-panel h1 { max-width: none; }
      .payment-panel { margin: 0 0 32px; }
      footer { flex-direction: column; align-items: flex-start; }
    }
