.site-topbar { position: relative; z-index: 99; background: #4b24e8; color: #fff; }
body:not(.home) > .site-topbar { margin-top: calc(-1 * var(--header-height)); margin-bottom: var(--header-height); }
.site-topbar--biala { background: #fff; color: #4b24e8; border-bottom: 1px solid #dfe2ec; }
.site-topbar--akcent { background: #3210c9; }
.site-topbar__inner { width: min(1480px, calc(100% - 80px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.site-topbar__text { margin: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.site-topbar__actions, .site-popup__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-topbar__cta, .site-popup__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; border: 1px solid currentColor; border-radius: 9px; background: #fff; color: #4b24e8; font-weight: 700; text-decoration: none; }
.site-topbar--biala .site-topbar__cta, .site-popup__cta { background: #4b24e8; color: #fff; }
.site-topbar__cta:hover, .site-topbar__cta:focus-visible, .site-popup__cta:hover, .site-popup__cta:focus-visible { text-decoration: underline; }
.site-topbar__cta:focus-visible, .site-popup__cta:focus-visible, .site-popup__close:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.site-popup { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 20px; color: #070a20; background: #fff; }
.site-popup::backdrop { background: rgb(7 10 32 / 55%); backdrop-filter: blur(6px); }
html:has(.site-popup[open]) { overflow: hidden; }
.site-popup__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: #070a20; cursor: pointer; }
.site-popup__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.site-popup__body { padding: 28px; }
.site-popup__title { margin: 0 0 12px; }
.site-popup__text { white-space: pre-line; overflow-wrap: anywhere; }
.site-popup__cta { min-height: 44px; }
.site-popup__cta--secondary { background: #fff; color: #4b24e8; }
@media (max-width: 767px) {
  .site-topbar__inner { width: calc(100% - 32px); align-items: flex-start; flex-direction: column; }
  .site-popup__body { padding: 24px; }
}
