/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Stile font sito */
b, strong {
    font-weight: 600;
}

/* Stile per il titolo delle categorie all'interno dell'immagine */
.woocommerce .product-category .woocommerce-loop-category__title {
    position: absolute !important; /* Posiziona il titolo sopra l'immagine */
    top: 50% !important; /* Allinea verticalmente al centro */
    left: 50% !important; /* Allinea orizzontalmente al centro */
    transform: translate(-50%, -50%) !important; /* Centra esattamente il testo */
    color: #ffffff; /* Colore del testo bianco */
    padding: 10px 15px !important; /* Spaziatura interna */
    font-weight: bold; /* Testo in grassetto */
    text-transform: uppercase; /* Testo in stampatello */
	 font-size: 25px !important; /* Forza la dimensione del testo */
    font-family: 'Poppins', sans-serif; /* Font Poppins */
    text-align: center !important; /* Centra il testo */
    z-index: 1; /* Assicura che il titolo sia sopra l'immagine */
    border-radius: 5px; /* Angoli arrotondati dello sfondo */
}

/* Assicurati che l'immagine della categoria non copra il titolo */
.woocommerce .product-category {
    position: relative !important; /* Contesto di posizionamento per il titolo */
    overflow: hidden !important; /* Assicura che il titolo resti dentro l'immagine */
}

/* Stile specifico per dispositivi tablet */
@media (max-width: 768px) {
    .woocommerce .product-category {
        margin-bottom: 10px; /* Riduce lo spazio tra le categorie */
    }
    .woocommerce .product-category .woocommerce-loop-category__title {
        font-size: 22px !important; /* Forza la dimensione del testo a 22px su mobile */
        line-height: 1.2; /* Regola l'altezza della linea per migliorare la leggibilità */
    }
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
margin: 0 0 1em !important;
}
 .shopengine-widget .shopengine-grid ul.products li.product img {
        margin-bottom: 0 !important;
    }
}

/* disposizione prodotti su una colonna per mobile	*/
@media (max-width: 480px) {
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
}
}

/* Rimuove il numero di prodotti e sottocategorie tra parentesi */
.woocommerce-loop-category__title mark.count {
    display: none; /* Nasconde il numero tra parentesi */
}
/* Seleziona solo le pagine delle categorie e sottocategorie in WooCommerce */
.woocommerce.archive .page-title {
    font-family: 'Poppins', sans-serif; /* Applica il font Poppins */
    text-transform: uppercase !important; /* Tutto in maiuscolo */
    margin-top: 30px; /* 50px di margine superiore */
    margin-bottom: 50px; /* 50px di margine inferiore */
    font-weight: bold; /* Aggiunge il grassetto */
/* Stile per i breadcrumbs nelle pagine delle categorie e sottocategorie */
	}
.woocommerce .woocommerce-breadcrumb {
    font-family: 'Poppins', sans-serif; /* Applica il font Poppins */
    text-transform: uppercase !important; /* Tutto in maiuscolo */
    margin-top: 20px; /* Aggiunge 20px di margine superiore */
}
/* Stile per l'icona dei breadcrumbs */
.woocommerce .breadcrumb-icon {
    font-size: 14px !important; /* Dimensione dell'icona con priorità */
    margin: 0 5px !important;   /* Margine per separare l'icona dalle parole con priorità */
    color: #333 !important;     /* Colore dell'icona con priorità */
}
/* Nascondo testo, prezzo e pulsante sotto alla foto prodotto*/
.woocommerce ul.products li.product .price {
    display: none !important;
}
a.shopengine_add_to_list_action.shopengine-wishlist.badge.se-btn.inactive {
    display: none;
}
i.shopengine-icon-quick_view_1 {
    display: none;
}
.woocommerce ul.products li.product .button {
    display: none !important;
}
i.shopengine-icon-product_compare_1 {
    display: none;
}
/*Colore font Prodotti*/
.woocommerce .product-category .woocommerce-loop-category__title {
		color: #636362;
}
/* Nascondo Tab descrizione prodotto */
li#tab-title-description {
    display: none;
}
/* Nascondo linea Tab descrizione */
.shopengine-tabs-line {
    display: none;
}
selector {
   background-color: #123456 !important; /* Colore di sfondo */
   color: #654321 !important; /* Colore del testo */
}


/* test css box allegati e descrizione*/
/* Stile generale per il box */
.box-allegati {
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    background-color: #f0f0f0;
    margin: 50px auto 0;
}

.p-desc {
    height: 135px;
}

/* Stile del titolo */
.titolo-allegati, .titolo-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75em;
    margin-bottom: 15px;
    color: #636362;
    text-align: left;
    font-weight: 600;
}

/* Stile dell'elenco */
.allegati-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
    color: #636362;
}

.allegati-lista li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 5px;
}

.allegati-lista li img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    cursor: pointer;
}
/* Stile del link */
.allegati-lista li a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.allegati-lista li a:hover {
    color: #000;
}

.container-allegati{
	background-color:#f0f0f0;
	padding:30px 20px;
	
}

.link-allegati{
	color: #555 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
	font-size:13.5px;
	justify-content: space-between !important;
	align-items: baseline;
}

/*filtro ordine prodotti*/
.woocommerce .woocommerce-ordering {
   /* margin: 0 0 1em;*/
    display: none;
}

/* Aggiunge un quadrato 50px sotto al testo*/
.p-square-download {
    position: relative;
}
.p-square-download::before {
    content: '';
    position: absolute;
    top: -20px;
		left: -10px;
    width: 50px;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.2);
    z-index: -1;
}

/* Aggiunge un quadrato 100px sotto al titolo*/
.p-square-big {
    position: relative;
}
.p-square-big::before {
    content: '';
    position: absolute;
    top: -46px;
    width: 100px;
    height: 100px;
    background-color: rgba(128, 128, 128, 0.2);
    z-index: -1;
}
.p-square-big-right::before {
		right: -25px;
}
.p-square-big-left::before {
		left: -25px;
}

/* Aggiunge un quadrato 250px sotto al titolo ECO*/
.p-square-eco {
    position: relative;
}
.p-square-eco::before {
    content: '';
    position: absolute;
    top: -65px;
    width: 215px;
    height: 215px;
    background-color: rgba(128, 128, 128, 0.2);
    z-index: -1;
}
.p-square-eco-right::before {
		right: -25px;
}
.p-square-eco-left::before {
		left: -65px;
}
.p-square-eco-color::before {
	background-color: #29452f;
}

/*Dimensioni immagini prodotto*/
.woocommerce ul.products li.product a img {
    width: 100%;
   	height: 250px;
    display: block;
    /*margin: 0 0 1em;*/
    box-shadow: none;
		object-fit: contain;
		object-position: center;
}
/*priorità zoom immagine prodotto*/
.shopengine-widget .shopengine-product-image .position-top-right {
  z-index: 1;
}

/*resize img prodotto*/
.shopengine-widget .shopengine-product-image .images.woocommerce-product-gallery .woocommerce-product-gallery__image, .shopengine-widget .shopengine-product-image .images.woocommerce-product-gallery .woocommerce-product-gallery__image a, .shopengine-widget .shopengine-product-image .images.woocommerce-product-gallery .woocommerce-product-gallery__image a img, .shopengine-widget .shopengine-product-image .images.woocommerce-product-gallery figure {
	max-height: 385px;
	max-width: max-content;
}

/* disposizione prodotti su una colonna per mobile	*/
@media (max-width: 480px) {
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
}
}


/* read more style */

div#tab-description {
    display: flex;
    flex-direction: column;
}

.testo-troncato {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Numero di righe visibili */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}
 .testo-troncato.mostra {
    -webkit-line-clamp: unset;
}
 button.toggle-btn {
    display: block;
    background: transparent;
    border: none;
    color: darkgray;
    cursor: pointer;
    margin-top: 5px;
    font-size: 0.9rem;
	padding: 0 0 10px 0;
	align-self: flex-end;
}

button.toggle-btn:hover, button.toggle-btn:link, button.toggle-btn:active, button.toggle-btn:focus {
    background-color: unset;
}

button.toggle-btn:hover, button.toggle-btn:link, button.toggle-btn:focus {
    color: black;
text-decoration:underline;
}

/*Modifica il box dei Downnload*/

.area-download .wp-caption img {
    display: block;
    width: 100%;
    height: auto;
}

.area-download .wp-caption-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #636362;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold !important;
font-size: 25px !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
pointer-events: none;
}