/* Баннер cookie (site-analytics.js). Цвета — из переменных палитры сайта. */
.hg-cookie{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;padding:0 16px max(16px,env(safe-area-inset-bottom));pointer-events:none}
.hg-cookie[hidden]{display:none}
.hg-cookie__inner{pointer-events:auto;max-width:1120px;margin:0 auto;display:flex;align-items:center;gap:18px 28px;padding:18px 22px;
  background:var(--surface,#fff);color:var(--ink,#211c26);border:1px solid var(--line,#ddd);border-radius:18px;box-shadow:0 18px 50px #2a1f3326}
.hg-cookie__copy{flex:1;min-width:0}
.hg-cookie__title{font-size:15px;line-height:1.3;letter-spacing:-.2px;margin:0 0 6px;color:var(--ink,#211c26)}
.hg-cookie__text{font-size:13px;line-height:1.6;margin:0;color:var(--muted,#5d5563)}
.hg-cookie__text a{color:var(--accent-deep,var(--accent,inherit));text-decoration:underline}
.hg-cookie__actions{display:flex;gap:10px;flex-shrink:0}
.hg-cookie__btn{appearance:none;font:inherit;font-size:13px;font-weight:600;line-height:1.3;min-height:46px;min-width:150px;padding:12px 20px;border-radius:99px;cursor:pointer;
  background:var(--surface-low,var(--paper,#fff));color:var(--ink,#211c26);border:1px solid var(--accent,#7a5a8c);transition:background .15s,color .15s}
.hg-cookie__btn:hover{background:var(--accent-soft,#eee)}
.hg-cookie__btn:focus-visible,.hg-cookie__text a:focus-visible{outline:3px solid var(--accent,#7a5a8c);outline-offset:2px}
html.hg-cookie-open body{padding-bottom:calc(var(--hg-cookie-h,0px) + 8px)}
.footer-legal [data-cookie-settings]{cursor:pointer}
@media screen and (max-width:760px){
  .hg-cookie{padding:0 8px max(8px,env(safe-area-inset-bottom))}
  .hg-cookie__inner{flex-direction:column;align-items:stretch;padding:14px 14px 12px;border-radius:14px;gap:12px}
  .hg-cookie__title{font-size:14px;margin-bottom:4px}
  .hg-cookie__text{font-size:12px;line-height:1.5}
  .hg-cookie__actions{gap:8px}
  .hg-cookie__btn{flex:1 1 0;min-width:0;min-height:44px;padding:10px 12px;font-size:12.5px}
}
@media print{.hg-cookie{display:none!important}html.hg-cookie-open body{padding-bottom:0}}
