/* Recreates Kangen's compact right-bottom cookie card; adapted only to BEM-MSK colors. */
.bem-cookie,.bem-cookie *{box-sizing:border-box}
.bem-cookie{position:fixed;z-index:9900;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:min(420px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:17px;border:1px solid #d8ddd0;border-radius:20px;background:#f9faf5;color:#182410;box-shadow:0 12px 40px rgb(24 36 16 / 12%);font-family:Manrope,system-ui,sans-serif;font-size:13px;line-height:1.5}
.bem-cookie[hidden],.bem-cookie-shade[hidden],.bem-cookie__settings[hidden],.bem-cookie__utility-button[hidden]{display:none!important}
.bem-cookie p{margin:0 0 8px}.bem-cookie a{color:#516139;text-underline-offset:3px}
.bem-cookie__actions{display:flex;flex-wrap:wrap;gap:10px}
.bem-cookie__button{flex:1 1 120px;min-width:0;min-height:44px;padding:9px 14px;border:1px solid #182410;border-radius:28px;background:transparent;color:#182410;font:inherit;font-weight:650;line-height:1.35;cursor:pointer}
.bem-cookie__button--primary{background:#182410;color:#fff}
.bem-cookie__button:hover:not(:disabled){border-color:#87854c}
.bem-cookie__button:disabled{opacity:.48;cursor:not-allowed}
.bem-cookie :is(a,button,input):focus-visible,.bem-cookie-footer-link:focus-visible{outline:2px solid #87854c;outline-offset:3px}
.bem-cookie__utility{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
.bem-cookie__utility-button{padding:4px 0;border:0;background:transparent;color:#516139;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:12px;cursor:pointer}
.bem-cookie__utility-button--save{font-weight:700}
.bem-cookie__status{margin:8px 0 0;font-size:12px;color:#516139}
.bem-cookie__status:empty{display:none}
.bem-cookie__settings{margin:10px 0 12px;border-block:1px solid #d8ddd0}
.bem-cookie__preference{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;color:#182410}
.bem-cookie__preference+.bem-cookie__preference{border-top:1px solid #e4e8df}
.bem-cookie__preference strong,.bem-cookie__preference small{display:block}
.bem-cookie__preference strong{font-weight:650}
.bem-cookie__preference small{font-size:11px;color:#516139}
.bem-cookie__preference input{width:18px;height:18px;flex:none;accent-color:#516139}
.bem-cookie-shade{position:fixed;inset:0;z-index:9899;background:rgb(0 0 0 / 18%);opacity:0;pointer-events:none;transition:opacity .22s ease}
.bem-cookie-shade.is-visible{opacity:1}
.bem-cookie-footer-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bem-cookie-footer-link:hover{opacity:.75}
@media(max-width:540px){.bem-cookie{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:10px;border-radius:18px;font-size:13px;line-height:1.4}.bem-cookie__actions button{flex-basis:120px}}
@media(prefers-reduced-motion:reduce){.bem-cookie-shade{transition:none}}
.bem-cookie-map-button{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;margin:12px;padding:11px 18px;border:1px solid #516139;border-radius:999px;color:#182410;background:#f9faf5;font:600 13px Manrope,sans-serif;cursor:pointer}
.bem-cookie-map-button:hover{background:#e7eddf}
.bem-native-cookie .massage-map-wrapper.mm-awaiting-consent #massage-map::before{content:"Карта доступна после разрешения внешних сервисов";padding:20px;text-align:center;color:#516139}
