/*------------------
    Cookie banner
------------------*/
.cookie_banner
{
    position: fixed;
    z-index: 9000;
    bottom: 30px;
    left: 30px;

    width: 420px;
    max-width: calc(100% - 24px);
    padding: 28px;

    color: #151824;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(21, 24, 36, .18);

    font-family: 'CeraPro', Arial, sans-serif;

    animation: cookieIn .35s ease;
}

.cookie_banner[hidden]
{
    display: none;
}

.cookie_banner.out
{
    animation: cookieOut .25s ease forwards;
}

@keyframes cookieIn
{
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

@keyframes cookieOut
{
    to { opacity: 0; transform: translateY(20px); }
}


.cookie_banner .head
{
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;
}

.cookie_banner .ico
{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;
    background: #ecf2ff;
}

.cookie_banner .title
{
    font-family: 'Jeko', 'CeraPro', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.cookie_banner .text
{
    color: #6d7995;

    font-size: 15px;
    line-height: 1.5;
}

.cookie_banner a
{
    color: inherit;

    text-decoration: underline;
    text-underline-offset: 2px;
}


/* Кнопка */
.cookie_banner .btns
{
    display: flex;

    margin-top: 20px;
}

.cookie_banner .btns .btn_primary
{
    flex: 1 1 auto;

    padding: 14px 20px;

    cursor: pointer;

    color: #fff;
    border: 0;
    border-radius: 10px;
    background: #6d7995;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;

    transition: background .2s;
}

.cookie_banner .btns .btn_primary:hover
{
    background: #151824;
}


/* Ссылка в подвале */
footer .cookie_settings
{
    margin-top: 6px;
    padding: 0;

    cursor: pointer;

    color: inherit;
    border: 0;
    background: none;

    font: inherit;
    line-height: 20px;

    text-decoration: underline;
    text-underline-offset: 2px;
}

footer .cookie_settings:hover
{
    text-decoration: none;
}


@media (max-width: 767px)
{
    .cookie_banner
    {
        right: 12px;
        bottom: 12px;
        left: 12px;

        width: auto;
        max-width: none;
        padding: 22px 20px;
    }

    .cookie_banner .title
    {
        font-size: 18px;
    }

    .cookie_banner .text
    {
        font-size: 14px;
    }
}
