   /* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:       #0778d4;
      --blue-dark:  #0562ae;
      --blue-deep:  #03407a;
      --blue-lt:    #deeefb;
      --blue-pale:  #eef6fd;
      --gold:       #c8960c;
      --gold-lt:    #fdf4d8;
      --dark:       #07111f;
      --text:       #0a0f1a;
      --muted:      #5a6a80;
      --border:     rgba(7,120,212,.15);
      --bg:         #f2f7fc;
      --red:        #d63c3c;
      --font:       'Plus Jakarta Sans', sans-serif;
      --serif:      'Cormorant Garamond', serif;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }


    .site-nav {
      background: #fff;
      border-bottom: 1px solid var(--border);
      height: 64px;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 1.75rem;
      box-shadow: 0 2px 12px rgba(7,120,212,.07);
      position: sticky; top: 0; z-index: 100;
    }
    .nav-logo {
      display: flex; align-items: center; gap: .7rem;
      text-decoration: none;
    }
    .nav-logo-img { height: 38px; width: auto; border-radius: 6px; }
    .nav-logo-text {
      font-family: var(--font);
      font-weight: 700; font-size: .95rem;
      color: var(--text); line-height: 1.2;
    }
    .nav-logo-text span { color: var(--blue); }
    .nav-logo-text small {
      display: block; font-size: .64rem; font-weight: 500;
      color: var(--muted); letter-spacing: .1em; text-transform: uppercase;
    }
    .nav-cart-btn {
      display: flex; align-items: center; gap: .5rem;
      border: 1.5px solid var(--border);
      border-radius: 10px; padding: .42rem 1rem;
      font-size: .84rem; font-weight: 700;
      color: var(--blue); text-decoration: none; background: #fff;
      transition: all .2s ease; position: relative;
    }
    .nav-cart-btn:hover {
      background: var(--blue-pale);
      border-color: var(--blue); color: var(--blue-dark);
    }
    .cart-count-badge {
      background: var(--gold); color: #fff;
      font-size: .65rem; font-weight: 800;
      width: 18px; height: 18px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
    }

    .stepper-wrap {
      background: #fff; border-bottom: 1px solid var(--border);
      padding: 1.25rem 0 1rem;
    }
    .stepper {
      display: flex; align-items: flex-start; justify-content: center;
      gap: 0; max-width: 580px; margin: 0 auto; padding: 0 1rem;
    }
    .step { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 0 0 auto; }
    .step-circle {
      width: 38px; height: 38px; border-radius: 50%;
      border: 2px solid rgba(7,120,212,.2);
      background: #fff; color: var(--muted);
      font-size: .85rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      transition: all .3s ease; position: relative; z-index: 1;
    }
    .step.active .step-circle {
      background: var(--blue); border-color: var(--blue); color: #fff;
      box-shadow: 0 0 0 5px rgba(7,120,212,.15);
    }
    .step.done .step-circle {
      background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
    }
    .step-label { font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
    .step.active .step-label { color: var(--blue); }
    .step.done  .step-label  { color: var(--blue-dark); }
    .step-line {
      flex: 1; height: 2px; background: rgba(7,120,212,.15);
      margin-bottom: 1.1rem; max-width: 80px; transition: background .3s;
    }
    .step-line.done { background: var(--blue); }


    .wizard-body { max-width: 740px; margin: 2rem auto; padding: 0 1rem 3rem; }

 
    .panel {
      background: #fff; border-radius: 20px;
      border: 1px solid var(--border);
      box-shadow: 0 8px 40px rgba(7,120,212,.09);
      overflow: hidden;
      animation: slideUp .3s ease both;
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

  
    .panel-head {
      background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 50%, var(--blue) 100%);
      padding: 2rem 2rem 1.75rem; position: relative; overflow: hidden;
    }
    .panel-head::before {
      content: ''; position: absolute; inset: 0;
      background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
      background-size: 22px 22px; pointer-events: none;
    }
    .panel-head::after {
      content: ''; position: absolute; right: -50px; top: -50px;
      width: 200px; height: 200px; border-radius: 50%;
      border: 40px solid rgba(255,255,255,.06);
    }
    .panel-step-badge {
      display: inline-flex; align-items: center; gap: .4rem;
      background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2);
      color: rgba(255,255,255,.85); font-size: .72rem; font-weight: 700;
      padding: .28rem .8rem; border-radius: 999px; margin-bottom: .75rem;
      position: relative; z-index: 1;
    }
    .panel-step-badge i { color: var(--gold); font-size: .7rem; }
    .panel-title {
      font-family: var(--serif);
      font-size: 1.65rem; font-weight: 700; color: #fff;
      line-height: 1.15; position: relative; z-index: 1; margin: 0;
    }
    .panel-title em { font-style: normal; color: #ffd580; }
    .panel-sub { font-size: .86rem; color: rgba(255,255,255,.65); margin-top: .4rem; position: relative; z-index: 1; }

   
    .panel-body { padding: 1.75rem 2rem; }

  
    .summary-strip {
      display: flex; justify-content: space-between; align-items: center;
      background: var(--blue-pale); border-bottom: 1px solid var(--border);
      padding: .85rem 2rem; font-size: .88rem;
    }
    .summary-strip-label { color: var(--muted); font-weight: 500; }
    .summary-strip-amount {
      font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--blue);
    }

 
    .dtype-row { display: flex; gap: .75rem; margin-bottom: .5rem; }
    .dtype-btn {
      flex: 1; padding: .85rem;
      border: 2px solid var(--border); border-radius: 12px;
      background: #fff; color: var(--muted);
      font-weight: 700; font-size: .9rem; cursor: pointer;
      transition: all .2s ease; display: flex; align-items: center; justify-content: center; gap: .5rem;
    }
    .dtype-btn i { font-size: .9rem; }
    .dtype-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
    .dtype-btn.active {
      border-color: var(--blue); background: var(--blue); color: #fff;
      box-shadow: 0 4px 16px rgba(7,120,212,.28);
    }
    .dtype-btn.active i { color: #ffd580; }


    .fund-grid-label {
      font-size: .75rem; font-weight: 800; color: var(--muted);
      text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
    }
    .fund-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: .5rem; margin-bottom: 1.5rem;
    }
    .fund-cell {
      display: flex; align-items: center; gap: .65rem;
      padding: .8rem 1rem; border-radius: 11px;
      border: 1.5px solid var(--border);
      background: #fff; cursor: pointer;
      transition: all .2s ease; position: relative;
      text-align: left;
    }
    .fund-cell:hover { border-color: var(--blue); background: var(--blue-pale); }
    .fund-cell.active {
      border-color: var(--blue); background: var(--blue);
      box-shadow: 0 4px 16px rgba(7,120,212,.28);
    }
    .fund-cell-icon {
      width: 36px; height: 36px; border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.05rem; flex-shrink: 0;
      transition: all .2s ease;
    }
    .fund-cell.active .fund-cell-icon { background: rgba(255,255,255,.2) !important; color: #fff !important; }
    .fund-cell-name {
      font-size: .86rem; font-weight: 700; color: var(--text);
      line-height: 1.3; flex: 1;
    }
    .fund-cell.active .fund-cell-name { color: #fff; }
    .fund-eye-btn {
      width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
      background: rgba(7,120,212,.08); border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: .8rem; transition: all .18s ease;
    }
    .fund-eye-btn:hover { background: var(--blue); color: #fff; }
    .fund-cell.active .fund-eye-btn { background: rgba(255,255,255,.18); color: #fff; }
    .fund-cell.active .fund-eye-btn:hover { background: rgba(255,255,255,.32); }


    .amount-grid-label {
      font-size: .75rem; font-weight: 800; color: var(--muted);
      text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
    }
    .amt-row { display: grid; grid-template-columns: repeat(4,1fr); gap: .5rem; }
    .amt-btn {
      padding: .85rem .5rem; border-radius: 11px;
      border: 1.5px solid var(--border); background: #fff;
      color: var(--text); font-size: 1rem; font-weight: 700;
      cursor: pointer; text-align: center; transition: all .2s ease;
    }
    .amt-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
    .amt-btn.active {
      background: var(--blue); border-color: var(--blue); color: #fff;
      box-shadow: 0 4px 14px rgba(7,120,212,.28);
    }
    .amt-impact {
      font-size: .82rem; color: var(--muted); margin-top: .65rem;
      min-height: 20px; font-style: italic; text-align: center;
    }
    .custom-amt-wrap { display: none; margin-top: .75rem; }
    .custom-amt-group {
      display: flex; align-items: center;
      border: 2px solid var(--blue); border-radius: 11px; overflow: hidden;
      box-shadow: 0 0 0 4px rgba(7,120,212,.1);
    }
    .custom-amt-prefix {
      background: var(--blue-pale); border-right: 1px solid var(--border);
      padding: .75rem 1rem; font-weight: 800; color: var(--blue); font-size: .9rem; white-space: nowrap;
    }
    .custom-amt-input {
      flex: 1; padding: .75rem 1rem; border: none; outline: none;
      font-size: 1.05rem; font-weight: 700; background: #fff; color: var(--text);
      font-family: var(--font);
    }


    .validation-banner {
      background: #fde8e8; border-left: 4px solid var(--red);
      color: var(--red); font-size: .83rem; font-weight: 700;
      padding: .75rem 2rem; display: none;
      display: flex; align-items: center; gap: .5rem;
    }
    .validation-banner.show { display: flex; }
    .validation-banner { display: none; }

    .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: .85rem; }
    .form-grid-3 { display: grid; grid-template-columns: 110px 1fr 1fr; gap: .85rem; margin-bottom: .85rem; }
    .form-full { margin-bottom: .85rem; }

    .f-label {
      display: block; font-size: .78rem; font-weight: 700;
      color: var(--text); margin-bottom: .35rem;
    }
    .f-label .req { color: var(--red); }
    .f-label .opt { color: var(--muted); font-weight: 400; font-size: .74rem; }
    .f-input, .f-select {
      width: 100%; padding: .6rem .9rem;
      border: 1.5px solid rgba(7,120,212,.2); border-radius: 10px;
      font-size: .9rem; color: var(--text); background: #fff;
      outline: none; font-family: var(--font);
      transition: border-color .2s, box-shadow .2s;
    }
    .f-input:focus, .f-select:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(7,120,212,.12);
    }
    .f-input.err { border-color: var(--red); background: #fffafa; }
    .f-hint { font-size: .72rem; color: var(--blue); margin-top: 3px; font-style: italic; }


    .kip-section {
      background: var(--blue-pale); border: 1px solid var(--border);
      border-radius: 14px; padding: 1.25rem 1.5rem; text-align: center; margin-top: 1rem;
    }
    .kip-title {
      font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
      color: var(--blue-deep); margin-bottom: .4rem;
    }
    .kip-text { font-size: .84rem; color: var(--muted); line-height: 1.65; margin-bottom: .85rem; }
    .kip-check { display: flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer; }
    .kip-check input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }
    .kip-check label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }


    .pay-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-bottom: 1.25rem; }
    .pay-tile {
      border: 2px solid var(--border); background: #fff;
      border-radius: 14px; padding: 1.25rem 1rem;
      text-align: center; cursor: pointer; transition: all .22s ease; position: relative;
    }
    .pay-tile:hover { border-color: var(--blue); background: var(--blue-pale); }
    .pay-tile.active {
      border-color: var(--blue); background: var(--blue-pale);
      box-shadow: 0 4px 20px rgba(7,120,212,.14);
    }
    .pay-tile-check {
      position: absolute; top: 10px; right: 10px;
      color: var(--blue); font-size: 1rem; opacity: 0;
      transform: scale(.7); transition: all .2s;
    }
    .pay-tile.active .pay-tile-check { opacity: 1; transform: scale(1); }
    .pay-tile-logo { height: 38px; display: flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
    .pay-tile-name { font-weight: 700; font-size: .9rem; color: var(--text); }
    .pay-tile-sub { font-size: .75rem; color: var(--muted); margin-top: 2px; }


    .mpesa-badge {
      background: #00a859; color: #fff; font-family: 'Arial Black', Arial;
      font-weight: 900; font-size: .75rem; letter-spacing: 1.5px;
      padding: .4rem .85rem; border-radius: 6px;
    }
    .visa-badge {
      background: #1a1f71; color: #fff; font-weight: 900; font-size: .78rem;
      font-style: italic; padding: .35rem .65rem; border-radius: 5px;
    }
    .mc-badge { position: relative; width: 42px; height: 28px; }
    .mc-l, .mc-r { position: absolute; width: 22px; height: 22px; border-radius: 50%; top: 3px; }
    .mc-l { background: #eb001b; left: 0; }
    .mc-r { background: #f79e1b; right: 0; opacity: .9; }


    .mpesa-phone-row {
      display: flex; border: 1.5px solid rgba(7,120,212,.2);
      border-radius: 10px; overflow: hidden;
      transition: border-color .2s, box-shadow .2s;
    }
    .mpesa-phone-row:focus-within {
      border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,120,212,.12);
    }
    .mpesa-pfx {
      background: #e8f8f0; border-right: 1px solid rgba(0,168,89,.2);
      padding: .7rem 1rem; font-weight: 800; color: #1a6b3c; font-size: .88rem; white-space: nowrap;
    }
    .mpesa-num {
      flex: 1; border: none; outline: none; padding: .7rem 1rem;
      font-size: .95rem; font-family: monospace; letter-spacing: 2px; background: #fff;
    }
    .mpesa-steps-box {
      margin-top: .85rem; background: #f6fdf8;
      border: 1.5px solid #c3e6cb; border-radius: 12px; padding: 1rem 1.1rem;
    }
    .mpesa-steps-title { font-size: .82rem; font-weight: 800; color: #1a6b3c; margin-bottom: .65rem; }
    .mpesa-step { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .5rem; font-size: .84rem; color: #2d6a4f; }
    .mpesa-step:last-child { margin-bottom: 0; }
    .mpesa-step-n {
      width: 20px; height: 20px; border-radius: 50%;
      background: #1a6b3c; color: #fff;
      font-size: .65rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
    }


    .card-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }


    .integration-notice {
      background: #fffbeb; border: 1.5px dashed #f59e0b;
      border-radius: 10px; padding: .75rem 1rem; margin-top: .85rem;
      display: flex; gap: .6rem; align-items: flex-start;
      font-size: .8rem; color: #7a5c08;
    }
    .integration-notice i { color: #c8960c; flex-shrink: 0; margin-top: 1px; }


    .donate-now-btn {
      display: flex; width: 100%; align-items: center; justify-content: center; gap: .6rem;
      background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
      color: #fff; border: none; border-radius: 13px;
      padding: 1.05rem; font-size: 1rem; font-weight: 800;
      cursor: pointer; transition: all .24s ease;
      box-shadow: 0 6px 24px rgba(7,120,212,.32); letter-spacing: .03em;
      margin-bottom: .85rem;
    }
    .donate-now-btn i { color: #ffd580; font-size: .95rem; }
    .donate-now-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(7,120,212,.42); }
    .donate-now-btn:disabled { background: #b0bec5; box-shadow: none; cursor: not-allowed; }


    .pay-logos-strip {
      display: flex; justify-content: center; align-items: center; gap: .75rem;
      padding: .5rem 0 .25rem;
    }
    .logo-mpesa { background: #00a859; color: #fff; font-family:'Arial Black',Arial; font-weight:900; font-size:.62rem; letter-spacing:1px; padding:4px 7px; border-radius:4px; }
    .logo-visa  { background: #1a1f71; color: #fff; font-weight:900; font-size:.72rem; font-style:italic; padding:4px 7px; border-radius:4px; }
    .logo-mc    { position:relative; width:36px; height:24px; }
    .logo-mc-l, .logo-mc-r { position:absolute; width:18px; height:18px; border-radius:50%; top:3px; }
    .logo-mc-l { background:#eb001b; left:0; }
    .logo-mc-r { background:#f79e1b; right:0; opacity:.9; }

    
    .security-note {
      display: flex; align-items: center; justify-content: center; gap: .4rem;
      font-size: .74rem; color: var(--muted); margin-top: .25rem;
    }
    .security-note i { color: var(--blue); font-size: .8rem; }

    .wiz-nav {
      display: flex; justify-content: space-between; align-items: center;
      padding: 1.25rem 2rem 1.5rem; border-top: 1px solid rgba(7,120,212,.08);
      margin-top: .5rem;
    }
    .wiz-nav-right { margin-left: auto; }
    .btn-back {
      display: flex; align-items: center; gap: .5rem;
      padding: .65rem 1.4rem; border: 1.5px solid var(--border);
      border-radius: 10px; background: #fff; color: var(--muted);
      font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .2s ease;
    }
    .btn-back:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
    .btn-next {
      display: flex; align-items: center; gap: .5rem;
      padding: .72rem 1.75rem; border: none; border-radius: 10px;
      background: var(--blue); color: #fff;
      font-weight: 800; font-size: .9rem; cursor: pointer; transition: all .22s ease;
      box-shadow: 0 4px 14px rgba(7,120,212,.28);
    }
    .btn-next:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(7,120,212,.38); }
    .btn-next i { color: #ffd580; }

  
    .site-footer {
      text-align: center; padding: 1.75rem;
      font-size: .78rem; color: var(--muted);
      border-top: 1px solid var(--border); margin-top: 2rem; background: #fff;
    }
    .ngo-badge {
      display: inline-flex; align-items: center; gap: .6rem;
      border: 1.5px solid rgba(7,120,212,.2); border-radius: 999px;
      padding: .4rem 1rem; font-size: .74rem; color: var(--muted); margin-bottom: .75rem;
    }
    .ngo-icon {
      width: 28px; height: 28px; border: 2px solid rgba(7,120,212,.3);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      color: var(--blue); font-size: .7rem;
    }

   
    #catModal {
      display: none; position: fixed; inset: 0; z-index: 9999;
      background: rgba(7,17,31,.6); backdrop-filter: blur(4px);
      align-items: center; justify-content: center; padding: 1rem;
    }
    .cat-modal-box {
      background: #fff; width: 100%; max-width: 480px;
      border-radius: 20px; overflow: hidden;
      box-shadow: 0 32px 80px rgba(7,17,31,.35);
      animation: modalPop .22s ease;
    }
    @keyframes modalPop {
      from { transform: scale(.92); opacity: 0; }
      to   { transform: scale(1);   opacity: 1; }
    }
    .cat-modal-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(7,120,212,.1);
    }
    .cat-modal-title-row { display: flex; align-items: center; gap: .85rem; }
    .cat-modal-icon-wrap {
      width: 46px; height: 46px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem; flex-shrink: 0;
    }
    .cat-modal-title {
      font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--text);
    }
    .cat-modal-close {
      width: 30px; height: 30px; border-radius: 8px;
      background: #f5f8fc; border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: .9rem; transition: all .18s;
    }
    .cat-modal-close:hover { background: #fde8e8; color: var(--red); }
    .cat-modal-body { padding: 1.25rem 1.5rem; }
    .cat-modal-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
    .cat-progress-labels {
      display: flex; justify-content: space-between;
      font-size: .8rem; margin-bottom: .5rem;
    }
    .cat-progress-raised { font-weight: 800; color: var(--blue); }
    .cat-progress-goal   { color: var(--muted); }
    .cat-progress-bar-bg { height: 8px; background: rgba(7,120,212,.1); border-radius: 999px; overflow: hidden; }
    .cat-progress-bar-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }
    .cat-progress-pct { text-align: right; font-size: .74rem; color: var(--muted); margin-top: 4px; font-weight: 700; }
    .cat-modal-footer {
      padding: 1rem 1.5rem; border-top: 1px solid rgba(7,120,212,.09);
      display: flex; gap: .65rem;
    }
    .btn-modal-donate {
      flex: 1; background: linear-gradient(135deg, var(--blue-dark), var(--blue));
      color: #fff; border: none; border-radius: 10px;
      padding: .72rem; font-weight: 800; font-size: .9rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: .5rem;
      transition: all .22s ease; box-shadow: 0 4px 14px rgba(7,120,212,.28);
    }
    .btn-modal-donate i { color: #ffd580; }
    .btn-modal-donate:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(7,120,212,.38); }
    .btn-modal-close-footer {
      padding: .72rem 1.1rem; border: 1.5px solid var(--border);
      border-radius: 10px; background: #fff; color: var(--muted);
      font-weight: 700; font-size: .88rem; cursor: pointer; transition: all .18s;
    }
    .btn-modal-close-footer:hover { border-color: var(--blue); color: var(--blue); }

  
    @media (max-width: 600px) {
      .panel-body { padding: 1.25rem 1.25rem; }
      .panel-head { padding: 1.5rem 1.25rem; }
      .wiz-nav { padding: 1rem 1.25rem 1.25rem; }
      .summary-strip { padding: .75rem 1.25rem; }
      .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
      .card-form-grid { grid-template-columns: 1fr; }
      .amt-row { grid-template-columns: repeat(2,1fr); }
      .fund-grid { grid-template-columns: 1fr; }
      .pay-tiles { grid-template-columns: 1fr; }
      .dtype-row { flex-direction: column; }
    } */
 

/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */

:root {
  --irw-blue:      #1a73c8;   /* primary brand blue */
  --irw-blue-dark: #155fa0;
  --irw-blue-pale: #e8f1fb;
  --step-active:   #1a73c8;
  --step-done:     #1a73c8;
  --step-inactive: #bdbdbd;
  --text-dark:     #1a1a1a;
  --text-muted:    #9e9e9e;
  --panel-bg:      #f0f0f0;
  --white:         #ffffff;
  --border:        #e0e0e0;
  --btn-border:    #1a73c8;
  --font-main:     'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══ NAVBAR ══ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0 24px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* IRW logo text block (matches screenshot: ISLAMIC / RELIEF / WORLDWIDE stacked) */
.nav-logo-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-cart-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-cart-btn span { font-size: 14px; }

.cart-count-badge {
  position: absolute;
  top: 0; right: 0;
  background: --irw-blue;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ══ STEPPER ══ */
.stepper-wrap {
  background: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--step-inactive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--step-inactive);
  background: #ffffff;
  transition: all 0.25s;
}

.step.active .step-circle {
  border-color: var(--step-active);
  color: var(--step-active);
  background: #ffffff;
}

.step.done .step-circle {
  border-color: var(--step-done);
  background: var(--step-done);
  color: #ffffff;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--step-inactive);
  letter-spacing: 0.2px;
}

.step.active .step-label { color: var(--step-active); }
.step.done  .step-label  { color: var(--step-done); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--step-inactive);
  margin-bottom: 18px;
  min-width: 40px;
  transition: background 0.25s;
}
.step-line.done { background: var(--step-done); }

/* ══ WIZARD BODY ══ */
.wizard-body {
  flex: 1;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ══ PANEL ══ */
.panel {
  background: var(--panel-bg);
  border-radius: 8px;
  width: 100%;
  max-width: 740px;
  overflow: hidden;
}

/* ── Panel head ── */
.panel-head {
  padding: 36px 48px 24px;
  text-align: center;
  background: var(--panel-bg);
}

.panel-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

/* Main title — matches "MAKE YOUR DONATION" in screenshot */
.panel-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 900;
  color: var(--irw-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.panel-title em { font-style: normal; }

.panel-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Panel body ── */
.panel-body {
  padding: 0 48px 32px;
}

/* ══ STEP 1 SPECIFIC ══ */

/* Impact photo strip — 4 photos side by side like screenshot */
.impact-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}

.impact-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #ccc;
}

/* Placeholder colored panels when no images */
.impact-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #b0bec5 0%, #78909c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
}

/* ── Donation type buttons (MONTHLY / ONE-OFF) ── */
/* Matches screenshot: rectangular outlined buttons side by side */
.dtype-row {
  display: flex;
  gap: 0;
  justify-content: center;
  border: 2px solid var(--irw-blue);
  border-radius: 2px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.dtype-btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--irw-blue);
  border: none;
  border-right: 1px solid var(--irw-blue);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dtype-btn:last-child { border-right: none; }

.dtype-btn.active,
.dtype-btn:hover {
  background: var(--irw-blue);
  color: #ffffff;
}

/* ── Grid / amount labels ── */
.amount-grid-label,
.fund-grid-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ══ WIZ NAV ══ */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  gap: 12px;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.15s;
}
.btn-next:hover { background: var(--irw-blue-dark); }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-back:hover { background: #f5f5f5; color: var(--text-dark); }

/* ══ STEP 2 ══ */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.fund-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
  text-align: center;
}
.fund-cell:hover { border-color: #b0c8e8; }
.fund-cell.active { border-color: var(--irw-blue); box-shadow: 0 0 0 3px var(--irw-blue-pale); }

.fund-cell-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.fund-cell-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.fund-eye-btn {
  position: absolute;
  top: 5px; right: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.fund-cell:hover .fund-eye-btn { opacity: 1; }

.amt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.amt-btn {
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.amt-btn:hover { border-color: var(--irw-blue); color: var(--irw-blue); }
.amt-btn.active { border-color: var(--irw-blue); background: var(--irw-blue); color: #fff; }

.amt-impact {
  font-size: 13px;
  color: var(--irw-blue);
  font-weight: 500;
  min-height: 18px;
  margin-bottom: 8px;
}

.custom-amt-wrap { display: none; }
.custom-amt-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--irw-blue);
  border-radius: 4px;
  overflow: hidden;
  max-width: 220px;
}
.custom-amt-prefix {
  background: var(--irw-blue-pale);
  color: var(--irw-blue);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}
.custom-amt-input {
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  background: #fff;
}

/* ══ STEP 3 ══ */
.validation-banner {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  color: #e65100;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  margin: 0 48px 16px;
}

.summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--irw-blue-pale);
  border-top: 2px solid var(--irw-blue);
  padding: 12px 48px;
  font-size: 14px;
}
.summary-strip-label { font-weight: 600; color: var(--text-dark); }
.summary-strip-amount { font-weight: 800; color: var(--irw-blue); font-size: 16px; }

.form-grid-3 {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-full { margin-bottom: 12px; }

.f-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}
.req { color: #e53935; }
.opt { color: var(--text-muted); font-weight: 400; }
.f-hint { font-size: 11px; color: var(--text-muted); font-weight: 400; }

.f-input, .f-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.f-input:focus, .f-select:focus { border-color: var(--irw-blue); }
.f-input.err, .f-select.err { border-color: #e53935; }
textarea.f-input { resize: vertical; }

.kip-section {
  margin-top: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.kip-title { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.kip-text { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.kip-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; }
.kip-check input { margin-top: 2px; accent-color: var(--irw-blue); }

/* ══ STEP 4 ══ */
.pay-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pay-tile {
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
  position: relative;
  transition: border-color 0.15s;
  text-align: center;
}
.pay-tile:hover { border-color: #90b8e0; }
.pay-tile.active { border-color: var(--irw-blue); }
.pay-tile-check {
  position: absolute;
  top: 10px; right: 10px;
  color: var(--irw-blue);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.15s;
}
.pay-tile.active .pay-tile-check { opacity: 1; }
.pay-tile-logo { margin-bottom: 8px; display: flex; justify-content: center; }
.pay-tile-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.pay-tile-sub { font-size: 11px; color: var(--text-muted); }

.mpesa-badge {
  background: #4caf50;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  padding: 4px 12px;
  border-radius: 3px;
  letter-spacing: 1px;
}
.visa-badge {
  background: var(--irw-blue);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 2px;
  font-style: italic;
}
.mc-badge { position: relative; width: 32px; height: 22px; display: inline-block; }
.mc-badge .mc-l, .mc-badge .mc-r {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  top: 0;
}
.mc-badge .mc-l { background: #eb001b; left: 0; }
.mc-badge .mc-r { background: #f79e1b; right: 0; opacity: 0.9; }

.mpesa-phone-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.mpesa-pfx {
  padding: 11px 14px;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.mpesa-num {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 12px;
  font-size: 15px;
  font-family: monospace;
  letter-spacing: 1px;
}

.mpesa-steps-box {
  background: var(--irw-blue-pale);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 14px;
}
.mpesa-steps-title { font-size: 12px; font-weight: 700; color: var(--irw-blue); margin-bottom: 10px; }
.mpesa-step { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.mpesa-step-n {
  background: var(--irw-blue);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}

.integration-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff8e1;
  border: 1px solid #ffecb3;
  color: #795548;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  margin-top: 12px;
}

.card-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.donate-now-btn {
  width: 100%;
  padding: 16px;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s;
}
.donate-now-btn:hover { background: var(--irw-blue-dark); }
.donate-now-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.pay-logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.logo-mpesa { background: #4caf50; color: #fff; font-weight: 900; font-size: 12px; padding: 3px 8px; border-radius: 2px; }
.logo-visa { background: var(--irw-blue); color: #fff; font-weight: 900; font-size: 11px; padding: 3px 8px; border-radius: 2px; font-style: italic; }
.logo-mc { position: relative; width: 28px; height: 18px; display: inline-block; }
.logo-mc-l, .logo-mc-r { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 0; }
.logo-mc-l { background: #eb001b; left: 0; }
.logo-mc-r { background: #f79e1b; right: 0; opacity: 0.9; }

.security-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ══ MODAL ══ */
#catModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cat-modal-box {
  background: #fff;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.cat-modal-title-row { display: flex; align-items: center; gap: 12px; }
.cat-modal-icon-wrap { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cat-modal-title { font-size: 18px; font-weight: 700; }
.cat-modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 4px; }
.cat-modal-body { padding: 20px 24px; }
.cat-modal-desc { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 16px; }
.cat-progress-labels { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.cat-progress-raised { font-weight: 700; color: var(--irw-blue); }
.cat-progress-goal { color: var(--text-muted); }
.cat-progress-bar-bg { background: #e0e0e0; border-radius: 99px; height: 8px; overflow: hidden; }
.cat-progress-bar-fill { height: 100%; border-radius: 99px; transition: width 0.4s; }
.cat-progress-pct { text-align: right; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.cat-modal-footer { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.btn-modal-donate {
  flex: 1;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-modal-close-footer {
  background: none;
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
}

/* ══ FOOTER ══ */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Fundraising Regulator badge */
.fr-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fr-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #9e9e9e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #9e9e9e;
  letter-spacing: -1px;
}

.fr-text {
  text-align: left;
  line-height: 1.3;
}
.fr-text-top {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.fr-text-main {
  font-size: 13px;
  font-weight: 800;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--irw-blue);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links .sep { color: var(--text-muted); margin: 0 6px; }

/* ══ NGO BADGE (original code) ══ */
.ngo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.ngo-icon { color: var(--irw-blue); }

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
  .panel-head { padding: 24px 20px 16px; }
  .panel-body { padding: 0 20px 24px; }
  .wiz-nav { padding: 12px 20px 20px; }
  .summary-strip { padding: 10px 20px; }
  .validation-banner { margin: 0 20px 12px; }
  .impact-photos { grid-template-columns: repeat(2, 1fr); }
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .card-form-grid { grid-template-columns: 1fr; }
  .pay-tiles { grid-template-columns: 1fr; }
  .dtype-row { max-width: 100%; }
}
/* ══════════════════════════════════════════
   Islamic Relief Worldwide — Donation Wizard
   Exact replica of screenshot design
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --irw-blue:      #1a73c8;   /* primary brand blue */
  --irw-blue-dark: #155fa0;
  --irw-blue-pale: #e8f1fb;
  --step-active:   #1a73c8;
  --step-done:     #1a73c8;
  --step-inactive: #bdbdbd;
  --text-dark:     #1a1a1a;
  --text-muted:    #9e9e9e;
  --panel-bg:      #f0f0f0;
  --white:         #ffffff;
  --border:        #e0e0e0;
  --btn-border:    #1a73c8;
  --font-main:     'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══ NAVBAR ══ */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* IRW logo text block (matches screenshot: ISLAMIC / RELIEF / WORLDWIDE stacked) */
.nav-logo-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-cart-btn:hover { background: rgba(0,0,0,0.05); color: #1a1a1a; }
.nav-cart-btn span { font-size: 14px; }

.cart-count-badge {
  position: absolute;
  top: 0; right: 0;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ══ STEPPER ══ */
.stepper-wrap {
  background: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--step-inactive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--step-inactive);
  background: #ffffff;
  transition: all 0.25s;
}

.step.active .step-circle {
  border-color: var(--step-active);
  color: var(--step-active);
  background: #ffffff;
}

.step.done .step-circle {
  border-color: var(--step-done);
  background: var(--step-done);
  color: #ffffff;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--step-inactive);
  letter-spacing: 0.2px;
}

.step.active .step-label { color: var(--step-active); }
.step.done  .step-label  { color: var(--step-done); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--step-inactive);
  margin-bottom: 18px;
  min-width: 40px;
  transition: background 0.25s;
}
.step-line.done { background: var(--step-done); }

/* ══ WIZARD BODY ══ */
.wizard-body {
  flex: 1;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ══ PANEL ══ */
.panel {
  background: var(--panel-bg);
  border-radius: 8px;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
}

/* ── Panel head ── */
.panel-head {
  padding: 36px 48px 24px;
  text-align: center;
  background: var(--panel-bg);
}

.panel-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

/* Main title — matches "MAKE YOUR DONATION" in screenshot */
.panel-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 900;
  color: var(--irw-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.panel-title em { font-style: normal; }

.panel-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Panel body ── */
.panel-body {
  padding: 0 48px 32px;
}

/* ══ STEP 1 SPECIFIC ══ */

/* Impact photo strip — 4 photos side by side like screenshot */
.impact-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}

.impact-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #ccc;
}

/* Placeholder colored panels when no images */
.impact-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #b0bec5 0%, #78909c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
}

/* ── Donation type buttons (MONTHLY / ONE-OFF) ── */
/* Matches screenshot: rectangular outlined buttons side by side */
.dtype-row {
  display: flex;
  gap: 0;
  justify-content: center;
  border: 2px solid var(--irw-blue);
  border-radius: 2px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}

.dtype-btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #ffffff;
  color: var(--irw-blue);
  border: none;
  border-right: 1px solid var(--irw-blue);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dtype-btn:last-child { border-right: none; }

.dtype-btn.active,
.dtype-btn:hover {
  background: var(--irw-blue);
  color: #ffffff;
}

/* ── Grid / amount labels ── */
.amount-grid-label,
.fund-grid-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ══ WIZ NAV ══ */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  gap: 12px;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.15s;
}
.btn-next:hover { background: var(--irw-blue-dark); }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-back:hover { background: #f5f5f5; color: var(--text-dark); }

/* ══ STEP 2 ══ */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.fund-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px 10px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
  text-align: center;
}
.fund-cell:hover { border-color: #b0c8e8; }
.fund-cell.active { border-color: var(--irw-blue); box-shadow: 0 0 0 3px var(--irw-blue-pale); }

.fund-cell-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.fund-cell-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.fund-eye-btn {
  position: absolute;
  top: 5px; right: 5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 2px;
  opacity: 0;
  transition: opacity 0.15s;
}
.fund-cell:hover .fund-eye-btn { opacity: 1; }

.amt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.amt-btn {
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.amt-btn:hover { border-color: var(--irw-blue); color: var(--irw-blue); }
.amt-btn.active { border-color: var(--irw-blue); background: var(--irw-blue); color: #fff; }

.amt-impact {
  font-size: 13px;
  color: var(--irw-blue);
  font-weight: 500;
  min-height: 18px;
  margin-bottom: 8px;
}

.custom-amt-wrap { display: none; }
.custom-amt-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--irw-blue);
  border-radius: 4px;
  overflow: hidden;
  max-width: 220px;
}
.custom-amt-prefix {
  background: var(--irw-blue-pale);
  color: var(--irw-blue);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}
.custom-amt-input {
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  background: #fff;
}

/* ══ STEP 3 ══ */
.validation-banner {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  color: #e65100;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  margin: 0 48px 16px;
}

.summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--irw-blue-pale);
  border-top: 2px solid var(--irw-blue);
  padding: 12px 48px;
  font-size: 14px;
}
.summary-strip-label { font-weight: 600; color: var(--text-dark); }
.summary-strip-amount { font-weight: 800; color: var(--irw-blue); font-size: 16px; }

.form-grid-3 {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-full { margin-bottom: 12px; }

.f-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}
.req { color: #e53935; }
.opt { color: var(--text-muted); font-weight: 400; }
.f-hint { font-size: 11px; color: var(--text-muted); font-weight: 400; }

.f-input, .f-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.f-input:focus, .f-select:focus { border-color: var(--irw-blue); }
.f-input.err, .f-select.err { border-color: #e53935; }
textarea.f-input { resize: vertical; }

.kip-section {
  margin-top: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.kip-title { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.kip-text { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.kip-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; }
.kip-check input { margin-top: 2px; accent-color: var(--irw-blue); }

/* ══ STEP 4 ══ */
.pay-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pay-tile {
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  background: #fff;
  position: relative;
  transition: border-color 0.15s;
  text-align: center;
}
.pay-tile:hover { border-color: #90b8e0; }
.pay-tile.active { border-color: var(--irw-blue); }
.pay-tile-check {
  position: absolute;
  top: 10px; right: 10px;
  color: var(--irw-blue);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.15s;
}
.pay-tile.active .pay-tile-check { opacity: 1; }
.pay-tile-logo { margin-bottom: 8px; display: flex; justify-content: center; }
.pay-tile-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.pay-tile-sub { font-size: 11px; color: var(--text-muted); }

.mpesa-badge {
  background: #4caf50;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  padding: 4px 12px;
  border-radius: 3px;
  letter-spacing: 1px;
}
.visa-badge {
  background: var(--irw-blue);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 2px;
  font-style: italic;
}
.mc-badge { position: relative; width: 32px; height: 22px; display: inline-block; }
.mc-badge .mc-l, .mc-badge .mc-r {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  top: 0;
}
.mc-badge .mc-l { background: #eb001b; left: 0; }
.mc-badge .mc-r { background: #f79e1b; right: 0; opacity: 0.9; }

.mpesa-phone-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.mpesa-pfx {
  padding: 11px 14px;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.mpesa-num {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 12px;
  font-size: 15px;
  font-family: monospace;
  letter-spacing: 1px;
}

.mpesa-steps-box {
  background: var(--irw-blue-pale);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 14px;
}
.mpesa-steps-title { font-size: 12px; font-weight: 700; color: var(--irw-blue); margin-bottom: 10px; }
.mpesa-step { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.mpesa-step-n {
  background: var(--irw-blue);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}

.integration-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff8e1;
  border: 1px solid #ffecb3;
  color: #795548;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  margin-top: 12px;
}

.card-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.donate-now-btn {
  width: 100%;
  padding: 16px;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s;
}
.donate-now-btn:hover { background: var(--irw-blue-dark); }
.donate-now-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.pay-logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.logo-mpesa { background: #4caf50; color: #fff; font-weight: 900; font-size: 12px; padding: 3px 8px; border-radius: 2px; }
.logo-visa { background: var(--irw-blue); color: #fff; font-weight: 900; font-size: 11px; padding: 3px 8px; border-radius: 2px; font-style: italic; }
.logo-mc { position: relative; width: 28px; height: 18px; display: inline-block; }
.logo-mc-l, .logo-mc-r { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 0; }
.logo-mc-l { background: #eb001b; left: 0; }
.logo-mc-r { background: #f79e1b; right: 0; opacity: 0.9; }

.security-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ══ MODAL ══ */
#catModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cat-modal-box {
  background: #fff;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.cat-modal-title-row { display: flex; align-items: center; gap: 12px; }
.cat-modal-icon-wrap { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cat-modal-title { font-size: 18px; font-weight: 700; }
.cat-modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 4px; }
.cat-modal-body { padding: 20px 24px; }
.cat-modal-desc { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 16px; }
.cat-progress-labels { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.cat-progress-raised { font-weight: 700; color: var(--irw-blue); }
.cat-progress-goal { color: var(--text-muted); }
.cat-progress-bar-bg { background: #e0e0e0; border-radius: 99px; height: 8px; overflow: hidden; }
.cat-progress-bar-fill { height: 100%; border-radius: 99px; transition: width 0.4s; }
.cat-progress-pct { text-align: right; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.cat-modal-footer { display: flex; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.btn-modal-donate {
  flex: 1;
  background: var(--irw-blue);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-modal-close-footer {
  background: none;
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
}

/* ══ FOOTER ══ */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Fundraising Regulator badge */
.fr-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fr-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #9e9e9e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #9e9e9e;
  letter-spacing: -1px;
}

.fr-text {
  text-align: left;
  line-height: 1.3;
}
.fr-text-top {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.fr-text-main {
  font-size: 13px;
  font-weight: 800;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--irw-blue);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links .sep { color: var(--text-muted); margin: 0 6px; }

/* ══ NGO BADGE (original code) ══ */
.ngo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.ngo-icon { color: var(--irw-blue); }

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
  .panel-head { padding: 24px 20px 16px; }
  .panel-body { padding: 0 20px 24px; }
  .wiz-nav { padding: 12px 20px 20px; }
  .summary-strip { padding: 10px 20px; }
  .validation-banner { margin: 0 20px 12px; }
  .impact-photos { grid-template-columns: repeat(2, 1fr); }
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .card-form-grid { grid-template-columns: 1fr; }
  .pay-tiles { grid-template-columns: 1fr; }
  .dtype-row { max-width: 100%; }
}
 /* ── Thank-you-specific styles, using wizard CSS variables ── */

    .ty-body {
      flex: 1;
      padding: 32px 16px 48px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background: #ffffff;
    }

    /* Panel reuses .panel from wizard.css (max-width 900px, bg #f0f0f0) */

    /* ── Blue header banner inside panel ── */
    .ty-header {
      background: var(--irw-blue);
      padding: 40px 48px 36px;
      text-align: center;
    }

    .ty-check-circle {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      border: 3px solid rgba(255,255,255,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 18px;
      font-size: 30px;
      color: #ffffff;
      animation: ty-pop 0.4s cubic-bezier(0.175,0.885,0.32,1.275) both;
    }

    @keyframes ty-pop {
      0%   { transform: scale(0); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }

    .ty-title {
      font-family: var(--font-main);
      font-size: 26px;
      font-weight: 900;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .ty-title em {
      font-style: normal;
      color: rgba(255,255,255,0.85);
    }

    .ty-subtitle {
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      line-height: 1.6;
      margin: 0 auto;
      max-width: 400px;
    }

    /* ── Panel body ── */
    /* reuses .panel-body padding from wizard.css */

    /* ── Reference badge ── */
    .ref-badge {
      background: #ffffff;
      border: 2px solid var(--irw-blue);
      border-radius: 6px;
      padding: 16px 20px;
      text-align: center;
      margin-bottom: 24px;
    }

    .ref-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .ref-number {
      font-size: 22px;
      font-weight: 900;
      color: var(--irw-blue);
      letter-spacing: 3px;
      font-family: monospace;
    }

    /* ── Receipt block ── */
    .receipt-block {
      background: #ffffff;
      border-radius: 6px;
      border: 1px solid var(--border);
      overflow: hidden;
      margin-bottom: 20px;
    }

    .receipt-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 12px 18px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 7px;
      background: #fafafa;
    }

    .receipt-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      gap: 12px;
    }

    .receipt-item-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 3px;
    }

    .receipt-item-msg {
      font-size: 12px;
      color: var(--text-muted);
      font-style: italic;
      line-height: 1.4;
    }

    .receipt-item-amt {
      font-size: 15px;
      font-weight: 700;
      color: var(--irw-blue);
      white-space: nowrap;
    }

    .receipt-total-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px;
      background: var(--irw-blue-pale);
    }

    .receipt-total-label {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-dark);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .receipt-total-amt {
      font-size: 18px;
      font-weight: 900;
      color: var(--irw-blue);
    }

    /* ── Notification cards ── */
    .notif-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 24px;
    }

    .notif-card {
      border-radius: 6px;
      border: 1px solid var(--border);
      padding: 16px 12px;
      text-align: center;
      background: #ffffff;
    }

    .notif-card.sent  { border-color: #a5d6a7; background: #f1f8f1; }
    .notif-card.unsent{ background: #fafafa; }

    .notif-icon       { font-size: 22px; margin-bottom: 6px; }
    .notif-card.sent   .notif-icon { color: #2e7d32; }
    .notif-card.unsent .notif-icon { color: var(--text-muted); }

    .notif-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-dark);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .notif-detail {
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.4;
      word-break: break-all;
    }

    /* ── Section divider (reuses border token) ── */
    .section-divider {
      border: none;
      border-top: 1px solid var(--border);
      margin: 24px 0;
    }

    /* ── Share ── */
    .share-label {
      /* reuses .amount-grid-label pattern from wizard */
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 12px;
    }

    .share-btns {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .btn-share {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 10px 20px;
      border-radius: 3px;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      letter-spacing: 0.3px;
      transition: opacity 0.15s, transform 0.1s;
    }
    .btn-share:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn-share-wa { background: #25d366; color: #ffffff; }
    .btn-share-tw { background: #000000; color: #ffffff; }
    .btn-share-fb { background: #1877f2; color: #ffffff; }

    /* ── Action buttons — reuse wizard btn-next / btn-back exactly ── */
    .btn-donate-again {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--irw-blue);
      color: #ffffff;
      border: none;
      padding: 13px 28px;
      border-radius: 3px;
      font-size: 14px;
      font-weight: 800;
      font-family: var(--font-main);
      letter-spacing: 0.5px;
      text-decoration: none;
      text-transform: uppercase;
      transition: background 0.15s;
    }
    .btn-donate-again:hover { background: var(--irw-blue-dark); color: #fff; }

    .btn-home {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--text-muted);
      border: 1px solid var(--border);
      padding: 12px 20px;
      border-radius: 3px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--font-main);
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }
    .btn-home:hover { background: #f5f5f5; color: var(--text-dark); }

    /* ── Responsive ── */
    @media (max-width: 600px) {
      .ty-body          { padding: 20px 12px 40px; }
      .ty-header        { padding: 28px 20px 24px; }
      .panel-body       { padding: 0 20px 24px !important; }
      .ty-title         { font-size: 20px; }
      .notif-grid       { grid-template-columns: 1fr; }
      .share-btns       { flex-direction: column; align-items: stretch; }
      .btn-share        { justify-content: center; }
    }
     /* ── Cart-specific styles using wizard CSS variables ── */

    .cart-body {
      flex: 1;
      padding: 32px 16px 48px;
      background: #ffffff;
    }

    .cart-body .container-inner {
      max-width: 900px;
      margin: 0 auto;
    }

    /* ── Page title row ── */
    .cart-page-title {
      font-family: var(--font-main);
      font-size: 22px;
      font-weight: 900;
      color: var(--irw-blue);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .cart-page-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    /* ── Breadcrumb ── */
    .cart-breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .cart-breadcrumb a { color: var(--irw-blue); text-decoration: none; }
    .cart-breadcrumb a:hover { text-decoration: underline; }
    .cart-breadcrumb .sep { font-size: 10px; }

    /* ── Empty state ── */
    .empty-cart-wrapper {
      background: var(--panel-bg);
      border-radius: 8px;
      padding: 64px 24px;
      text-align: center;
    }
    .empty-cart-icon {
      font-size: 52px;
      color: var(--irw-blue);
      margin-bottom: 16px;
      opacity: 0.5;
    }
    .empty-cart-wrapper h3 {
      font-size: 18px;
      font-weight: 800;
      color: var(--text-dark);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 8px;
    }
    .empty-cart-wrapper p {
      font-size: 14px;
      color: var(--text-muted);
      max-width: 340px;
      margin: 0 auto 20px;
      line-height: 1.6;
    }

    /* ── Cart card (left column) ── */
    .cart-card {
      background: var(--panel-bg);
      border-radius: 8px;
      overflow: hidden;
    }

    .cart-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background: #e8e8e8;
    }

    .cart-card-header h6 {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-dark);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 0;
    }

    .btn-clear-cart {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 600;
      color: #c62828;
      background: none;
      border: none;
      cursor: pointer;
      text-decoration: none;
      padding: 4px 8px;
      border-radius: 3px;
      transition: background 0.15s;
    }
    .btn-clear-cart:hover { background: #ffebee; color: #c62828; }

    /* ── Cart item row ── */
    .cart-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      background: #ffffff;
      transition: background 0.15s;
    }
    .cart-item:last-child { border-bottom: none; }
    .cart-item:hover { background: #fafafa; }

    .cart-item-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .cart-item-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 2px;
    }

    .cart-item-msg {
      font-size: 12px;
      color: var(--text-muted);
      font-style: italic;
    }

    /* Amount input — matches wizard f-input style */
    .cart-amount-wrap { flex-shrink: 0; }

    .cart-amount-wrap .input-group-text {
      background: var(--irw-blue-pale);
      color: var(--irw-blue);
      border-color: var(--border);
      font-size: 12px;
      font-weight: 700;
      padding: 6px 10px;
    }

    .cart-amount-input {
      width: 100px !important;
      border-color: var(--border) !important;
      font-size: 14px !important;
      font-weight: 600 !important;
      color: var(--text-dark) !important;
      padding: 6px 10px !important;
    }
    .cart-amount-input:focus {
      border-color: var(--irw-blue) !important;
      box-shadow: 0 0 0 2px var(--irw-blue-pale) !important;
    }

    .cart-remove-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 14px;
      cursor: pointer;
      padding: 6px 8px;
      border-radius: 3px;
      flex-shrink: 0;
      transition: background 0.15s, color 0.15s;
    }
    .cart-remove-btn:hover { background: #ffebee; color: #c62828; }

    /* ── Add more causes button — matches btn-back style ── */
    .btn-add-more {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: transparent;
      color: var(--irw-blue);
      border: 1px solid var(--irw-blue);
      padding: 10px 18px;
      border-radius: 3px;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      transition: background 0.15s, color 0.15s;
    }
    .btn-add-more:hover { background: var(--irw-blue-pale); color: var(--irw-blue); }

    /* ── Summary card (right column) ── */
    .summary-card {
      background: var(--panel-bg);
      border-radius: 8px;
      overflow: hidden;
      position: sticky;
      top: 80px;
    }

    .summary-card-title {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      padding: 16px 20px 14px;
      border-bottom: 1px solid var(--border);
      background: #e8e8e8;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 11px 20px;
      font-size: 13px;
      border-bottom: 1px solid var(--border);
      background: #ffffff;
      gap: 10px;
    }

    .summary-row-label {
      color: var(--text-dark);
      font-weight: 500;
      flex: 1;
      line-height: 1.3;
    }

    .summary-row-amount {
      font-weight: 700;
      color: var(--irw-blue);
      white-space: nowrap;
      font-size: 13px;
    }

    .summary-divider {
      border: none;
      border-top: 2px solid var(--border);
      margin: 0;
    }

    .summary-total-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 20px;
      background: var(--irw-blue-pale);
    }

    .summary-total-label {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-dark);
    }

    .summary-total-amount {
      font-size: 20px;
      font-weight: 900;
      color: var(--irw-blue);
    }

    /* ── Checkout button — identical to wizard donate-now-btn ── */
    .btn-checkout {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: calc(100% - 40px);
      margin: 16px 20px 0;
      padding: 14px;
      background: var(--irw-blue);
      color: #ffffff;
      border: none;
      border-radius: 3px;
      font-size: 14px;
      font-weight: 800;
      font-family: var(--font-main);
      letter-spacing: 0.5px;
      text-decoration: none;
      text-transform: uppercase;
      transition: background 0.15s;
    }
    .btn-checkout:hover { background: var(--irw-blue-dark); color: #fff; }

    .secure-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 12px 20px 16px;
      font-size: 11px;
      color: var(--text-muted);
    }

    /* ── Responsive ── */
    @media (max-width: 991px) {
      .summary-card { position: static; }
    }
    @media (max-width: 600px) {
      .cart-body { padding: 20px 12px 40px; }
      .cart-item { flex-wrap: wrap; gap: 10px; }
      .cart-amount-wrap { order: 3; }
      .cart-remove-btn { order: 4; }
    }
    /* ── Checkout-specific styles using wizard CSS variables ── */

    .checkout-body {
      flex: 1;
      padding: 32px 16px 48px;
      background: #ffffff;
    }

    .checkout-inner {
      max-width: 960px;
      margin: 0 auto;
    }

    /* ── Breadcrumb ── */
    .cart-breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .cart-breadcrumb a { color: var(--irw-blue); text-decoration: none; }
    .cart-breadcrumb a:hover { text-decoration: underline; }
    .cart-breadcrumb .sep { font-size: 10px; }

    /* ── Page title ── */
    .checkout-page-title {
      font-family: var(--font-main);
      font-size: 22px;
      font-weight: 900;
      color: var(--irw-blue);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }
    .checkout-page-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .checkout-page-sub i { color: var(--irw-blue); }

    /* ── Steps bar — reuses wizard stepper tokens ── */
    .checkout-steps {
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 480px;
      margin: 0 auto 28px;
    }
    .checkout-steps .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      min-width: 56px;
    }
    .checkout-steps .step-circle {
      width: 32px; height: 32px;
      border-radius: 50%;
      border: 2px solid var(--step-inactive);
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 700;
      color: var(--step-inactive);
      background: #ffffff;
    }
    .checkout-steps .step-label {
      font-size: 11px; font-weight: 600;
      color: var(--step-inactive);
      letter-spacing: 0.2px;
    }
    .checkout-steps .step-item.active .step-circle { border-color: var(--step-active); color: var(--step-active); }
    .checkout-steps .step-item.active .step-label  { color: var(--step-active); }
    .checkout-steps .step-item.done .step-circle   { border-color: var(--step-done); background: var(--step-done); color: #fff; }
    .checkout-steps .step-item.done .step-label    { color: var(--step-done); }
    .checkout-steps .step-line {
      flex: 1; height: 2px;
      background: var(--step-inactive);
      margin-bottom: 16px; min-width: 32px;
    }
    .checkout-steps .step-line.done { background: var(--step-done); }

    /* ── Form card — mirrors wizard panel ── */
    .form-card {
      background: var(--panel-bg);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 16px;
    }

    .form-card-title {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      background: #e8e8e8;
    }
    .form-card-title h5 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-dark);
      margin: 0;
    }
    .section-num {
      width: 26px; height: 26px;
      border-radius: 50%;
      background: var(--irw-blue);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 800;
      flex-shrink: 0;
    }

    .form-card-body { padding: 20px; }

    /* Override Bootstrap form controls to match wizard f-input */
    .form-card .form-label {
      font-size: 12px;
      font-weight: 700;
      color: #555;
      margin-bottom: 5px;
      letter-spacing: 0.3px;
    }
    .form-card .form-control,
    .form-card .form-select {
      border-color: var(--border);
      border-radius: 3px;
      font-size: 14px;
      color: var(--text-dark);
      padding: 9px 12px;
    }
    .form-card .form-control:focus,
    .form-card .form-select:focus {
      border-color: var(--irw-blue);
      box-shadow: 0 0 0 3px var(--irw-blue-pale);
    }
    .form-card .input-group-text {
      background: var(--irw-blue-pale);
      border-color: var(--border);
      color: var(--irw-blue);
      font-weight: 700;
      font-size: 13px;
      border-radius: 3px 0 0 3px;
    }
    .form-card .form-text { font-size: 11px; color: var(--text-muted); }
    .form-card .form-check-label { font-size: 12px; color: var(--text-muted); }
    .form-card .form-check-input:checked { background-color: var(--irw-blue); border-color: var(--irw-blue); }

    /* ── Payment tiles ── */
    .payment-tile {
      display: block;
      border: 2px solid var(--border);
      border-radius: 6px;
      padding: 16px 12px;
      background: #ffffff;
      cursor: pointer;
      transition: border-color 0.15s;
      position: relative;
      text-align: center;
    }
    .payment-tile:hover { border-color: #90b8e0; }
    .payment-tile.active { border-color: var(--irw-blue); }

    .pt-check {
      position: absolute; top: 8px; right: 8px;
      color: var(--irw-blue); font-size: 15px;
      opacity: 0; transition: opacity 0.15s;
    }
    .payment-tile.active .pt-check { opacity: 1; }

    .mpesa-logo-pill {
      display: inline-block;
      background: #4caf50; color: #fff;
      font-weight: 900; font-size: 16px;
      padding: 3px 10px; border-radius: 3px;
      letter-spacing: 1px;
    }
    .visa-pill {
      background: var(--irw-blue); color: #fff;
      font-weight: 900; font-size: 12px;
      padding: 2px 7px; border-radius: 2px;
      font-style: italic;
    }
    .mc-pill { position: relative; width: 28px; height: 18px; display: inline-block; vertical-align: middle; }
    .mc-pill .mc-c1, .mc-pill .mc-c2 { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 0; }
    .mc-pill .mc-c1 { background: #eb001b; left: 0; }
    .mc-pill .mc-c2 { background: #f79e1b; right: 0; opacity: 0.9; }
    .pt-sub { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

    /* ── Pay panels ── */
    .pay-panel { margin-top: 4px; }

    .mpesa-header-bar {
      display: flex; align-items: center; gap: 10px;
      background: #f0faf4;
      border: 1px solid #b7e4c7;
      border-radius: 4px;
      padding: 12px 14px;
      margin-bottom: 16px;
    }
    .mpesa-pulse-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: #4caf50;
      flex-shrink: 0;
      box-shadow: 0 0 0 3px rgba(76,175,80,0.25);
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 3px rgba(76,175,80,0.25); }
      50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0.08); }
    }

    .mpesa-steps-box {
      background: var(--irw-blue-pale);
      border-radius: 4px;
      padding: 14px 16px;
      margin: 12px 0;
    }
    .mpesa-step-row {
      display: flex; align-items: flex-start; gap: 10px;
      margin-bottom: 8px; font-size: 13px;
    }
    .mpesa-step-row:last-child { margin-bottom: 0; }
    .mpesa-num {
      background: var(--irw-blue); color: #fff;
      width: 20px; height: 20px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; flex-shrink: 0;
    }

    .card-header-bar {
      display: flex; align-items: center; gap: 10px;
      background: #f0f4fa;
      border: 1px solid #c5d8f0;
      border-radius: 4px;
      padding: 12px 14px;
      margin-bottom: 16px;
    }

    .integration-notice {
      display: flex; align-items: flex-start; gap: 8px;
      background: #fff8e1; border: 1px solid #ffecb3;
      color: #795548; font-size: 12px;
      padding: 10px 12px; border-radius: 4px;
      margin-top: 12px;
    }

    /* ── Security notice ── */
    .security-notice {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: var(--text-muted);
      padding: 10px 0;
    }
    .security-notice i { color: var(--irw-blue); }

    /* ── Summary card (right) ── */
    .summary-card {
      background: var(--panel-bg);
      border-radius: 8px;
      overflow: hidden;
      position: sticky;
      top: 80px;
    }
    .summary-card-title {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      color: var(--text-muted);
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      background: #e8e8e8;
    }

    .summary-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      background: #ffffff;
    }
    .summary-item-icon {
      width: 36px; height: 36px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; flex-shrink: 0;
    }
    .summary-item-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
    .summary-item-msg  { font-size: 11px; color: var(--text-muted); font-style: italic; }
    .summary-item-amt  { font-size: 14px; font-weight: 700; color: var(--irw-blue); white-space: nowrap; }

    .summary-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 10px 20px;
      font-size: 13px;
      background: #ffffff;
      border-bottom: 1px solid var(--border);
    }
    .summary-row-label { color: var(--text-muted); font-weight: 500; }

    .summary-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

    .summary-total-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 14px 20px;
      background: var(--irw-blue-pale);
    }
    .summary-total-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dark); }
    .summary-total-amt   { font-size: 20px; font-weight: 900; color: var(--irw-blue); }

    /* ── Complete donation button — same as wizard donate-now-btn ── */
    .btn-complete {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: calc(100% - 40px);
      margin: 16px 20px 0;
      padding: 14px;
      background: var(--irw-blue);
      color: #ffffff;
      border: none; border-radius: 3px;
      font-size: 14px; font-weight: 800;
      font-family: var(--font-main);
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.15s;
    }
    .btn-complete:hover    { background: var(--irw-blue-dark); }
    .btn-complete:disabled { opacity: 0.6; cursor: not-allowed; }

    .pay-method-indicator {
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
      padding: 10px 20px 0;
    }

    .ssl-row {
      display: flex; align-items: center; justify-content: center; gap: 6px;
      font-size: 11px; color: var(--text-muted);
      padding: 10px 20px 0;
    }

    .brand-logos {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      padding: 12px 20px 16px;
    }
    .brand-logo-pill { border-radius: 2px; font-weight: 900; font-size: 11px; padding: 3px 8px; }
    .bl-mpesa { background: #4caf50; color: #fff; }
    .bl-visa  { background: var(--irw-blue); color: #fff; font-style: italic; }
    .bl-mc    { position: relative; width: 28px; height: 18px; display: inline-block; }
    .bl-mc-l, .bl-mc-r { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 0; }
    .bl-mc-l  { background: #eb001b; left: 0; }
    .bl-mc-r  { background: #f79e1b; right: 0; opacity: 0.9; }

    /* ── Responsive ── */
    @media (max-width: 991px) { .summary-card { position: static; margin-top: 8px; } }
    @media (max-width: 600px) {
      .checkout-body { padding: 20px 12px 40px; }
      .form-card-body { padding: 16px; }
      .checkout-page-title { font-size: 18px; }
    }
     /* ── Cart order summary styles ── */
    .co-section-label {
      font-size: .78rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .07em;
      color: #1565c0;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .co-loading {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 18px 0;
      color: #888;
      font-size: .85rem;
    }
    .co-spinner {
      width: 18px; height: 18px;
      border: 2px solid #ddd;
      border-top-color: #1565c0;
      border-radius: 50%;
      animation: spin .8s linear infinite;
      flex-shrink: 0;
    }
    .co-empty {
      text-align: center;
      padding: 24px 0;
      color: #999;
      font-size: .85rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .co-empty a { color: #1565c0; }
    .co-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .83rem;
      margin-bottom: 0;
    }
    .co-table thead tr {
      background: #f5f7fa;
      border-bottom: 2px solid #e0e0e0;
    }
    .co-table th {
      padding: 8px 10px;
      font-weight: 700;
      color: #555;
      font-size: .75rem;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .co-table td {
      padding: 10px 10px;
      border-bottom: 1px solid #f0f0f0;
      vertical-align: middle;
      color: #333;
    }
    .co-table tbody tr:last-child td { border-bottom: none; }
    .co-table tbody tr:hover { background: #fafbff; }
    .co-cause-name { font-weight: 600; color: #1a1a2e; }
    .co-type-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 20px;
      font-size: .7rem;
      font-weight: 600;
      background: #e3f2fd;
      color: #1565c0;
    }
    .co-type-badge.monthly { background: #fce4ec; color: #c62828; }
    .co-amount { font-weight: 700; color: #1a1a2e; font-family: monospace; font-size: .88rem; }
    .co-remove-btn {
      background: none;
      border: none;
      color: #bbb;
      cursor: pointer;
      padding: 4px 6px;
      border-radius: 4px;
      font-size: .85rem;
      transition: color .15s, background .15s;
      line-height: 1;
    }
    .co-remove-btn:hover { color: #e53e3e; background: #fff0f0; }
    .co-total-row td {
      padding: 12px 10px;
      border-top: 2px solid #e0e0e0;
      font-size: .9rem;
      background: #f5f7fa;
    }
    #cartTotal { font-size: 1rem; color: #1565c0; }
    .co-add-more {
      padding: 10px 2px 4px;
      font-size: .8rem;
    }
    .co-add-more a {
      color: #1565c0;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .co-add-more a:hover { text-decoration: underline; }
     .mpesa-phone-row {
      display: flex !important;
      align-items: center !important;
      border: 1px solid #ccc !important;
      border-radius: 4px !important;
      background: #fff !important;
      overflow: hidden !important;
      padding: 0 !important;
    }
    .mpesa-pfx {
      padding: 10px 12px !important;
      background: #f5f5f5 !important;
      border-right: 1px solid #ccc !important;
      font-size: .88rem !important;
      white-space: nowrap !important;
      border-radius: 0 !important;
      color: #333 !important;
    }
    .mpesa-num {
      flex: 1 !important;
      border: none !important;
      outline: none !important;
      padding: 10px 12px !important;
      font-size: .95rem !important;
      background: #fff !important;
      background-color: #fff !important;
      border-radius: 0 !important;
      box-shadow: 0 0 0 1000px #fff inset !important;
      -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
      -webkit-text-fill-color: #333 !important;
      color: #333 !important;
    }
    .mpesa-num:focus {
      background: #fff !important;
      box-shadow: 0 0 0 1000px #fff inset !important;
      -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
      outline: none !important;
    }
      /* ── Step 2 override styles to match reference screenshot ── */
    .s2-panel { padding: 0; }

    .s2-head {
      font-size: .85rem;
      font-weight: 700;
      color: #1565c0;
      letter-spacing: .06em;
      padding: 18px 16px 10px;
      text-transform: uppercase;
    }

    /* Fund grid — 2-col flat bordered cells */
    .s2-fund-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-top: 1px solid #e0e0e0;
      border-left: 1px solid #e0e0e0;
      margin: 0 0 0 0;
    }
    .s2-fund-cell {
      padding: 11px 10px;
      font-size: .8rem;
      font-weight: 500;
      color: #333;
      border-right: 1px solid #e0e0e0;
      border-bottom: 1px solid #e0e0e0;
      cursor: pointer;
      text-align: center;
      transition: background .15s, color .15s;
      line-height: 1.3;
      background: #fff;
    }
    .s2-fund-cell:hover { background: #e3f2fd; }
    .s2-fund-cell.active {
      background: #1565c0;
      color: #fff;
      font-weight: 600;
    }

    /* Currency tabs */
    .s2-currency-row {
      display: flex;
      gap: 0;
      padding: 16px 16px 0;
    }
    .s2-cur {
      padding: 6px 18px;
      font-size: .82rem;
      font-weight: 600;
      border: 1px solid #ccc;
      background: #fff;
      color: #555;
      cursor: pointer;
      margin-right: -1px;
      transition: background .15s, color .15s;
    }
    .s2-cur:first-child { border-radius: 3px 0 0 3px; }
    .s2-cur:last-child  { border-radius: 0 3px 3px 0; }
    .s2-cur.active {
      background: #1a1a1a;
      color: #fff;
      border-color: #1a1a1a;
      z-index: 1;
    }

    /* Amount buttons */
    .s2-amt-row {
      display: flex;
      gap: 8px;
      padding: 12px 16px 0;
      flex-wrap: wrap;
    }
    .s2-amt-btn {
      flex: 1;
      min-width: 60px;
      padding: 14px 8px;
      font-size: 1.1rem;
      font-weight: 700;
      border: 1px solid #d0d0d0;
      background: #fff;
      color: #222;
      cursor: pointer;
      border-radius: 2px;
      transition: background .15s, color .15s, border-color .15s;
    }
    .s2-amt-btn:hover { background: #e3f2fd; border-color: #1565c0; }
    .s2-amt-btn.active {
      background: #1565c0;
      color: #fff;
      border-color: #1565c0;
    }
    .s2-amt-btn.other-btn {
      font-size: .85rem;
      font-weight: 600;
      letter-spacing: .05em;
    }

    /* Impact text */
    .s2-impact {
      font-size: .78rem;
      color: #555;
      padding: 8px 16px 4px;
      min-height: 22px;
      font-style: italic;
    }

    /* Custom amount */
    .s2-custom-wrap { padding: 8px 16px 0; }
    .s2-custom-group {
      display: flex;
      align-items: center;
      border: 1px solid #bbb;
      border-radius: 3px;
      overflow: hidden;
    }
    .s2-custom-pfx {
      padding: 9px 12px;
      background: #f5f5f5;
      font-size: .82rem;
      font-weight: 600;
      color: #555;
      border-right: 1px solid #bbb;
    }
    .s2-custom-input {
      flex: 1;
      border: none;
      outline: none;
      padding: 9px 12px;
      font-size: .9rem;
    }

    /* Add to Cart button — red like reference */
    .s2-add-cart-btn {
      display: block;
      width: 100%;
      padding: 13px;
      margin-top: 14px;
      background: #c62828;
      color: #fff;
      font-size: .88rem;
      font-weight: 700;
      letter-spacing: .08em;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      transition: background .15s;
    }
    .s2-add-cart-btn:hover { background: #b71c1c; }
    .s2-add-cart-btn:disabled { background: #aaa; cursor: not-allowed; }

    /* Nav row */
    .s2-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 16px 20px;
      margin-top: 4px;
    }
    .s2-btn-back, .s2-btn-next {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 9px 20px;
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .06em;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      transition: background .15s;
    }
    .s2-btn-back {
      background: #fff;
      color: #555;
      border: 1px solid #ccc;
    }
    .s2-btn-back:hover { background: #f5f5f5; }
    .s2-btn-next {
      background: #1565c0;
      color: #fff;
    }
    .s2-btn-next:hover { background: #0d47a1; }
    /* ── Copyright footer block ── */
.footer-copyright {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted, #777777);
  line-height: 1.7;
  margin-top: .5rem;
}
.footer-copyright p { margin: 0; }

/* ── --irw-blue hover/active for ALL interactive elements ── */
/* dtype buttons */
.dtype-btn:hover,
.dtype-btn.active {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* fund cells */
.s2-fund-cell:hover,
.s2-fund-cell.active {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* currency buttons */
.s2-cur:hover,
.s2-cur.active {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* amount buttons */
.s2-amt-btn:hover,
.s2-amt-btn.active {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* nav buttons */
.btn-next:hover,
.s2-btn-next:hover {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  filter: brightness(0.92);
}
.btn-back:hover,
.s2-btn-back:hover {
  background-color: var(--irw-blue) !important;
  border-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* pay tiles */
.pay-tile:hover,
.pay-tile.active {
  border-color: var(--irw-blue) !important;
  background-color: color-mix(in srgb, var(--irw-blue) 6%, #fff) !important;
}
.pay-tile.active .pay-tile-check {
  color: var(--irw-blue) !important;
}

/* donate button */
.donate-now-btn:hover {
  background-color: var(--irw-blue) !important;
  filter: brightness(0.9);
}

/* modal buttons */
.btn-modal-donate:hover {
  background-color: var(--irw-blue) !important;
  filter: brightness(0.92);
}
.btn-modal-close-footer:hover {
  background-color: var(--irw-blue) !important;
  color: #fff !important;
}

/* add to cart button */
.s2-add-cart-btn:hover {
  background-color: var(--irw-blue) !important;
  filter: brightness(0.92);
}

/* ── Cart added notice ── */
.s2-cart-notice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: color-mix(in srgb, var(--irw-blue, #006aab) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--irw-blue, #006aab) 35%, #fff);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin: .5rem 16px .25rem;
  font-size: .82rem;
  color: #2a4a6b;
  line-height: 1.5;
}
.s2-cart-notice i {
  font-size: 1.15rem;
  color: var(--irw-blue, #006aab);
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Country dropdown ── */
.country-select-wrap {
  position: relative;
}
.country-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: .85rem;
  transition: transform .2s;
}
.country-chevron.open {
  transform: translateY(-50%) rotate(180deg);
}
.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  z-index: 500;
  max-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.country-options {
  overflow-y: auto;
  max-height: 220px;
}
.country-opt {
  padding: .5rem .9rem;
  cursor: pointer;
  font-size: .85rem;
  color: #333;
  border-bottom: 1px solid #f4f4f4;
  transition: background .12s;
}
.country-opt:last-child { border-bottom: none; }
.country-opt:hover,
.country-opt.selected {
  background-color: color-mix(in srgb, var(--irw-blue, #006aab) 10%, #fff);
  color: var(--irw-blue, #006aab);
  font-weight: 600;
}
.country-no-results {
  padding: .7rem 1rem;
  font-size: .82rem;
  color: #aaa;
  text-align: center;
}

/* req star */
.req { color: #e53e3e; font-weight: 700; margin-left: 2px; }

/* autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #333 !important;
  background-color: #fff !important;
}
@keyframes spin { to { transform: rotate(360deg); } }
:root{
    --irw-blue:#005baa;
  }

  /* =========================================================
     GLOBAL COMPACT SPACING
  ========================================================= */
  .wizard-body{
    padding-top: 8px;
  }

  .panel{
    margin-bottom: 14px;
  }

  .panel-head{
    padding: 16px 18px 10px;
  }

  .panel-title{
    margin-bottom: 8px !important;
    line-height: 1.2;
  }

  .panel-sub{
    margin-bottom: 0;
    line-height: 1.45;
    font-size: .95rem;
  }

  .panel-body{
    padding: 16px 18px !important;
  }

  .wiz-nav,
  .s2-nav{
    padding: 12px 18px !important;
  }

  /* =========================================================
     STEPPER
  ========================================================= */
  .stepper-wrap{
    margin-bottom: 12px;
  }

  /* =========================================================
     STEP 1 IMAGES + SPACING
  ========================================================= */
  .impact-photos{
    margin-bottom: 18px !important;
    gap: 10px;
  }

  .impact-photo,
  .impact-photo-placeholder{
    height: 140px !important;
    min-height: 140px !important;
    border-radius: 14px;
  }

  .dtype-row{
    gap: 10px;
    margin-top: 6px;
  }

  .dtype-btn{
    padding: 11px 14px;
  }

  /* =========================================================
     STEP 2 COMPACT
  ========================================================= */
  .s2-panel{
    padding-top: 0;
  }

  .s2-head{
    padding: 14px 16px 10px;
    margin-bottom: 6px;
  }

  .s2-fund-grid{
    gap: 10px;
    padding: 0 16px 12px;
  }

  .s2-fund-cell{
    padding: 12px 12px;
    min-height: 52px;
  }

  .s2-currency-row{
    padding: 0 16px;
    margin-bottom: 12px;
    gap: 8px;
  }

  .s2-cur{
    padding: 9px 12px;
  }

  .s2-amt-row{
    padding: 0 16px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .s2-amt-btn{
    padding: 10px 12px;
    min-height: 44px;
  }

  .s2-impact{
    margin: 8px 16px 10px;
    padding: 10px 12px;
    font-size: .92rem;
  }

  .s2-custom-wrap{
    padding: 0 16px;
    margin-bottom: 10px;
  }

  .s2-custom-group{
    min-height: 46px;
  }

  .s2-add-cart-btn{
    padding: 11px 14px;
    min-height: 46px;
  }

  .cart-inline-message{
    margin: 10px 16px 0;
    padding: 11px 13px;
    font-size: .92rem;
  }

  /* =========================================================
     STEP 3 FORM COMPACT
  ========================================================= */
  .validation-banner{
    margin: 0 18px 12px;
    padding: 10px 12px;
  }

  .summary-strip{
    margin: 0 18px 10px;
    padding: 10px 12px;
  }

  .form-grid-3,
  .form-grid-2{
    gap: 12px;
    margin-bottom: 12px;
  }

  .form-full{
    margin-bottom: 12px;
  }

  .f-label{
    margin-bottom: 6px;
    font-size: .92rem;
  }

  .f-input,
  .f-select{
    min-height: 44px;
    padding: 10px 12px;
  }

  textarea.f-input{
    min-height: 78px;
  }

  .kip-section{
    margin-top: 14px;
    padding: 14px 14px;
  }

  .kip-title{
    margin-bottom: 6px;
  }

  .kip-text{
    margin-bottom: 10px;
    font-size: .92rem;
    line-height: 1.5;
  }

  /* =========================================================
     STEP 4 COMPACT
  ========================================================= */
  .co-section-label{
    margin-bottom: 10px;
    font-size: .95rem;
  }

  .co-table th,
  .co-table td{
    padding: 10px 10px;
  }

  .pay-tiles{
    gap: 12px;
    margin-bottom: 14px;
  }

  .pay-tile{
    padding: 14px 12px;
  }

  .mpesa-phone-row{
    min-height: 46px;
  }

  .mpesa-pfx,
  .mpesa-num{
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mpesa-steps-box,
  .integration-notice{
    margin-top: 12px;
    padding: 12px 13px;
  }

  .card-form-grid{
    gap: 12px;
  }

  .donate-now-btn{
    min-height: 48px;
    padding: 12px 16px;
  }

  /* =========================================================
     FOOTER COMPACT
  ========================================================= */
  .site-footer{
    padding: 20px 16px 24px;
    margin-top: 18px;
  }

  .footer-links{
    margin-top: 10px;
  }

  .site-footer .footer-legal{
    margin-top: 10px;
    line-height: 1.65;
    font-size: .9rem;
  }

  /* =========================================================
     HOVER + ACTIVE STATES
  ========================================================= */
  .dtype-btn:hover,
  .dtype-btn.active,
  .s2-cur:hover,
  .s2-cur.active,
  .s2-amt-btn:hover,
  .s2-amt-btn.active,
  .s2-fund-cell:hover,
  .s2-fund-cell.active,
  .s2-btn-next:hover,
  .s2-btn-back:hover,
  .btn-next:hover,
  .btn-back:hover,
  .s2-add-cart-btn:hover,
  .btn-modal-donate:hover,
  .donate-now-btn:hover,
  .pay-tile:hover,
  .pay-tile.active,
  .footer-links a:hover {
    background: var(--irw-blue) !important;
    color: #fff !important;
    border-color: var(--irw-blue) !important;
  }

  .s2-fund-cell.active,
  .pay-tile.active,
  .dtype-btn.active,
  .s2-cur.active,
  .s2-amt-btn.active {
    box-shadow: 0 12px 28px rgba(0, 91, 170, 0.18);
  }

  .s2-fund-cell,
  .dtype-btn,
  .s2-cur,
  .s2-amt-btn,
  .pay-tile,
  .s2-btn-next,
  .s2-btn-back,
  .btn-next,
  .btn-back,
  .s2-add-cart-btn,
  .btn-modal-donate,
  .donate-now-btn,
  .footer-links a {
    transition: all .25s ease;
  }

  /* =========================================================
     INLINE SUCCESS / INFO MESSAGE
  ========================================================= */
  .cart-inline-message{
    display:none;
    background: rgba(0, 91, 170, 0.08);
    border: 1px solid rgba(0, 91, 170, 0.18);
    color: #0d3d68;
    border-radius: 12px;
    line-height: 1.5;
  }

  .cart-inline-message.show{
    display:block;
    animation: fadeSlideIn .35s ease;
  }

  .cart-inline-message i{
    color: var(--irw-blue);
    margin-right: 8px;
  }

  @keyframes fadeSlideIn{
    from{opacity:0; transform:translateY(8px);}
    to{opacity:1; transform:translateY(0);}
  }

  .f-select,
  .f-input{
    width:100%;
  }

  #amountSection{
    scroll-margin-top: 85px;
  }

  @media (max-width: 768px){
    .impact-photo,
    .impact-photo-placeholder{
      height: 118px !important;
      min-height: 118px !important;
    }

    .panel-head{
      padding: 14px 14px 8px;
    }

    .panel-body{
      padding: 14px !important;
    }

    .wiz-nav,
    .s2-nav,
    .s2-head,
    .s2-fund-grid,
    .s2-currency-row,
    .s2-amt-row,
    .s2-custom-wrap{
      padding-left: 14px !important;
      padding-right: 14px !important;
    }

    .validation-banner,
    .summary-strip{
      margin-left: 14px;
      margin-right: 14px;
    }
  }