.cart-page {
    padding-top: 40px;
    overflow: hidden;
}
.cart-page .cart-empty {
    margin-bottom: -20px;
}
section.cart {
    padding-bottom: 60px;
}
.cart-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
}
.cart_totals {
    width: 100%!important;
    float:none!important
}
.cart-r,
.cart-r,
.cart-collaterals.cart-r {
    width: 468px;
    min-width: 468px;
}
.cart-l {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-pickup {
    border-radius: 10px;
    background-color: #FFFFFF;
    padding: 14px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.cart-pickup.notselected {
    border: 1.3px dashed #FFC839;
}
.cart-pickup.selected {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.02);
}
.cart-pickup_l {
    display: flex;
    align-items: center;
    gap: 9px;
}
.cart-pickup_l>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #F5F6F9;
}
.cart-pickup_l p {
    color: #5C6D8D;
    font-size: 14px;
    font-weight: 500;
    line-height: 126%;
}
.cart-pickup__btn {
    width: 120px;
    height: 42px;
    padding: 0;
}
.cart-pickup.selected .cart-pickup__btn {
    width: 172px;
}
.cart-pickup_block {
    min-width: 200.5px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cart-pickup_block._graph,
.cart-pickup_block._tel {
    white-space: nowrap;
}
.cart-pickup_block>span {
    color: #A0A3AA;
    font-size: 14px;
    font-weight: 500;
    line-height: 126%;
}
.cart-pickup_box {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-pickup_block._shop .cart-pickup_box {
    gap: 3px;
    align-items: flex-start;
}
.cart-pickup_block._shop .cart-pickup_box>p {
    margin-top: 1px;
}
.cart-pickup_box svg {
    min-width: 17px;
    width: 17px;
    height: auto;
}
.cart-pickup_block._shop .cart-pickup_box svg {
    width: 20px;
    min-width: 20px;
}
.cart-pickup_box svg path {
    transition: .3s;
}
a.cart-pickup_box:hover svg path {
    stroke: #FFC839;
}
.cart-pickup_box__text {
    color: #232126;
    font-size: 14px;
    font-weight: 500;
    line-height: 126%;
    transition: .3s;
}
.cart-pickup_box__text span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 400;
    color: #57575E;
    line-height: 120%;
}
a.cart-pickup_box:hover .cart-pickup_box__text {
    color: #FFC839;
}
.cart-pickup_box__text._small {
    color: #57575E;
    font-size: 13px;
    line-height: 120%;
}



.cart-content {
    background-color: #FFFFFF;
    border-radius: 10px;
}
.cart-top {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 14px 17px;
    border-bottom: 1px solid #EEF0F5;
}
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 14px;
}
.cart-item_l {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-item_check {
    cursor: pointer;
}
.cart-item_check input {
    display: none;
}
.cart-item_pic {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 9px;
    border: 1px solid #EEF0F5;
    overflow: hidden;
    transition: .3s;
}
.cart-item_pic:hover {
    border-color: #FFC839;
}
.cart-item_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.cart-item_pic:hover img {
    transform: scale(1.1);
}
.cart-item_block {
    width: 374px;
}
.cart-item__title {
    display: block;
    color: #232126;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
    transition: .3s;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cart-item__title:hover {
    color: #FFC839;
}
.cart-item_stock--wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    white-space: nowrap;
}
.cart-item_stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 8px;
    border-radius: 6px;
    background-color: #F5F6F9;
}
.cart-item_stock p {
    color: #3F3F3F;
    font-size: 13px;
    line-height: 120%;
}
.cart-item_stock span {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #5C6D8D;
    font-size: 13px;
    font-weight: 500;
    line-height: 120%;
    cursor: pointer;
    transition: .3s;
}
.cart-item_stock span:hover {
    color: #FFC839;
}
.cart-item_stock span svg path {
    transition: .3s;
}
.cart-item_stock span:hover svg path {
    stroke: #FFC839;
}
.cart-item_stock--box {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
}
.cart-item_stock--box._instock {
    background-color: #EAF6EA;
}
.cart-item_stock--box._out-of-stock {
    background-color: #FFF8EA;
}
.cart-item_stock--box span {
    color: #3F3F3F;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
}
.cart-item_stock--box._instock span {
    color: #498F11;
}

.cart-item_aside {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    cursor: pointer;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    opacity: 0.7;
    transition: .3s;
}
.cart-item_aside:hover {
    opacity: 1;
}
.cart-item_aside svg path {
    transition: .3s;
}
.cart-item_aside:hover svg path {
    stroke: #FFC839;
}
.cart-item_aside span {
    color: #2B343C;
    font-size: 13px;
    font-weight: 700;
    line-height: 120%;
    transition: .3s;
}
.cart-item_aside:hover span {
    color: #FFC839;
}
.cart-item .qty {
    width: 52px;
}
.cart-item_details {
    min-width: 140px;
}
.cart-item_prices {
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart-item .product-cart_info {
    gap: 5px;
    margin-top: 5px;
}
.cart-item_btns {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cart-r,
.cart-collaterals.cart-r {
    border-radius: 10px;
    border: 3px solid #EEF0F5;
    background-color: #FFFFFF;
    padding: 22px;
}
.cart_totals,
.cart-r {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-contacts_details {
    border-radius: 10px;
    border: 1px dashed #EEF0F5;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.cart-contacts_details p {
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    line-height: 144%;
}
.cart-contacts__edit {
    cursor: pointer;
    transition: .3s;
    position: absolute;
    top: 10px;
    right: 10px;
}
.cart-contacts__edit svg path {
    transition: .3s;
}
.cart-contacts__edit:hover svg path {
    stroke: #FFC839;
}
.cart-contacts_info {
    border-radius: 7px;
    border: 1px solid #FEE7ED;
    background-color: #FFF6F9;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-contacts_info span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
}
.cart-contacts_info p {
    color: #3D272E;
    font-size: 14px;
    font-weight: 500;
    line-height: 126%;
}
.cart-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cart-details_items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background-color: #F8F8F9;
}
.cart-details_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
}
.cart-details_item::after {
    content: '';
    display: block;
    flex-grow: 1;
    height: 0;
    border-bottom: 1px dotted #A0A3AA;
}
.cart-details_item p {
    color: #57575E;
    font-size: 15px;
    line-height: 144%;
}
.cart-details_item span {
    color: #232126;
    font-size: 15px;
    line-height: 144%;
    order: 1;
}
.cart-details_item span b {
    line-height: 120%;
}
.cart-details_item span.big {
    font-size: 21px;
    font-weight: 500;
    line-height: 120%;
}

.cart-bottom {
    padding: 18px 14px 19px;
    border-top: 1px solid #EEF0F5;
}
.cart-bottom__btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #232126;
    font-size: 15px;
    font-weight: 700;
    line-height: 120%;
    transition: .3s;
    border-radius: 900px;
    background: #FFC839;
    box-shadow: 0px 8px 11px 0px rgba(0, 0, 0, 0.06);
    width: 240px;
    height: 56px;
}
.cart-bottom__btn[disabled] {
    color: #2B343C;
    opacity: 0.3;
    background: #A0A3AA;
    pointer-events: none;
}
.cart-bottom__btn:hover {
    background-color: #232126;
    color: #FFFFFF;
}

.cart-content_info {
    border-radius: 10px 10px 0px 0px;
    background-color: #FFF8EA;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 19px;
    width: max-content;
}
.cart--info._aside .cart-content_info {
    background-color: #EBEDF3;
}
.cart-content_info>p {
    color: #232126;
    font-size: 15px;
    font-weight: 500;
    line-height: 130%;
}
.cart-content_info>span {
    width: 16px;
    height: auto;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.cart-content_info>span .tooltip {
    width: 292px;
    bottom: 30px;
}
.cart-content_info>span:hover .tooltip {
    opacity: 1;
    visibility: visible;
}
.cart-content_info>span svg {
    width: 100%;
    height: auto;
}


.productRemove-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}
.productRemove__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.productRemove__btn svg path {
    transition: .3s;
}
.productRemove__btn:hover svg path {
    stroke: #FFC839;
}
.productRemove__btn span {
    border-bottom: 1px dashed rgba(43, 52, 59, 0.70);
    color: #5C6D8D;
    font-size: 14px;
    font-weight: 500;
    line-height: 123%;
    transition: .3s;
}
.productRemove__btn:hover span {
    color: #FFC839;
    border-color: #FFC839;
}


.editPopup {
    max-width: 444px;
    width: 100%;
    padding: 25px;
}
.editPopup__title {
    color: #232126;
    text-align: center;
    margin-bottom: 20px;
}


@media (max-width: 1455px) {
    .cart-item_stock--wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-pickup_block {
        min-width: 0;
    }
}
@media (max-width: 1420px) {
    .cart-item_block {
        width: 315px;
    }

    .cart-pickup_box__text {
        font-size: 13px;
        line-height: 120%;
    }
}
@media (max-width: 1340px) {
    .cart-row {
        gap: 15px;
    }
    .cart-item_l {
        gap: 10px;
    }
    .cart-item_block {
        width: 230px;
    }
    .cart-r,
    .cart-collaterals.cart-r {
        width: 400px;
        min-width: 400px;
    }

    /* .cart-pickup_block._shop {
        max-width: 181px;
    } */
}
@media (max-width: 1140px) {
    .cart-item_pic {
        width: 65px;
        min-width: 65px;
        height: 65px;
        align-self: flex-start;
    }
    .cart-item_check {
        align-self: flex-start;
        margin-top: 20px;
    }
    .cart-item_block {
        width: 195px;
    }
    .cart-r,
    .cart-collaterals.cart-r {
        width: 350px;
        min-width: 350px;
        padding: 15px;
    }

    .cart-pickup.selected .cart-pickup__btn {
        width: 164px;
    }
}
@media (max-width: 1024px) {
    .cart-page {
        padding-top: 30px;
    }
    section.cart {
        padding-bottom: 30px;
    }
    .cart-page .cart-empty {
        margin-bottom: 0;
    }

    .cart-row {
        flex-direction: column-reverse;
        margin-top: 22px;
        gap: 22px;
    }
    .cart-r,
    .cart-collaterals.cart-r {
        width: 100%;
        min-width: 0;
        padding: 12px;
    }
    .cart-l {
        width: 100%;
        gap: 22px;
    }
    .cart-pickup {
        width: 100%;
        padding: 13px;
    }
    .cart-pickup__btn {
        width: 157px;
    }
    .cart-content {
        margin-top: 0;
    }
    .cart-top {
        justify-content: space-between;
    }
    .cart-item {
        padding-left: 12px;
        padding-right: 12px;
    }
    .cart-item_block {
        width: 244px;
    }
    .cart-item_l {
        gap: 13px;
    }
    .cart-item__title {
        font-size: 14px;
    }
    .cart-item_stock--wrapper,
    .cart-item_aside {
        margin-top: 5px;
    }

    .cartcalc {
        height: 43px;
    }
    .cart-item .qty {
        width: 34px;
    }
    .cart-item .product-cart__btn {
        width: 35px;
        min-width: 35px;
        height: 35px;
    }
    .cart-item_details {
        min-width: 132px;
        margin-left: -5px;
    }

    .cart-item_prices .price {
        font-size: 16px;
        line-height: 120%;
    }
    .cart-bottom {
        padding: 13px 12px 14px;
    }
    .cart-bottom__btn {
        width: 100%;
    }

    .cart-content_info {
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media (max-width: 768px) {
    .cart-row {
        gap: 20px;
    }
    .cart-l {
        gap: 20px;
    }
    .cart-top {
        gap: 0;
    }
    .cart-item {
        flex-wrap: wrap;
        justify-content: flex-start;
        column-gap: 12px;
        position: relative;
    }
    .cart-item_l {
        width: 100%;
        gap: 10px;
    }
    .cart-item_details {
        margin-left: 0;
    }
    .cartcalc {
        margin-left: 74px;
    }
    .ccalc__btn {
        padding-left: 6px;
        padding-right: 6px;
    }
    .cart-item_check {
        position: absolute;
        right: 9.5px;
        top: 14px;
        margin-top: 0;
    }
    .cart-item_btns {
        position: absolute;
        right: 4px;
        top: 49px;
    }
    .cart-item_block {
        width: 198px;
    }
    .cart-pickup {
        flex-direction: column;
    }
    .cart-pickup.selected {
        align-items: flex-start;
        gap: 12px;
    }
    .cart-pickup.notselected {
        justify-content: center;
        gap: 15px;
    }
    .cart-pickup__btn {
        width: 100%!important;
    }
    .cart-r,
    .cart-collaterals.cart-r {
        padding: 11px;
    }
    .cart-r,
    .cart_totals {
        gap: 14px;
    }
    .cart-details_items {
        gap: 11px;
    }
    .cart-details_item span.big {
        font-size: 17px;
    }
    .cart-content_info>p {
        font-size: 14px;
    }
    
    .cart--info._aside .cart-item_l {
        margin-bottom: 10px;
    }


    .cart-content_info>span .tooltip {
        width: 247px;
        bottom: 27px;
    }
    .cart--info._not-aviabled .cart-content_info>span .tooltip {
        left: unset;
        right: -30px;
        transform: none;
    }
    .cart--info._not-aviabled .cart-content_info>span .tooltip::after {
        left: unset;
        right: 32px;
        transform: none;
    }
    .cart--info._aside .cart-content_info>span .tooltip {
        left: unset;
        right: -86px;
        transform: none;
    }
    .cart--info._aside .cart-content_info>span .tooltip::after {
        left: unset;
        right: 88px;
        transform: none;
    }
}