.elementor-5360 .elementor-element.elementor-element-3ff2e37{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-5360 .elementor-element.elementor-element-8e2b0bc .elementor-heading-title{font-size:15px;}.elementor-5360 .elementor-element.elementor-element-1133531 > .elementor-widget-container{margin:-20px 0px 0px 0px;}.woocommerce .elementor-5360 .elementor-element.elementor-element-1133531 .price{font-size:15px;}@media(max-width:767px){.elementor-5360 .elementor-element.elementor-element-3ff2e37{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5360 .elementor-element.elementor-element-8e2b0bc .elementor-heading-title{font-size:14px;line-height:14px;}.elementor-5360 .elementor-element.elementor-element-4ed45e6 .elementor-button{font-size:12px;padding:10px 0px 10px 0px;}}/* Start custom CSS for woocommerce-product-title, class: .elementor-element-8e2b0bc */add_action('woocommerce_after_shop_loop_item_title', 'description_in_shop_loop_item', 3 );
function description_in_shop_loop_item() {
    global $product;

    // HERE define the number of words
    $limit = 10;

    $description = $product->get_description(); // Product description
    // or
    // $description = $product->get_short_description(); // Product short description

    // Limit the words length
    if (str_word_count($description, 0) > $limit) {
        $words = str_word_count($description, 2);
        $pos = array_keys($words);
        $excerpt = substr($description, 0, $pos[$limit]) . '...';
    } else {
        $excerpt = $description;
    }

    echo '<p class="description">'.$excerpt.'</p>';
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-3ff2e37 */.Product_Loop .product_title{
    overflow: hidden;
display: -webkit-box!important;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}/* End custom CSS */