.cookies {
    position: fixed;
    max-width: 600px;
    background-color: #F5F5F5;
    padding: 20px;
    background: #F5F5F5 url(/wp-content/themes/djamsy/img/icons/popup-bg.svg) calc(100% + 4.6875rem) 50% no-repeat;
    border-radius: 1.25rem;
    border: 0.3125rem solid rgba(19, 97, 146, 0.05);
    right: 0;
    bottom: 0;
    margin: 20px;
    z-index: 1001;

    display: none;
    opacity: 0;
    transform: translateY(20px);

    transition: opacity .3s ease, transform .3s ease;
}
.cookies p{
    margin: 0;
}
.cookies__title{
    margin-bottom: 12px;
    font-weight: bold;
}

.cookies__about{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.2;
}

.cookies__action{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


.cookies__action-main{
    display: flex;
    gap: 8px;
}

.btn--ghost{
    background-color: transparent;
    background: none;
    outline: none;
    border: 1px solid #136192;
    border-radius: 3.125rem;
    color: #136192;
    opacity: 0.7;
}
.btn--ghost:hover{
    opacity: 1;
}

.cookies__action-setup{
    border:none;
}

@media (max-width: 600px){
    .cookies__action, .cookies__action-main{
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .cookies__action, .cookies__action-main, .cookies__action .b-btn{
        width: 100%;
    }
}

.cookies__setup{
    display: none;
}

.cookies__navigation{
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1;
    width: 100%;
    border: none;
    border-bottom:1px solid rgb(236 240 240);
    color:#5D727E;
    cursor: pointer;
    outline: none;    
    background-color: transparent;
    margin-bottom: 12px;
    transition: all .3s ease,
}
.cookies__navigation:hover{
    color:#136192;
}
.cookies__list{
    margin-bottom: 20px;
    border-top:1px solid rgb(219 219 219);
}
.setup__item-heading-title{
    cursor: pointer;
    font-weight: bold;
    line-height: 1.1;

}
.setup__item{
    padding: 12px 0;
    border-bottom:1px solid rgb(219 219 219);
}
.setup__item-heading{
    justify-content: space-between;
    align-items: center;
    display: flex;
    font-size: 14px;
}
.setup__item-heading-title{
    position: relative;
    padding-left: 20px;
    line-height: 1.1;
    color: #5D727E;
    transition: all .3s ease;
}
.setup__item-heading-title:hover{
    color: #136192;
}


.setup__item-heading-title:before,
.setup__item-heading-title:after{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:12px;
    height:1px;
    background:#5D727E;
    transform-origin:center;
    transition:
        transform .3s ease,
        background .2s ease,
        opacity .2s ease;
}

.setup__item-heading-title:hover:before,
.setup__item-heading-title:hover:after{
    background:#136192;
}
.setup__item-heading-title:before{
    transform:translateY(-50%);
}
.setup__item-heading-title:after{
    transform:translateY(-50%) rotate(90deg);
}
.setup__item-heading-title.active:after{
    opacity:0;
    transform:translateY(-50%) rotate(90deg) scaleY(.2);
}

.setup__item-description{
    font-size: 14px;
    line-height: 1.2;
}
.setup__item-title__action .action--default{
    color:#657B87;
}

.switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer
}

.switch__text {
    display: inline-block;
    width: 75px;
    user-select: none;
    font-size: 14px;
}

.switch__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

.switch__slider {
    display: block;
    position: relative;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
    background: #d9d9d9;
    border-radius: 999px;
    transition: background .25s ease
}

.switch__slider::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 24px;
    height: 24px;
    background: #f8f8f6;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform .25s ease
}

.switch__input:checked+.switch__slider {
    background-color: #136192;
    background: -webkit-gradient(linear, left top, right top, from(#136192), to(#319876));
    background: -o-linear-gradient(left, #136192 0%, #319876 100%);
    background: linear-gradient(90deg, #136192 0%, #319876 100%);
}

.switch__input:checked+.switch__slider::before {
    transform: translateX(22px)
}

.switch__input:focus-visible+.switch__slider {
    outline: 2px solid #136192;
    outline-offset: 3px;
}

.setup__item-description {
    font-size: 12px;
    line-height: 1.3;
    color: #6b6b6b;
    padding-top: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease,opacity .25s ease,padding-top .35s ease;
    padding-top: 0
}

@media (max-width: 600px){
    .cookies__setup .b-btn{
        width: 100%;
    }
    .cookies__setup .js-accept-all{
        margin-bottom: 10px;
    }
}
