/*
 * GeSmart Theme Config 0.3.0
 * Header evoluto generico per gesmartheme.
 *
 * I colori pubblicati dalla palette --gstc-* hanno precedenza.
 * In loro assenza vengono utilizzati fallback neutri del tema.
 */

#header .gstc-header-evolved{
  position:relative;
  z-index:1000;
  width:100%;
  color:var(--gstc-body-text,#232323);
  background:var(--gstc-header-bg,#fff);
  box-shadow:0 2px 14px rgba(22,34,42,.06)
}

#header .gstc-header-evolved a{
  text-decoration:none
}

#header .gstc-header-evolved__topbar{
  min-height:36px;
  display:flex;
  align-items:center;
  background:var(--gstc-topbar-bg,#263238);
  color:var(--gstc-topbar-text,#fff)
}

#header .gstc-header-evolved__topbar-inner{
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

#header .gstc-header-evolved__topbar-message{
  min-width:0;
  font-size:12px;
  line-height:1.3;
  letter-spacing:.015em;
  color:inherit
}

#header .gstc-header-evolved__topbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  margin-left:auto;
  white-space:nowrap
}

#header .gstc-header-evolved__topbar-actions a,
#header .gstc-header-evolved__topbar-actions span,
#header .gstc-header-evolved__topbar-actions i{
  color:inherit!important
}

#header .gstc-header-evolved__contact,
#header .gstc-header-evolved__selectors{
  display:flex;
  align-items:center;
  gap:14px
}

#header .gstc-header-evolved__contact #_desktop_contact_link,
#header .gstc-header-evolved__contact #contact-link{
  display:flex;
  align-items:center;
  margin:0
}

#header .gstc-header-evolved__contact #contact-link>a{
  color:inherit!important;
  font-size:12px!important;
  font-weight:500!important
}

#header .gstc-header-evolved__contact #contact-link>a i{
  font-size:16px!important;
  color:inherit!important
}

#header .gstc-header-evolved__selectors .language-selector-wrapper,
#header .gstc-header-evolved__selectors .currency-selector{
  margin:0!important;
  color:inherit
}

#header .gstc-header-evolved__main{
  background:var(--gstc-header-bg,#fff)
}

#header .gstc-header-evolved__main-inner{
  min-height:92px;
  display:grid;
  grid-template-columns:minmax(170px,240px) minmax(320px,1fr) auto;
  align-items:center;
  gap:34px
}

#header .gstc-header-evolved--no-search .gstc-header-evolved__main-inner{
  grid-template-columns:minmax(170px,240px) 1fr
}

#header .gstc-header-evolved__logo{
  min-width:0
}

#header .gstc-header-evolved__logo h1{
  margin:0
}

#header .gstc-header-evolved__logo .logo{
  display:block;
  width:auto;
  max-width:100%;
  max-height:58px
}

#header .gstc-header-evolved__search{
  width:100%;
  min-width:0
}

#header .gstc-header-evolved__search #search_widget,
#header .gstc-header-evolved__search .search-widget,
#header .gstc-header-evolved__search .search-widgets{
  display:block;
  float:none;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0
}

#header .gstc-header-evolved__search form{
  position:relative;
  width:100%;
  margin:0
}

#header .gstc-header-evolved__search input[type="text"]{
  width:100%!important;
  min-width:0!important;
  height:48px;
  padding:0 52px 0 18px!important;
  border:1px solid var(--gstc-search-border,#dfe3e6)!important;
  border-radius:10px;
  outline:0!important;
  background:var(--gstc-search-bg,#f6f7f7)!important;
  color:var(--gstc-search-text,#263238)!important;
  box-shadow:none;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease
}

#header .gstc-header-evolved__search input[type="text"]:focus{
  background:#fff!important;
  border-color:var(--gstc-accent,#718894)!important;
  box-shadow:0 0 0 3px rgba(113,136,148,.14)
}

#header .gstc-header-evolved__search .material-icons.search{
  position:absolute;
  z-index:2;
  top:50%;
  right:16px;
  left:auto;
  margin:0;
  transform:translateY(-50%);
  font-size:23px;
  color:var(--gstc-accent,#718894);
  pointer-events:none
}

#header .gstc-header-evolved__search .material-icons.clear{
  display:none!important
}

#header .gstc-header-evolved__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  white-space:nowrap
}

#header .gstc-header-evolved__account,
#header .gstc-header-evolved__cart{
  display:flex;
  align-items:center
}

#header .gstc-header-evolved__actions #_desktop_user_info,
#header .gstc-header-evolved__actions #_desktop_cart{
  display:block
}

#header .gstc-header-evolved__actions .user-info,
#header .gstc-header-evolved__actions .blockcart{
  display:flex;
  align-items:center;
  min-height:46px;
  margin:0!important;
  padding:0 12px!important;
  background:transparent!important;
  border-radius:8px;
  color:var(--gstc-body-text,#263238)
}

#header .gstc-header-evolved__actions .user-info{
  gap:7px
}

#header .gstc-header-evolved__actions .user-info a,
#header .gstc-header-evolved__actions .blockcart a,
#header .gstc-header-evolved__actions .blockcart .header{
  color:var(--gstc-body-text,#263238)!important;
  font-size:13px;
  font-weight:600
}

#header .gstc-header-evolved__actions .material-icons{
  font-size:24px;
  color:var(--gstc-accent,#718894)!important
}

#header .gstc-header-evolved__actions .blockcart:hover,
#header .gstc-header-evolved__actions .user-info:hover{
  background:var(--gstc-search-bg,#f6f7f7)!important
}

#header .gstc-header-evolved__actions .cart-products-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  margin-left:5px;
  border-radius:999px;
  background:var(--gstc-accent,#718894);
  color:#fff!important;
  font-size:10px;
  line-height:1
}

#header .gstc-header-evolved__nav{
  position:relative;
  background:var(--gstc-menu-bg,#fff);
  border-top:1px solid var(--gstc-search-border,#e7eaec);
  border-bottom:1px solid var(--gstc-search-border,#e7eaec)
}

#header .gstc-header-evolved__nav .menu,
#header .gstc-header-evolved__nav #_desktop_top_menu{
  display:block;
  width:100%;
  padding:0;
  margin:0
}

#header .gstc-header-evolved__nav .top-menu[data-depth="0"]{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:0;
  width:100%;
  margin:0
}

#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li{
  position:relative;
  flex:0 0 auto;
  margin:0
}

#header .gstc-header-evolved__nav .top-menu a[data-depth="0"]{
  display:block;
  padding:17px 18px!important;
  color:var(--gstc-menu-text,#263238)!important;
  font-size:12px!important;
  line-height:1.2;
  font-weight:600!important;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
  border:0;
  transition:color .15s ease
}

#header .gstc-header-evolved__nav .top-menu a[data-depth="0"]::after{
  position:absolute;
  right:18px;
  bottom:9px;
  left:18px;
  height:2px;
  content:"";
  background:var(--gstc-menu-hover,#718894);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .16s ease
}

#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li:hover>a,
#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li.current>a,
#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li.menu-open>a{
  color:var(--gstc-menu-hover,#718894)!important
}

#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li:hover>a::after,
#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li.current>a::after,
#header .gstc-header-evolved__nav .top-menu[data-depth="0"]>li.menu-open>a::after{
  transform:scaleX(1)
}

#header .gstc-header-evolved__nav #_desktop_top_menu .sub-menu{
  top:100%;
  margin-top:0;
  border:1px solid #e5e8ea;
  border-radius:0 0 10px 10px;
  background:#fff;
  box-shadow:0 14px 32px rgba(25,35,42,.10)
}

#header .gstc-header-evolved__mobile{
  background:var(--gstc-header-bg,#fff)
}

#header .gstc-header-evolved__mobile-inner{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}

#header .gstc-header-evolved__mobile-menu{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  border:0;
  border-radius:8px;
  background:var(--gstc-search-bg,#f6f7f7);
  color:var(--gstc-body-text,#263238);
  cursor:pointer
}

#header .gstc-header-evolved__mobile-menu .material-icons{
  font-size:25px
}

#header .gstc-header-evolved__mobile-logo{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0
}

#header .gstc-header-evolved__mobile-logo .logo{
  width:auto;
  max-width:100%;
  max-height:38px
}

#header .gstc-header-evolved__mobile-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px
}

#header .gstc-header-evolved__mobile-actions .user-info,
#header .gstc-header-evolved__mobile-actions .blockcart{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  padding:0!important;
  margin:0!important;
  background:transparent!important
}

#header .gstc-header-evolved__mobile-actions .material-icons{
  font-size:23px;
  color:var(--gstc-accent,#718894)!important
}

#header .gstc-header-evolved__mobile-actions .cart-products-count{
  font-size:10px
}

#header .gstc-header-evolved__mobile-menu-panel{
  width:100%;
  margin:0;
  padding:0 15px 15px;
  background:#fff
}

#header .gstc-header-evolved__mobile-menu-panel .js-top-menu-bottom{
  padding-top:8px;
  border-top:1px solid #e7eaec
}

@media(max-width:991px){
  #header .gstc-header-evolved__main-inner{
    gap:20px
  }

  #header .gstc-header-evolved__nav .top-menu a[data-depth="0"]{
    padding-right:10px!important;
    padding-left:10px!important;
    font-size:11px!important
  }
}

@media(max-width:767px){
  #header .gstc-header-evolved{
    box-shadow:0 2px 10px rgba(22,34,42,.05)
  }

  #header .gstc-header-evolved__topbar{
    display:none
  }

  #header .gstc-header-evolved__main-inner,
  #header .gstc-header-evolved--no-search .gstc-header-evolved__main-inner{
    min-height:auto;
    display:block;
    padding:0 0 13px
  }

  #header .gstc-header-evolved__search{
    width:100%
  }

  #header .gstc-header-evolved__search input[type="text"]{
    height:44px;
    border-radius:8px
  }

  #header .gstc-header-evolved__nav{
    display:none!important
  }
}

@media(max-width:420px){
  #header .gstc-header-evolved__mobile-inner{
    min-height:58px
  }

  #header .gstc-header-evolved__mobile-menu{
    width:38px;
    height:38px;
    flex-basis:38px
  }
}

/* ==========================================================
   GeSmart Theme Config 0.3.1
   Azioni compatte Header: Account / Preferiti
   ========================================================== */

#header .gstc-header-evolved__account,
#header .gstc-header-evolved__wishlist{
  display:flex;
  align-items:center
}

#header .gstc-header-evolved__action-link{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 11px;
  border-radius:9px;
  color:var(--gstc-body-text,#263238)!important;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  transition:
    background-color .16s ease,
    color .16s ease
}

#header .gstc-header-evolved__action-link:hover,
#header .gstc-header-evolved__action-link:focus{
  color:var(--gstc-accent,#718894)!important;
  background:var(--gstc-search-bg,#f6f7f7);
  text-decoration:none!important
}

#header .gstc-header-evolved__action-link .material-icons{
  margin:0;
  font-size:23px;
  color:var(--gstc-accent,#718894)!important
}

#header .gstc-header-evolved__wishlist
  .gstc-header-evolved__action-link
  .material-icons{
  font-size:24px
}

#header .gstc-header-evolved__mobile-action{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:8px;
  color:var(--gstc-accent,#718894)!important
}

#header .gstc-header-evolved__mobile-action:hover,
#header .gstc-header-evolved__mobile-action:focus{
  background:var(--gstc-search-bg,#f6f7f7);
  text-decoration:none
}

#header .gstc-header-evolved__mobile-action .material-icons{
  margin:0;
  font-size:23px;
  color:inherit!important
}

/*
 * Nell'Header Evoluto il logout resta disponibile nell'area account.
 * Non duplichiamo qui il link "Esci": la testata rimane compatta.
 */
#header .gstc-header-evolved__actions
  .gstc-header-evolved__account
  + .gstc-header-evolved__wishlist{
  margin-left:1px
}

@media(max-width:1100px){
  #header .gstc-header-evolved__action-link{
    padding-right:8px;
    padding-left:8px
  }

  #header .gstc-header-evolved__action-link span{
    display:none
  }
}

/* ==========================================================
   GSTC_HEADER_REFINEMENT_032
   GeSmart Theme Config 0.3.2

   Rifinitura desktop generica Header Evoluto:
   - maggiore presenza visiva;
   - distribuzione più ampia del contenuto;
   - logo, ricerca e azioni più leggibili;
   - nessuna modifica alla struttura mobile.
   ========================================================== */

@media (min-width:992px){

  #header .gstc-header-evolved__topbar-inner,
  #header .gstc-header-evolved__main > .container,
  #header .gstc-header-evolved__nav > .container{
    width:100%;
    max-width:1240px
  }

  #header .gstc-header-evolved__topbar,
  #header .gstc-header-evolved__topbar-inner{
    min-height:38px
  }

  #header .gstc-header-evolved__topbar-message{
    font-size:12.5px;
    font-weight:500;
    letter-spacing:.02em
  }

  #header .gstc-header-evolved__contact #contact-link>a{
    font-size:12.5px!important
  }

  #header .gstc-header-evolved__topbar-actions{
    gap:20px
  }

  #header .gstc-header-evolved__main-inner{
    min-height:98px;
    grid-template-columns:
      minmax(190px,230px)
      minmax(420px,1fr)
      auto;
    gap:30px
  }

  #header .gstc-header-evolved--no-search
    .gstc-header-evolved__main-inner{
    grid-template-columns:minmax(190px,230px) 1fr
  }

  #header .gstc-header-evolved__logo{
    display:flex;
    align-items:center
  }

  #header .gstc-header-evolved__logo h1{
    display:flex;
    align-items:center
  }

  #header .gstc-header-evolved__logo .logo{
    max-width:180px;
    max-height:64px
  }

  #header .gstc-header-evolved__search input[type="text"]{
    height:50px;
    padding-right:54px!important;
    padding-left:20px!important;
    border-radius:12px;
    font-size:13px
  }

  #header .gstc-header-evolved__search
    .material-icons.search{
    right:17px;
    font-size:22px
  }

  #header .gstc-header-evolved__actions{
    gap:4px
  }

  #header .gstc-header-evolved__action-link{
    min-height:50px;
    gap:8px;
    padding-right:12px;
    padding-left:12px;
    border-radius:10px;
    font-size:13px
  }

  #header .gstc-header-evolved__action-link
    .material-icons{
    font-size:22px
  }

  #header .gstc-header-evolved__wishlist
    .gstc-header-evolved__action-link
    .material-icons{
    font-size:22px
  }

  #header .gstc-header-evolved__actions
    .blockcart{
    min-height:50px;
    padding-right:12px!important;
    padding-left:12px!important;
    border-radius:10px
  }

  #header .gstc-header-evolved__actions
    .blockcart a,
  #header .gstc-header-evolved__actions
    .blockcart .header{
    font-size:13px
  }

  #header .gstc-header-evolved__actions
    .blockcart .material-icons{
    font-size:22px
  }

  #header .gstc-header-evolved__actions
    .cart-products-count{
    min-width:19px;
    height:19px;
    margin-left:6px
  }

  #header .gstc-header-evolved__nav
    .top-menu a[data-depth="0"]{
    padding-top:16px!important;
    padding-right:21px!important;
    padding-bottom:16px!important;
    padding-left:21px!important;
    font-size:12.5px!important;
    letter-spacing:.065em
  }
}

@media (min-width:1200px){

  #header .gstc-header-evolved__main-inner{
    grid-template-columns:
      minmax(200px,240px)
      minmax(500px,1fr)
      auto;
    gap:34px
  }

  #header .gstc-header-evolved__logo .logo{
    max-width:186px;
    max-height:66px
  }
}

/* ==========================================================
   GSTC_HEADER_WIDE_CONTAINER_0533
   GeSmart Theme Config 0.5.33

   Allinea l'Header Evoluto alla griglia desktop larga
   del tema, che da 1400px usa un container da 1400px.
   Nessuna modifica ai breakpoint inferiori.
   ========================================================== */

@media (min-width:1400px){

  #header .gstc-header-evolved__topbar-inner,
  #header .gstc-header-evolved__main > .container,
  #header .gstc-header-evolved__nav > .container{
    max-width:1400px
  }
}

/* ==========================================================
   GSTC_HEADER_FINE_TUNING_033
   GeSmart Theme Config 0.3.3

   Fine tuning desktop Header Evoluto:
   - logo più presente;
   - azioni più leggibili e coerenti con il menu;
   - search più rifinita;
   - navigazione allineata al margine del logo;
   - mobile invariato.
   ========================================================== */

@media (min-width:992px){

  #header .gstc-header-evolved__search input[type="text"]{
    box-shadow:0 2px 8px rgba(38,50,56,.04)
  }

  #header .gstc-header-evolved__action-link{
    color:var(
      --gstc-menu-text,
      var(--gstc-body-text,#263238)
    )!important;
    font-size:13.5px;
    font-weight:600
  }

  #header .gstc-header-evolved__action-link
    .material-icons{
    font-size:24px
  }

  #header .gstc-header-evolved__wishlist
    .gstc-header-evolved__action-link
    .material-icons{
    font-size:24px
  }

  #header .gstc-header-evolved__actions
    .blockcart a,
  #header .gstc-header-evolved__actions
    .blockcart .header{
    color:var(
      --gstc-menu-text,
      var(--gstc-body-text,#263238)
    )!important;
    font-size:13.5px;
    font-weight:600
  }

  #header .gstc-header-evolved__actions
    .blockcart .material-icons{
    font-size:24px
  }

  #header .gstc-header-evolved__nav
    .top-menu[data-depth="0"]{
    justify-content:flex-start!important
  }

  #header .gstc-header-evolved__nav
    .top-menu a[data-depth="0"]{
    font-size:12.75px!important;
    letter-spacing:.07em
  }

  #header .gstc-header-evolved__nav
    .top-menu[data-depth="0"]
    >li:first-child>a{
    padding-left:0!important;
    padding-right:28px!important
  }

  #header .gstc-header-evolved__nav
    .top-menu[data-depth="0"]
    >li:first-child>a::after{
    left:0;
    right:28px
  }
}

@media (min-width:1200px){

  #header .gstc-header-evolved__logo .logo{
    width:205px;
    height:auto;
    max-width:100%;
    max-height:72px
  }
}

/* ==========================================================
   GSTC_HEADER_CUSTOMER_IDENTITY_034
   GeSmart Theme Config 0.3.4

   Identità cliente nell'Header Evoluto.
   Il testo resta compatto anche con ragioni sociali lunghe.
   ========================================================== */

@media (min-width:1101px){

  #header .gstc-header-evolved__account
    .gstc-header-evolved__action-link span{
    display:block;
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
  }
}


/* ==========================================================
   GSTC_HEADER_MENU_CONTEXT_0519
   GeSmart Theme Config 0.5.19

   - macro-categoria attiva persistente;
   - colore derivato da --gstc-menu-hover;
   - breadcrumb più leggero e leggibile;
   - nessuna configurazione cliente nel CSS.
   ========================================================== */

/*
 * Il comportamento nativo .current resta invariato.
 * gstc-context-current copre sottocategorie e prodotti.
 */
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a {
  color:var(--gstc-menu-hover,#718894)!important;
}

#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a::after {
  transform:scaleX(1);
}


/* Breadcrumb ------------------------------------------------ */

#wrapper .breadcrumb {
  padding:13px 0 12px;
  margin:0 0 14px;
  background:transparent;
  font-size:12px;
  line-height:1.45;
}

#wrapper .breadcrumb ol {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}

#wrapper .breadcrumb li {
  display:inline-flex;
  align-items:center;
  min-width:0;
  margin:0;
  color:#6f7b83;
}

#wrapper .breadcrumb li a {
  display:inline-flex;
  align-items:center;
  color:#6f7b83;
  text-decoration:none;
  transition:color .15s ease;
}

#wrapper .breadcrumb li a:hover {
  color:var(--gstc-menu-hover,#718894);
  text-decoration:none;
}

#wrapper .breadcrumb li::after {
  margin:0 8px;
  color:#b7c0c6;
  content:"›";
  font-size:14px;
  line-height:1;
}

#wrapper .breadcrumb li:last-child {
  margin:0;
  color:var(--gstc-body-text,#263238);
  font-weight:500;
  overflow-wrap:anywhere;
}

#wrapper .breadcrumb li:last-child::after {
  content:"";
  margin:0;
}

/*
 * Icona Home decorativa.
 * Material Icons è già utilizzato dal tema.
 */
#wrapper .breadcrumb li:first-child a::before {
  margin-right:5px;
  color:#89949b;
  content:"\e88a";
  font-family:"Material Icons",Arial,sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:1;
}

@media (max-width:767px) {
  #wrapper .breadcrumb {
    padding:10px 0 9px;
    margin-bottom:10px;
    font-size:11.5px;
  }

  #wrapper .breadcrumb li::after {
    margin:0 6px;
  }
}


/* ==========================================================
   GSTC_HEADER_ACTIVE_PERSISTENT_0520
   GeSmart Theme Config 0.5.20

   Stato persistente macro-categoria:
   usa un background lineare anziché lo pseudo-elemento.
   Hover e menu-open continuano a usare ::after.
   ========================================================== */

#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.current
  > a,
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a {
  background-image:linear-gradient(
    to right,
    var(--gstc-menu-hover,#718894),
    var(--gstc-menu-hover,#718894)
  );
  background-repeat:no-repeat;
  background-size:calc(100% - 36px) 2px;
  background-position:center calc(100% - 9px);
}

/*
 * Lo stato persistente usa il background.
 * Evitiamo di sovrapporre anche il vecchio ::after.
 */
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.current
  > a::after,
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a::after {
  transform:scaleX(0);
}


/* ==========================================================
   GSTC_HEADER_UNDERLINE_NO_TRAIL_0521
   GeSmart Theme Config 0.5.21

   Evita la scia visiva quando il puntatore attraversa
   rapidamente più voci del menu desktop.

   Lo stato persistente 0.5.20 resta invariato.
   ========================================================== */

#header .gstc-header-evolved__nav
  .top-menu a[data-depth="0"]::after {
  transition:none!important;
}


/* ==========================================================
   GSTC_HEADER_ACTIVE_UNDERLINE_ONLY_0522
   GeSmart Theme Config 0.5.22

   L'underline è riservato esclusivamente alla
   macro-categoria corrente.

   Hover e menu-open mantengono il cambio colore del testo,
   ma non visualizzano alcuna linea.
   ========================================================== */

#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li:hover
  > a::after,
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.menu-open
  > a::after {
  transform:scaleX(0)!important;
}


/* ==========================================================
   GSTC_HEADER_TOPLEVEL_NO_BACKGROUND_0523
   GeSmart Theme Config 0.5.23

   Le voci di primo livello non utilizzano alcun background
   colorato negli stati normale, hover, aperto o corrente.

   Si mantiene:
   - cambio colore del testo;
   - underline persistente della macro-categoria corrente;
   - background-image utilizzata dall'underline 0.5.20.
   ========================================================== */

#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li
  > a[data-depth="0"],
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li:hover
  > a[data-depth="0"],
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.menu-open
  > a[data-depth="0"],
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.current
  > a[data-depth="0"],
#header .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a[data-depth="0"] {
  background-color:transparent!important;
}

/* ==========================================================
   GSTC_HEADER_NAV_CENTERED_0535
   GeSmart Theme Config 0.5.35

   Header Evoluto desktop:
   - mantiene il container largo max 1400px;
   - centra il gruppo delle macro-categorie;
   - normalizza la spaziatura orizzontale;
   - elimina l'asimmetria della prima voce;
   - mantiene coerente l'underline della categoria attiva.
   ========================================================== */

@media (min-width:1400px){

  #header
  .gstc-header-evolved__nav
  .top-menu[data-depth="0"]{
    justify-content:center!important;
    column-gap:10px!important
  }

  #header
  .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li
  > a[data-depth="0"]{
    padding-left:8px!important;
    padding-right:8px!important
  }

  #header
  .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li:first-child
  > a[data-depth="0"]{
    padding-left:8px!important;
    padding-right:8px!important
  }

  #header
  .gstc-header-evolved__nav
  .top-menu a[data-depth="0"]::after{
    left:8px!important;
    right:8px!important
  }

  #header
  .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.current
  > a,
  #header
  .gstc-header-evolved__nav
  .top-menu[data-depth="0"]
  > li.gstc-context-current
  > a{
    background-size:calc(100% - 16px) 2px!important
  }
}

/* GESMART 0.5.36 - search icon optical align START */
#header
.gstc-header-evolved__search
.material-icons.search {
  top:calc(50% - 6px)!important;
}
/* GESMART 0.5.36 - search icon optical align END */
