.sc-mobile-auth-menu-item{display:none!important}

@media (max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}

  /* Elementor owns the mobile dropdown layout. The Header nav-menu is configured
     with its native Full Width = Stretch option, so do not force position/width here. */
  .elementor-location-header{overflow:visible!important}
  .elementor-location-header .elementor-nav-menu--dropdown{
    box-sizing:border-box!important;
    max-width:100vw!important;
    background:#fff!important;
    box-shadow:0 14px 32px rgba(15,23,42,.12)!important;
  }
  .elementor-location-header .elementor-nav-menu--dropdown .elementor-nav-menu{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
  }
  .elementor-location-header .elementor-nav-menu--dropdown a{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }

  /* Guest account actions live in the same WordPress menu as Inicio/Salones/etc. */
  .elementor-location-header .sc-mobile-auth-menu-item{display:list-item!important}
  .elementor-location-header .sc-mobile-auth-menu-item>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:calc(100% - 32px)!important;
    max-width:calc(100% - 32px)!important;
    min-height:46px!important;
    margin:8px 16px 0!important;
    padding:10px 16px!important;
    border-radius:12px!important;
    text-align:center!important;
    font-weight:800!important;
  }
  .elementor-location-header .sc-mobile-auth-login>a{
    border:1px solid #0f766e!important;
    background:#fff!important;
    color:#0f766e!important;
  }
  .elementor-location-header .sc-mobile-auth-register>a{
    border:1px solid #0f766e!important;
    background:#0f766e!important;
    color:#fff!important;
  }
}

/* v10.10.6: visible mobile sign-out inside the existing Elementor dropdown. */
@media(max-width:767px){
  .elementor-location-header .sc-mobile-auth-logout>a{
    border:1px solid #dce6ec!important;
    background:#f8fafc!important;
    color:#9f1239!important;
  }
}

/* v10.10.7: Elementor header groups account and WooCommerce cart in rh000007.
   The builder marked the whole group hidden on mobile. Restore these essential
   actions without changing the desktop header or adding duplicate icons. */
@media (max-width:767px){
  .elementor-location-header .elementor-element-rh000007.elementor-hidden-mobile{
    display:flex!important;
    visibility:visible!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    column-gap:7px!important;
  }
  .elementor-location-header .elementor-element-rh000007 .elementor-element-rh000008{
    display:none!important;
  }
  .elementor-location-header .elementor-element-rh000007 .elementor-element-rh000009,
  .elementor-location-header .elementor-element-rh000007 .elementor-element-rh000010{
    display:block!important;
    flex:0 0 auto!important;
    min-width:0!important;
  }
  .elementor-location-header .elementor-element-rh000007 .elementor-menu-cart__toggle_button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:6px!important;
  }
  .elementor-location-header .elementor-element-rh000007 .elementor-menu-cart__toggle .elementor-button-text{
    display:none!important;
  }
  .elementor-location-header .elementor-element-rh000007 .sc-header-account-trigger{
    display:inline-flex!important;
  }
  .elementor-location-header .elementor-element-rh000003{
    min-width:0!important;
  }
  .elementor-location-header .elementor-element-rh000004 img{
    max-width:112px!important;
    height:auto!important;
  }
  .elementor-location-header .elementor-element-rh000005{
    min-width:35px!important;
  }
}
