.cookie-consent[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 10000;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: #fff;
    font-family: Gilroy-Regular, Arial, sans-serif;
}

.cookie-consent__content {
    display: flex;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #12161d;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cookie-consent__text {
    max-width: 680px;
}

.cookie-consent__text h2 {
    margin: 0 0 8px;
    color: #fff;
    font: 22px/1.2 Gilroy-ExtraBold, Arial, sans-serif;
}

.cookie-consent__text p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.5;
}

.cookie-consent__text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.cookie-consent__button,
.cookie-settings-button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 8px;
    font-family: Gilroy-SemiBold, Arial, sans-serif;
}

.cookie-consent__button--primary {
    background: var(--brand-color);
    color: #fff;
}

.cookie-consent__button--secondary {
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
}

.cookie-consent__button:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.cookie-settings-button {
    padding: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .cookie-consent__content,
    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__content {
        padding: 20px;
        gap: 18px;
    }

    .cookie-consent__button {
        width: 100%;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    .cookie-consent__actions {
        flex-direction: row;
    }

    .cookie-consent__button {
        width: auto;
    }
}
