/* Baner zgody na cookies: ciemny panel w prawym dolnym rogu, akcent #940000 */
.aoConsent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 100001; display: flex; justify-content: flex-end; pointer-events: none; }
.aoConsent[hidden] { display: none; }
.aoConsent__box {
  pointer-events: auto; width: min(460px, 100%); padding: 22px 22px 18px; border-radius: 16px;
  background: linear-gradient(180deg, #1c1c1c, #111); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.7), 0 0 0 1px rgba(148,0,0,.25); color: #f2efe9;
  font: 400 14px/1.55 'Open Sans', sans-serif;
}
.aoConsent__title { margin: 0 0 8px; font: 800 15px/1.2 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.aoConsent__text { margin: 0 0 14px; color: rgba(255,255,255,.78); }
.aoConsent__text a { color: #fff; text-decoration: underline; }
.aoConsent__panel { display: grid; gap: 10px; margin: 0 0 14px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); max-height: 40vh; overflow: auto; }
.aoConsent__panel[hidden] { display: none; }
.aoConsent__opt { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 13px; color: rgba(255,255,255,.8); cursor: pointer; }
.aoConsent__opt input { margin: 3px 0 0; accent-color: #940000; width: 16px; height: 16px; }
.aoConsent__opt strong { color: #fff; }
.aoConsent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.aoConsent__btn {
  flex: 1 1 auto; padding: 10px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #fff; font: 800 12px/1 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.aoConsent__btn:hover { background: rgba(255,255,255,.12); }
.aoConsent__btn--primary { background: #940000; border-color: #940000; }
.aoConsent__btn--primary:hover { background: #b00000; }
.aoConsent__btn--ghost { background: transparent; }
.aoConsent__btn--save { display: none; }
.aoConsent__panel:not([hidden]) ~ .aoConsent__btns .aoConsent__btn--save { display: block; }
.aoConsent__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) { .aoConsent { right: 8px; bottom: 8px; left: 8px; } .aoConsent__box { padding: 16px; } }
