.cookies-bar {
    color: black;
    width: 100%;
    max-width: 550px;
    z-index: 1000;
    position: fixed;
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0 auto;
    padding: 56px 56px;
    height: auto;
    overflow: hidden;
    box-shadow: 0 20px 40px rgb(0 0 0 / 40%);
    background: #ffffff;
    opacity: 1;
    transition: visibility .25s linear, opacity .25s ease;
}

@media all and (min-width: 840px) {
    .cookies-bar {
        width: auto;
    }
}

.cookies-bar-step {
    display: none;
}

.cookies-bar-step-showed {
    display: block;
}

.cookies-bar-overlay-showed {
    display: block;
}

@supports (backdrop-filter: blur(4px)) {
    .cookies-bar-overlay {
        backdrop-filter: blur(4px);
    }
}

.cookies-links {
    margin-top: 25px;
}

.cookies-links .cookies-link {
    display: inline-block;
    color: #666666;
    border-color: #666666;
    border-bottom: 1px solid #253b48;
    font-weight: 600;
    font-size: 16px;
    padding-bottom: 0;
    text-decoration: none;
    cursor: pointer;
}

.cookies-links .cookies-link:first-of-type {
    margin-right: 20px;
}

.cookies-bar-step .btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    margin-bottom: 30px;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 0;
    color: #02AFD9;
    font-weight: 600;
}

.cookies-bar-step .btn-back::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("../assets/img/back.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.cookies-bar-step .btn-back span {
    border-bottom: 1px solid #02AFD9;
}

.cookie-bar_details {
    margin-bottom: 32px;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    display: block;
    max-height: 220px;
    padding-right: 15px;
}

.cookie-bar_details::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.cookie-bar_details::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.cookies-bar_text h2 {
    font-size: 18px;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    color: black;
    padding-bottom: 8px;
}

.cookies-bar_text p {
    font-size: 16px;
    line-height: 1.3;
    color: black;
}

.cookies-bar_text hr {
    all: unset;
    margin: 32px 0;
    height: 1px;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookies-bar_actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 25px;
}

.cookies-bar_actions button {
    all: unset;
    padding: 15px;
    color: inherit;
    cursor: pointer;
    font-weight: normal;
    font-size: 15px;
}

.cookies-bar_actions button.btn-simple {
    transition: text-decoration-color 0.3s;
    text-decoration: underline;
    text-decoration-color: transparent;
    background: hsl(117, 185%, 85%);
    color: #75b947;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookies-bar_actions button.btn-settings::before {
    content: "";
    display: inline-block;
    width: 19px;
    height: 19px;
    margin-right: 10px;
    background-image: url("../assets/img/settings.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.cookies-bar_actions button.btn-simple:hover,
.cookies-bar_actions button.btn-simple:focus {
    text-decoration-color: currentColor;
}

.cookies-bar_actions button.btn-filled {
    color: #fff;
    position: relative;
    background-color: #75b947;
}

.cookies-bar_actions button.btn-filled::after {
    content: "";
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid white;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s;
    border-radius: 5px;
}

.cookies-bar_actions button.btn-filled:hover::after,
.cookies-bar_actions button.btn-filled:focus::after {
    opacity: 0.75;
}

.cookies-bar_accordion {
    margin-bottom: 16px;
}

.cookies-bar_accordion .cookies-bar_header div {
    display: flex;
    align-items: center;
}

.cookies-bar_accordion .cookies-bar_header {
    padding: 4px 4px 4px 0;
    display: flex;
    position: relative;
    font-size: 12px;
    align-items: center;
    justify-content: space-between;
}

.cookies-bar_accordion .cookies-bar_header::before {
    content: "";
    position: absolute;
    border: none;
    padding: 0;
    transform: none;
    width: 16px;
    height: 16px;
    background-image: url("../assets/img/arrow-right.svg");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center center;
}

.cookies-bar_accordion.cookies-bar_accordion-shown .cookies-bar_header::before {
    transform: rotate(90deg);
}

.cookies-bar_accordion .cookies-bar_header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    margin-left: 26px;
}

.cookies-bar_accordion .body {
    display: none;
    font-size: 14px;
}

.cookies-bar_accordion .body p {
    font-size: inherit;
}

.cookies-bar_accordion-shown .cookies-bar_header {
}

.cookies-bar_accordion-shown .cookies-bar_header::after {
    transform: translateY(-50%) rotate(225deg);
}

.cookies-bar_accordion-shown .body {
    display: block;
}

.cookies-bar_accordion .cookies-bar_header input[type=checkbox] {
    height: 0 !important;
    width: 0;
    visibility: hidden;
}

.cookies-bar_accordion .cookies-bar_header label {
    cursor: pointer;
    text-indent: -9999px;
    width: 55px;
    height: 24px;
    background: grey;
    display: block;
    border-radius: 27px;
    position: relative;
    margin-right: 0;
    margin-left: 0;
}

.cookies-bar_accordion .cookies-bar_header label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 27px;
    transition: 0.3s;
}

.cookies-bar_accordion .cookies-bar_header input:checked + label {
    background: #75b947;
}

.cookies-bar_accordion .cookies-bar_header input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.cookies-bar_accordion .cookies-bar_header label:active:after {
    width: 25px;
}


@media (max-width: 688px) {
    .cookies-bar {
        padding: 24px 16px 20px 16px;
        max-width: 100%;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        transform: translateY(0);
    }
}
