/* Mukesh Brothers — offline / no-internet overlay (customer WebView + browser) */
.mb-offline {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(120% 80% at 50% -10%, #ffe8d6 0%, transparent 55%),
    linear-gradient(180deg, #fffaf5 0%, #f7f3ee 48%, #efe8e0 100%);
  color: #1c1917;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mb-offline.is-visible {
  display: flex;
}

.mb-offline__card {
  width: min(100%, 360px);
  text-align: center;
}

.mb-offline__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.08);
  color: #c2410c;
}

.mb-offline__icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.mb-offline__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1c1917;
}

.mb-offline__sub {
  margin: 0 auto 22px;
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #78716c;
}

.mb-offline__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-width: 168px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: #ea580c;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mb-offline__btn:active {
  transform: scale(0.98);
}

.mb-offline__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.mb-offline__hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #a8a29e;
}

body.mb-offline-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  .mb-offline__btn {
    transition: none;
  }
}
