.sparta-cookie-notice[hidden] { display: none !important; }
.sparta-cookie-notice {
    box-sizing: border-box;
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1200;
    width: min(558px, calc(100% - 60px));
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    padding: 26px 52px 30px 30px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 45px 90px rgba(27,30,31,.16), 0 6px 24px rgba(27,30,31,.13);
    color: #2f3233;
    font: 400 16px/1.5 Manrope, Helvetica, Arial, sans-serif;
    animation: sparta-cookie-enter .2s ease-out both;
}
.sparta-cookie-notice .sparta-cookie-notice__text { margin: 0 0 18px; font: inherit; }
.sparta-cookie-notice .sparta-cookie-notice__text a {
    color: #a91e1e;
    text-decoration: underline;
    text-decoration-color: rgba(169,30,30,.55);
    text-underline-offset: .15em;
}
.sparta-cookie-notice .sparta-cookie-notice__text a:hover { text-decoration-color: currentColor; }
.sparta-cookie-notice__close, .sparta-cookie-notice__ok { appearance: none; cursor: pointer; }
.sparta-cookie-notice__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #606668;
    background: transparent;
}
.sparta-cookie-notice__close::before, .sparta-cookie-notice__close::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 12px;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
}
.sparta-cookie-notice__close::after { transform: rotate(-45deg); }
.sparta-cookie-notice__close:hover { color: #a91e1e; background: #fff3f3; }
.sparta-cookie-notice__ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 122px;
    padding: 0 26px;
    border: 1px solid rgba(169,30,30,.46);
    border-radius: 24px;
    background: #fff;
    color: #a91e1e;
    font: 700 12px/1 Manrope, Helvetica, Arial, sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.sparta-cookie-notice__ok:hover { background: #a91e1e; border-color: #a91e1e; color: #fff; }
.sparta-cookie-notice :focus-visible { outline: 2px solid #a91e1e; outline-offset: 3px; }
.sparta-footer-privacy { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 9px; }
footer .sparta-footer-privacy a { color: #fff; font-size: 13px; text-decoration: underline; text-underline-offset: .16em; }
.sparta-cookie-document { max-width: 850px; line-height: 1.65; overflow-wrap: anywhere; }
.sparta-cookie-document h2 { font-size: clamp(17px, 2.2vw, 22px); margin: 1.35em 0 .4em; }
.sparta-cookie-document p { margin: 0 0 1em; }
.sparta-cookie-document a { color: #a91e1e; text-decoration: underline; text-underline-offset: .15em; }
@keyframes sparta-cookie-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
    .sparta-cookie-notice {
        left: 15px;
        right: 15px;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-height: calc(100vh - 108px);
        max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px));
        padding: 20px 47px 20px 20px;
        font-size: 14px;
    }
    .sparta-cookie-notice .sparta-cookie-notice__text { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .sparta-cookie-notice { animation: none; } }
