/* Css para Menu movil Regla 1.1 BOTÓN Inicio*/


.mm-toggle {
    font-size: 0px;
    background: none !important;
    color:#000 !important;
    border: 0;
    cursor: pointer;

    
    
    /*prueba*/
    position: relative;
    z-index: 3;
    margin: 12px 0px;
    padding: 8px;
    /*prueba*/
    
    
}

/* ======================================
   OVERLAY SIN TAPAR HEADER
====================================== */

.mm-overlay {
    position: fixed;
    top: var(--wclrm-mm-top);
    left: 0;

    width: 100vw;
    height: calc(100vh - var(--wclrm-mm-top));

    background: rgba(0, 0, 0, 0.5);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .3s ease;
    z-index: 9998;
}

/* Overlay activo */
body.mm-active .mm-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



mm-panel {
    
    top: var(--wclrm-mm-top);
    height: calc(100vh - var(--wclrm-mm-top));
    
}


.mm-panel {
    
    top: var(--wclrm-panel-top, 0px);
    height: calc(100vh - var(--wclrm-panel-top, 0px));
    overflow-y:auto;
    
}


/* PANEL */
.mm-panel {
    
 
    position: fixed;
    
    left: -70%;
    width: 70%;
    
    
  
    
    
    padding-top:10px ;
    
    
    
    
    
    transition: .3s ease;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
}

/* ACTIVO */
.mm-active .mm-panel {
    left: 0;
    
    
}

.mm-active .mm-overlay {
    opacity: 1;
    visibility: visible;
}



/* MENÚ */
.mm-list {
    list-style: none;
    padding-left: 0px;
    margin-top:5px;
    
    
    
}




.mm-list a {
    color: #011342;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
    display: block;
    font-size: 18px;
}

/* ZONA EXTRA */
mm-extra {
    margin-top: auto;
}

.mm-btn {
    display: block;
    padding: 12px;
    text-align: center;
    background: #011342;
    color: #fff !important;
    border-radius: 5px;
    margin-bottom: 10px;
}

.mm-btn.outline {
    background: none;
    border: 1px solid #011342;
    color: #011342 !important;
    
}

/* BLOQUEAR SCROLL */



/* SOLO MÓVIL */


@media (min-width: 769px){
.wclrm-user-name  {
   
    font-size: 15px !important;
    font-weight: 400 !important;
      
      padding: 4px !important;
     
      
      
      
   
}
}




@media (min-width: 769px){

.wclrm-login-btn {
    display:flex;
    align-items: center;
    text-align: center;
   
    
    font-weight: 400 !important;
    font-size: 15px !important;;
    padding: 4px !important;
    
    border:0px !important;
       
    
    
}
}

@media (min-width: 769px) {

.wclrm-user-box {
   
  
    
    
    padding: 8.5px !important;
    border:0px !important;
    
    
}    
   
}




/* SUBMENÚ ACORDEÓN REAL */
.mm-list .sub-menu {
    height: 0;
    overflow: hidden;
    transition: height .35s ease;
    padding-left: 15px;
     list-style: none;
     
    
}

/* Estado abierto */
.menu-item-has-children.open > .sub-menu {
    overflow: hidden;
    
    
     
}

/* Icono */
.mm-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
    margin-top: -12px;
    margin-bottom: -13px;
   
    
    
}




/* ======================================
   ENLACE PADRE – COMPORTAMIENTO BASE
====================================== */
.mm-list li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔑 CLAVE */
    width: 100%;
}







/* ======================================
   ICONO TOGGLE
====================================== */
.mm-list li.menu-item-has-children > a .mm-sub-toggle {
    flex-shrink: 0;
    
}


/* ICONO TOGGLE */
.mm-sub-toggle {
    font-size: 20px;
    
    cursor: none;
    user-select: none;
    
    
}



/* ROTACIÓN DEL ICONO SUBMENÚ */


/* Cuando el submenú está abierto */
.menu-item-has-children.open .mm-sub-toggle {
    transform: rotate(180deg);
    
      
}

/* Css para Menu movil Regla 1.1 BOTÓN  Final*/

/* icno de cnsentimiento */

/* Botón flotante de Adopt */
#adopt-controller-button,
.adopt-c-cyPWlR {
    z-index: 1 !important;
}





/* ===============================
   USUARIO – AVATAR MENÚ MÓVIL
=============================== */
/* display: inline-flex;*/
.wclrm-user-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: px;
    border: px solid ;
    border-radius: 5px;
    padding: 5px;
    
    
    
    
   
}


.wclrm-user-avatar img {
    border-radius: 50%;
    width: 18px ;
    height: 18px;
    
    
}

.wclrm-user-name {
    font-size: 18px ;
    font-weight: 400;
      
      padding: 2.5px !important;
      
   
}




/* ===============================
   LOGIN / LOGOUT MENÚ MÓVIL
=============================== */

.wclrm-auth-btn {
    display: inline-flex;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: 5px;
    
    text-decoration: none;
    gap: 12px;
    margin-bottom: px;
    
    border: px solid ;
    border-radius: 5px;
    padding: 5px;
    margin-left: 30px;
    margin-right: 30px;
   
      
   
    
}

.wclrm-auth-icon {
    display: flex;
    align-items: center;
    order: 2;
    padding: 8px;
    width: 33px;
}


.wclrm-auth-btn:hover .wclrm-auth-icon {
    transform: translateX(3px);
    transition: transform .2s ease;
}





.wclrm-login-btn {
    display:flex;
    align-items: center;
    text-align: center;
  justify-content: center;
    
    background: 011342;
  
  
    font-weight: 400;
    font-size: 18px;
    padding: 4px !important;
    gap: 2px !important;
    
    
    
       
    
    
}

.wclrm-logout-btn {
    background: transparent;
    border: 1px solid currentColor;
    
}



/* ===============================
   LOGIN / LOGOUT ICONOS
=============================== */


.wclrm-auth-btn .dashicons {
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height:1 ;
    order: 2;
    
    
    
}

.wclrm-auth-text {
    line-height:1 ;
}





.wclrm-user-icon {
   display:flex    ;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 15px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    order: 2;
     
     
}


/*prueba*/
/* ===============================
   ICONO TOGGLE ☰ ⇄ ✕
=============================== */

.mm-toggle::before {
    content: "☰";
    font-size: 22px;
    line-height: 1;
    color: #fff;
    display: inline-block;
    transition: transform .3s ease, opacity .3s ease;
}

/* Menú abierto */
.mm-toggle.is-open::before {
    content: "✕";
    transform: rotate(90deg);
}




/* ===============================
   MENÚ MÓVIL – SCROLL INTERNO
=============================== */

/* El panel NO scrollea */
.mm-panel {
    overflow: hidden;
}


/* El área scrolleable compensa el padding */
.mm-menu {
    
    -webkit-overflow-scrolling: touch;

    margin-right: 0px;   /* 🔑 CLAVE */
    padding-right: 0px;   /* mantiene el contenido alineado */

    flex: 1 1 auto;
    min-height: 0;
}

/* ======================================
   FIX DEFINITIVO – FORZAR ANCHO REAL
====================================== */

/* El <li> debe ocupar todo el ancho */
.mm-panel .mm-list > li {
    width: 100% !important;
}

/* El <a> debe ocupar todo el ancho REAL */
.mm-panel .mm-list > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* El texto NO debe empujar 
mm-panel .mm-list > li > a .mm-text {
    flex: 0 1 auto !important;
}*/

/* TEXTO DEL MENÚ MÓVIL – CLAVE */
.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;     /* ⬅️ ESTO ES LO QUE FALTABA */
    display: block;
}

/* TEXTO DEL MENÚ MÓVIL – CLAVE */
.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;     /* ⬅️ ESTO ES LO QUE FALTABA */
    display: block;
}





/* El icono NO debe moverse */
.mm-panel .mm-list > li > a .mm-sub-toggle {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
}

/* ======================================
   FIX FINAL – ALINEAR TEXTO DEL MENÚ
   (SIN DEPENDER DE .mm-text)
====================================== */

/* Enlace base */
.mm-panel .mm-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* CONTENEDOR DEL TEXTO (REAL) */
.mm-panel .mm-list > li > a {
    text-align: left; /* default */
}

/* TEXTO CENTRO */
body.wclrm-mm-align-center .mm-panel .mm-list > li > a {
    justify-content: center;
}

/* TEXTO DERECHA */
body.wclrm-mm-align-right .mm-panel .mm-list > li > a {
    justify-content: flex-end;
}

/* ICONO SIEMPRE A LA DERECHA */
.mm-panel .mm-list > li > a .mm-sub-toggle {
    margin-left: auto;
}


/* ======================================
   MENÚ MÓVIL – ALINEACIÓN FINAL TEXTO
====================================== */

/* Enlace base */
.mm-panel .mm-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Texto del menú */
.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;       /* ⬅️ CLAVE */
    display: block;
}

/* Icono siempre a la derecha */
.mm-panel .mm-list > li > a .mm-sub-toggle {
    flex: 0 0 auto;
    margin-left: 16px;
}

/* ===============================
   ALINEACIONES
=============================== */

/* Izquierda (default) */
body.wclrm-mm-align-left .mm-panel .mm-list > li > a .mm-text {
    text-align: left;
}

/* Centro */
body.wclrm-mm-align-center .mm-panel .mm-list > li > a .mm-text {
    text-align: center;
}

/* Derecha */
body.wclrm-mm-align-right .mm-panel .mm-list > li > a .mm-text {
    text-align: right;
}




/* ======================================
   SUB-MENÚ – RESPETAR ALINEACIÓN GLOBAL
====================================== */

/* BASE sub-menú */
.mm-panel .mm-list .sub-menu li > a {
    display: block;
    width: 100%;
}

/* IZQUIERDA */
body.wclrm-mm-align-left .mm-panel .mm-list .sub-menu li > a {
    text-align: left;
}

/* CENTRO */
body.wclrm-mm-align-center .mm-panel .mm-list .sub-menu li > a {
    text-align: center;
}

/* DERECHA */
body.wclrm-mm-align-right .mm-panel .mm-list .sub-menu li > a {
    text-align: right;
}

.mm-panel .mm-list > li {
    padding-bottom: 6px;
    
    
}

.wclrm-mm-separator {
    border-bottom: 1px solid rgba(255,255,255,.15);
opacity: .5;
}

.mm-panel .mm-text {
    white-space: normal;
}

.mm-panel li.menu-item-has-children > a {
    align-items: flex-start;
}

/* ===============================
   REDES SOCIALES – PANEL MÓVIL
=============================== */

.wclrm-mobile-social {
    display: flex;
    justify-content: center;
    gap: 14px;
padding-bottom: 30px;}

.wclrm-social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wclrm-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* --- FIX SVG redes en móvil real --- */



.mm-menu {
    min-height: 100%;
    
    display: flex;
    flex-direction: column;
}

.wclrm-mobile-social {
    margin-top: auto;
    margin-bottom: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.Lb_siguenos {
        display: flex;
    flex-direction: column;
    align-items: center;
   
}

.Lb_siguenos p {
    margin-bottom:  0px !important;
 
}


/* ===============================
   MENÚ MÓVIL – HEADER
=============================== */
.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

/* LOGO */
.mm-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* BOTÓN CERRAR */
.mm-close {
    background: none !important;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    margin-top: -15px;
    margin-right: -6px;
    
}


/* ===============================
   MENÚ MÓVIL – PANEL SIN SCROLL
=============================== */
mm-panel {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important; /* 🔑 clave */
}

/* ===============================
   MENÚ MÓVIL – PANEL
=============================== */
.mm-panel {
    height: 100vh;
    max-height: 100vh;
    display: flex;              /* 🔑 */
    flex-direction: column;     /* 🔑 */
    overflow: hidden !important;
}

.mm-close {
    flex: 0 0 auto;
}
/* ===============================
   MENÚ MÓVIL – CONTENIDO
=============================== */
.mm-menu {
    
    flex: 1 1 auto;             /* 🔑 ocupa el resto */
    overflow-y: auto;           /* 🔑 ahora sí */
    overflow-x: hidden;
    min-height: 0;              /* 🔥 MUY IMPORTANTE */
    -webkit-overflow-scrolling: touch;
}

/* ===============================
   BLOQUEAR SCROLL DEL FONDO
   CUANDO EL MENÚ MÓVIL ESTÁ ABIERTO
=============================== */
body.mm-active {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100%;
}
/* ===============================
   SCROLLBAR MENÚ MÓVIL – ESTABLE Y LIMPIA
=============================== */

.mm-panel {
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: currentColor transparent;
}

/* WebKit (Chrome, Safari, Edge) */
.mm-panel::-webkit-scrollbar {
    width: 6px;
}

.mm-panel::-webkit-scrollbar-track {
    background: transparent;
}

.mm-panel::-webkit-scrollbar-thumb {
    background-color: currentColor;
    border-radius: 6px;
    opacity: 0.4;
}

/* Interacción → más visible */
.mm-panel:active::-webkit-scrollbar-thumb,
.mm-panel:focus-within::-webkit-scrollbar-thumb {
    opacity: 1;
}

/* ===============================
   SUBMENÚ – CURSOR CORRECTO EN PC
=============================== */

/* Enlace completo */
.mm-panel li.menu-item-has-children > a {
    cursor: pointer;
}

/* Icono de submenú */
.mm-panel .mm-sub-toggle,
.mm-panel .mm-sub-toggle svg {
    cursor: pointer !important;
}

/* Mantener pointer en hover */
.mm-panel li.menu-item-has-children > a:hover,
.mm-panel li.menu-item-has-children > a:hover .mm-sub-toggle,
.mm-panel li.menu-item-has-children > a:hover .mm-sub-toggle svg {
    cursor: pointer !important;
}


