.cookie-popup[hidden] { display: none !important; }
.cookie-popup { position: fixed; inset: 0; z-index: 1200; }
.cookie-popup__backdrop { position: absolute; inset: 0; background: rgba(26,33,47,.42); }
.cookie-popup__dialog { position: absolute; bottom: 20px; left: 20px; width: calc(100% - 40px); max-width: 520px; box-sizing: border-box; padding: 22px; color: #1a212f; background: #fff; border: 1px solid rgba(26,33,47,.1); border-radius: 12px; box-shadow: 0 16px 40px rgba(26,33,47,.18); }
.cookie-popup__close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; padding: 0; cursor: pointer; background: transparent; border: 0; }
.cookie-popup__close span { position: absolute; top: 50%; left: 50%; width: 18px; height: 1px; background: #1a212f; }
.cookie-popup__close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.cookie-popup__close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
.cookie-popup .cookie-popup__title { margin: 0 28px 10px 0; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.25; }
.cookie-popup__text { margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
.cookie-popup__text a { color: var(--theme-base-color); text-decoration: underline; text-underline-offset: 3px; }
.cookie-popup__actions { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
.cookie-popup__actions .cookie-popup__btn { width: 100%; max-width: 100%; min-width: 0; min-height: 40px; padding: 9px 6px; font-size: 12px; white-space: normal; }
@media (max-width: 600px) {
    .cookie-popup__dialog { bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 18px; max-height: calc(100% - 24px); overflow-y: auto; }
    .cookie-popup__actions { grid-template-columns: 1fr; }
}
