/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/* ----------------- Home  ---------------------- */

/* sezione preferiti */
.SEZ-preferiti .elementor-widget-theme-post-featured-image img {
	aspect-ratio: 397 / 317;
	border: 1px solid var(--e-global-color-secondary);
}

.BTN-hover-1 a.elementor-button {
	position: relative;
}
.BTN-hover-1 a.elementor-button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--e-global-color-text);
    left: 0;
    bottom: 0;
    height: 0;
	transition: height .3s ease;
	z-index: -1;
}
.BTN-hover-1 a.elementor-button:hover::before {
	    height: 100%;
}

/* -------------------- modifiche pagina chi siamo -------------- */
/* Nasconde la galleria di Elementor per il nostro scopo */
.hidden-gallery-shooting {
    display: none !important; /* Forza la sovrascrittura di Elementor */
    visibility: hidden;
    opacity: 0;
    height: 0; /* Assicura che non occupi spazio */
    overflow: hidden;
}
/* Nasconde il carosello di immagini di Elementor */
.hidden-carousel-ungiorno,
.hidden-carousel-trendincity,
.hidden-carousel-bottegastorica {
    display: none !important; /* Forza la sovrascrittura di Elementor */
    visibility: hidden;
    opacity: 0;
    height: 0; /* Assicura che non occupi spazio */
    overflow: hidden;
}

/* Stili opzionali per i tuoi trigger se vuoi un effetto cursore */
#open-carousel-ungiorno-button,
#open-carousel-ungiorno-image
{
    cursor: pointer;
}

/* ------------ pagine policy ---------- */
.testo-policy ul,ol {
	margin-bottom: 30px !important;
}
.testo-policy p.tito1 {
	font-weight: bold;
	font-size: 110%;
}


/* ------------ pagine prodotto woocomerce ---------- */
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: initial !important;
}
table.variations tr:nth-child(1){
	border-bottom:2px solid black;
}
table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsla(0,0%,50.2%,.1019607843) !important;
}
.e-atc-qty-button-holder {
	margin-left: 15px;
}
.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 0 4px 0 0;
    border: 2px solid #D9B366;
}
.woocommerce div.product p.price del, .woocommerce div.product span.price del {
    opacity: .5;
    display: inline-block;
    font-size: 22px;
    color: black;
}
/* custom mod lavorazone a sacchetto */
.woocommerce-loop-product__title span {
    font-style: italic !important;
    color: white;
    background: #b39964;
    /* border-radius: 8px; */
    padding: 0 3px;
}
.product_title.entry-title span {
    font-style: italic !important;
    color: white;
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 35px;
    background: #b39964;
    padding: 0 13px;
}

/* end */
.woocommerce-breadcrumb {
    font-size: 0 !important;
}
.woocommerce-breadcrumb a {
    font-size: 16px !important;
 
}
.woocommerce-breadcrumb a::after {
    content: "/";
    display: inline-block;
    margin-left: 14px;
    margin-right: 14px;
}
/* info aggiuntive  .shop_attributes */
.woocommerce table.shop_attributes {
    border: 0;
    border-top: 0 dotted rgba(0,0,0,.1);
    margin-bottom: 1.618em;
    /* margin: 0 auto; */
}
table.shop_attributes td {
    padding: 15px;
    line-height: 1.5;
    vertical-align: middle;
    border: 0 solid #eee !important;
	border-left: 1px solid #eee !important;
	padding: 10px 20px !important;
		background: white !important;
	color: grey !important;
	font-size: 19px;
	font-style: normal !important;
}
table.shop_attributes th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: middle;
    border: 0 solid #eee !important;
	color: black;
	background: white !important;
}
table.shop_attributes tr:nth-child(odd)>td,table.shop_attributes tr:nth-child(odd)>th {
		border-bottom: 1px solid #b1b1b1 !important;
}
table.shop_attributes th a:hover {
	text-decoration: underline;
}

body.archive .woocommerce-loop-product__buttons {
	display: none !important;
}

.yith-wcan-filters .yith-wcan-filter .filter-title {
    color: var(--yith-wcan-filters_colors_titles, #434343);
    font-size: 16px;
    font-weight: 600;
}
/* Stili per il badge di sconto percentuale */
.onsale.onsale-percentage {
    background-color: #D64F4F; /* Colore di sfondo */
    color: white; /* Colore del testo */
    padding: 6px 10px; /* Spaziatura interna */
    border-radius: 4px; /* Bordi arrotondati */
    font-size: 0.85em; /* Dimensione del testo */
    font-weight: bold; /* Grassetto */
    text-transform: uppercase; /* Testo in maiuscolo */
    position: absolute; /* Per posizionarlo sopra l'immagine o il contenitore */
    top: 10px; /* Distanza dall'alto */
    left: 10px; /* Distanza da sinistra */
    z-index: 10; /* Assicura che sia sopra altri elementi */
    line-height: 1; /* Rimuove spazio extra sopra/sotto il testo */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Ombra leggera */
}

/* Stili per il placeholder nell'editor di Elementor (utile per vedere dove verrà il badge) */
.onsale-placeholder {
    display: inline-block;
    background-color: #eee;
    color: #777;
    padding: 4px 8px;
    font-size: 0.8em;
    border-radius: 3px;
    opacity: 0.7;
    margin-bottom: 10px; /* Per separarlo visivamente nell'editor */
}
.woocommerce span.onsale {
    /* min-height: 3.236em; */
    /* min-width: 3.236em; */
    padding: .202em;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    line-height: 3;
    top: -1.5em;
    left: -1.5em;
    margin: 0;
    border-radius: 100%;
    background-color: #D9B366;
    color: #fff;
    font-size: 1.257em;
    z-index: 9;
    /* height: 43px; */
    vertical-align: middle;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
ins {
	text-decoration: none !important;
}
.woocommerce ul.products li.product .price ins {
    font-weight: inherit;
}
.woocommerce ul.products li.product .price del {
    color: inherit;
    opacity: .5;
    display: inline-block;
    font-size: 80%;
}

/* elenco sotto categorie in sidebar */
.elenco_sotto_categorie li.product-category img {
    display: none !important;
}
a.show-more.initialized {
    font-size: 12px;
    font-weight: bold;
    color: #c36;
    font-style: italic;
    padding-left: 10px;
    cursor: pointer;
}
/* //// rollover per archive thumb //////// */
/* CSS per l'effetto hover sulla thumbnail del prodotto */
.woocommerce ul.products li.product a img.secondary-product-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.woocommerce ul.products li.product a:hover img.secondary-product-image {
    opacity: 1;
}

.woocommerce ul.products li.product a img {
    transition: opacity 0.3s ease;
    display: block;
    position: relative;
}
.woocommerce ul.products li.product a {
    position: relative;
    display: block;
}

/* //////////////// pagina cassa /////////////// */
.woocommerce-checkout-payment ul.wc_payment_methods {
margin-top: 30px !important;
margin-bottom: 20px !important;
}
.woocommerce-checkout-payment ul li {
 margin-bottom: 10px !important;
}


/* /////////////// campo cerca */
search.e-search .e-search-input {
    padding-left: 20px !important;
}
search.e-search .e-search-input:focus {
    color: #434343 !important;
}

.elementor-shortcode {
    font-size: 0;
}

/* //////////////////////////////////////////////////// */
/* //////////////////// nuovo popup ///////////////// */


#sib_signup_form_1 input {
    padding: 10px 20px;
    font-size: 17px;
    background: #ffffff;
    color: black;
}
#sib_signup_form_1 p {
	margin-bottom: 15px;
}
#sib_signup_form_1 p.testo-acpt {
	color: white;
	font-size: 13px;
}

#sib_signup_form_1 input[type=submit] {
	color: black;
}
#sib_signup_form_1 input[type=submit]:hover {
	background: #b39964;
}

/* ----------- lingua gtranslate ----------------- */
.lingua a {
    margin-left: 7px;
}
a.glink img {
    vertical-align: middle;
    display: inline;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0.8;
    margin-right: 2px;
}

/* --------- nascondo sisstema di pagamento nella pagina del singolo prodotto */
body.single.woocommerce-page .apppago-pdp-sim-widget {
	display: none;
}

/* --------- pagina promozioni ---------- */
body.page .woocommerce-loop-product__buttons {
    display: none !important;
}

/* -------------- modifica per correggere bug dovuta al plugin dei filtri che attiva piu icone drop menu -------- */
.elementor-nav-menu .elementor-item.has-submenu .sub-arrow:nth-of-type(n+2) {
    display: none;
}
