/* Плавающая кнопка мессенджеров */
.msgr{position:fixed;right:20px;bottom:20px;z-index:1500;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:var(--teni-font,"Onest","Avenir Next","Helvetica Neue",Arial,sans-serif);color:var(--teni-graphite,#292826);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.msgr.is-ready:not(.is-away){opacity:1;visibility:visible;transform:none;transition-delay:0s}
.msgr[hidden]{display:none}
.msgr button,.msgr a{font:inherit}

.msgr__fab{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 20px 0 16px;border:1px solid rgba(251,249,244,.45);background:var(--teni-graphite,#292826);color:var(--teni-ivory,#fbf9f4);font-size:15px;font-weight:600;letter-spacing:.01em;cursor:pointer;box-shadow:0 0 0 1px rgba(25,25,24,.35),0 6px 22px rgba(25,25,24,.28);transition:background .2s ease,box-shadow .2s ease}
.msgr__fab:hover{background:var(--teni-shadow,#191918);box-shadow:0 8px 26px rgba(25,25,24,.3)}
.msgr__fab:focus-visible,.msgr__item:focus-visible,.msgr__teaser-close:focus-visible{outline:2px solid var(--teni-sunlight,#c8a06b);outline-offset:2px}
.msgr__fab-icon{display:inline-flex;width:22px;height:22px}
.msgr__fab-icon svg{width:22px;height:22px}
.msgr__dot{position:absolute;top:-4px;right:-4px;width:11px;height:11px;border-radius:50%;background:var(--teni-sunlight,#c8a06b);border:2px solid var(--teni-paper,#f3efe7)}

.msgr__panel{width:min(320px,calc(100vw - 32px));padding:20px 20px 16px;background:var(--teni-ivory,#fbf9f4);border:1px solid var(--teni-border,rgba(41,40,38,.18));box-shadow:0 18px 50px rgba(25,25,24,.22)}
.msgr__panel[hidden],.msgr__teaser[hidden]{display:none}
.msgr__title{margin:0 0 4px;font-size:18px;font-weight:600;line-height:1.25}
.msgr__lead{margin:0 0 14px;color:var(--teni-text-muted,#6d6258);font-size:14px;line-height:1.45}
.msgr__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--teni-border,rgba(41,40,38,.18))}
.msgr__list li{border-bottom:1px solid var(--teni-border,rgba(41,40,38,.18))}
.msgr__item{display:flex;align-items:center;gap:14px;width:100%;min-height:58px;padding:8px 2px;border:0;background:none;color:inherit;text-align:left;text-decoration:none;cursor:pointer}
.msgr__item:hover .msgr__arrow{transform:translate(2px,-2px)}
.msgr__item:hover strong{text-decoration:underline;text-underline-offset:3px}
.msgr__icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--teni-border,rgba(41,40,38,.18));background:var(--teni-paper,#f3efe7)}
.msgr__icon svg{width:20px;height:20px}
.msgr__text{display:flex;flex-direction:column;min-width:0;flex:1}
.msgr__text strong{font-size:15px;font-weight:600;line-height:1.3}
.msgr__text small{color:var(--teni-text-muted,#6d6258);font-size:13px;line-height:1.35}
.msgr__arrow{flex:none;font-size:16px;transition:transform .2s ease}
.msgr__hours{margin:12px 0 0;color:var(--teni-text-muted,#6d6258);font-size:12px;line-height:1.4}

.msgr__teaser{position:relative;max-width:260px;padding:12px 34px 12px 14px;background:var(--teni-ivory,#fbf9f4);border:1px solid var(--teni-border,rgba(41,40,38,.18));box-shadow:0 10px 30px rgba(25,25,24,.16);animation:msgr-in .3s ease both}
.msgr__teaser p{margin:0;font-size:14px;line-height:1.4;cursor:pointer}
.msgr__teaser-close{position:absolute;top:4px;right:4px;width:28px;height:28px;border:0;background:none;color:var(--teni-text-muted,#6d6258);font-size:20px;line-height:1;cursor:pointer}
@keyframes msgr-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

@media(max-width:767px){
  .msgr{right:12px;bottom:calc(14px + env(safe-area-inset-bottom))}
  body:has(.sticky-cta.is-visible) .msgr{bottom:calc(80px + env(safe-area-inset-bottom))}
  .msgr__fab{width:52px;padding:0;justify-content:center}
  .msgr__fab-label{display:none}
  .msgr__teaser{max-width:230px}
}
@media(prefers-reduced-motion:reduce){.msgr,.msgr__teaser,.msgr__arrow,.msgr__fab{transition:none;animation:none}}
