/* ADELA GLOBAL v5 2026-10-10 - header compatto (logo, ricerca dominante, account/preferiti/carrello, menu chiaro) - tutte le pagine. Caricato da templates/_partials/stylesheets.tpl dopo il Custom CSS del tema. Rollback: togliere il link in stylesheets.tpl */
html body #header{background:#fff !important;border-bottom:1px solid #E3E6EA !important;}
html body #header .tvheader-howitwork,html body #header .tvcms-header-prodata,html body #header .tvmega-menu-title{display:none !important;}
/* fascia nera superiore: una riga sottile */
html body #header .tvcmsdesktop-top-header{background:#111418 !important;padding:0 !important;min-height:0 !important;border:0 !important;}
html body #header .tvcmsdesktop-top-header .tvcmsdesktop-top-wrapper{display:flex !important;align-items:center !important;justify-content:space-between !important;min-height:36px !important;max-width:1560px !important;width:100% !important;padding:0 32px !important;}
html body #header .tvcmsdesktop-top-header .tvheader-offer-wrapper,html body #header .tvcmsdesktop-top-header .tvheader-language-currency-wrapper{flex:0 1 auto !important;max-width:none !important;width:auto !important;padding:0 !important;}
html body #header .tvheader-top-offer{margin:0 !important;}
html body #header .tvcmsdesktop-top-header .tvheader-nav-offer-text,html body #header .tvcmsdesktop-top-header .tvheader-nav-offer-text *{color:#E8EAED !important;font-size:12.5px !important;font-weight:600 !important;font-style:normal !important;font-family:Manrope,Inter,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;line-height:1.4 !important;margin:0 !important;}
html body #header .tvcmsdesktop-top-header .tvheader-nav-offer-text .material-icons{display:none !important;}
html body #header .tvheader-language-currency-wrapper{display:flex !important;gap:8px !important;justify-content:flex-end !important;}
html body #header .tvheader-language-currency-wrapper .tv-language-btn,html body #header .tvheader-language-currency-wrapper .tv-currency-btn{height:26px !important;min-height:0 !important;padding:0 10px !important;border:1px solid #3A3F47 !important;border-radius:4px !important;background:transparent !important;color:#E8EAED !important;font-size:12.5px !important;line-height:24px !important;}
html body #header .tvheader-language-currency-wrapper .tv-language-btn span,html body #header .tvheader-language-currency-wrapper .tv-currency-btn span,html body #header .tvheader-language-currency-wrapper .expand-more{color:#E8EAED !important;font-size:12.5px !important;}
/* fascia principale: logo | ricerca dominante | account, preferiti, carrello */
html body #header .tvcmsdesktop-top-second{background:#fff !important;padding:0 !important;border:0 !important;min-height:0 !important;height:auto !important;}
html body #header .tvcmsdesktop-top-second > .container{max-width:1560px !important;width:100% !important;padding:0 32px !important;}
html body #header .tvcmsdesktop-top-header-box{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:32px !important;margin:0 !important;min-height:0 !important;padding:12px 0 !important;}
html body #header .tvcmsdesktop-top-header-box > div{flex:0 0 auto !important;max-width:none !important;width:auto !important;padding:0 !important;margin:0 !important;}
html body #header .tvcmsdesktop-top-header-box > .tvcmsheader-search{flex:1 1 auto !important;display:flex !important;justify-content:center !important;}
html body #header .tvcms-header-logo-wrapper{align-items:flex-start !important;}
html body #header .tv-header-logo{margin:0 !important;}
html body #header .tv-header-logo a{display:block !important;line-height:0 !important;}
html body #header .tv-header-logo img.logo{height:46px !important;width:auto !important;max-width:none !important;display:block !important;}
html body #header #_desktop_search{width:100% !important;max-width:760px !important;padding:0 !important;margin:0 !important;}
html body #header #_desktop_search .tvheader-sarch-display{display:none !important;}
html body #header #_desktop_search .tvsearch-header-display-wrappper{display:block !important;position:relative !important;width:100% !important;opacity:1 !important;visibility:visible !important;transform:none !important;}
html body #header #_desktop_search form{display:flex !important;align-items:stretch !important;width:100% !important;height:48px !important;margin:0 !important;border:2px solid #111418 !important;border-radius:6px !important;background:#fff !important;overflow:hidden !important;box-shadow:none !important;}
html body #header #_desktop_search .tvheader-top-search,html body #header #_desktop_search .tvheader-top-search-wrapper-info-box{flex:1 1 auto !important;width:auto !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;}
html body #header #_desktop_search input.tvcmssearch-words{width:100% !important;height:100% !important;border:0 !important;background:transparent !important;padding:0 16px !important;font-size:15px !important;color:#111418 !important;box-shadow:none !important;outline:none !important;}
html body #header #_desktop_search .tvheader-top-search-wrapper{flex:0 0 auto !important;width:auto !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;position:static !important;}
html body #header #_desktop_search .tvheader-search-btn{width:58px !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:#111418 !important;display:flex !important;align-items:center !important;justify-content:center !important;}
html body #header #_desktop_search .tvheader-search-btn:hover{background:#C8102E !important;}
html body #header #_desktop_search .tvheader-search-btn svg{width:20px !important;height:20px !important;}
html body #header #_desktop_search .tvheader-search-btn svg *{fill:#fff !important;stroke:#fff !important;}
html body #header #_desktop_search .tvsearch-result{top:100% !important;}
html body #header .tv-contact-account-cart-wrapper{display:flex !important;align-items:center !important;gap:22px !important;justify-content:flex-end !important;}
html body #header .tv-myaccount-btn-desktop,html body #header .adela-hdr-wish,html body #header .tvheader-cart-btn-wrapper > a{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:3px !important;height:auto !important;padding:0 !important;margin:0 !important;background:transparent !important;border:0 !important;color:#111418 !important;text-decoration:none !important;line-height:1 !important;}
html body #header .tv-myaccount-btn-desktop svg,html body #header .tv-cart-icon svg{width:24px !important;height:24px !important;}
html body #header .tv-myaccount-btn-desktop svg *,html body #header .tv-cart-icon svg *{fill:#111418 !important;}
html body #header .tv-myaccount-btn-desktop > span{font-size:0 !important;line-height:1 !important;color:#111418 !important;}
html body #header .tv-myaccount-btn-desktop > span::after{content:"Account";font-size:12.5px;font-weight:700;color:#111418;}
html:lang(de) body #header .tv-myaccount-btn-desktop > span::after{content:"Konto";}
html:lang(fr) body #header .tv-myaccount-btn-desktop > span::after{content:"Compte";}
html body #header .adela-hdr-wish .material-icons{font-size:25px !important;line-height:24px !important;color:#111418 !important;}
html body #header .adela-hdr-lbl{display:block;font-size:12.5px;font-weight:700;color:#111418;line-height:1;}
html body #header .tvheader-cart-btn-wrapper > a{position:relative !important;}
html body #header .tvcart-icon-text-wrapper{display:flex !important;flex-direction:column !important;align-items:center !important;gap:3px !important;position:relative !important;}
html body #header .tv-cart-cart-inner{position:absolute !important;top:-6px !important;right:-10px !important;left:auto !important;margin:0 !important;}
html body #header .tv-cart-cart-inner .cart-products-count{display:flex !important;align-items:center !important;justify-content:center !important;min-width:19px !important;height:19px !important;padding:0 5px !important;border-radius:10px !important;background:#C8102E !important;color:#fff !important;font-size:11px !important;font-weight:800 !important;line-height:19px !important;}
html body #header .adela-hdr-cartlbl{display:block;font-size:12.5px;font-weight:700;color:#111418;line-height:1;}
html body #header .tv-myaccount-btn-desktop:hover > span::after,html body #header .adela-hdr-wish:hover .adela-hdr-lbl,html body #header .tvheader-cart-btn-wrapper > a:hover .adela-hdr-cartlbl{color:#C8102E;}
/* menu: fascia chiara, voci scure, Offerte in rosso, Come funziona e Area professionisti a destra */
html body #header .tvcms-header-menu-offer-wrapper{background:#fff !important;border-top:1px solid #E3E6EA !important;border-bottom:0 !important;box-shadow:none !important;min-height:0 !important;}
html body #header .tvcms-header-menu-offer-wrapper .tvcmsmain-menu-wrapper{max-width:1560px !important;width:100% !important;padding:0 32px !important;}
html body #header #tv-menu-horizontal,html body #header #tv-menu-horizontal ul.menu-content{background:transparent !important;min-height:0 !important;}
html body #header #tv-menu-horizontal ul.menu-content{display:flex !important;align-items:stretch !important;gap:4px !important;height:48px !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1{display:flex !important;align-items:stretch !important;height:48px !important;margin:0 !important;padding:0 !important;float:none !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a{display:flex !important;align-items:center !important;height:48px !important;padding:0 14px !important;color:#111418 !important;background:transparent !important;font-size:15px !important;font-weight:700 !important;letter-spacing:0 !important;text-transform:none !important;border:0 !important;border-bottom:3px solid transparent !important;box-shadow:none !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a span{color:inherit !important;font-size:inherit !important;font-weight:inherit !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1:first-of-type > a,html body #header #tv-menu-horizontal ul.menu-content > li.level-1.tvmega-menu-title + li.level-1 > a{padding-left:0 !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a:hover,html body #header #tv-menu-horizontal ul.menu-content > li.level-1:hover > a{color:#C8102E !important;border-bottom-color:#C8102E !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a[href*="offerte"],html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a[href*="angebote"],html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a[href*="offres"],html body #header #tv-menu-horizontal ul.menu-content > li.level-1 > a[href*="offers"]{color:#C8102E !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.parent > a::after{content:"";display:inline-block;width:7px;height:7px;margin:-3px 0 0 8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem{margin-left:auto !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem ~ li.level-1.adela-b2b-navitem{margin-left:0 !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem > a{font-size:14px !important;font-weight:700 !important;border-radius:0 !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem > a::before{display:none !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem:last-child > a{align-self:center !important;height:34px !important;padding:0 14px !important;margin-left:6px !important;border:2px solid #111418 !important;border-radius:4px !important;}
html body #header #tv-menu-horizontal ul.menu-content > li.level-1.adela-b2b-navitem:last-child > a:hover{background:#111418 !important;color:#fff !important;border-color:#111418 !important;}
html body #header .tvcmsdesktop-contact{display:none !important;}
/* testata fissa durante lo scorrimento: stessa fascia chiara */
html body #header .tvcmsheader-sticky.adelasticky,html body #header .tvcms-header-menu-offer-wrapper.sticky,html body #header .tvcms-header-menu-offer-wrapper.tvsticky{background:#fff !important;box-shadow:0 6px 18px -12px rgba(17,20,24,.35) !important;}
/* MOBILE / TABLET (sotto 992 px) */
@media (max-width:991px){
html body #header #tvcms-mobile-view-header{background:#fff !important;}
html body #header .tvcmsmobile-top-wrapper{background:#111418 !important;padding:6px 12px !important;min-height:0 !important;}
html body #header .tvcmsmobile-top-wrapper .tvheader-nav-offer-text,html body #header .tvcmsmobile-top-wrapper .tvheader-nav-offer-text *{color:#E8EAED !important;font-size:12px !important;font-weight:600 !important;font-style:normal !important;line-height:1.35 !important;margin:0 !important;text-align:center !important;}
html body #header .tvcmsmobile-top-wrapper .material-icons{display:none !important;}
html body #header .tvcmsmobile-header-menu-offer-text{display:flex !important;align-items:center !important;min-height:58px !important;padding:0 8px !important;background:#fff !important;}
html body #header #tvcmsmobile-header-logo{display:flex !important;align-items:center !important;justify-content:center !important;}
html body #header #tvcmsmobile-header-logo img.logo{height:36px !important;width:auto !important;max-width:none !important;display:block !important;}
html body #header .tvmobile-sliderbar-btn .material-icons,html body #header .tvcmsmobile-cart-acount-text svg *{color:#111418 !important;fill:#111418 !important;}
html body #header .tvcmsmobile-header-search-logo-wrapper{padding:0 12px 10px !important;background:#fff !important;}
html body #header #tvcmsmobile-search form{height:44px !important;border:2px solid #111418 !important;border-radius:6px !important;overflow:hidden !important;}
}

/* v5b 2026-10-10: altezza testata ridotta (min-height del tema azzerati), separatore nella fascia nera, testata mobile bianca, ricerca mobile */
html body #header .tvcmsdesktop-top-header-box > div,html body #header #tvcmsdesktop-logo,html body #header #tvcmsdesktop-logo .tv-header-logo{min-height:0 !important;height:auto !important;padding:0 !important;margin:0 !important;}
html body #header .tv-header-account,html body #header .tv-account-wrapper,html body #header #_desktop_cart_manage,html body #header #_desktop_cart,html body #header #_desktop_cart .blockcart,html body #header .tvheader-cart-wrapper,html body #header .tv-contact-account-cart-wrapper{padding:0 !important;margin:0 !important;height:auto !important;min-height:0 !important;}
html body #header .tvcms-header-menu-offer-wrapper,html body #header .tvcms-header-menu-offer-wrapper .tvcms-header-menu,html body #header .tvcmsmain-menu-wrapper,html body #header .tvdesktop-megamenu,html body #header .container_tv_megamenu,html body #header #tv-menu-horizontal{min-height:0 !important;height:auto !important;}
html body #header .tvheader-nav-offer-text h4::after{display:inline-block !important;margin-left:18px !important;padding-left:18px !important;border-left:1px solid #3A3F47 !important;}
@media (max-width:991px){
html body #header .tvheader-nav-offer-text h4::after{display:block !important;margin:2px 0 0 !important;padding:0 !important;border:0 !important;}
html body #header .tvcmsmobile-header-logo-right-wrapper,html body #header #tvcmsmobile-header-logo,html body #header #tvcmsmobile-account-button,html body #header .tvcmsmobile-header-search,html body #header #tvcmsmobile-search,html body #header .tvcmsmobile-header-menu-offer-text > div{background:#fff !important;}
html body #header .tvcmsmobile-header-menu-offer-text{min-height:60px !important;height:auto !important;}
html body #header #tvcmsmobile-header-logo,html body #header #tvcmsmobile-header-logo .tv-header-logo{height:auto !important;min-height:0 !important;padding:0 !important;}
html body #header .tvcmsmobile-header-search{padding:0 12px 10px !important;height:auto !important;min-height:0 !important;}
html body #header #tvcmsmobile-search .tvsearch-top-wrapper,html body #header #tvcmsmobile-search .tvsearch-header-display-wrappper{display:block !important;width:100% !important;}
html body #header #tvcmsmobile-search form{display:flex !important;align-items:stretch !important;}
html body #header #tvcmsmobile-search .tvheader-top-search,html body #header #tvcmsmobile-search .tvheader-top-search-wrapper-info-box{flex:1 1 auto !important;height:100% !important;margin:0 !important;padding:0 !important;}
html body #header #tvcmsmobile-search input.tvcmssearch-words{height:100% !important;border:0 !important;padding:0 14px !important;font-size:15px !important;background:transparent !important;box-shadow:none !important;}
html body #header #tvcmsmobile-search .tvheader-top-search-wrapper{flex:0 0 auto !important;width:auto !important;height:100% !important;padding:0 !important;margin:0 !important;}
html body #header #tvcmsmobile-search .tvheader-search-btn{width:50px !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:#111418 !important;display:flex !important;align-items:center !important;justify-content:center !important;}
html body #header #tvcmsmobile-search .tvheader-search-btn svg{width:20px !important;height:20px !important;}
html body #header #tvcmsmobile-search .tvheader-search-btn svg *{fill:#fff !important;stroke:#fff !important;}
}
