.product h4.upsell-title {
    color: var(--Green, var(--bde-headings-color));
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
    margin-top: 0px;
}

.upsell-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.product .upsell-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    border: solid 1px var(--color-border-colored);
    width: 100%;

    .item-quantity-group {
        margin-top: 0px;
    }

    form.left-side-content.cart {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-width: 70%;
        flex-wrap: nowrap;

        .quantity {
            max-width: 85px;
            display: flex;
            align-items: center;
        }

        input.input-text {
            height: 40px;
        }
    }

    .right-side-content {
        .product-price {
            .price {
                display: flex;
                flex-direction: column;

                span {
                    line-height: 1.2;
                }

                .woocommerce-Price-amount bdi {
                    font-style: normal;
                    font-weight: 600;
                }

                ins {
                    color: var(--color-sale);
                    text-decoration: none;
                }

                del {
                    font-size: var(--font-size-xsmall);
                    opacity: .5;
                    display: block;
                    font-weight: var(--font-weight-semibold);
                    text-decoration: strikethrough;
                }
            }
        }
    }



    p {
        color: var(--Green, #072929);
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        margin: 0px;
        text-decoration: none;
        line-height: 1.2;
        text-wrap: pretty;
    }

    .add-to-cart-upsell {
        border-radius: 5px;
        padding: 5px 20px;
        cursor: pointer;
        min-width: 80px;
    }
}

@media (max-width:767px) {
    .product .upsell-product {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px;
        position: relative;
        gap: 20px;

        form.left-side-content.cart {
            display: contents;
            width: 100%;

            p {
                white-space: normal;
                order: 1;
            }

            .item-quantity-group {
                order: 2;
            }
        }

        p {
            width: 100%;
            order: 1;
        }

        .right-side-content {
            flex-shrink: 0;
            order: 3;
        }
    }
}