:root {
  --deep: #102a43;
  --deep-2: #071d2f;
  --teal: #0f766e;
  --coral: #c84f3b;
  --cream: #f3efe7;
  --paper: #fffdf8;
  --ink: #172033;
  --muted: #667085;
  --line: #d8d4ca;
  --danger: #9f2f2a;
  --shadow: 0 20px 58px rgba(16, 42, 67, .14);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 16px; background: #fff; color: var(--deep); font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid #e6a44c; outline-offset: 3px; }
.store-header { background: var(--deep); color: #fff; border-bottom: 4px solid var(--coral); }
.store-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1080px, calc(100% - 36px)); min-height: 76px; margin: auto; }
.store-brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.store-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; background: #fff3e5; color: var(--deep); font-weight: 800; }
.store-brand strong, .store-brand small { display: block; }
.store-brand strong, h1, h2, .form-step legend, .step-label { font-family: Fraunces, Georgia, serif; }
.store-brand strong { font-size: 18px; }
.store-brand small { margin-top: 2px; color: #cbd7e2; font-size: 11px; }
.store-nav nav { display: flex; align-self: stretch; }
.store-nav nav a { display: grid; place-items: center; padding: 0 15px; color: #dce6ee; border-bottom: 3px solid transparent; text-decoration: none; font-size: 14px; font-weight: 700; }
.store-nav nav a[aria-current="page"] { color: #fff; border-color: #f1ad83; }
.store-shell { width: min(760px, calc(100% - 28px)); margin: auto; padding: 28px 0 100px; }
.channel-banner { display: block; margin-bottom: 12px; padding: 12px 15px; border: 1px solid #b8d5cd; border-radius: 10px; background: #edf7f4; color: #0a5a53; text-align: center; text-decoration: none; font-weight: 800; }
.purchase-card { overflow: hidden; background: var(--paper); border: 1px solid rgba(16, 42, 67, .16); border-radius: 17px; box-shadow: var(--shadow); }
.purchase-heading { padding: 27px 30px 23px; border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 7px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(30px, 6vw, 43px); line-height: 1.08; }
.purchase-heading > p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.purchase-form { display: grid; padding: 4px 30px 32px; }
.form-step { min-width: 0; margin: 0; padding: 23px 0; border: 0; border-bottom: 1px solid var(--line); }
.form-step legend, .step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.form-step legend span, .step-label span { display: grid; flex: 0 0 auto; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: var(--deep); color: #fff; font: 700 13px "DM Sans", sans-serif; }
.network-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.network-card { position: relative; min-width: 0; min-height: 120px; padding: 14px; border: 2px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.network-card input, .payer-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.network-card:has(input:checked), .payer-option:has(input:checked) { border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.network-logo { display: grid; align-items: center; width: 74px; height: 38px; margin-bottom: 12px; }
.network-logo img { display: block; max-width: 100%; max-height: 38px; }
.network-card strong { display: block; overflow-wrap: anywhere; }
.network-card small { display: block; margin-top: 4px; color: var(--muted); }
.purchase-form select, .purchase-form input[type="tel"], .track-form input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #aebbc5; border-radius: 9px; background: #fff; color: var(--ink); }
.purchase-form select:disabled { background: #ebece9; color: #747c79; }
.field-help { margin: -6px 0 10px; color: var(--muted); font-size: 13px; }
.field-error, .form-alert { margin-bottom: 10px; padding: 10px 12px; border-left: 4px solid var(--danger); background: #fff1ef; color: #7d241f; font-weight: 700; }
.field-error ul, .form-alert ul { margin: 0; padding-left: 19px; }
.payer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.payer-option { position: relative; display: grid; place-items: center; min-height: 54px; border: 2px solid transparent; border-radius: 9px; cursor: pointer; font-weight: 800; }
.payer-mtn { background: #ffcd00; color: #171717; }
.payer-telecel { background: #d71920; color: #fff; }
.payer-at { background: #1769aa; color: #fff; }
.store-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; margin-top: 24px; padding: 13px 18px; border: 0; border-radius: 9px; background: var(--deep); color: #fff; cursor: pointer; font-weight: 800; }
.store-button:hover { background: var(--deep-2); }
.store-button:disabled { cursor: wait; opacity: .72; }
.button-link { display: grid; place-items: center; width: auto; margin-inline: 30px; text-decoration: none; }
.store-messages { margin-bottom: 14px; }
.store-notice { padding: 13px 15px; border: 1px solid #e4c883; border-radius: 9px; background: #fff8e5; color: #6d4a0e; font-weight: 700; }
.compact-card { max-width: 650px; margin: auto; }
.status-card { padding-bottom: 28px; text-align: center; }
.status-card .purchase-heading { border: 0; }
.status-symbol { width: 54px; height: 54px; margin: 30px auto 0; border: 8px solid #d7dfdb; border-top-color: var(--teal); border-radius: 50%; }
.status-success { border: 0; background: var(--teal); }
.status-failed { border: 0; background: var(--danger); }
.payment-state { display: flex; justify-content: space-between; gap: 18px; margin: 0 30px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; text-align: left; }
.payment-state span, .reference { color: var(--muted); }
.reference { padding: 16px 30px 0; overflow-wrap: anywhere; }
.track-form { padding: 24px 30px; border-bottom: 1px solid var(--line); }
.track-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.track-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.track-row .store-button { width: auto; min-width: 120px; margin: 0; }
.tracking-results { padding: 24px 30px 30px; }
.tracking-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.tracking-item strong, .tracking-item span { display: block; }
.tracking-item div > span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.public-pill { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #e5f1ec; color: var(--deep); font-size: 12px; font-weight: 800; }
.empty-state { margin-bottom: 0; color: var(--muted); }
.whatsapp-help { position: fixed; right: 20px; bottom: 20px; z-index: 30; }
.whatsapp-help summary { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #126b48; color: #fff; box-shadow: 0 10px 30px rgba(10,45,34,.28); cursor: pointer; list-style: none; }
.whatsapp-help summary::-webkit-details-marker { display: none; }
.whatsapp-help summary span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #126b48; font-size: 11px; font-weight: 900; }
.whatsapp-panel { position: absolute; right: 0; bottom: 62px; width: min(360px, calc(100vw - 28px)); padding: 20px; border: 1px solid #d5ded9; border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.whatsapp-panel h2 { margin-bottom: 6px; font-size: 20px; }
.whatsapp-panel > p { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.starter-list { display: grid; gap: 7px; }
.whatsapp-starter { padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--deep); text-decoration: none; font-size: 13px; font-weight: 700; }
@media (max-width: 620px) {
  .store-nav { width: calc(100% - 22px); min-height: 68px; gap: 7px; }
  .store-brand small { display: none; }
  .store-brand strong { font-size: 14px; }
  .store-nav nav a { padding: 0 8px; font-size: 12px; }
  .store-shell { width: min(100% - 20px, 760px); padding-top: 14px; }
  .purchase-heading, .purchase-form, .track-form, .tracking-results { padding-left: 18px; padding-right: 18px; }
  .payer-grid, .track-row { grid-template-columns: 1fr; }
  .track-row .store-button { width: 100%; }
  .tracking-item { align-items: flex-start; flex-direction: column; }
  .payment-state { margin-inline: 18px; }
  .button-link { margin-inline: 18px; }
  .whatsapp-help { right: 10px; bottom: 10px; }
  .whatsapp-help summary strong { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
