.popup-cart_container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
}
.popup-cart_container.show {
    display: block;
}

.popup-cart {
    position: absolute;
    right: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 464px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    background: #ffffff;
    z-index: 15;
}
.popup-cart_container.show .popup-cart {
    right: 0;
}

.popup-cart_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px ;
}
.popup-cart_close {
    padding: 4px;
    cursor: pointer;
}
.popup-cart_close svg {
    display: block;
}

.popup-cart_title {

}
.popup-cart_icon {
    display: flex;
    align-items: center;
    gap: 0 4px;
}
.popup-cart_icon svg {
    display: block;
}
.popup-cart_icon .caption-1 {

}

.popup-cart_content {
    height: calc(100% - 250px);
    margin-bottom: auto;
    overflow-y: auto;
}

.popup-cart_products {
    display: flex;
    flex-direction: column;
    padding: 0 16px 20px 24px;
    gap: 20px;
}

.popup-cart_product {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.popup-cart_product-img {
    display: block;
    flex-shrink: 0;
    max-width: 150px;
}
.popup-cart_product-img img,
.popup-cart_product-img video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 25 / 34;
}

.popup-cart_product-data {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 164px);
    padding-right: 44px;
    gap: 8px;
}
.popup-cart_product-title {

}
.popup-cart_product-info {
    display: flex;
    color: var(--secondary-919191, #919191);
    align-items: center;
    gap: 6px;
}
.popup-cart_product-info .body-5 {
    color: var(--main-0-c-0-c-0-c, #0C0C0C);
}

.popup-cart_product-quantity {

}

.popup-cart_product-quantity .quantity-counter_block {
    gap: 0;
}
.popup-cart_product-quantity .quantity-btn_minus {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
}
.popup-cart_product-quantity .quantity-counter_text {
    color: var(--main-0-c-0-c-0-c, #0C0C0C);
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
}
.popup-cart_product-quantity .quantity-btn_plus {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
}

.popup-cart_product-totals {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 4px;
    gap: 8px 12px;
}
.popup-cart_product-special {
    color: var(--secondary-919191, #919191);
}
.popup-cart_product-total {

}
.popup-cart_product-price {
    width: 100%;
    color: var(--secondary-919191, #919191);
}

.popup-cart_product-remove {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px;
    cursor: pointer;
}
.popup-cart_product-remove svg {
    display: block;
}
.popup-cart_product .text-danger {
    display: flex;
    padding: 10px;
    align-items: center;
    border-radius: 6px;
    border: 1px solid rgba(225, 7, 7, 0.60);
    background: hsl(0deg 80% 96%);
    color: var(--main-0-c-0-c-0-c, #0C0C0C);
    font-size: 12px;
    line-height: 100%;
}

.popup-cart_bottom {
    padding: 0px 32px 32px 32px;
}

.popup-cart_totals {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--secondary-e-7-e-7-e-7, #E7E7E7);
}
.popup-cart_total-left {

}
.popup-cart_total-right {
    display: flex;
    align-items: center;
    gap:  6px;
}
.popup-cart_total-right .caption-2 {
    color: var(--secondary-919191, #919191);
}

.popup-cart_btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* One Click */
.popup-one_click .popup-content {
    width: 100%;
    max-width: 504px;
}
.popup-one_click-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popup-one_title {
    max-width: calc(100% - 40px);
    min-height: 40px;
}

@media (max-width: 525px) {
    .popup-cart_heading {
        padding: 16px;
    }
    .popup-cart_products {
        padding: 0 12px 16px 16px;
        gap: 116px;
    }
    .popup-cart_product {
        gap: 10px;
    }
    .popup-cart_product-title {
        font-size: 12px;
        font-weight: 500;
        line-height: 120%;
    }
    .popup-cart_product-img {
        max-width: 110px;
    }
    .popup-cart_product-special,
    .popup-cart_product-total {
        font-size: 14px;
        font-weight: 500;
        line-height: 120%;
    }
    .popup-cart_product-data {
        max-width: calc(100% - 120px);
        gap: 6px;
    }
    .popup-cart_product-info .body-4,
    .popup-cart_product-info .body-5 {
        font-size: 12px;
        line-height: 12px;
    }
    .popup-cart_bottom {
        padding: 0px 16px 16px 16px;
    }

    .popup-one_click .popup-content {
        max-width: calc(100% - 24px);
        padding: 16px;
    }
    .popup-one_click-content {
        gap: 10px;
    }
    .popup-one_title {
        font-size: 14px;
        font-weight: 500;
        line-height: 120%;
    }
    .popup-one_click-content .btn {
        max-height: 48px;
        padding: 16px 32px;
        border-radius: 6px;
    }
}