@media (min-width: 1025px) {

/* === ELEMENTI NASCOSTI IN SCROLL === */
html.gd-scrolled .gianedavi-preheader { display: none !important; }
html.gd-scrolled .page-header .panel.wrapper,
html.gd-scrolled .page-header .panel.header { display: none !important; }
html.gd-scrolled .page-header .action.nav-toggle { display: none !important; }
html.gd-scrolled .nav-sections .section-item-title { display: none !important; }

/* === PAGE-HEADER: overlay trasparente z:999 === */
html.gd-scrolled .page-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; height: 54px !important;
  background: transparent !important; box-shadow: none !important;
  z-index: 999 !important; pointer-events: none !important;
}
html.gd-scrolled .page-header .header.content {
  display: flex !important; align-items: center !important;
  justify-content: space-between !important;
  height: 54px !important; min-height: 0 !important;
  padding: 0 16px !important; pointer-events: none !important;
}

/* LOGO: gd_logo_solo_gian.svg, sx */
html.gd-scrolled .page-header .header.content .logo {
  position: static !important; transform: none !important;
  margin: 0 !important; float: none !important;
  flex-shrink: 0 !important; display: block !important;
  width: 140px !important; min-width: 140px !important; height: 44px !important;
  pointer-events: auto !important;
  background: url('../images/gd/gd_logo_solo_gian.svg') no-repeat left center !important;
  background-size: contain !important;
}
html.gd-scrolled .page-header .logo img { display: none !important; }

/* ICONE: dx */
html.gd-scrolled .page-header .gd-header-right {
  position: static !important; transform: none !important;
  display: flex !important; align-items: center !important;
  gap: 14px !important; flex-shrink: 0 !important;
  pointer-events: auto !important;
}

/* SEARCH: nasconde input, mantiene solo icona */
html.gd-scrolled .page-header .block-search .control,
html.gd-scrolled .page-header .block-search .field.search,
html.gd-scrolled .page-header .block-search input#search,
html.gd-scrolled .page-header .block-search .input-text { display: none !important; }

/* === NAV-SECTIONS: barra unica bianca z:998 === */
html.gd-scrolled .nav-sections,
html.gd-scrolled .sections.nav-sections {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; height: 54px !important;
  z-index: 998 !important;
  background: #f5f5f5 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
  transform: none !important; overflow: visible !important;
}

/* MENU: centrato nella barra */
html.gd-scrolled .nav-sections .nav-sections-item-content,
html.gd-scrolled .nav-sections .section-item-content {
  display: block !important; position: static !important;
  visibility: visible !important;
  height: 54px !important; overflow: visible !important;
}
html.gd-scrolled .nav-sections .navigation {
  display: flex !important; justify-content: center !important;
  align-items: center !important;
  height: 54px !important; overflow: visible !important;
}
html.gd-scrolled .nav-sections .navigation > ul {
  display: flex !important; align-items: center !important;
  height: 54px !important; list-style: none !important;
  margin: 0 !important; padding: 0 !important; overflow: visible !important;
}

/* BODY: compensazione altezza barra */
html.gd-scrolled body { padding-top: 54px !important; }

/* MINICART dropdown */
html.gd-scrolled .minicart-wrapper .block-minicart {
  position: fixed !important; top: 62px !important;
  right: 50px !important; z-index: 9999 !important;
}

}

/* === GLOBALE (entrambe le versioni) === */
/* Logo margin-bottom: annulla regola tema base */
@media (min-width: 768px) {
  .logo { margin-bottom: 0 !important; }
}
