/* Плашка «Установить приложение». Только токены: обе темы. Разметка: templates/partials/install_app_bar.html */
.install-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1060;
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: var(--surface-solid, var(--bs-body-bg)); color: var(--text, var(--bs-body-color));
    border: 1px solid var(--line, var(--bs-border-color)); border-radius: 18px;
    box-shadow: 0 10px 30px rgb(0 0 0 / .18);
}
.install-bar[hidden] { display: none; }
.install-bar img { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.install-text span { color: var(--muted); }
.install-go { flex: none; border: 0; border-radius: 999px; padding: 12px 20px; min-height: 44px; font-weight: 700; font-size: .95rem; background: var(--accent); color: var(--on-accent, #fff); }
.install-close { flex: none; border: 0; background: none; color: var(--muted); padding: 12px; min-width: 44px; min-height: 44px; }
@media (min-width: 768px) { .install-bar { display: none !important; } }
/* Кнопка «Купить» на карточке товара и цена в калькуляторе важнее: плашка установки уступает им место */
body:has(.pd-sticky-buy.is-visible) .install-bar,
body:has(.calc-price-bar) .install-bar { display: none; }
body:has(.pd-sticky-buy.is-visible),
body:has(.calc-price-bar) { --install-bar-h: 0px; }
