@media (max-width: 768px) {
  .nasa-content-promotion-news,
  .nasa-content-promotion-custom {
    position: relative !important;
    min-height: 50px !important;
    height: 50px !important;
    overflow: hidden !important;
  }

  /* Oculta el contenido original del banner */
  .nasa-content-promotion-custom > *:not(.ixaron-promo-rotator),
  .nasa-content-promotion-news > *:not(.ixaron-promo-rotator):not(.nasa-promotion-close) {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Mantiene visible la X de cerrar */
  .nasa-promotion-close {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10000 !important;
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
  }

  /* Tu texto nuevo */
  .ixaron-promo-rotator {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 40px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
  }

  .ixaron-promo-rotator-text {
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: opacity .3s ease !important;
    background: transparent !important;
  }
}

@media (min-width: 769px) {
  .ixaron-promo-rotator {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

@media (max-width: 768px) {
  .nasa-topbar-wrap,
  #top-bar.top-bar {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}


@media (max-width: 768px) {

  /* Aumenta el contenedor del logo */
  .site-header .logo,
  .site-header .site-logo,
  .header-wrapper .logo {
    max-width: 140px !important;
    width: 140px !important;
  }

  /* Aumenta la imagen del logo */
  .site-header .logo img,
  .site-header .site-logo img,
  .header-wrapper .logo img {
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
  }

}



@media (max-width: 768px) {

  /* ❌ Ocultar header de escritorio en móvil */
  .header-wrapper.header-type-3 > .sticky-wrapper > #masthead > .row.nasa-hide-for-mobile,
  .nasa-elements-wrap.nasa-elements-wrap-main-menu,
  .nasa-hide-for-mobile {
    display: none !important;
  }

  /* ❌ Ocultar duplicados (logo + buscador desktop) */
  .site-header .logo:not(.mobile-logo),
  .header-wrapper .logo:not(.mobile-logo),
  .site-header .search-form:not(.mobile-search),
  .site-header .nasa-search-form {
    display: none !important;
  }

  /* ✅ Mostrar SOLO header móvil */
  .mobile-menu.header-responsive {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 72px !important;
    padding: 0 12px !important;
  }

  /* Logo móvil centrado */
  .mobile-menu.header-responsive .logo,
  .mobile-menu.header-responsive .mobile-logo {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Tamaño del logo */
  .mobile-menu.header-responsive img {
    max-height: 70px !important;
    width: auto !important;
  }

  /* Iconos izquierda */
  .mobile-menu.header-responsive .menu-toggle,
  .mobile-menu.header-responsive .search-icon {
    flex: 0 0 auto !important;
    font-size: 22px !important;
  }

  /* Iconos derecha */
  .mobile-menu.header-responsive .nasa-mobile-icons {
    display: flex !important;
    gap: 12px !important;
  }

}

/* =========================================
   IXARON · AJUSTE LOGO MENÚ MÓVIL (SIN CENTRAR)
   -----------------------------------------
   - Aumenta el tamaño del logo en menú lateral
   - Mantiene la posición original (izquierda)
   - Solo afecta a móvil
   ========================================= */

@media (max-width: 768px) {

  /* NO tocamos alineación del contenedor */
  .nasa-mobile-nav-wrap .menu-item-heading {
    margin-bottom: 20px !important;
  }

  /* Enlace del logo */
  .nasa-mobile-nav-wrap .menu-item-heading .logo,
  .nasa-mobile-nav-wrap .menu-item-heading .nasa-logo-retina {
    display: block !important;
    max-width: 160px !important;
    width: 160px !important;
  }

  /* Imagen del logo */
  .nasa-mobile-nav-wrap .menu-item-heading img {
    display: block !important;
    max-height: 80px !important; /* 🔧 puedes subir a 75–80 si quieres más presencia */
    width: auto !important;
    height: auto !important;
  }

}

/* =========================================
   IXARON · AJUSTE LOGO FOOTER MÓVIL
   ---------------------------------
   - Aumenta el logo del footer en móvil
   - Mantiene proporción
   - No toca escritorio
   ========================================= */

@media (max-width: 768px) {

  /* Contenedor del logo en footer */
  footer .elementor-widget-image,
  footer .elementor-widget-theme-site-logo,
  footer .elementor-widget-container {
    text-align: center !important;
  }

  /* Imagen del logo en footer */
  footer .elementor-widget-image img,
  footer .elementor-widget-theme-site-logo img,
  footer .attachment-full,
  footer .custom-logo,
  footer .wp-image {
    max-width: 140px !important;
    width: 140px !important;
    max-height: none !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
  }
}