/* ODH Clean Header Lite v1.0.1 */
body.odh-clean-header-lite-active .odh-electro-search {
  grid-template-columns: minmax(220px, 1fr) 52px !important;
}

body.odh-clean-header-lite-active .odh-electro-search select,
body.odh-clean-header-lite-active #odh-electro-search-cat {
  display: none !important;
}

body.odh-clean-header-lite-active .odh-chl-subheader .odh-electro-departments[hidden] {
  display: none !important;
}

body.odh-clean-header-lite-active .odh-chl-subheader.odh-chl-open .odh-electro-departments {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.odh-clean-header-lite-active .odh-chl-loading {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #4b5563;
  background: #fff;
}

body.odh-clean-header-lite-active .odh-chl-error {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #991b1b;
  background: #fff7f7;
}

body.odh-clean-header-lite-active .odh-chl-subheader:not(.odh-chl-open) .odh-electro-departments {
  display: none !important;
}

body.odh-clean-header-lite-active .odh-electro-subheader .odh-electro-categories-button[aria-expanded="true"] {
  background: #111827;
}

/* Evita el desplazamiento lateral heredado del modo abierto en posts. */
@media (min-width: 1025px) {
  body.odh-clean-header-lite-active:not(.home) .site-content {
    padding-left: 0 !important;
  }

  body.odh-clean-header-lite-active:not(.home) .inside-article,
  body.odh-clean-header-lite-active:not(.home) .entry-content {
    max-width: none !important;
  }
}

@media (max-width: 1024px) {
  body.odh-clean-header-lite-active .odh-electro-search {
    grid-template-columns: minmax(120px, 1fr) 46px !important;
  }
}


/* v1.0.1: fuerza apertura aunque el CSS original del subheader esté en modo collapsed. */
body.odh-clean-header-lite-active .odh-chl-subheader.odh-chl-open #odh-electro-departments,
body.odh-clean-header-lite-active .odh-chl-subheader.odh-chl-open .odh-electro-departments,
body.odh-clean-header-lite-active .odh-chl-subheader.is-open #odh-electro-departments,
body.odh-clean-header-lite-active .odh-chl-subheader.is-open .odh-electro-departments {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 1000002 !important;
}

#odh-chl-categories-source {
  display: none !important;
}
