.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;

    background: #25292d;
    color: #ffffff;

    border: 1px solid #444444;
    border-radius: 8px;

    padding: 22px 25px;

    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

.cookie-consent__container {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.cookie-consent__title i {
    margin-right: 6px;
}

.cookie-consent__text {
    font-size: 14px;
    line-height: 1.6;
    color: #eeeeee;
    margin-bottom: 6px;
}

.cookie-consent__link {
    color: #cccccc;
    font-size: 13px;
    text-decoration: underline;
}

.cookie-consent__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-consent__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent__button {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.cookie-consent__button--accept {
    background: #ffffff;
    color: #25292d;
    border: 1px solid #ffffff;
}

.cookie-consent__button--accept:hover {
    background: #dddddd;
    border-color: #dddddd;
}

.cookie-consent__button--reject {
    background: transparent;
    color: #ffffff;
    border: 1px solid #aaaaaa;
}

.cookie-consent__button--reject:hover {
    background: #444444;
}

/* Планшеты */

@media (max-width: 991px) {
    .cookie-consent__container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-consent__buttons {
        justify-content: flex-end;
    }
}

/* Мобильные устройства */

@media (max-width: 560px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 16px;
    }

    .cookie-consent__title {
        font-size: 16px;
    }

    .cookie-consent__text {
        font-size: 13px;
    }

    .cookie-consent__buttons {
        width: 100%;
        gap: 10px;
    }

    .cookie-consent__button {
        flex: 1;
        padding: 11px 10px;
    }
}

.cookie-consent {
    z-index: 2147483646;
}

.cookie-consent__button--accept,
.cookie-consent__button--reject {
    background: #ffffff;
    color: #25292d;
    border: 1px solid #ffffff;
}

.cookie-consent__button--accept:hover,
.cookie-consent__button--reject:hover {
    background: #dddddd;
    color: #25292d;
    border-color: #dddddd;
}