.popup-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    transition: all 0.3s ease;
    z-index: 11;
}
.popup-cart.show {
    right: 0;
}

.popup-cart_container {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    height: 100%;
    width: 100%;
}

.popup-cart_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 28px 20px 32px;
}
.popup-cart_title {
}
.popup-cart_title span {
    vertical-align: text-top;
}
.popup-cart_close {
    padding: 4px;
    cursor: pointer;
}
.popup-cart_close svg {
    display: block;
}

.popup-cart_content {
    display: flex;
    flex-direction: column;
    padding: 20px 32px 20px 32px;
    height: 100%;
    max-height: calc(100% - 202px);
    overflow-y: auto;
    gap: 24px;
}
.popup-cart_product {
    display: flex;
    gap: 20px;
}
.popup-cart_product-img {
    width: 100%;
    max-width: 120px;
}
.popup-cart_product-img img {
    display: block;
    width: 100%;
}

.popup-cart_product-data {
    display: flex;
    flex-direction: column;
}
.popup-cart_product-title {
    margin-bottom: 14px;
}
.popup-cart_product-price {
    margin-bottom: 12px;
}
.popup-cart_product-price span {

}
.popup-cart_product-price .price-old {
    margin-left: 4px;
    color: #919191;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-decoration-line: line-through;
}

.popup-cart_product-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.popup-cart_product-option {
    display: flex;
    gap: 5px;
}
.popup-cart_product-option div {
    color: #919191;
}
.popup-cart_product-option div:last-child {
    color: var(--color-main-1);
}

.popup-cart_product-btns {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 4px;
    gap: 32px;
}

.popup-cart_product-quantity_block {
    display: flex;
    align-items: center;
    gap: 6px;
}
.popup-cart_product-quantity {
    min-width: 24px;
    color: var(--color-main-1);
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
}
.popup-cart_product-minus,
.popup-cart_product-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: #F5F5F5;
    border: 0 !important;
    cursor: pointer;
}
.popup-cart_product-minus svg,
.popup-cart_product-plus svg {
    display: block;
}
.popup-cart_product-quantity {

}

.popup-cart_product-remove {

}

.popup-cart_bottom {
    margin-top: auto;
    padding: 32px;
    background: #F5F5F5;
}
.popup-cart_bottom .btn {
    justify-content: space-between;
}

.popup-cart_empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 32px;
    text-align: center;
    gap: 40px;
}

.popup-cart_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #313131;
    opacity: 0.31;
    z-index: 10;
}
.popup-cart_overlay.show {
    display: block;
}

@media (max-width: 768px) {
    .popup-cart_top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 16px 20px 16px;
    }
    .popup-cart_title {
        font-size: 18px;
        line-height: 22px;
    }
    .popup-cart_content {
        padding: 10px 16px;
        max-height: calc(100% - 148px);
        gap: 12px;
    }
    .popup-cart_bottom {
        padding: 16px;
    }
    .popup-cart_bottom .btn {
        padding: 12px 20px;
    }

    .popup-cart_product-img {
        max-width: 115px;
    }
    .popup-cart_product {
        gap: 8px;
    }
    .popup-cart_product-title {
        margin-bottom: 8px;
        font-size: 12px;
    }
    .popup-cart_product-price {
        margin-bottom: 8px;
    }

    .popup-cart_product-option {
        font-size: 10px;
    }

    .popup-cart_product-remove {
        font-size: 12px;
    }
}