/* HBU - intestazione compatta (29/11/2026). Tornare indietro: header.tpl e head.tpl da catalogo/tema-prima-20261129 */
/* TELEFONO: intestazione del tema per dispositivi mobili */
.mobile-header-version .header-nav{display:none}
.mobile-header-version .main-header .header-wrapper{display:flex;flex-wrap:wrap;align-items:center}
.mobile-header-version .header-logo{flex:0 0 auto;margin:0;padding:8px 0 6px;text-align:left}
.mobile-header-version .header-logo img{max-height:114px;width:auto}
.mobile-header-version .customer-signin-module{top:12px!important;right:12px}
.mobile-header-version .header-right{flex:1 1 100%;padding-bottom:8px}
.hbu-striscia{display:none}
.mobile-header-version .hbu-striscia{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:8px 12px;background:#1d1f22;-webkit-overflow-scrolling:touch}
.hbu-striscia::-webkit-scrollbar{display:none}
.hbu-striscia a{flex:0 0 auto;color:#fff;font:600 14px 'Roboto Condensed',Roboto,Arial,sans-serif;padding:6px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;white-space:nowrap;text-decoration:none}
.hbu-striscia a.hs-offerte{background:#e5383b;border-color:#e5383b}
/* TABLET e finestre strette del computer: menu nero su una riga che scorre */
@media (max-width:1199px){
 #amegamenu .anav-top{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start!important;scrollbar-width:none}
 #amegamenu .anav-top::-webkit-scrollbar{display:none}
 #amegamenu .amenu-item{flex:0 0 auto}
}
/* nuovo logo HBU (29/11/2026): altezza fissa in intestazione */
.desktop-header-version .header-logo img.logo,.desktop-header-version .header-logo img{height:180px!important;width:auto!important;max-width:none}
.mobile-header-version .header-logo{text-align:left!important}.mobile-header-version .header-logo img.logo{height:auto!important;max-height:none!important;width:calc(100vw - 120px)!important;max-width:278px!important}
/* ===== MENU (29/11/2026): voci distanziate, etichette, tendine inquadrate ===== */
#amegamenu .anav-top{display:flex!important;justify-content:center;align-items:stretch;gap:2px;margin:0;padding:0}
#amegamenu .amenu-item{display:flex}
#amegamenu .amenu-item>.amenu-link{display:flex!important;align-items:center;gap:6px;height:48px;padding:0 15px!important;font:600 14px/1 'Roboto Condensed',Roboto,Arial,sans-serif!important;letter-spacing:.5px;text-transform:uppercase;color:#fff!important;position:relative;white-space:nowrap}
#amegamenu .amenu-item>.amenu-link>span{display:inline-block}
#amegamenu .amenu-item>.amenu-link:after{content:'';position:absolute;left:15px;right:15px;bottom:8px;height:2px;background:#e5383b;transform:scaleX(0);transition:transform .2s;transform-origin:left}
#amegamenu .amenu-item:hover>.amenu-link:after,#amegamenu .amenu-item.hbu-cromia-menu>.amenu-link:after{transform:scaleX(1)}
#amegamenu .amenu-item>.amenu-link>sup{position:static!important;transform:none!important;margin:0!important;top:auto!important;right:auto!important;display:inline-block;font:700 10px/1 Roboto,Arial,sans-serif!important;letter-spacing:.3px;text-transform:uppercase;padding:3px 6px!important;border-radius:999px;color:#fff!important}
#amegamenu .amenu-item>.amenu-link>sup:before,#amegamenu .amenu-item>.amenu-link>sup:after{display:none!important}
/* tendine */
#amegamenu .adropdown{top:100%!important;background:#fff!important;border:0!important;border-top:3px solid #e5383b!important;border-radius:0 0 14px 14px!important;box-shadow:0 18px 40px rgba(0,0,0,.16)!important;padding:16px 18px!important}
#amegamenu .adropdown .dropdown-bgimage{display:none}
#amegamenu .adropdown .content-grid{display:grid!important;grid-template-columns:repeat(var(--hbu-col,1),minmax(0,1fr));gap:2px 18px;margin:0!important}
#amegamenu .adropdown .aitem{width:auto!important;max-width:none!important;flex:none!important;padding:0!important;margin:0!important}
#amegamenu .adropdown .category-title{margin:0!important;padding:0!important;border:0!important;font-size:inherit!important}
#amegamenu .adropdown .category-title a{display:block;padding:9px 12px;border-radius:8px;font:600 14px/1.25 Roboto,Arial,sans-serif;color:#26282b!important;text-transform:none;letter-spacing:0}
#amegamenu .adropdown .category-title a:hover{background:#fdecec;color:#b3191d!important}
#amegamenu .adropdown .category-subs{list-style:none;margin:0 0 6px!important;padding:0 0 0 12px!important}
#amegamenu .adropdown .category-subs a{display:block;padding:5px 12px;border-radius:6px;font-size:13.5px;color:#5a5e65!important}
#amegamenu .adropdown .category-subs a:hover{background:#f4f4f5;color:#b3191d!important}
#amegamenu .amenu-item[data-id-menu="11"] .content-grid{--hbu-col:2}
#amegamenu .amenu-item[data-id-menu="16"] .content-grid{--hbu-col:4}
#amegamenu .amenu-item[data-id-menu="16"]>.amenu-link{background:#e5383b;border-radius:8px;height:34px;margin:7px 0 7px 8px}
#amegamenu .amenu-item[data-id-menu="16"]>.amenu-link:after{display:none}
/* menu laterale del telefono */
#mobile-amegamenu .amenu-item{border-bottom:1px solid rgba(255,255,255,.08)}
#mobile-amegamenu .amenu-item>.amenu-link{display:flex!important;align-items:center;gap:8px;padding:14px 18px!important;font:600 15px/1.2 'Roboto Condensed',Roboto,Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.4px}
#mobile-amegamenu .amenu-item>.amenu-link>sup{position:static!important;transform:none!important;margin:0!important;display:inline-block;font:700 10px/1 Roboto,Arial,sans-serif!important;padding:3px 6px!important;border-radius:999px}
#mobile-amegamenu .mobile-toggle-plus{margin-left:auto}
#mobile-amegamenu .adropdown{padding:4px 10px 10px 18px!important;background:rgba(255,255,255,.04)!important}
#mobile-amegamenu .adropdown .category-title a,#mobile-amegamenu .adropdown .category-subs a{display:block;padding:9px 8px!important;font-size:14px;color:#e6e7ea!important;text-transform:none}
#mobile-amegamenu .adropdown .aitem{width:100%!important;padding:0!important}
.st-menu-title{padding:16px 18px!important;font-weight:700}
.footer-about-us img[src*="hbushop-logo-v3"],img[src*="hbushop-logo-v3-completo"]{width:300px!important;max-width:100%!important;height:auto!important}
/* 30/11 Cromia Lab nella tendina Tintometria */
.hbu-cromia-dd{min-width:280px}
a.hbu-cromia-menu{display:block;padding:10px;border-radius:12px;background:#fff8ef;border:1px solid #efd9b8;color:#3a2a14!important;text-decoration:none!important}
a.hbu-cromia-menu img{display:block;width:100%;height:140px;object-fit:cover;border-radius:8px;margin-bottom:8px}
a.hbu-cromia-menu strong{display:block;font-size:17px;color:#b5651d}
a.hbu-cromia-menu span{display:block;font-size:13px;line-height:1.35;margin:4px 0 6px}
a.hbu-cromia-menu em{font-style:normal;font-weight:700;color:#c62828}
a.hbu-cromia-menu:hover{box-shadow:0 4px 14px rgba(0,0,0,.12)}
/* 30/11: telefono, barra fissa in alto allo scorrimento (prima restava fuori schermo e si vedeva una banda bianca) */
.mobile-header-version .mobile-sticky-wrapper{flex:1 1 100%;width:100%}
.mobile-header-version .mobile-sticky-wrapper.is-sticky [data-mobile-sticky]{left:0;right:0;width:100%!important;padding:6px 10px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.12);z-index:1000}
.mobile-header-version .mobile-sticky-wrapper.is-sticky .customer-signin-module,.mobile-header-version .mobile-sticky-wrapper.is-sticky .language-selector-wrapper{display:none!important}
.mobile-header-version .mobile-sticky-wrapper.is-sticky .searchbar-wrapper{flex:1 1 auto}

/* 1/12/2026 fasce in alto CHIARE (Nino non vuole il nero) */
.header-event-banner,.header-event-banner-wrapper>div{background:#fff6e5!important;border-color:#fde7bd!important}
.header-event-banner{border-bottom:1px solid #fde7bd}
.header-event-banner-wrapper div{color:#1f2328!important}
.header-event-banner-wrapper div+div>div+div,.header-event-banner-wrapper div div:last-child>div:last-child{color:#4b5563!important}
.header-event-banner-wrapper span[style*="e6b02b"]{color:#b45309!important}
.header-bottom,.header-main-menu,.desktop-sticky-wrapper,.desktop-sticky-wrapper.is-sticky,.desktop-sticky-wrapper .sticky-background{background:#fff!important}
.header-main-menu{border-top:1px solid #e6e8eb;border-bottom:1px solid #e6e8eb}
#amegamenu .amenu-item>.amenu-link{color:#1f2328!important}
#amegamenu .amenu-item:hover>.amenu-link{color:#c8102e!important}
#amegamenu .amenu-item[data-id-menu="16"]>.amenu-link{color:#fff!important}
.mobile-header-version .hbu-striscia{background:#fff;border-bottom:1px solid #e6e8eb}
.hbu-striscia a{color:#1f2328;border-color:#d7dbe0;background:#f4f5f7}
.hbu-striscia a.hs-offerte{color:#fff}
html body #header-main-menu,html body #header-main-menu-sticky-wrapper,html body .desktop-sticky-wrapper{background-color:#fff!important;border-bottom:1px solid #e6e8eb!important}
html body #amegamenu .amenu-item.hbu-tutti>.amenu-link{color:#1f2328!important}
html body #amegamenu .amenu-item.hbu-tutti:hover>.amenu-link{color:#c8102e!important}
html body header .cart-link.btn-primary{background:#c8102e!important;border-color:#c8102e!important;color:#fff!important}
html body .mobile-header-version .mobile-menu-icon{background:#c8102e!important;color:#fff!important}
/* 1/12/2026 pulsanti principali rossi invece che neri (Nino non vuole il nero) */
html body .btn-primary{background-color:#c8102e;border-color:#c8102e;color:#fff}
html body .btn-primary:hover,html body .btn-primary:focus,html body .btn-primary:active{background-color:#a50d26!important;border-color:#a50d26!important;color:#fff}
