.basket.popup .content {
    padding: 10px 1em;
    height: auto;
    min-height: 160px;
    border-radius: 8px;
}

.popup .overlay {
    z-index: 1000000;
}
.load_basket {
    position: absolute;
    background-color: rgba(163, 163, 163, 0.1);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    display: flex;
}

.load_basket img {
    width: 100px;
    height: 100px;
}

button.close_basket_btn {
    position: unset;
    transform: unset;
    padding: 8px;
    text-transform: unset;
    font-size: 17px;
    font-weight: 500;
    border-radius: 7px;
    border: 0;
    /* background: -webkit-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: -moz-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: -o-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: linear-gradient(90.57deg,#B40A6F .16%,#e77bbc 99.83%); */
    background: #B40A6F;
    color: #fff;
}

.empty_basket {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
}

.empty_basket span {
    margin-bottom: 20px;
    display: block;
    font-size: 23px;
}

.basket .close-btn {
    right: 14px;
    top: 8px;
    color: #000;
    background: transparent;
    font-weight: 100;
    font-size: 32px;
}

.basket_popup h2 {
    margin: 0;
    font-size: 18px;
    text-align: left;
    margin-bottom: 5px;
    text-transform: none;
}

.list_pr {
    border-top: 1px solid #CACACA;
    border-bottom: 1px solid #CACACA;
    max-height: 86vh;
    overflow: auto;
}

.pr {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
    position: relative;
}
.pr:last-child {
    border-bottom: none;
}

.group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 10px;
}
.pr_block_text {
    width: 60%;
}

.pr_block {
    font-size: 16px;
    text-align: left;
}

.pr_block_img,
.pr_block_img img {
    width: 80px;
    height: 80px;
}

.pr_block_text h3 {
    margin: 0;
    font-size: 14px;
    text-align: left;
    line-height: 14px;
    font-weight: 400;
}

.pr_block_text p {
    font-size: 11px;
    margin: 0;
}

.pr_block_col {
    min-width: 80px;
    max-width: 93px;
    border: 1px solid #acacac;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.pr_block_price {
    min-width: 75px;
    text-align: right;
    padding-right: 5px;
}
.pr_block_price .actual {
    color: #980b0b;
    font-weight: 700;
    font-size: 14px;
}

.pr_block_dell a {
    line-height: 1px;
    width: 21px;
    height: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #980b0b;
}
.pr_block_dell_new {
    position: absolute;
    bottom: 7px;
    right: 0;
}
.pr_block_dell_new a {
    line-height: 1px;
    color: #980b0b;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.minus,
.plus {
    flex: 1 1 30%;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 20px;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
    line-height: 1.3;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: -2px;
    width: auto;
    height: auto;
    background: unset;
    border: unset;
    padding: 2px 0;
}
.minus {
    margin-top: -4px;
}

input[name="col"] {
    width: 30%;
    text-align: center;
    background-color: transparent;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    user-select: none;
    border: 0;
}

.total {
    text-align: right;
    font-size: 12px;
    margin-top: 8px;
}
#total {
    font-size: 18px;
    font-weight: 700;
    margin-left: 11px;
}

.basket_popup .block_pay {
    margin: 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.basket_popup .block_pay label {
    width: 100%;
}

.basket_popup .block_pay label.input_policy {
    margin-bottom: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 13px;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input_policy a {
    color: #54adef;
    display: contents;
}

.input_policy input#policy {
    position: absolute;
    z-index: -1;
    opacity: 0;
    height: 20px;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    border: none;
}

.input_policy span {
    text-align: left;
}

#gal_pol {
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.input_policy input#policy:checked ~ #gal_pol:after {
    display: block;
}

#gal_pol:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.basket_popup .block_pay button {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
    width: 100%;
    max-width: unset;
    color: #fff;
    margin: 0;
    font-size: 18px;
    border: 0;
    height: auto;
    background: -webkit-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: -moz-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: -o-linear-gradient(359.43deg,#B40A6F .16%,#e77bbc 99.83%);
    background: linear-gradient(90.57deg,#B40A6F .16%,#e77bbc 99.83%);
    color: #fff;
    box-shadow: none;
}

button#close {
    margin-top: 10px;
    padding: 10px;
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

.basket_col {
    position: fixed;
    top: 120px;
    right: 60px;
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
    background-color: rgba(255,255,255,.8);
    z-index: 10;
    transition: all .2s;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
}

.basket_col:hover {
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
}

.basket_col img {
    width: 45px;
    height: 45px;
}

.basket_col span {
    position: absolute;
    color: #fff;
    background-color: #B40A6F;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    width: 30px;
    height: 30px;
    right: -3px;
    bottom: -3px;
    justify-content: center;
    align-items: center;
}

.pr_block.info {
    display: none;
}


/* NEW */
.basket_popup .block_pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 10px;
}
.block_pay a {
    display: inline-block;
}
.block_pay #close {
    color: #000;
    font-size: 14px;
}
.block_pay #close:before {
    content: "←\a0";
}
.btn_checkout {
    /* background: -webkit-linear-gradient(359.43deg, #B40A6F .16%, #e77bbc 99.83%);
    background: -moz-linear-gradient(359.43deg, #B40A6F .16%, #e77bbc 99.83%);
    background: -o-linear-gradient(359.43deg, #B40A6F .16%, #e77bbc 99.83%);
    background: linear-gradient(90.57deg, #B40A6F .16%, #e77bbc 99.83%); */
    background: #B40A6F;
    color: #fff !important;
    padding: 7px 14px;
}
.btn_checkout:hover {
    opacity: 0.8;
}
















.basket.popup.min .content {
    max-height: unset;
}


@media (max-width: 600px) {
    .basket.popup.max .content, .basket.popup.min .content, .basket.popup .content {
        max-width: unset;
        min-width: unset;
        min-height: unset;
        max-height: unset;
        width: 100%;
        height: 100%;
        z-index: 1000000;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        -webkit-transform: translate3d(100vw, 0, 0);
        -moz-transform: translate3d(100vw, 0, 0);
        -ms-transform: translate3d(100vw, 0, 0);
        -o-transform: translate3d(100vw, 0, 0);
        transform: translate3d(100vw, 0, 0);
        padding: 20px 10px;
    }
    .basket.popup.active .content {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .basket_col {
        top: 110px;
        right: 25px;
        padding: 12px;
    }
    .basket_col span {
        width: 25px;
        height: 25px;
        bottom: -7px;
    }
    .basket.popup.active .content {
        padding: 10px 0.5em;
        left: unset;
        width: calc(100% - 40px);
        max-width: 440px;
    }

    .basket_popup h2 {
        text-align: center;
    }
    .basket .close-btn {
        left: 14px;
        right: unset;
    }

    .basket_popup .block_pay {
        justify-content: normal;
        display: grid;
        gap: 16px;
    }
    .btn_checkout {
        grid-row: 1;
    }
    .block_pay #close {
        grid-row: 2;
        border: 1px solid #989898;
        padding: 9px 14px;
    }
    .list_pr {
        max-height: unset;
    }
}

@media (max-width: 490px) {
    .group {
        margin-left: 0px;
        width: 50%;
        display: grid;
        min-width: 85px;
        align-content: space-between;
        align-self: stretch;
    }
    .pr_block_text {
        width: 100%;
    }
    .pr_block_img,
    .pr_block_img img {
        width: 90px;
        height: 90px;
    }
    .pr_block_text h3 {
        font-size: 11px;
        line-height: 13px;
    }
    .pr_block_text p {
        font-size: 9px;
    }
    .pr_block_dell_new a {
        font-size: 11px;
    }
    .pr_block_dell_new a img {
        width: 16px;
    }
}
