.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 99998;
    width: calc(100% - 32px);
    max-width: 960px;
    box-sizing: border-box;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    color: #3e3e3e;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

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

.cookie-consent__body {
    flex: 1;
}

.cookie-consent__text {
    margin: 0;
}

.cookie-consent__text a {
    display: inline;
    color: #79bbcb;
    text-decoration: underline;
}

.cookie-consent__settings {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-consent__option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
}

/* reset.css сайта скрывает нативные чекбоксы (display: none; appearance: none) */
.cookie-consent__option input {
    display: inline-block !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    margin: 2px 0 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #79bbcb;
    cursor: pointer;
}

.cookie-consent__option input:disabled {
    cursor: default;
}

.cookie-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 220px;
}

.cookie-consent__btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 60px;
    border: 1px solid #79bbcb;
    background: #fff;
    color: #79bbcb;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent__btn_primary {
    background: #79bbcb;
    color: #fff;
}

.cookie-consent__btn_link {
    border-color: transparent;
    height: auto;
    padding: 4px 0;
    font-weight: 500;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        bottom: 16px;
        padding: 16px;
        font-size: 13px;
        line-height: 18px;
    }

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