/* "Get the app" card on every public page (app-prompt.js, Views/Shared/_AppPrompt.cshtml).
   Small and closable, never a full-screen overlay. Colours are set on the card itself so
   they work on pages without products.css. */
.app-prompt { --hv-green: #00704a; --hv-green-dark: #005a3c; --hv-green-tint: #e8f5f0; --hv-ink: #111827; --hv-ink-2: #4b5563; --hv-ink-3: #8a94a3; --hv-line: #e7ecea; }
.app-prompt { position: fixed; right: 24px; bottom: 24px; z-index: 1050; width: 360px; max-width: calc(100vw - 32px); display: flex; gap: 14px; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--hv-line); border-radius: 18px; box-shadow: 0 18px 48px rgba(17, 24, 39, .18); font-family: 'Inter', sans-serif; color: var(--hv-ink-2); opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.app-prompt.is-open { opacity: 1; transform: none; }
.app-prompt[hidden] { display: none; }
.app-prompt__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--hv-green-tint); color: var(--hv-green); font-size: 1.25rem; }
.app-prompt__body { min-width: 0; padding-right: 18px; }
.app-prompt__body strong { display: block; color: var(--hv-ink); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; line-height: 1.3; }
.app-prompt__body p { margin: 4px 0 12px; font-size: .88rem; line-height: 1.45; }
.app-prompt__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-prompt .app-prompt__get { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--hv-green); color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; }
.app-prompt .app-prompt__get:hover, .app-prompt .app-prompt__get:focus { background: var(--hv-green-dark); color: #fff; }
.app-prompt__later { padding: 6px 2px; border: 0; background: none; color: var(--hv-ink-2); font-size: .88rem; font-weight: 600; cursor: pointer; }
.app-prompt__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--hv-ink-3); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.app-prompt__close:hover, .app-prompt__later:hover { color: var(--hv-ink); }
.app-prompt__close:focus-visible, .app-prompt__later:focus-visible, .app-prompt__get:focus-visible { outline: 2px solid var(--hv-green); outline-offset: 2px; }
@media (max-width: 575px) {
    .app-prompt { right: 16px; left: 16px; bottom: 16px; width: auto; max-width: none; padding: 14px 14px 12px; gap: 12px; }
    .app-prompt__icon { width: 38px; height: 38px; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .app-prompt { transition: none; } }

/* QR code for computer visitors (images/app-qr.svg -> halalverify.co/app -> Google Play).
   Phones keep the "Get the app" button: you can't scan your own screen. */
.app-prompt__qr { display: none; margin: 0; flex: none; align-self: center; text-align: center; }
.app-prompt__qr img { display: block; width: 84px; height: 84px; border-radius: 8px; }
.app-prompt__qr figcaption { margin-top: 4px; font-size: .72rem; color: var(--hv-ink-3); }
@media (min-width: 992px) and (hover: hover) {
    .app-prompt { width: 460px; }
    .app-prompt__qr { display: block; }
}
.hero-qr { margin-top: 22px; align-items: center; gap: 14px; width: max-content; padding: 8px 18px 8px 8px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(5, 59, 47, .18); color: #053B2F; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.hero-qr img { width: 96px; height: 96px; border-radius: 10px; }
@media (hover: none) { .hero-qr { display: none !important; } }
