body > .mnm_form {
    display: none !important;
}

.mnm_form.cart.cart_group {
    flex-direction: column !important;
}

.mnm_child_products {
    gap: 20px !important;
}

.mnm_child_products::after, .mnm_child_products::before {
    display: none !important;
}

.mnm_child_products > li.mnm_item  {
    width: calc(50% - 10px) !important;
    margin: 0 !important;
    flex-direction: row !important;
    border-radius: 20px;
    border: 1px solid #2e5e3c;
}

.mnm_child_products > li.mnm_item > div  {
    background-color: #fff !important;
    margin: 0 !important;
    width: max-content !important;
    min-width: unset !important;
}
/*
body .mnm_child_products .product-thumbnail .mnm_child_product_images > figure > a > img, .mnm_child_products .product-thumbnail .mnm_child_product_images > figure > a, .mnm_child_products .product-thumbnail .mnm_child_product_images > figure, .mnm_child_products .product-thumbnail .mnm_child_product_images {
    height: 100%;
}*/

.mnm_child_products > li.mnm_item img {
    margin: 0 !important;
    width: 80px !important;
    object-fit: cover !important;
    border-right: 1px solid #2e5e3c;
    border-radius: 15px 0 0 15px;
    overflow: hidden;
}

.mnm_child_products > li.mnm_item .quantity.buttons_added {
    margin: 0 !important;
    width: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 5px !important;
    border-left: 1px solid #2e5e3c;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.woocommerce .mnm_child_products > li.mnm_item .quantity.buttons_added button {
    height: max-content !important;
    color: #2e5e3c !important;
    background-color: #fff !important;
    font-size: 1.4em !important;
    width: max-content !important;
}

.woocommerce .mnm_child_products > li.mnm_item .quantity.buttons_added button:hover {
    color: #2e5e3c !important;
    background-color: #fff !important;
}

.mnm_child_products > li.mnm_item .quantity.buttons_added input {
    outline: none !important;
    border: none !important;
    font-size: 1.2em !important;
    color: #2e5e3c !important;
    margin: 0 !important;
    height: max-content !important;
    flex: unset !important;
}

.mnm_child_products > li.mnm_item .product-details {
    width: calc(100% - 120px) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
}

.mnm_child_products > li.mnm_item .product-thumbnail {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.mnm_child_products > li.mnm_item .product-quantity {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.mnm_form  .single_add_to_cart_button.button {
    font-size: 100% !important;
    line-height: 2 !important;
}

.mnm_child_products > li.mnm_item .product-details h4.woocommerce-loop-product__title {
    padding: 0 !important;
}

.mnm_child_products > li.mnm_item .product-details h4.woocommerce-loop-product__title a {
    color: #2e5e3c !important;
    font-size: 1.2em !important;
    line-height: 1 !important;
}

.ydu_reset_mnm {
    text-align: center;
    margin: 0 auto 5px auto;
    color: #2e5e3c;
    cursor: pointer;
    border-bottom: 1px solid #2e5e3c;
    font-size: 1.1em;
    width: max-content;
    line-height: 1;
}

#primary .mnm_form .products .mnm_item  .product-details {
    font-size: 13px !important;
    font-weight: 400 !important;
    font-family: "Lexend", sans-serif !important;
}

.ydu_custom_sur_mesure_tag {
    background-color: #bbdb97;
    color: #2e5e3c;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.9em;
    line-height: 1;
}

.ydu_custom_sur_mesure_sub {
    color: #2e5e3c;
    font-weight: 300;
    font-size: 0.9em;
    line-height: 1.1;
    text-align: center;
}

.mnm_child_products .wc_mnm_child_item_error {
    display: none !important;
}

.mnm_reset {
    display: none !important;
}

.ydu_recap_qty {
    font-weight: 500;
    color: #2e5e3c;
    margin: 15px 0;
    text-align: center;
}

.ydu_recap_qty .ydu_mnm_select_left {
    font-weight: 400;
    color: #bbdb97;
}

.ydu_coffret_mesure_subtitle {
    color: #2e5e3c;
    font-weight: 700;
    font-size: 1em;
    margin: 15px 0;
    line-height: 1;
}

.ydu_recap_qty_sub {
    font-weight: 500;
    color: #2e5e3c;
    display: none;
    margin-bottom: 15px;
    text-align: center;
}

.ydu_recap_qty_svg {
    display: none;
}

.ydu_ok .ydu_recap_qty_svg {
    display: inline-block;
}

.ydu_ok .ydu_recap_qty {
    margin-bottom: 0;
}

.ydu_ok .ydu_mnm_select_left {
    color: #2e5e3c;
    font-weight: 500;
}

.ydu_ok .ydu_recap_qty_sub {
    display: block;
}

.ydu_custom_sur_mesure_tagspe {
    color: #fff;
    background-color: #2e5e3c;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.9em;
    line-height: 1;
    position: absolute;
    top: 0;
    right: 5px;
    transform: translateY(-50%);
    z-index: 1000;
}

.js .mnm_form.has-plus-minus-buttons .product-quantity .button--plus, .woocommerce-js .mnm_form.has-plus-minus-buttons .product-quantity .button--plus {
    order: 1;
}

.js .mnm_form.has-plus-minus-buttons .product-quantity .button--minus, .woocommerce-js .mnm_form.has-plus-minus-buttons .product-quantity .button--minus {
    order : 3;
}

@media screen and (max-width: 992px) {
    .ydu_custom_sur_mesure_tagspe {
        right: 5px;
    }

    .mnm_child_products > li.mnm_item {
        width: 100% !important;
    }

    .ydu_custom_sur_mesure_tag {
        position: absolute;
        top: 0;
        transform: translate(-50%, -50%);
        left: 50%;
        width: max-content;
    }

    .mnm_child_products > li.mnm_item .product-details {
        padding: 10px 20px;
        gap: 5px;
    }
    
    .mnm_child_products > li.mnm_item .product-details {
        width: calc(100% - 160px) !important;
        align-items: flex-start;
    }

    .mnm_child_products > li.mnm_item .quantity.buttons_added {
        flex-direction: row !important;
        max-width: unset !important;
        width: 80px !important;
        border: none !important;
    }

    .single-product div .mnm_child_products > li.mnm_item .product-quantity .quantity.buttons_added input {
        width: 30px !important;
    }

    .ydu_custom_sur_mesure_sub {
        text-align: left;
    }
    
}

@media screen and (max-width: 768px) {

    body .mnm_child_products .product-thumbnail .mnm_child_product_images > figure > a > img {
        height:auto;
        min-height: 76px;
    }

    .woocommerce.single-product div .mnm_form .mnm_child_products > li.mnm_item {
        max-width: unset !important;
    }

    .mnm_child_products > li.mnm_item .product-details {
        padding: 15px 10px;
    }

    .mnm_child_products > li.mnm_item img {
        width: 65px !important;
    }

    .mnm_child_products > li.mnm_item .product-details {
        width: calc(100% - 145px) !important;
    }
}
