/* 
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
*/

@import url("assets/css/woocommerce_archive.css");
@import url("assets/css/woocommerce_product.css");
@import url("assets/css/woocommerce_checkout.css");
@import url("assets/css/blog.css");

/* Elementor: fix scrollbar orizzontale */
html, body {overflow-x:hidden;}

/* Elementor: fix margine inferiore */
.elementor-widget-woocommerce-product-price p.price,
.elementor-widget-woocommerce-breadcrumb nav.woocommerce-breadcrumb,
.elementor-widget-woocommerce-product-content p:last-child,
.elementor-widget-woocommerce-product-short-description > div > p:last-child {margin-bottom:0!important;}

/* Elementor/Tabs: aggiungi padding alle immagini nel titolo */
.elementor-widget-n-tabs .e-n-tab-title:has(img) {padding-top:10px!important; padding-bottom:10px!important;}

/* Elementor/Carousel: fix larghezza link + ombra paginazione */
.elementor-widget-n-carousel .swiper-slide .elementor-widget-image > a {width:100%;}
.elementor-widget-n-carousel .swiper-pagination-bullets > .swiper-pagination-bullet {box-shadow:0 1px 5px 1px rgba(0, 0, 0, 0.25);}

/* Elementor: aggiungi icona al pulsante "Aggiungi al carrello" */
.elementor-widget-woocommerce-product-add-to-cart a.add_to_cart_button:after {content:"\f07a"; font-family:"Font Awesome 5 Free"; font-weight:900; margin-left:5px;}

/* Elementor/Icona: fix altezza */
.elementor-widget-icon .elementor-icon {display:block;}

/* Elementor fix: elementor-widget-woocommerce-menu-cart */
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle > a.elementor-button {border:none!important; background:none!important;}



.elementor-widget-image-carousel .swiper-slide figure.swiper-slide-inner > .swiper-slide-image {display:block;}

/* Elementor fix: elementor-widget-text-editor */
.elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child,
.elementor-widget-text-editor ol:last-child {margin-bottom:0!important;}
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {padding:0 0 0 20px; margin-bottom:14px;}
.elementor-widget-text-editor ul > li + li,
.elementor-widget-text-editor ol > li + li {margin-top:5px;}
.elementor-widget-text-editor a {text-decoration:underline; font-weight:bold;}

/* Elementor fix: form */
.elementor-field-type-acceptance > label {display:none;}
.elementor-field-type-acceptance .elementor-field-option > label > a {color:inherit!important; text-decoration:underline;}
.elementor-field-type-recaptcha_v3 {height:0!important; margin-bottom:0!important;}
.elementor-field-type-recaptcha_v3 .elementor-g-recaptcha {height:0!important;}
.elementor-field-type-recaptcha_v3 .elementor-g-recaptcha .grecaptcha-badge{visibility:collapse!important;}

/* Elementor fix: tab nel megamenu */
.elementor-location-header .elementor-widget-n-tabs .e-n-tabs-heading > button.e-n-tab-title[aria-selected=true],
.elementor-location-header .elementor-widget-n-tabs .e-n-tabs-heading > button.e-n-tab-title[aria-selected=false]:hover {background-color:var(--e-global-color-ea79cbc)!important;}
.elementor-location-header .elementor-widget-n-tabs .e-n-tabs-heading > button.e-n-tab-title {padding:15px 30px!important;}
.elementor-location-header .elementor-widget-n-tabs .e-n-tabs-heading > button.e-n-tab-title > span.e-n-tab-title-text > a > img {display:block;}




/* Header: lista dei desider */
a.wlfmc-counter .wlfmc-counter-icon > i {transition:all .3s;}
a.wlfmc-counter:hover .wlfmc-counter-icon > i {color:var(--e-global-color-eee8f14);}
a.wlfmc-counter.products-number-position-top-right {}

/* Footer: stili per menu */
.elementor-location-footer .elementor-widget-nav-menu nav > ul > li {display:flex; align-items:center; gap:10px;}
.elementor-location-footer .elementor-widget-nav-menu nav > ul > li:before {content:"\f101"; font-family:"Font Awesome 5 Free"; font-weight:900; color:var(--e-global-color-eee8f14);}

/* Footer: link iubenda */
.elementor-location-footer a.iubenda-cs-preferences-link {color:var(--e-global-color-dfcb9ed); transition:color 0.3s;}
.elementor-location-footer a.iubenda-cs-preferences-link:hover {color:var(--e-global-color-eee8f14);}

/* Breadcrumbs */
nav.rank-math-breadcrumb > p {margin-bottom:0!important; font-size:12px;}

/* Megamenu: elenco categorie dinamico */
.elenco-categorie > h3 {margin-bottom:10px; font-size:15px; text-transform:uppercase;}
.elenco-categorie > ul {list-style:none; margin:0 0 10px 0; padding:0;}
.elenco-categorie > ul > li + li {margin-top:5px;}
.elenco-categorie > ul > li > i {color:var(--e-global-color-eee8f14); margin-right:5px;}
.elenco-categorie > ul > li > a {transition:color 0.3s;}

/* Megamenu:tabs con effetto fade */
.hoverTabs .e-n-tabs-content .e-con.e-active {animation:fadeInTabs 0.75s ease forwards;}
@keyframes fadeInTabs{ 0% {opacity:0;} 100% {opacity:1;} }

/* Sticky header (desktop) */
header.elementor-location-header #desktop-header.elementor-sticky--effects {z-index:100;}
/* Sticky header desktop: blocco icone */
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects {z-index:101;}
/* Sticky header desktop: icona utente */
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .elementor-widget-icon a.elementor-icon {color:#FFF!important;}
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .elementor-widget-icon a.elementor-icon:hover {color:var(--e-global-color-eee8f14)!important;}
/* Sticky header desktop: icona wishlist */
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .wlfmc-counter-wrapper a.wlfmc-products-counter .wlfmc-counter-icon i {color:#FFF!important;}
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .wlfmc-counter-wrapper a.wlfmc-products-counter:hover .wlfmc-counter-icon i {color:var(--e-global-color-eee8f14)!important;}
/* Sticky header desktop: icona carrello */
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .elementor-widget-woocommerce-menu-cart a.elementor-menu-cart__toggle_button .elementor-button-icon {color:#FFF!important;}
header.elementor-location-header #desktop-header-actions.elementor-sticky--effects .elementor-widget-woocommerce-menu-cart a.elementor-menu-cart__toggle_button:hover .elementor-button-icon {color:var(--e-global-color-eee8f14)!important;}

/* Sticky header (tablet + mobile): cambia il colore di sfondo nello sticky */
.elementor-location-header .stickynavbar.elementor-sticky--effects {background:#ffffff!important; border-bottom:1px solid rgba(0,0,0,0.125);}

/* Menu mobile */
.elementor-widget-uael-nav-menu#menu-mobile nav > ul > li {border-bottom:1px solid rgba(255,255,255,0.5);}
.elementor-widget-uael-nav-menu#menu-mobile nav > ul > li > ul.sub-menu {}
.elementor-widget-uael-nav-menu#menu-mobile nav > ul > li > ul.sub-menu > li > ul.sub-menu > li {background-color:#FFF;}
.elementor-widget-uael-nav-menu#menu-mobile nav > ul > li > ul.sub-menu > li > ul.sub-menu > li > a {padding-left:45px!important;}


@media (min-width: 1200px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header),
	body:not([class*=elementor-page-]) .site-main {max-width:1400px; padding-right:10px; padding-left:10px;}
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {max-width:1400px!important; padding-right:10px; padding-left:10px;}

.woocommerce-notices-wrapper {max-width: 1400px; margin: 0 auto;}
.woocommerce-notices-wrapper > * {margin-top:10px; margin-bottom:10px;}