.policy {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: rgba(58, 63, 68, 0.7019607843);
    opacity: 0;
    transition: 0.3s;
}

.show-modal {
    opacity: 1;
}

.footer__offer {
    display: flex;
    gap: 30px;
}

.footer__part-item-confidentiality {
    flex-wrap: wrap;
}

.policy__inner {
    background: white;
    border-radius: 20px;
    position: relative;
    padding: 25px 30px;
    padding-right: 15px;
    width: 800px;
    max-width: 96vw;
}
@media screen and (max-width: 500px) {
    .policy__inner {
        max-width: unset;
        max-height: 100%;
        border-radius: 0;
        padding-top: 40px;
    }
}

.policy__wrapper {
    max-height: 85vh;
    overflow-y: auto;
    padding-right: 15px;
}

.policy__wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.policy__wrapper::-webkit-scrollbar-track {
    border-radius: 5px;
}

.policy__wrapper::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #0F2D72;
}

.policy__wrapper::-webkit-scrollbar-thumb:window-inactive-thumb {
    background: #ccc;
    background: #0F2D72;
    border: 2px solid #fff;
    border-color: var(--black_bg_black);
}

.policy__wrapper > img {
    width: 360px;
    max-width: 80%;
}

.policy__title {
    color: #0F2D72;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 15px;
}

.policy__check-wrap {
    margin-top: 20px;
}

.policy__check_title {
    margin-top: 0;
    margin-bottom: 0;
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    user-select: none;
}

.policy__check_text {
    margin-bottom: 0;
    width: 100%;
    margin-top: 15px;
    color: #333;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 18px */
}

.policy-text {
    font-size: 1rem;
    line-height: calc(1em + 7px);
}

.policy-text p:nth-last-child(1) {
    margin-bottom: 0;
}

.policy-close {
    position: absolute;
    right: 30px;
    top: 25px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    outline: none;
    border: none;
    border-radius: unset;
    cursor: pointer;
}
@media screen and (max-width: 500px) {
    .policy-close {
        top: 5px;
        right: 5px;
    }
}
.policy-close:hover::before, .policy-close:hover::after {
    background: #00ADEE;
}

.policy__bottom {
    margin-top: 20px;
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
.policy__bottom a {
    color: #0F2D72;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    display: inline;
}
.policy__bottom a:hover {
    text-decoration: none;
}

.policy-close::before {
    content: "";
    height: 75%;
    width: 2px;
    background: #0F2D72;
    position: absolute;
    left: 50%;
    top: 3px;
    transition: 0.3s;
    transform: rotate(45deg);
}

.policy-close::after {
    content: "";
    height: 75%;
    width: 2px;
    background: #0F2D72;
    position: absolute;
    left: 50%;
    transition: 0.3s;
    top: 3px;
    transform: rotate(-45deg);
}

.policy-close svg {
    display: none;
}

.policy-close:hover svg {
    fill: #024896;
}

.policy__check {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
}
.policy__check label {
    display: flex;
    align-items: center;
}

.policy__check input {
    opacity: 0;
    width: 0;
    height: 0;
    z-index: -1;
    position: absolute;
}

.policy__check_sq {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: block;
    border-radius: 100%;
    transition: all ease 0.3s;
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5.3846 20C5.00032 20 4.67348 19.8653 4.40407 19.5959C4.13469 19.3265 4 18.9997 4 18.6154V5.3846C4 5.00032 4.13469 4.67348 4.40407 4.40407C4.67348 4.13469 5.00032 4 5.3846 4H18.6154C18.9997 4 19.3265 4.13469 19.5959 4.40407C19.8653 4.67348 20 5.00032 20 5.3846V18.6154C20 18.9997 19.8653 19.3265 19.5959 19.5959C19.3265 19.8653 18.9997 20 18.6154 20H5.3846ZM5.3846 19.2308H18.6154C18.7692 19.2308 18.9103 19.1667 19.0385 19.0385C19.1667 18.9103 19.2308 18.7692 19.2308 18.6154V5.3846C19.2308 5.23077 19.1667 5.08974 19.0385 4.96153C18.9103 4.83333 18.7692 4.76923 18.6154 4.76923H5.3846C5.23077 4.76923 5.08974 4.83333 4.96153 4.96153C4.83333 5.08974 4.76923 5.23077 4.76923 5.3846V18.6154C4.76923 18.7692 4.83333 18.9103 4.96153 19.0385C5.08974 19.1667 5.23077 19.2308 5.3846 19.2308Z' fill='%23333333'/%3E%3C/svg%3E");
}

label:hover .policy__check_sq {
    box-shadow: 0 0 0 1px inset var(--theme-base-color);
}

input:checked ~ .policy__check_sq {
    border-radius: 100%;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.5519 15.3981L17.0269 8.92308L16.4712 8.3673L10.5519 14.2865L7.63463 11.3885L7.07885 11.9442L10.5519 15.3981ZM5.3846 20C5.00032 20 4.67348 19.8653 4.40407 19.5959C4.13469 19.3265 4 18.9997 4 18.6154V5.3846C4 5.00032 4.13469 4.67348 4.40407 4.40407C4.67348 4.13469 5.00032 4 5.3846 4H18.6154C18.9997 4 19.3265 4.13469 19.5959 4.40407C19.8653 4.67348 20 5.00032 20 5.3846V18.6154C20 18.9997 19.8653 19.3265 19.5959 19.5959C19.3265 19.8653 18.9997 20 18.6154 20H5.3846ZM5.3846 19.2308H18.6154C18.7692 19.2308 18.9103 19.1667 19.0385 19.0385C19.1667 18.9103 19.2308 18.7692 19.2308 18.6154V5.3846C19.2308 5.23077 19.1667 5.08974 19.0385 4.96153C18.9103 4.83333 18.7692 4.76923 18.6154 4.76923H5.3846C5.23077 4.76923 5.08974 4.83333 4.96153 4.96153C4.83333 5.08974 4.76923 5.23077 4.76923 5.3846V18.6154C4.76923 18.7692 4.83333 18.9103 4.96153 19.0385C5.08974 19.1667 5.23077 19.2308 5.3846 19.2308Z' fill='%230F2D72' fill-opacity='1'/%3E%3C/svg%3E");
}

input:disabled ~ .policy__check_sq {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

input:disabled ~ .policy__check_title {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.policy-text {
    line-height: 145%;
}

.policy-text p {
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

.policy-text a {
    color: black;
    text-decoration: none;
    position: relative;
    max-width: max-content;
}

.policy-text a:hover::after {
    transform: scale(0);
}

.policy-text a::after {
    content: "";
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 2px;
    position: absolute;
    transition: 0.3s;
    transform-origin: center;
}

.policy-btn {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 115%;
    cursor: pointer;
    border: none;
    -webkit-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

.btn-default {
    color: #FFF;
    font-size: 14px;
    width: 140px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 1px solid #0F2D72;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    transition: 0.3s;
    background: #0F2D72;
    padding: 9px 40px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-default:hover {
    background: transparent;
    color: #0F2D72;
}

.btn-transparent-border {
    color: #0F2D72;
    width: 140px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 1px solid #0F2D72;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    transition: 0.3s;
    background: transparent;
    padding: 9px 40px;
    border-radius: 10px;
    cursor: pointer;
}

.btn-transparent-border:hover {
    box-shadow: 1px 1px 3px rgba(15, 45, 114, 0.6);
}

.policy-btn:hover {
    background-color: #2a0e72;
}

.policy-btn--gray {
    background-color: #c4c4c4;
}

.policy-btn--blue {
    background-color: #1792d4;
}

.policy-btn:last-child {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.policy-btn__list {
    margin: 20px auto 0;
    justify-content: flex-start;
}
.policy-btn__list .btn-default {
    width: 124px;
    height: 40px;
    font-size: 14px;
}

.policy--hidden {
    opacity: 0;
    pointer-events: none;
}

.policy__notification {
    display: flex;
    align-items: flex-start;
    padding: 16px 10px;
    border-radius: 10px;
    background: #fbeff1;
}

.policy__notification p {
    margin-bottom: 0;
}

.policy__notification::before {
    content: "";
    display: block;
    min-width: 18px;
    margin-right: 12px;
    margin-top: 3px;
    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;
}

.policy-start {
    display: none;
    align-items: flex-end;
    justify-content: center;
    position: fixed;
    bottom: 40px;
    left: 35px;
    z-index: 100;
    width: 500px;
    height: auto;
    transition: opacity 0.3s;
    opacity: 0;
    max-width: 100%;
    border-radius: 6px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(150, 150, 150, 0.25);
}
@media screen and (max-width: 600px) {
    .policy-start {
        min-width: unset;
        max-width: 96vw;
        width: 96vw;
        left: 2vw;
    }
}

.policy-start.show-modal {
    opacity: 1;
}

.policy-start .form {
    background: white;
    display: flex;
    min-width: 50%;
    flex-direction: column;
    align-items: center;
    min-height: unset;
    padding: 25px 30px;
    gap: 20px;
    border-radius: 8px;
    width: 100%;
    color: #333;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.policy-start .marketing-popup .popup-text-info__text {
    padding: 0;
}

.policy-start .popup-text-info__btn {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .policy-start .popup-text-info__btn {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
.policy-settings {
    position: relative;
    max-width: max-content;
    color: #0F2D72;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.policy-settings:hover::after {
    transform: scale(0);
}

.policy-settings::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #0F2D72;
    left: 0;
    bottom: 2px;
    position: absolute;
    transition: 0.3s;
    transform-origin: center;
}

.policy ol li, .policy ul li {
    position: relative;
    padding-left: calc(100vw / (var(--vwIdth) / 25));
    font-size: 1.125rem;
    color: #404040;
    letter-spacing: 0.02em;
    width: 100%;
    text-align: left;
}

.policy ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: calc(100vw / (var(--vwIdth) / 10));
    height: calc(100vw / (var(--vwIdth) / 10));
    border-radius: 50%;
}
/*.order-form__bottom{*/
/*    z-index: 1000;*/
/*}*/