/* INARU · icono de carrito [inaru_cart] + header en páginas de fondo claro */
.inaru-cart{
  position:relative;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 6px 0 12px;
  border-radius:999px;border:1px solid rgba(26,26,26,.16);background:rgba(255,255,255,.7);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:#1A1A1A !important;text-decoration:none !important;font-family:"Raleway",Helvetica,Arial,sans-serif;
  font-size:12px;font-weight:600;letter-spacing:.9px;text-transform:uppercase;line-height:1;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.inaru-cart svg{width:19px;height:19px;flex-shrink:0}
.inaru-cart b{min-width:30px;height:30px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#F2F3F7;font-size:12.5px;letter-spacing:0}
.inaru-cart.has-items b{background:#B8502F;color:#fff}
.inaru-cart:not(:has(.inaru-cart__tx)){padding:0 6px 0 10px}
.inaru-cart:hover{background:#1A1A1A;border-color:#1A1A1A;color:#fff !important}
.inaru-cart:hover b{background:#fff;color:#1A1A1A}
.inaru-cart:focus-visible{outline:2px solid #B8502F;outline-offset:3px}
@media(max-width:600px){.inaru-cart__tx{display:none}}

/* Header que se adapta: en el portal, login y checkout (fondo claro) el texto pasa a oscuro. */
body.inaru-light-header{background:#F2F3F7}
body.inaru-light-header .elementor-location-header :is(a:not(.elementor-button):not(.inaru-cart),.elementor-item,.elementor-heading-title,.elementor-icon,.elementor-menu-toggle,.elementor-widget-text-editor,.elementor-icon-list-text,.elementor-icon-list-icon),
body.inaru-light-header :is(#masthead,.site-header) :is(a,.menu-toggle,.site-title,.site-description){
  color:#1A1A1A !important;
}
body.inaru-light-header .elementor-location-header :is(.elementor-icon,.elementor-menu-toggle,.elementor-icon-list-icon) svg,
body.inaru-light-header .elementor-location-header .elementor-icon i{fill:#1A1A1A !important;color:#1A1A1A !important}
body.inaru-light-header .elementor-location-header .elementor-item::before,
body.inaru-light-header .elementor-location-header .elementor-item::after{background-color:#1A1A1A !important}
body.inaru-light-header .elementor-location-header .elementor-button.elementor-button--ghost,
body.inaru-light-header .elementor-location-header .elementor-button[class*="outline"]{color:#1A1A1A !important;border-color:#1A1A1A !important}

/* El menú "glass" es oscuro: conserva el texto blanco y el botón Client Portal. */
body.inaru-light-header .elementor-location-header .menu-glass .elementor-nav-menu--main a.elementor-item{color:#fff !important}
body.inaru-light-header .elementor-location-header .menu-glass .elementor-nav-menu--main li:is(.menu-portal, :has(> a[href*="student-portal"]), :has(> a[href*="client-portal"])) > a.elementor-item{color:#1A1A1A !important}
body.inaru-light-header .menu-glass .elementor-nav-menu--main .elementor-nav-menu{background:rgba(18,18,18,.82)}
