/* AapanSouq — "Add to Home Screen" install banner */

.umv-pwa-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999990;
    display: flex; align-items: center; gap: 12px;
    background: #ffffff; color: #111827;
    border-top: 1px solid #e5e7eb;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, .12);
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(110%);
    transition: transform .25s ease;
}
.umv-pwa-banner.is-visible { transform: translateY(0); }

.umv-pwa-icon {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
    background: #ffffff; border: 1px solid #e5e7eb;
}
.umv-pwa-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }

.umv-pwa-text { flex: 1; min-width: 0; }
.umv-pwa-title { font-size: 14px; font-weight: 800; color: #111827; margin-bottom: 2px; }
.umv-pwa-body { font-size: 12.5px; color: #6b7280; line-height: 1.35; }

.umv-pwa-actions { display: flex; flex-shrink: 0; }
.umv-pwa-install-btn, .umv-pwa-gotit-btn {
    background: #2563eb; color: #ffffff; border: 0; border-radius: 10px;
    padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 40px;
    white-space: nowrap;
}
.umv-pwa-install-btn:hover, .umv-pwa-gotit-btn:hover { background: #1d4ed8; }

.umv-pwa-dismiss {
    position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #9ca3af;
    font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; min-width: 28px; min-height: 28px;
}
.umv-pwa-dismiss:hover { color: #374151; }

@media (min-width: 640px) {
    .umv-pwa-banner {
        left: 50%; right: auto; bottom: 20px; transform: translate(-50%, 140%);
        max-width: 420px; border-radius: 16px; padding: 16px 18px;
    }
    .umv-pwa-banner.is-visible { transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .umv-pwa-banner { transition: none; }
}
