/* --------------------------------------------------------------------------
   Плашка о cookie — подключается на всех страницах
   -------------------------------------------------------------------------- */

.cookie {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 60;
    display: none;
    width: 602.88px;
    max-width: calc(100% - 48px);
    padding: 27.06px 32px 36.67px 58.61px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 60px -20px rgba(2, 26, 71, .45);
    font-family: 'Gilroy', Arial, sans-serif;
    color: #000;
}

.cookie.is-open {
    display: block;
}

.cookie__close {
    position: absolute;
    right: 32px;
    top: 17px;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.cookie__close img {
    display: block;
    width: 100%;
    height: 100%;
}

.cookie__text {
    width: 444px;
    max-width: 100%;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 1.44px;
}

.cookie__text + .cookie__text {
    margin-top: 20px;
}

.cookie__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 444px;
    max-width: 100%;
    margin-top: 20px;
}

.cookie__btn {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 44px;
    padding-left: 22px;
    border: 0;
    border-radius: 8px;
    background: #094aaa;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 1.12px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.cookie__btn img {
    flex: 0 0 auto;
    width: 19px;
    height: 17.22px;
}

.cookie__btn--agree {
    gap: 22px;
    padding-left: 25px;
    background: #0aa952;
    font-weight: 700;
    line-height: 21.818px;
}

.cookie__btn--agree img {
    width: 20px;
    height: 20px;
}

@media (max-width: 767px) {
    .cookie {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 20px 20px 24px;
    }

    .cookie__close {
        right: 16px;
        top: 16px;
    }

    .cookie__text {
        width: auto;
        padding-right: 28px;
        font-size: 16px;
        letter-spacing: .8px;
    }

    .cookie__actions {
        width: auto;
    }

    .cookie__btn {
        gap: 16px;
        padding-left: 16px;
        white-space: normal;
    }

    .cookie__btn--agree {
        gap: 16px;
        padding-left: 16px;
    }
}
