/* Баннер согласия на cookie (ECUTRU-5): внизу поверх страницы, ниже окон входа и регистрации (arcticmodal — 1000).
   Кнопки одного вида и размера: отказ не хуже согласия. */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
    color: #212121;
    font-size: 14px;
    line-height: 1.45;
}

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

.cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    box-sizing: border-box;
}

.cookie-consent__text {
    flex: 1 1 auto;
    margin: 0;
}

.cookie-consent__link {
    color: inherit;
    text-decoration: underline;
}

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

.cookie-consent__button {
    min-width: 180px;
    padding: 12px 18px;
    border: 2px solid #212121;
    border-radius: 4px;
    background: #fff;
    color: #212121;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    background: #212121;
    color: #fff;
}

@media (max-width: 767px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px;
    }

    .cookie-consent {
        font-size: 13px;
    }

    .cookie-consent__buttons {
        flex-direction: column;
    }

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