:root{
    --width-panel-cookie-dekstop:1400px;
    --width-panel-cookie-mobile:calc(100% - 40px);
    --cookie-main-font:"Montserrat", sans-serif;
}
.cookie-panel{
    display: none;
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform:translate(-50%,0);

    width: 100%;
    max-width: var(--width-panel-cookie-dekstop);
    padding: 20px;
    background: #fff;
    border: 1px solid #E9EBEF;
    border-radius: 16px;
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 100000;
}

.cookie-panel .cookie-panel__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-panel--wrapper{
    display: flex;
    align-items: center;
    gap: 18px;
}

.cookie-panel .cookie-panel__icon {
    flex-shrink: 0;
}

.cookie-panel .cookie-panel__btn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 9px 16px;
    background: #303481;
    border-radius: 8px;

    font-size: 15px;
    line-height: 22px;
    font-family: var(--cookie-main-font);
    font-weight: 500;
    outline: none;
    border: 0;
    color: #fff;
    transition: background-color .3s;

    &:hover{
        background: #3e43a6;
    }
}

.cookie-panel .cookie-panel__text{
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    font-family: Montserrat-Medium, sans-serif;
    letter-spacing: 0.5px;
}

.cookie-panel .cookie-panel__text a{
    color: #3651be;
    text-decoration: none;
}

.cookie-panel .cookie-panel__text a:hover{
    opacity: .75;
}



@media (max-width: 767px) {
    .cookie-panel{
        width: var(--width-panel-cookie-mobile);
        bottom: 20px;
        padding: 16px;

        border-radius: 12px;
        box-shadow: 0 -10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .cookie-panel .cookie-panel__btn{
        padding: 5px 16px;
    }

    .cookie-panel--wrapper{
        align-items: flex-start;
    }

    .cookie-panel .cookie-panel__icon svg{
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 570px) {

    .cookie-panel .cookie-panel__content{
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }

    .cookie-panel .cookie-panel__icon {
        flex: 0 0 28px;
        margin-top: 5px;
    }

    .cookie-panel .cookie-panel__text{
        flex: 0 0 calc(100% - 48px);
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
    }

    .cookie-panel .cookie-panel__buttons {
        margin-left: 48px;
    }

    .cookie-panel .cookie-panel__btn{
        height: 32px;
        font-size: 14px;
    }
}