/* Предложение установить приложение */
.lapp { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 105; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--paper, #fff); color: var(--ink, #231F45); box-shadow: 0 16px 40px rgba(35, 31, 69, .2), 0 0 0 1px rgba(35, 31, 69, .06); transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.lapp.is-on { transform: none; opacity: 1; }
.lapp[hidden] { display: none; }
body.has-cart-bar .lapp { bottom: calc(84px + env(safe-area-inset-bottom)); }
.lapp__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(35, 31, 69, .08); }
.lapp__text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.lapp__text strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lapp__text span { color: var(--muted, #6B6785); }
.lapp__btn { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--lotus-d, #BF4A66); color: #fff; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.lapp__close { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted, #6B6785); font-size: 22px; line-height: 1; cursor: pointer; }

/* Инструкция для iPhone */
.lapp-ios { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(20, 16, 40, .45); }
.lapp-ios[hidden] { display: none; }
.lapp-ios__card { position: relative; width: 100%; max-width: 420px; padding: 24px 22px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px; background: var(--paper, #fff); color: var(--ink, #231F45); text-align: center; }
.lapp-ios__card .lapp__close { position: absolute; top: 10px; right: 10px; }
.lapp-ios__card .lapp__icon { width: 56px; height: 56px; }
.lapp-ios__title { margin: 12px 0 14px; font-weight: 800; font-size: 19px; }
.lapp-ios__card ol { margin: 0; padding: 0 0 0 20px; text-align: left; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.lapp-ios__card svg { vertical-align: -3px; color: #0A84FF; }

/* «Следить за заказом» */
.lapp-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0; padding: 18px 20px; border-radius: 18px; background: var(--blush-2, #FBF1F3); }
.lapp-follow[hidden] { display: none; }
.lapp-follow__text { flex: 1 1 260px; }
.lapp-follow__text strong { display: block; font-size: 16px; }
.lapp-follow__text span { color: var(--muted, #6B6785); font-size: 14.5px; }
.lapp-follow__msg { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--nori, #1F7A4D); }
.lapp-follow__msg:empty { display: none; }

/* Ссылка «Приложение» в подвале видна, только если установка доступна */
[data-lapp-open] { display: none !important; }
.lapp-can [data-lapp-open] { display: inline-flex !important; }
.lapp-ios ol[hidden] { display: none; }
.mobile-nav__app { align-items: center; gap: 8px; margin-top: 14px; padding: 12px 18px; border-radius: 999px; background: var(--ink, #231F45); color: #fff !important; font-weight: 600; text-decoration: none; }
