.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    bottom: 20px;

    width: calc(100% - 40px);
    max-width: 520px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 20px;

    background: #fff;
    color: #222;

    border-radius: 8px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.18);

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;

    z-index: 999999;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__link {
    color: inherit;

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__link:hover {
    text-decoration: none;
}

.cookie-banner__button {
    flex-shrink: 0;

    padding: 10px 20px;

    border: 0;
    border-radius: 5px;

    background: #222;
    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.cookie-banner__button:hover {
    opacity: 0.85;
}

.cookie-banner__button:active {
    transform: scale(0.97);
}

.cookie-banner__button:focus-visible,
.cookie-banner__link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}


@media (max-width: 600px) {

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;

        width: auto;

        flex-direction: column;
        align-items: stretch;

        gap: 14px;

        padding: 16px;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

.footer__privacy-link {
    display: inline-block;
    margin-top: 12px;

    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;

    text-underline-offset: 3px;

    opacity: 0.75;

    transition: opacity 0.2s ease;
}

.footer__privacy-link:hover {
    color: #ffffff;
    opacity: 1;
}

.footer__privacy-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}