/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */

/*** Breadcrumbs ***/
.custom-breadcrumbs {
    font-size: 14px;
    font-weight: 400;
}

.custom-breadcrumbs a {
    text-decoration: none;
    color: var(--e-global-color-secondary);
}

.custom-breadcrumbs a:hover {
    color: var(--e-global-color-primary);
}

.custom-breadcrumbs .breadcrumb-sep {
    font-family: "Huge Icons";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    margin: 0 5px;
    color: var(--e-global-color-9c4eb4b);
}

/* Category product cards: keep titles, excerpts and prices aligned on desktop. */
@media (min-width: 768px) {
  body.tax-product_cat .woocommerce ul.products li.product,
  body.post-type-archive-product .woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 4.8em;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  body.tax-product_cat .woocommerce ul.products li.product :is(.woocommerce-product-details__short-description, .product-short-description, .short-description),
  body.post-type-archive-product .woocommerce ul.products li.product :is(.woocommerce-product-details__short-description, .product-short-description, .short-description) {
    display: -webkit-box;
    min-height: 4.8em;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.tax-product_cat .woocommerce ul.products li.product .price,
  body.post-type-archive-product .woocommerce ul.products li.product .price {
    margin-top: auto;
  }
}

/* Elementor Loop Grid variant used by category archives. */
@media (min-width: 768px) {
  body.tax-product_cat .elementor-loop-container .e-loop-item > .elementor-element {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  body.tax-product_cat .elementor-loop-container .e-loop-item a[href*="/prodotto/"] .elementor-heading-title {
    display: -webkit-box;
    min-height: 4.8em;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  body.tax-product_cat .elementor-loop-container .e-loop-item .elementor-widget-text-editor .elementor-widget-container {
    display: -webkit-box;
    min-height: 4.8em;
    margin-bottom: 1rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.tax-product_cat .elementor-loop-container .e-loop-item .elementor-widget-text-editor {
    margin-bottom: 0;
  }
}
