:root {
  --bg: #eef4ff;
  --bg-card: rgba(255, 255, 255, 0.78);
  --text: #0b1220;
  --muted: #5b6478;
  --primary: #3b5bdb;
  --primary-2: #4c7dff;
  --package-blue: #3b5bdb;
  --border: rgba(15, 23, 42, 0.08);
  --success: #10b981;
  --error: #ef4444;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 22px;
  --glass: blur(18px) saturate(160%);
}

[data-theme='dark'] {
  --bg: #060a14;
  --bg-card: rgba(15, 23, 42, 0.72);
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.site-support {
  padding: 0 0 1.25rem;
}

.site-support__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.14);
}

body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-bg__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 15% 10%, rgba(29, 79, 255, 0.22), transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(0, 180, 255, 0.18), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.12), transparent 45%);
  animation: meshFloat 18s ease-in-out infinite alternate;
}

.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

[data-theme='dark'] .page-bg__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

@keyframes meshFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}

.container {
  width: min(1080px, calc(100% - 1.5rem));
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0.85rem;
  z-index: 30;
  padding: 0 0.75rem 0.65rem;
  pointer-events: none;
}

.page-flow .site-header {
  display: none;
}

.page-flow main {
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.header-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow-soft);
}

.brand--solo {
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 24px rgba(29, 79, 255, 0.35);
}

.brand-text strong {
  color: var(--primary);
}

.hero {
  padding: 1.25rem 0 0.5rem;
}

.hero-inner {
  text-align: center;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 79, 255, 0.15);
  background: linear-gradient(135deg, rgba(29, 79, 255, 0.1), rgba(0, 180, 255, 0.08));
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.promo-pill__bolt {
  animation: pulse 1.4s infinite;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-title__accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0.85rem auto 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
}

body.has-live-ticker {
  padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
}

.live-ticker {
  position: fixed;
  left: 50%;
  bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.6rem;
  width: min(42rem, calc(100% - 1rem));
  margin: 0;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669 0%, #10b981 55%, #34d399 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 4px rgba(16, 185, 129, 0.18),
    0 16px 40px rgba(5, 150, 105, 0.42);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  color: #ffffff;
  text-align: left;
  pointer-events: none;
}

.live-ticker strong {
  display: inline-flex;
  align-items: center;
  color: #ecfdf5;
  background: rgba(6, 78, 59, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

#live-ticker-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:has(.modal:not([hidden])) .live-ticker,
body.pwa-install-open .live-ticker {
  opacity: 0;
  visibility: hidden;
}

.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ecfdf5;
  box-shadow: 0 0 0 0 rgba(236, 253, 245, 0.7);
  animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 253, 245, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(236, 253, 245, 0); }
}

.network-picker {
  margin-top: 0.15rem;
}

.network-picker__label {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.network-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 94%, transparent), color-mix(in srgb, var(--bg) 80%, transparent));
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
}

.network-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  overflow: hidden;
}

.network-tab::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.network-tab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.network-tab.is-active {
  transform: translateY(-3px);
  color: white;
  box-shadow: var(--shadow);
}

.network-tab.is-active::after {
  transform: scaleX(1);
}

.network-logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: 0.22s ease;
}

.network-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
}

.network-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.network-name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.network-hint {
  font-size: 0.72rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.net-vodacom {
  border: 2px solid #e60000;
  box-shadow: 0 8px 22px rgba(230, 0, 0, 0.1);
}

.net-vodacom.is-active {
  background: linear-gradient(145deg, #e60000, #ff4d4d);
  border-color: #ff8585;
}

.net-vodacom.is-active::after { background: rgba(255, 255, 255, 0.65); }

.net-yas {
  border: 2px solid #005bbb;
  box-shadow: 0 8px 22px rgba(0, 91, 187, 0.1);
}

.net-yas.is-active {
  background: linear-gradient(145deg, #005bbb, #0077ff);
  border-color: #ffd100;
}

.net-yas.is-active::after { background: #ffd100; }

.net-airtel {
  border: 2px solid #e40000;
  box-shadow: 0 8px 22px rgba(228, 0, 0, 0.1);
}

.net-airtel.is-active {
  background: linear-gradient(145deg, #e40000, #ff5757);
  border-color: #ff9a9a;
}

.net-airtel.is-active::after { background: rgba(255, 255, 255, 0.65); }

.net-halotel {
  border: 2px solid #ff7a00;
  box-shadow: 0 8px 22px rgba(255, 122, 0, 0.12);
}

.net-halotel.is-active {
  background: linear-gradient(145deg, #ff7a00, #ffb347);
  border-color: #ffd699;
}

.net-halotel.is-active::after { background: rgba(255, 255, 255, 0.65); }

.network-tab.is-active .network-logo {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.network-tab.is-active .network-hint {
  color: rgba(255, 255, 255, 0.88);
}

.bundles-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}

.bundles-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.bundles-head__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.bundles-section {
  padding: 0.25rem 0 1.5rem;
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.bundle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

[data-theme='dark'] .bundle-card {
  background: var(--bg-card);
  border-color: var(--border);
}

.bundle-card.is-hidden {
  display: none;
}

.bundle-card:not(.is-hidden) {
  animation: cardIn 0.28s ease;
}

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

.bundle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.bundle-head {
  margin-bottom: 0.75rem;
}

.bundle-head__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
}

.bundle-head__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0.2rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.bundle-head__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bundle-head__name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.bundle-body {
  text-align: left;
  margin-bottom: 0.85rem;
}

.bundle-data {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
}

.bundle-duration-line {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

[data-theme='dark'] .bundle-duration-line {
  color: var(--muted);
}

.bundle-name {
  margin: 0.45rem 0 0;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
}

[data-theme='dark'] .bundle-name {
  color: var(--muted);
}

.bundle-divider {
  height: 1px;
  margin: 0.85rem 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.55) 0 6px,
    transparent 6px 12px
  );
}

.bundle-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.bundle-meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.meta-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--package-blue);
  background: rgba(59, 91, 219, 0.1);
  flex: 0 0 auto;
}

.bundle-foot {
  margin-top: 0.85rem;
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.bundle-price__cur {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
}

.bundle-price__amt {
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  line-height: 1;
  font-weight: 800;
  color: var(--package-blue);
  letter-spacing: -0.03em;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--package-blue);
  color: white;
  box-shadow: 0 10px 24px rgba(59, 91, 219, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #3451c7;
  box-shadow: 0 14px 28px rgba(59, 91, 219, 0.34);
}

.buy-btn {
  width: 100%;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-size: 0.98rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.track-section,
.admin-page {
  padding-bottom: 2.5rem;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--glass);
}

.panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.panel-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.track-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.track-form input,
.checkout-form input {
  flex: 1 1 220px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: inherit;
}

.checkout-form input {
  width: 100%;
  flex: none;
  border-color: rgba(15, 23, 42, 0.1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.track-form input:focus,
.checkout-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(29, 79, 255, 0.08);
}

.alert-error {
  background: rgba(239, 68, 68, 0.08);
  color: var(--error);
}

.track-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.62);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass);
}

[data-theme='dark'] .modal-dialog {
  background: var(--bg-card);
}

#checkout-title {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.checkout-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-preview {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.checkout-preview__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.checkout-preview__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.15rem;
}

.checkout-preview__main {
  display: grid;
  gap: 0.25rem;
}

.checkout-preview__gb {
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.checkout-preview__duration {
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
}

.checkout-preview__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-top: 0.15rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.checkout-preview__price span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
}

.checkout-preview__price strong {
  font-size: 1.35rem;
  color: var(--package-blue);
  letter-spacing: -0.02em;
}

.checkout-preview__receive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(59, 91, 219, 0.06);
  border: 1px solid rgba(59, 91, 219, 0.1);
  font-size: 0.86rem;
}

.checkout-preview__receive span {
  color: var(--muted);
  font-weight: 600;
}

.checkout-preview__receive strong {
  font-size: 0.95rem;
}

.pay-page {
  padding: 0 0 1.25rem;
}

.pay-stack {
  display: grid;
  gap: 0.75rem;
}

.pay-block {
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.pay-block--head h1 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pay-block--head .checkout-lead {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
}

.pay-block--head .pay-test-banner {
  margin: 0.75rem 0 0;
}

.pay-block__note {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  font-size: 0.82rem;
  color: #334155;
  background: rgba(59, 91, 219, 0.06);
  border: 1px solid rgba(59, 91, 219, 0.12);
}

.pay-block--pay {
  padding: 1.05rem 1rem 1.15rem;
}

.pay-block--pay .bundle-summary {
  margin-bottom: 0;
  border: none;
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.07), rgba(59, 91, 219, 0.02));
  padding: 0.75rem 0.85rem;
}

.pay-block__divider {
  height: 1px;
  margin: 1rem 0 1.05rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.1) 20%,
    rgba(15, 23, 42, 0.1) 80%,
    transparent
  );
}

.pay-phone-block {
  display: grid;
  gap: 0.85rem;
}

.pay-phone-block__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.pay-phone-block__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(59, 91, 219, 0.1);
  border: 1px solid rgba(59, 91, 219, 0.14);
}

.pay-phone-block__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pay-phone-block__lead {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

.pay-phone-input {
  display: grid;
  gap: 0.45rem;
  cursor: text;
}

.pay-phone-input__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-phone-input__shell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.45rem 0.35rem 0.5rem;
  border-radius: 16px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pay-phone-input:focus-within .pay-phone-input__shell {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent),
    0 6px 18px rgba(59, 91, 219, 0.08);
}

.pay-phone-input__prefix {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.4rem;
  border-radius: 11px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.12);
}

.pay-phone-input__field {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 0.25rem !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 1.15rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.pay-phone-input__field::placeholder {
  color: color-mix(in srgb, var(--muted) 55%, transparent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pay-phone-input__count {
  flex-shrink: 0;
  min-width: 2.35rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  background: #f1f5f9;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.pay-phone-input__shell:has(.pay-phone-input__field:valid) .pay-phone-input__count {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.pay-phone-block__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-phone-block__tips li {
  margin: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.pay-phone-block__tips strong {
  color: #0f172a;
  font-weight: 800;
}

.pay-checkout {
  gap: 1rem;
}

.pay-checkout__submit {
  margin-top: 0.1rem;
}

.pay-recipient {
  --pay-recipient-accent: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 1.05rem;
}

.pay-recipient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pay-recipient-accent);
}

.pay-recipient--vodacom { --pay-recipient-accent: #e60000; }
.pay-recipient--airtel { --pay-recipient-accent: #e40000; }
.pay-recipient--yas { --pay-recipient-accent: #005bbb; }
.pay-recipient--halotel { --pay-recipient-accent: #ff7a00; }

.pay-recipient__label {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-recipient__network {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.pay-recipient__network img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.15rem;
}

.pay-recipient__network strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.pay-recipient__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0;
}

.pay-recipient__fact {
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.pay-recipient__fact dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pay-recipient__fact dd {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
  color: #0f172a;
}

.pay-recipient__muted {
  color: var(--muted) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}

@media (max-width: 360px) {
  .pay-recipient__facts {
    grid-template-columns: 1fr;
  }
}

.bundle-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.bundle-summary__info {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.bundle-summary__info strong {
  font-size: 1rem;
  line-height: 1;
}

.bundle-summary__info span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.bundle-summary__price {
  text-align: right;
  white-space: nowrap;
}

.bundle-summary__price small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
}

.bundle-summary__price strong {
  font-size: 1rem;
  color: var(--package-blue);
}

.pay-block--pay .checkout-submit {
  padding: 0.9rem 0.95rem;
}

.lookup-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.12);
  color: var(--package-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.lookup-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(59, 91, 219, 0.25);
  border-top-color: var(--package-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkout-step-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.checkout-pin-text {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.checkout-pin-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.12);
  margin-bottom: 1rem;
}

.checkout-pin-box span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.payment-modal {
  text-align: center;
  padding: 1.45rem 1.2rem 1.2rem;
}

.payment-wait[hidden],
.payment-success[hidden] {
  display: none !important;
}

#payment-overlay[data-state='wait'] .payment-success,
#payment-overlay[data-state='success'] .payment-wait {
  display: none !important;
}

.payment-modal__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 3px solid rgba(59, 91, 219, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: paySpin 0.85s linear infinite;
}

.payment-wait {
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.payment-wait__hero {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.payment-wait__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(59, 91, 219, 0.1);
  border: 1px solid rgba(59, 91, 219, 0.14);
}

.payment-wait__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.payment-wait__message {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.payment-wait__message--test {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  font-weight: 600;
}

.payment-wait__progress {
  margin: 0;
}

.payment-wait__progress-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(59, 91, 219, 0.12);
  overflow: hidden;
}

.payment-wait__progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 0.2s linear;
}

.payment-wait__phone {
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.payment-wait__phone-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.payment-wait__phone-shell {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 16px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.payment-wait__phone-prefix {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.12);
}

.payment-wait__phone-number {
  flex: 1;
  min-width: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  text-align: left;
}

.payment-wait__amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.09), rgba(59, 91, 219, 0.03));
  border: 1px solid rgba(59, 91, 219, 0.14);
}

.payment-wait__amount-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
}

.payment-wait__amount-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--package-blue);
  white-space: nowrap;
}

.payment-wait__steps {
  margin: 0;
  padding: 0.65rem 0.75rem 0.65rem 1.85rem;
  border-radius: 14px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.payment-wait__steps li + li {
  margin-top: 0.35rem;
}

.payment-wait__actions {
  margin-top: 0.15rem;
}

.payment-success {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  padding: 1.15rem 0.25rem 0.65rem;
}

.payment-success__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.payment-success__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

@keyframes paySpin {
  to { transform: rotate(360deg); }
}

.payment-success-tick {
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.payment-success-tick__circle {
  stroke: rgba(16, 185, 129, 0.25);
  stroke-width: 2;
}

.payment-success-tick__check {
  stroke: var(--success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: payCheckDraw 0.55s ease forwards 0.15s;
}

@keyframes payCheckDraw {
  to { stroke-dashoffset: 0; }
}

.maombi-page {
  padding: 0.2rem 0 2rem;
}

.maombi-stack {
  display: grid;
  gap: 0.9rem;
  isolation: isolate;
}

.maombi-stack > * {
  position: relative;
  z-index: 0;
  min-width: 0;
}

.maombi-hero {
  padding: 0.15rem 0.15rem 0.35rem;
}

.maombi-hero h1 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.7rem;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.maombi-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.maombi-hero__kicker {
  margin: 0 0 0.2rem !important;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary) !important;
}

.maombi-hero--compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.maombi-hero--compact h1 {
  margin-bottom: 0;
}

.maombi-phone-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.maombi-phone-bar span {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.maombi-phone-bar strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.maombi-phone-bar a {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.maombi-lookup-card,
.maombi-empty-card {
  padding: 1.1rem 1.05rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.maombi-lookup {
  display: grid;
  gap: 0.85rem;
}

.maombi-empty-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  text-align: center;
}

.maombi-section-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.45rem 0.1rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.maombi-section-title span {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(59, 91, 219, 0.1);
  color: var(--primary);
  font-size: 0.68rem;
}

.maombi-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.maombi-card--net-vodacom { --maombi-accent: #e11d48; }
.maombi-card--net-airtel { --maombi-accent: #ef4444; }
.maombi-card--net-halotel { --maombi-accent: #f97316; }
.maombi-card--net-yas { --maombi-accent: #2563eb; }
.maombi-card--net-ttcl { --maombi-accent: #0ea5e9; }

.maombi-card--active::before,
.maombi-card--success::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--maombi-accent, var(--primary)), color-mix(in srgb, var(--maombi-accent, var(--primary)) 40%, #fff));
}

.maombi-card--success {
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.1);
}

.maombi-card--error {
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.08);
}

.maombi-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.maombi-card__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.maombi-card__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.maombi-card__logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.maombi-card__identity {
  min-width: 0;
}

.maombi-card__net {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.maombi-card__id {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.maombi-chip {
  flex-shrink: 0;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.maombi-chip--next {
  color: #1d4ed8;
  background: rgba(59, 91, 219, 0.1);
}

.maombi-chip--live {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.maombi-chip--done {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.maombi-chip--fail {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
}

.maombi-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  list-style: none;
  margin: 0.95rem 0 0.75rem;
  padding: 0.45rem;
  border-radius: 16px;
  background: #f8fafc;
}

.maombi-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
}

.maombi-steps__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.maombi-steps__item--done {
  color: #047857;
}

.maombi-steps__item--done .maombi-steps__dot {
  background: #10b981;
}

.maombi-steps__item--current {
  color: var(--primary);
}

.maombi-steps__item--current .maombi-steps__dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.16);
}

.maombi-card__status {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.maombi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.maombi-stats div {
  padding: 0.7rem 0.75rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.maombi-stats span {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.maombi-stats strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.maombi-stats em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.maombi-card__hint {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
}

.maombi-test-note {
  margin: -0.15rem 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #92400e;
}

.maombi-actions {
  display: grid;
  gap: 0.5rem;
}

.maombi-cta,
.maombi-lookup .maombi-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.92rem 1rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3151d4, #4c7dff);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(59, 91, 219, 0.28);
}

.maombi-cta-ghost,
.maombi-shop-again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.maombi-shop-again {
  margin-top: 0.25rem;
}

.maombi-done-note {
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.14);
}

.maombi-done-note strong {
  display: block;
  font-size: 0.92rem;
  color: #047857;
  margin-bottom: 0.15rem;
}

.maombi-done-note p {
  margin: 0;
  font-size: 0.8rem;
  color: #166534;
  line-height: 1.45;
}

.maombi-empty {
  margin-top: 1rem;
  text-align: center;
}

.maombi-empty p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.pay-stage-note {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(59, 91, 219, 0.08);
  border: 1px solid rgba(59, 91, 219, 0.15);
}

.pay-stage-note p {
  margin: 0;
  font-size: 0.88rem;
}

.pay-stage-note .hint {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.pay-test-banner {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-pill {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.status-pill--pending {
  background: rgba(59, 91, 219, 0.12);
  color: var(--primary);
}

.status-pill--success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

.status-pill--error {
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
}

.btn-sm {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
}

.checkout-pin-box strong {
  color: var(--package-blue);
  font-size: 1.05rem;
}

.checkout-submit {
  margin-top: 0.25rem;
  padding: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.checkout-form label,
.checkout-form .field {
  display: grid;
  gap: 0.35rem;
}

.field__label {
  font-weight: 700;
  font-size: 0.92rem;
}

.hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.pin-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.success-badge {
  font-size: 2rem;
}

.success-bundle {
  font-size: 1.2rem;
}

.muted {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .maombi-hero--compact {
    flex-direction: column;
    align-items: stretch;
  }

  .maombi-phone-bar {
    width: 100%;
  }

  .page-flow main {
    padding-top: 0.5rem;
  }

  .site-header {
    top: 0.5rem;
  }

  .header-shell {
    border-radius: 22px;
    padding: 0.75rem;
  }

  .bundles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .bundles-section .container,
  .container {
    width: min(1080px, calc(100% - 0.85rem));
  }

  .bundle-card {
    padding: 0.75rem 0.7rem 0.7rem;
    border-radius: 18px;
  }

  .bundle-head {
    margin-bottom: 0.55rem;
  }

  .bundle-head__brand {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .bundle-head__logo {
    width: 34px;
    height: 34px;
    padding: 0.15rem;
    flex-shrink: 0;
  }

  .bundle-head__name {
    font-size: 0.72rem;
    max-width: 5rem;
  }

  .bundle-data {
    font-size: 1.55rem;
  }

  .bundle-duration-line {
    font-size: 0.78rem;
    margin-top: 0.35rem;
  }

  .bundle-name {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .bundle-divider {
    margin: 0.55rem 0;
  }

  .bundle-meta {
    gap: 0.4rem;
    font-size: 0.72rem;
  }

  .meta-ico {
    width: 24px;
    height: 24px;
  }

  .meta-ico svg {
    width: 13px;
    height: 13px;
  }

  .bundle-foot {
    margin-top: 0.55rem;
  }

  .bundle-price {
    margin-bottom: 0.55rem;
  }

  .bundle-price__cur {
    font-size: 0.78rem;
  }

  .bundle-price__amt {
    font-size: 1.15rem;
  }

  .buy-btn {
    padding: 0.72rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 12px;
  }

  .buy-btn svg {
    width: 15px;
    height: 15px;
  }

  .network-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .network-tab {
    padding: 0.75rem;
  }

  .network-hint {
    display: none;
  }
}

body.pwa-install-open {
  overflow: hidden;
}

.pwa-install {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.pwa-install[hidden] {
  display: none;
}

.pwa-install__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.55);
  backdrop-filter: blur(6px);
}

.pwa-install__dialog {
  position: relative;
  width: min(400px, 100%);
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: pwaInstallIn 0.35s ease-out;
}

@keyframes pwaInstallIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pwa-install__icon img {
  display: block;
  margin: 0 auto 0.85rem;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(59, 91, 219, 0.25);
}

.pwa-install__title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pwa-install__lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.pwa-install__hint {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #334155;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.pwa-install__actions {
  display: grid;
  gap: 0.55rem;
}

.pwa-install__store {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pwa-install__store:active {
  transform: scale(0.98);
}

.pwa-install__store-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pwa-install__store small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.pwa-install__store--play {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.pwa-install__store--apple {
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.pwa-install__later {
  margin-top: 0.75rem;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lookup-modal {
  z-index: 80;
}

.lookup-dialog {
  text-align: center;
  padding: 1.7rem 1.3rem 1.35rem;
  border-radius: 28px;
}

.lookup-dialog h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lookup-dialog__lead {
  margin: 0 auto 0.9rem;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lookup-dialog__orb {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(59, 91, 219, 0.1);
  color: var(--primary);
}

.lookup-dialog__orb--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.lookup-dialog__orb--bad {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 1.6rem;
  font-weight: 800;
}

.lookup-dialog__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(59, 91, 219, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.lookup-dialog__phone {
  display: inline-flex;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.lookup-dialog__facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  text-align: left;
}

.lookup-dialog__facts div {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.lookup-dialog__facts dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.lookup-dialog__facts dd {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

#lookup-state-search[hidden],
#lookup-state-found[hidden],
#lookup-state-error[hidden] {
  display: none;
}
