.cookie-consent {
    position: fixed;
    z-index: 1000;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(380px, calc(100% - 32px));
    box-sizing: border-box;
    padding: 18px;
    color: #212428;
    background: #fff;
    border: 1px solid #dadde0;
    border-radius: 9px;
    box-shadow: 0 4px 22px rgba(23, 33, 41, .13);
    font-size: 14px;
    line-height: 1.48;
    animation: cookie-consent-in .2s ease-out;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__title { display: block; margin: 0 26px 8px 0; font-size: 17px; }
.cookie-consent p { margin: 0 0 8px; }
.cookie-consent a, .cookie-legal-links a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent a { color: #a21d25; }
.cookie-consent__actions, .cookie-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cookie-consent__button, .cookie-consent__close, .cookie-legal-links button { font: inherit; cursor: pointer; }
.cookie-consent__button {
    padding: 8px 12px;
    min-height: 44px;
    border: 1px solid #9ca0a5;
    border-radius: 6px;
    color: #212428;
    background: #fff;
}
.cookie-consent__button--primary { background: rgb(229, 52, 61); border-color: rgb(229, 52, 61); color: #111; font-weight: 700; }
.cookie-consent__close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #212428;
    font-size: 22px;
}
.cookie-consent :focus-visible, .cookie-legal-links :focus-visible { outline: 2px solid #a21d25; outline-offset: 2px; }
.cookie-legal-links { padding-block: 8px; column-gap: 16px; }
.cookie-legal-links button { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; }
body:has(dialog[open], .hystmodal--active) .cookie-consent { visibility: hidden; pointer-events: none; }
@keyframes cookie-consent-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-consent { animation: none; } }

.modal-form__check + .privacy-form-link { display: inline-block; margin: 4px 0 12px; }
.cookie-map { width: 100%; height: 360px; border: 0; }
