.cookies {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: #3a3f44b3;
    opacity: 0;
    transition: .3s;
}

.cookies a {
    color: #af8f76;
    text-decoration: underline;
}
.cookies a:hover {
   text-decoration: none;
}

.show-modal {
    opacity: 1;
}

.footer__offer {
    display: flex;
    gap: 30px;
}

.footer__part-item-confidentiality {
    flex-wrap: wrap;
}

.cookies__wrapper {
    background: white;
    border-radius: 8px;
    padding: 35px 32px;
    max-width: 60vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

@media screen and (max-width: 768px) {
    .cookies__wrapper {
        max-width: 90vw;
    }
}
@media screen and (max-width: 500px) {
    .cookies__wrapper {
        max-width: unset;
        max-height: 100%;
        border-radius: 0;
    }
}

.cookies__wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

.cookies__wrapper::-webkit-scrollbar-track {
    border-radius: 5px
}

.cookies__wrapper::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #ccc;
    background: var(--gray_bg_black);
    border: 1px solid #fff;
    border-color: var(--black_bg_black)
}

.cookies__wrapper::-webkit-scrollbar-thumb:window-inactive-thumb {
    background: #ccc;
    background: var(--gray_bg_black);
    border: 2px solid #fff;
    border-color: var(--black_bg_black);
}

.cookies__wrapper > img {
    width: 360px;
    max-width: 80%;
}


.cookies__check-wrap {
    margin-top: 30px;
}

.cookies__check_title {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

.cookies__check_text {
    margin-bottom: 0;
}

.cookies-text {
    line-height: calc(1em + 7px);
}

.cookies-text p:nth-last-child(1) {
    margin-bottom: 0;
}

.cookies-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    outline: none;
    border: none;
    border-radius: unset;
}

.cookies-close svg {
    fill: #999;
}

.cookies-close:hover svg {
    fill: #af8f76;
}

.cookies__check {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.cookies__check input {
    opacity: 0;
    width: 0;
    height: 0;
    z-index: -1;
    position: absolute;
}

.cookies__check_sq {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: block;
    border-radius: 100%;
    background: #f8f8f8;
    border: 1px solid #af8f76;
    transition: all ease .3s;
    cursor: pointer;
    margin-right: 12px;
    position: relative;
}

label:hover .cookies__check_sq {
    box-shadow: 0 0 0 1px inset #af8f76;
    border-color: #af8f76;
}

input:checked ~ .cookies__check_sq {
    border-radius: 100%;
    height: 24px;
    width: 24px;
    box-sizing: border-box;
    background: #fff;
    background: #af8f76;
    transition: all 250ms cubic-bezier(.4,0,.23,1);
    transition: all ease .3s;
    z-index: 3;
}

.cookies__check_sq::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: white;
    border-radius: 100%;
    transition: all ease .3s;
}

input:checked ~ .cookies__check_sq::before {
    opacity: 0;
    width: 0;
    height: 0;
}

input:checked ~ .cookies__check_sq::after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 5px;
    top: calc(50% - 2px);
    width: 4px;
    height: 8px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    content: "";
    box-sizing: content-box;
    transform-origin: 0 100%;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4,0,.23,1) forwards;
}

input:disabled ~ .cookies__check_sq {
    box-shadow: unset;
    border: 1px solid #dadada;
    background: #dadada;
    cursor: default;
}

.cookies-close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    border: none
}

.cookies-close .icon {
    width: 50%;
    height: 50%;
    -webkit-transition: fill .3s ease-in-out;
    -o-transition: fill .3s ease-in-out;
    transition: fill .3s ease-in-out
}

.cookies-text {
    line-height: 145%;
}

.cookies-text p {
    line-height: inherit
}

.cookies-text a {
    color: #af8f76;
    text-decoration: underline;
    transition: .3s;
}

.cookies-text a:hover {
    text-decoration: none;
}

.cookies-btn {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    line-height: 115%;
    cursor: pointer;
    border: none;
    -webkit-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out
}

.cookies-btn:hover {
    background-color: #2a0e72
}

.cookies-btn--gray {
    background-color: #c4c4c4
}

.cookies-btn--blue {
    background-color: #1792d4
}

.cookies-btn:last-child {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.cookies-btn__list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 20px auto 0;
    justify-content: center;
}

.cookies--hidden {
    opacity: 0;
    pointer-events: none
}

.cookies__notification {
    display: flex;
    align-items: flex-start;
    padding: 16px 10px;
    border-radius: 10px;
    background: #f1efef;
}

.cookies__notification p {
    margin-bottom: 0;
}

.cookies__notification::before {
    content: "";
    display: block;
    min-width: 18px;
    margin-right: 12px;
    margin-top: 5px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath stroke='%23FFF' stroke-linecap='square' stroke-width='1.3' d='M6 12l4 4 8-8'/%3E%3Ccircle cx='16' cy='16' r='16' fill='%23E02020'/%3E%3Cpath d='M14 7h5l-1 12h-3zm1 15h3v3h-3z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.cookies-start {
    display: none;
    align-items: flex-end;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: #3a3f44b3;
    transition: opacity .3s;
    opacity: 0;
}

.cookies-start.show-modal {
    opacity: 1;
}

.cookies-start .form {
    background: white;
    display: flex;
    max-width: 100%;
    width: 100%;
    align-items: center;
    min-height: unset;
    padding: 30px 20px 60px;
    gap: 20px;
    border-radius: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .cookies-start .form {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
        padding-bottom: 30px;
    }
}

.cookies-start .marketing-popup .popup-text-info__text {
    padding: 0;
}

.cookies-start .popup-text-info__btn {
    padding: 0;
    margin: 0;
}
@media (max-width: 768px) {
    .cookies-start .popup-text-info__btn {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.marketing-popup .popup-text-info__btn .btn {
    margin: 5px;
}

.popup-text-info__btn {
    display: flex;
}

.btn {
    line-height: 130%;
    border: 1px solid #222222;
    padding: 14px 20px;
    background: white;
    text-decoration: none;
    margin: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    background-image: none;
    cursor: pointer;
    white-space: nowrap;
    transition: .3s;
    background: #222222;
    color: white;
}

.cookies-settings {
    color: #af8f76;
}

.btn-transparent-border {
    background: white;
    color: #222222;
}

.btn-default:hover {
    background: white;
    color: #222222;
    box-shadow: 1px 1px 2px #0000009c;
}

.btn-transparent-border:hover {
    box-shadow: 1px 1px 2px #0000009c;
}

.cookies__wrapper {
    background: white;
    border-radius: 0;
    padding: 35px 82px;
    max-width: 70vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

form {
    display: block;
    margin-top: 0em;
}

.cookies__wrapper > img {
    width: 360px;
    max-width: 80%;
}


.cookies-close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    border: none;
}

.cookies__title {
    font-size: 1.5rem;
    line-height: calc(1em + 7px);
    color: black;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 15px;
}

.cookies-text {
    line-height: 145%;
}

.cookies-text {
    line-height: calc(1em + 7px);
}

.cookies__check-wrap {
    margin-top: 30px;
}

.cookies__check {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

label {
    font-weight: 400;
    display: inline-block;
}

.cookies__check input {
    opacity: 0;
    width: 0;
    height: 0;
    z-index: -1;
    position: absolute;
}

@keyframes checkbox-check {
    0% {
        width: 0;
        height: 0;
        border-color: #fff;
        transform: translate3d(0, 0, 0) rotate(45deg);
    }

    33% {
        width: 0.2em;
        width: 4px;
        height: 0;
        transform: translate3d(0, 0, 0) rotate(45deg);
    }

    100% {
        width: 0.2em;
        width: 4px;
        height: 0.5em;
        height: 8px;
        border-color: #fff;
        transform: translate3d(0, -8px, 0) rotate(45deg);
    }
}

@media (max-width:1024px) {
    .cookies__wrapper {
        padding: 25px 42px;
        max-width: 80vw;
    }
}

@media (max-width:1501px) {
    .cookies__wrapper {
        max-width: calc(100% - 38px);
    }
}