.abc-banner{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#fff;
  box-shadow:0 -2px 18px rgba(0,0,0,.18);border-top:1px solid #e3e3e3;padding:18px 16px}
.abc-banner__inner{max-width:1180px;margin:0 auto;display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.abc-banner--modal{top:0;left:0;right:0;bottom:0;background:none;box-shadow:none;
  border-top:0;display:flex;align-items:center;justify-content:center;padding:16px}
.abc-banner__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.abc-banner--modal .abc-banner__inner{position:relative;flex-direction:column;align-items:stretch;
  gap:18px;background:#fff;border-radius:10px;max-width:560px;width:100%;padding:26px 26px 22px;
  box-shadow:0 10px 40px rgba(0,0,0,.3);max-height:88vh;overflow:auto;overscroll-behavior:contain}
.abc-banner--modal .abc-banner__text{flex:none;min-width:0}
.abc-banner--modal .abc-banner__title{font-size:1.2rem}
.abc-banner--modal .abc-banner__actions{flex-direction:column;align-items:stretch;gap:8px}
.abc-banner--modal .abc-btn{width:100%;min-width:0}
.abc-banner--modal .abc-btn--ghost{margin-top:4px}
@media (min-width:576px){
.abc-banner--modal .abc-banner__actions{flex-direction:row;flex-wrap:wrap}
  .abc-banner--modal .abc-banner__actions .abc-btn--accent,
  .abc-banner--modal .abc-banner__actions .abc-btn--primary{flex:1 1 0;width:auto}
  .abc-banner--modal .abc-banner__actions .abc-btn--ghost{flex:1 0 100%;margin-top:0}
}
.abc-banner__text{flex:1 1 420px;min-width:280px}
.abc-banner__title{margin:0 0 6px;font-size:1.05rem;font-weight:700}
.abc-banner__desc{margin:0;font-size:.9rem;line-height:1.5;color:#333}
.abc-link{text-decoration:underline}
.abc-banner__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.abc-btn{font:inherit;font-size:.9rem;font-weight:600;padding:11px 20px;border-radius:6px;
  border:1px solid transparent;cursor:pointer;min-width:150px;text-align:center;line-height:1.2}
.abc-btn--primary{background:#2b2b2b;color:#fff;border-color:#2b2b2b}
.abc-btn--primary:hover{background:#000}
.abc-btn--accent{background:var(--bs-primary,#0b69f6);color:#fff;border-color:var(--bs-primary,#0b69f6)}
.abc-btn--accent:hover{filter:brightness(.92)}
.abc-btn--ghost{background:transparent;color:#2b2b2b;border-color:#c9c9c9;min-width:auto}
.abc-btn:focus-visible{outline:3px solid #4c9ffe;outline-offset:2px}
.abc-modal[hidden],.abc-banner[hidden],.abc-reopen[hidden]{display:none}
.abc-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px}
.abc-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.abc-modal__box{position:relative;background:#fff;border-radius:10px;max-width:640px;width:100%;
  max-height:88vh;display:flex;flex-direction:column;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.abc-modal__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #eee}
.abc-modal__head h2{margin:0;font-size:1.1rem}
.abc-modal__x{background:none;border:0;font-size:1.7rem;line-height:1;cursor:pointer;padding:0 4px}
.abc-modal__body{padding:8px 20px;overflow:auto}
.abc-modal__foot{display:flex;gap:10px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid #eee}
.abc-cat{padding:14px 0;border-bottom:1px solid #f0f0f0}
.abc-cat:last-child{border-bottom:0}
.abc-cat__row{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}
.abc-cat__name{font-weight:600}
.abc-cat__desc{margin:6px 0 0;font-size:.85rem;color:#555;line-height:1.45}
.abc-switch{width:20px;height:20px;flex:0 0 auto;cursor:pointer}
.abc-switch[disabled]{opacity:.55;cursor:not-allowed}
.abc-noscroll{overflow:hidden}
@media(max-width:640px){
  .abc-banner__actions{width:100%}
  .abc-btn{flex:1 1 100%;min-width:0}
}
@keyframes abc-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes abc-rise { from { opacity: 0; transform: translateY(8px) scale(.985) }
                        to { opacity: 1; transform: none } }
@keyframes abc-slide-up { from { transform: translateY(100%) } to { transform: none } }
.abc-banner--bar:not([hidden]){animation:abc-slide-up .22s ease-out}
.abc-banner--modal:not([hidden]) .abc-banner__backdrop{animation:abc-fade .18s ease-out}
.abc-banner--modal:not([hidden]) .abc-banner__inner{animation:abc-rise .2s ease-out}
.abc-modal:not([hidden]) .abc-modal__backdrop{animation:abc-fade .18s ease-out}
.abc-modal:not([hidden]) .abc-modal__box{animation:abc-rise .2s ease-out}
@keyframes abc-fade-out { to { opacity: 0 } }
.abc-banner.abc-closing,
.abc-modal.abc-closing{animation:abc-fade-out .14s ease-in forwards;pointer-events:none}
.abc-btn{transition:background-color .15s, border-color .15s, color .15s, transform .08s}
.abc-btn:active{transform:translateY(1px)}
.abc-cat__row{transition:background-color .15s;border-radius:6px;padding:2px 6px;margin:0 -6px}
.abc-cat__row:hover{background:rgba(0,0,0,.035)}
.abc-switch{transition:transform .12s}
.abc-cat__row:hover .abc-switch:not([disabled]){transform:scale(1.08)}
.abc-reopen:not([hidden]){animation:abc-fade .25s ease-out}
@media (prefers-reduced-motion: reduce){
  .abc-banner:not([hidden]),
  .abc-banner--bar:not([hidden]),
  .abc-banner--modal:not([hidden]) .abc-banner__backdrop,
  .abc-banner--modal:not([hidden]) .abc-banner__inner,
  .abc-modal:not([hidden]) .abc-modal__backdrop,
  .abc-modal:not([hidden]) .abc-modal__box,
  .abc-banner.abc-closing,
  .abc-modal.abc-closing,
  .abc-reopen:not([hidden]){animation:none}
  .abc-btn,.abc-cat__row,.abc-switch,.abc-reopen{transition:none}
  .abc-btn:active,.abc-cat__row:hover .abc-switch:not([disabled]){transform:none}
}
.abc-reopen{
  position:fixed;left:14px;bottom:14px;z-index:99998;
  width:44px;height:44px;padding:0;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:50%;
  box-shadow:0 2px 10px rgba(0,0,0,.14);
  cursor:pointer;transition:transform .15s, box-shadow .15s;
}
.abc-reopen:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.2)}
.abc-reopen:focus-visible{outline:2px solid #0d6efd;outline-offset:2px}
.abc-reopen__ciastko{fill:#c98a3f}
.abc-reopen__okruch{fill:#5b3a1a}
@media (max-width:991px){.abc-reopen--desktop{display:none}}
@media (max-width:576px){.abc-reopen{width:40px;height:40px;left:10px;bottom:10px}}
.abc-footer{padding:0;text-align:center}
.abc-footer__link{display:inline-flex;align-items:center;gap:6px;background:none;border:0;
padding:5px 8px;font:inherit;font-size:.8125rem;color:inherit;opacity:.65;cursor:pointer;
  text-decoration:none}
.abc-footer__link:hover,
.abc-footer__link:focus-visible{opacity:1;text-decoration:underline}
.abc-footer__link:focus-visible{outline:2px solid var(--bs-primary,#0d6efd);outline-offset:2px}
