/* === Layout: elimina colonna sidebar (barra bianca a destra) === */
.LayoutContent-70{width:100%!important;float:none!important;padding:0!important}
#tabber-BX{padding:20px 16px 48px}
.home #tabber-BX,.page-id-925 #tabber-BX{padding:0}
body section.nd-sec{padding-top:44px;padding-bottom:44px}
body section.nd-hero{padding-top:72px;padding-bottom:72px}
body section.nd-cta{padding-top:52px;padding-bottom:52px}
.entry-title,h1.page-title{font-size:28px;line-height:1.2;margin:0 0 16px}
.woocommerce-breadcrumb{font-size:13px;margin:0 0 12px;color:#6a6765}
@media(min-width:768px){
 #tabber-BX{padding:40px 24px 80px}
 body section.nd-sec{padding-top:72px;padding-bottom:72px}
 body section.nd-hero{padding-top:120px;padding-bottom:120px}
 body section.nd-cta{padding-top:80px;padding-bottom:80px}
 .entry-title,h1.page-title{font-size:38px}
}

/* === Negozio === */
.nd-loading{opacity:.45;pointer-events:none;transition:opacity .15s}
.woocommerce-result-count{float:none!important;margin:0 0 10px!important;font-size:14px;color:#6a6765}
.woocommerce-ordering{float:none!important;margin:0 0 16px!important}
.woocommerce-ordering select{width:100%;min-height:44px;border:1.5px solid #d6d3d1;border-radius:10px;padding:0 12px;font-size:16px;background:#fff}
.nd-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;align-items:start}
.nd-shop>*{grid-column:1/-1;order:0}
.nd-shop>.nd-filter-btn{grid-column:1;order:1}
.nd-shop>.woocommerce-ordering{grid-column:2;order:2;margin:0 0 14px!important}
.nd-shop>.woocommerce-result-count{order:3}
.nd-shop>ul.products{order:4}
.nd-shop>nav.woocommerce-pagination{order:5}
.nd-filter-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0 0 14px;border:1.5px solid #d6d3d1;border-radius:10px;background:#fff;color:#1c1917;font-size:15px;font-weight:600;cursor:pointer}
.nd-filter-btn b{min-width:20px;height:20px;border-radius:10px;background:#b91c1c;color:#fff;font-size:12px;line-height:20px;text-align:center}

/* Filtri multipli (sidebar desktop) */
.nd-filters{border:1px solid #e7e5e4;border-radius:14px;background:#fff}
.nd-ff{display:flex;flex-direction:column;margin:0}
.nd-sheet-bg,.nd-sheet-close,.nd-grip{display:none}
.nd-sheet-head{padding:16px 18px 0;font-size:18px}
.nd-sheet-body{padding:6px 18px 4px}
fieldset.nd-group{margin:0;padding:12px 0;border:0;border-bottom:1px solid #f0eeed;min-width:0}
fieldset.nd-group:last-of-type{border:0}
.nd-group legend{padding:0;float:left;width:100%;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#6a6765;margin:0 0 8px;font-weight:600}
.nd-cats,.nd-price{clear:both}
.nd-cats{list-style:none;margin:0;padding:0}
.nd-opt{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 6px;border-radius:10px;cursor:pointer;font-size:15px;font-weight:500;color:#1c1917;margin:0}
.nd-opt:hover{background:#f5f5f4}
.nd-opt input{position:absolute;opacity:0;width:1px;height:1px}
.nd-box{flex:0 0 20px;height:20px;border:1.8px solid #a8a29e;border-radius:6px;background:#fff;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s}
.nd-opt input:checked+.nd-box{background:#b91c1c;border-color:#b91c1c}
.nd-opt input:checked+.nd-box::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.nd-opt input:focus-visible+.nd-box{outline:2px solid #b91c1c;outline-offset:2px}
.nd-opt input:checked~.nd-lbl{font-weight:700;color:#b91c1c}
.nd-lbl{flex:1}
.nd-n{font-size:12px;opacity:.55}
.nd-price{display:flex;align-items:center;gap:8px}
.nd-price input{flex:1;min-width:0;width:80px;min-height:44px;border:1.5px solid #d6d3d1;border-radius:10px;padding:0 10px;font-size:16px;background:#fff}
.nd-sheet-foot{display:flex;gap:8px;padding:0 18px 16px}
.nd-sheet-done{display:none}
.nd-reset{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;border:1.5px solid #d6d3d1;border-radius:10px;color:#b91c1c!important;font-weight:600;text-decoration:none!important}
@media(min-width:1024px){
 .nd-shop{grid-template-columns:260px minmax(0,1fr) auto;column-gap:32px}
 .nd-shop>*{order:0!important}
 .nd-shop>h1,.nd-shop>.page-title{grid-column:1/-1;grid-row:1}
 .nd-shop>.term-description{grid-column:1/-1;grid-row:2;margin:0 0 16px}
 .nd-shop>.nd-filters{grid-column:1;grid-row:3/span 8;position:sticky;top:24px}
 .nd-shop>.woocommerce-result-count{grid-column:2;line-height:44px;margin:0 0 16px!important}
 .nd-shop>.woocommerce-ordering{grid-column:3;margin:0 0 16px!important}
 .nd-shop>ul.products,.nd-shop>nav.woocommerce-pagination,.nd-shop>.woocommerce-notices-wrapper{grid-column:2/-1}
 .nd-shop>.nd-sheet-bg,.nd-shop>script{display:none}
 .woocommerce-ordering select{width:auto;min-width:240px}
 .nd-filter-btn{display:none}
 html body .nd-shop ul.products.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:1500px){html body .nd-shop ul.products.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Filtri: bottom sheet (mobile e tablet) */
@media(max-width:1023px){
 .nd-sheet-bg{display:block;position:fixed;inset:0;z-index:100000;background:rgba(28,25,23,.5);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
 .nd-filters{position:fixed;left:0;right:0;bottom:0;z-index:100001;display:flex;flex-direction:column;max-height:86vh;border:0;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.2);transform:translateY(105%);visibility:hidden;transition:transform .3s cubic-bezier(.32,.72,0,1),visibility .3s;padding-bottom:env(safe-area-inset-bottom)}
 .nd-ff{min-height:0;flex:1 1 auto}
 .nd-sheet-head{position:relative;display:flex;align-items:center;justify-content:space-between;padding:22px 18px 10px;touch-action:none;border-bottom:1px solid #f0eeed}
 .nd-grip{display:block;position:absolute;top:8px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:2px;background:#d6d3d1}
 .nd-sheet-close{display:block;width:44px;height:44px;margin:-8px -10px -8px 0;border:0;background:transparent;font-size:30px;line-height:1;color:#57534e}
 .nd-sheet-body{overflow-y:auto;-webkit-overflow-scrolling:touch;flex:1 1 auto}
 .nd-sheet-foot{padding:12px 18px 16px;border-top:1px solid #f0eeed}
 .nd-sheet-done{display:block;flex:2;min-height:48px;border:0;border-radius:10px;background:#b91c1c;color:#fff;font-size:16px;font-weight:600}
 .nd-sheet-open{overflow:hidden}
 .nd-sheet-open .nd-sheet-bg{opacity:1;visibility:visible}
 .nd-sheet-open .nd-filters{transform:none;visibility:visible}
}

/* === Header: ricerca e account === */
html body .header_search_box{display:none!important}
html body .header_button_box{display:flex;align-items:center;gap:2px;margin:0;padding:0}
html body .header_button_box li{list-style:none;margin:0}
.nd-acc a,.nd-stoggle button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
.nd-hsearch{display:none;align-items:center;position:relative}
.nd-hsearch input[type=search]{width:100%;min-height:44px;border:1.5px solid #d6d3d1;border-radius:999px;padding:0 46px 0 18px;font-size:16px;background:#fff;color:#1c1917;box-sizing:border-box}
.nd-hsearch button{position:absolute;right:4px;top:4px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#57534e;display:flex;align-items:center;justify-content:center;cursor:pointer}

/* Mobile/tablet: menu a sinistra, logo al centro, ricerca/account/carrello a destra */
@media(max-width:1023px){
 html body .header_menu_area{position:relative}
 html body .header_menu_area .container{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:6px 8px!important;height:auto!important;min-height:0!important}
 html body .header_menu_area .container::before,html body .header_menu_area .container::after,html body .header_menu_area .clear{display:none!important}
 html body .header_menu_area .logo{grid-column:2;grid-row:1;float:none!important;width:auto!important;padding:0!important;margin:0!important;top:auto!important;height:auto!important;text-align:center}
 html body .header_menu_area .logo img{height:54px!important}
 html body #navigationpanel{grid-column:1;grid-row:1;justify-self:start;float:none!important;width:auto!important;margin:0!important;padding:0!important;position:static}
 html body .site-navigation{position:static}
 html body .menu-toggle{margin:0!important;min-width:44px;min-height:44px}
 html body .site-navigation .menu-header-container{position:absolute;left:0;right:0;top:100%;z-index:99990;background:#fff;box-shadow:0 14px 28px rgba(0,0,0,.12)}
 html body .header_search_area{grid-column:3;grid-row:1;justify-self:end;float:none!important;width:auto!important;margin:0!important;padding:0!important;display:flex!important;align-items:center;position:static}
 .nd-hsearch{position:absolute;left:0;right:0;top:100%;z-index:99995;padding:10px 12px;background:#fff;border-bottom:1px solid #e7e5e4;box-shadow:0 14px 28px rgba(0,0,0,.12)}
 .nd-hsearch button{right:16px;top:14px}
 .nd-search-open .nd-hsearch{display:flex}
}

/* Desktop: ricerca | logo centrato | account+carrello, menu centrato sulla seconda riga */
@media(min-width:1024px){
 .nd-stoggle{display:none!important}
 html body .header_menu_area .container{display:grid!important;grid-template-columns:1fr auto 1fr;grid-template-areas:"s l a" "n n n";align-items:center;column-gap:24px;row-gap:0;padding:14px 24px 0!important}
 html body .header_menu_area .container::before,html body .header_menu_area .container::after,html body .header_menu_area .clear{display:none!important}
 html body .header_menu_area .logo{grid-area:l;justify-self:center;float:none!important;width:auto!important;margin:0!important;padding:0!important}
 html body .header_menu_area .logo img{height:72px!important}
 html body .header_search_area{display:contents!important}
 .nd-hsearch{grid-area:s;display:flex;justify-self:start;width:100%;max-width:300px}
 html body .header_button_box{grid-area:a;justify-self:end}
 html body #navigationpanel{grid-area:n;justify-self:stretch;width:100%!important;float:none!important;margin:12px 0 0!important;padding:0!important;text-align:center;border-top:1px solid #efeeed}
}

/* === Area account === */
.woocommerce-account .woocommerce{max-width:980px;margin:0 auto}
.woocommerce-account .u-columns{display:grid;gap:20px}
@media(min-width:768px){.woocommerce-account .u-columns{grid-template-columns:1fr 1fr}}
.woocommerce-account .u-columns .u-column1,.woocommerce-account .u-columns .u-column2{width:auto!important;float:none!important}
.woocommerce form.login,.woocommerce form.register{border:1px solid #e7e5e4;border-radius:14px;padding:20px;background:#fff;margin:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select{min-height:46px;font-size:16px;border-radius:8px}
.woocommerce form .button,.woocommerce-page form .button{min-height:46px;border-radius:8px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0 0 20px;padding:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.woocommerce-MyAccount-navigation li a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1.5px solid #d6d3d1;border-radius:999px;white-space:nowrap;color:#1c1917;text-decoration:none}
.woocommerce-MyAccount-navigation li.is-active a{background:#b91c1c;border-color:#b91c1c;color:#fff}
@media(min-width:768px){.woocommerce-MyAccount-navigation{float:left;width:230px}.woocommerce-MyAccount-navigation ul{flex-direction:column}.woocommerce-MyAccount-content{margin-left:260px}}
