/*
 * ImaginaWeb - header interno unificado
 * Referencia visual y responsive: /soporte/tickets
 * Se carga al final para impedir que los modulos alteren sus controles.
 */

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  min-width: 0 !important;
  overflow: visible !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-btn,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-store,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-cart,
html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-notifications {
  box-sizing: border-box !important;
  flex: 0 0 40px !important;
  height: 40px !important;
  max-height: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  width: 40px !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex: 0 0 110px !important;
  gap: 8px !important;
  height: 40px !important;
  max-height: 40px !important;
  max-width: 110px !important;
  min-height: 40px !important;
  min-width: 110px !important;
  padding: 0 14px !important;
  width: 110px !important;
}

html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions .iw-hdr-account-label {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 991px) {
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions {
    gap: 5px !important;
  }

  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-btn,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-store,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-cart,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-notifications,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account {
    flex: 0 0 36px !important;
    gap: 0 !important;
    height: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    width: 36px !important;
  }

  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions .iw-hdr-account-label {
    display: none !important;
  }
}

@media (max-width: 575px) {
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions {
    gap: 4px !important;
  }

  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-store,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-cart {
    display: none !important;
  }

  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-btn,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-notifications,
  html body:not(.login-bg) nav#iw-main-header.iw-header .iw-header-actions > .iw-hdr-account {
    flex-basis: 34px !important;
    height: 34px !important;
    max-height: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    width: 34px !important;
  }
}
