.popup_cart {
    padding: 16px;
    border-radius: 20px;
    position: absolute;
    left: 0;
    top: 100%;
    width: 400px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    backdrop-filter: blur(10px);
}

.popup_cart_section {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 999999;
    padding: 10px 0;
}

.popup_cart_product_price {
    color: var(--e-global-color-text);
}

.popup_cart_product_number {
    color: #a9a9a9;
}

.popup_cart_top_section {
    display: flex;
    background: rgba(4, 16, 16, 0.8);
    color: white;
    padding: 15px;
    justify-content: space-between;
    border-radius: 12px;
}

.popup_cart_title {
    display: flex;
    gap: 5px;
}

.popup_cart_product {
    display: flex;
}

.popup_cart_product_number span {
    font-size: 15px;
    padding: 0 10px;
}

.popup_product_number input {
    width: 100%;
    text-align: center;
    border: none;
    background: var(--e-global-color-primary);
    padding: 5px;
    border-radius: 5px;
    color: black;
}

.popup_product_number input:focus {
    outline: none;
}

.popup_cart_manage_count {
    width: 15%;
    font-size: 14px;
}

.popup_cart_increase_product_count, .popup_cart_decrease_product_count {
    background: #1b2627;
    color: white;
    padding: 7px;
    display: flex;
    border-radius: 8px;
    align-items: center;
    font-size: 9px;
    justify-content: center;
}

.popup_product_number {
    margin: 3px 0;
}

.popup_cart_product_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup_cart_product_info {
    width: 85%;
    padding: 10px;
    background: #1b544082;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.popup_cart_product {
    display: flex;
    margin: 10px 0;
    gap: 7px;
}

.popup_cart_product_delete {
    color: var(--e-global-color-primary);
}

.popup_cart_product_price_section .popup_cart_product_price {
    width: 100%;
    display: block;
}

.popup_cart_product_price_section {
    text-align: center;
    width: 40%;
}

span.popup_cart_product_price_currency {
    color: var(--e-global-color-primary);
}

.popup_cart_product_title {
    color: #9c9c9c;
}

.popup_cart_product_time {
    color: white;
}

.popup_cart_total_price_section {
    background: rgba(4, 16, 16, 0.8);
    border-radius: 10px;
}

.popup_cart_total_price_section {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.popup_cart_total_price_title {
    color: white;
}

span.popup_cart_total_currency {
    color: var(--e-global-color-primary);
    padding: 15px;
}

.popup_cart_product_main_info {
    width: 50%;
}

.popup_cart_product_delete {
    color: var(--e-global-color-primary);
    width: 10%;
    text-align: center;
}

.popup_cart_delete_all {
    background: rgba(250, 250, 255, 0.05);
    box-shadow: inset 0 0 8px 0px rgba(250, 250, 255, 0.1);
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    color: white;
}

.popup_cart_payment {
    background: var(--e-global-color-primary);
    padding: 10px;
    border-radius: 10px;
}

.popup_cart_payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup_cart_buttons {
    gap: 10px;
    display: flex;
    margin-top: 10px;
}

.popup_cart_payment {
    width: 70%;
}

.popup_cart_delete_all {
    width: 35%;
}

.popup_cart_main_button {
    padding: 10px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.popup_cart_section:hover .popup_cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.popup_cart:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

a.popup_cart_payment {
    color: black;
}

span.woocommerce-Price-amount.amount {
    color: white;
}

.popup_cart_empty {
    padding: 20px 10px;
    color: gray;
}

.popup_cart_product_info span.woocommerce-Price-amount.amount {
    display: flex;
    flex-direction: column-reverse;
}

.popup_cart_product_info .woocommerce-Price-amount.amount span {
    color: var(--e-global-color-primary);
}

.popup_cart_total_price_section span.woocommerce-Price-currencySymbol {
    color: var(--e-global-color-primary);
}

.popup_cart_total_price_section span.woocommerce-Price-amount.amount {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.popup_cart_product_price_section bdi {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

.popup_cart_product_price_section bdi span {
    width: 100%;
}

.popup_cart_product_title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.popup_cart_total_price .price_currency {
    color: var(--e-global-color-primary);
}
@media (max-width: 767px) {
    .popup_cart {
        width: 94%;
        position: fixed;
        left: 0;
        bottom: 100px;
        top: auto;
        margin: 0 3%;
    }
    .popup_cart_section {
        position: unset;
        padding: 0;
    }
    .popup_cart_section .popup_cart_main_button i {
        padding: 15px 15px;
        width: max-content;
        border-radius: 10px;
        transition: 0.8s all;
    }
    .popup_cart_section:hover .popup_cart_main_button i{
        background: var(--e-global-color-primary);
        color: black!important;
    }
}