
/* Css para Menu movil Regla 1.1 BOTÓN Inicio*/

.mm-toggle {
    
    font-size: 0px !important;
    background: none !important;
    color:#000 !important;
    border: 0px !important;
    cursor: pointer;
    border:none !important;
    display: inline-flex !important;
    position: relative !important;
    z-index: 3;
    padding: 8px !important;
   
}

.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;
}

body.mm-active .mm-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.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;
}

.mm-active .mm-panel {
    left: 0;
}

.mm-active .mm-overlay {
    opacity: 1;
    visibility: visible;
}

.mm-list {
    list-style: none !important;
    padding-left: 0px;
    margin-top:5px;
}


.mm-list a {
    color: #011342;
    text-decoration: none !important;
    padding-left: 30px;
    padding-right: 30px;
    display: block;
    font-size: 18px;
}


.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;
    
}

@media (min-width: 769px){

.wclrm-login-btn {
    display:flex;
    align-items: center;
    text-align: center;
    border:0px !important;
    text-decoration: none !important;
}
}

@media (min-width: 769px) {

.wclrm-user-box {
    border:0px !important;
   
}    
   
}

.mm-list .sub-menu {
    height: 0;
    overflow: hidden;
    transition: height .35s ease;
    padding-left: 15px;
     list-style: none;
    
}

.menu-item-has-children.open > .sub-menu {
    overflow: hidden;

}

.mm-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
    margin-top: -12px;
    margin-bottom: -13px;

}

.mm-list li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    width: 100%;
}

.mm-list li.menu-item-has-children > a .mm-sub-toggle {
    flex-shrink: 0;
    
}


.mm-sub-toggle {
    font-size: 20px;
    
    cursor: none;
    user-select: none;
    
    
}


.menu-item-has-children.open .mm-sub-toggle {
    transform: rotate(180deg);
    
      
}

#adopt-controller-button,
.adopt-c-cyPWlR {
    z-index: 1 !important;
}

.wclrm-user-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    margin-bottom: px;
    border: 0px solid ;
    border-radius: 5px;
    padding: 0px;

}

.wclrm-user-avatar img {
    border-radius: 50%;
    width: 18px ;
    height: 18px;
}

.wclrm-auth-btn {
    display: inline-flex;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: 5px;
    text-decoration: none !important;
    gap: 0px;
 
}

.wclrm-auth-icon {
    display: flex;
    align-items: center;
    order: 2;
    padding: 3.5px;
    width: 33px;
}


.wclrm-auth-btn:hover .wclrm-auth-icon {
    transform: translateX(3px);
    transition: transform .2s ease;
    
}


.wclrm-user-area {
    padding: 10px !important;
    gap: 6px;
   
}


.wclrm-login-btn {
    display:flex;
    align-items: center;
    text-align: center;
  justify-content: center;
    text-decoration: none !important;
    background: 011342;
    gap: 6px !important;
    
}

.wclrm-logout-btn {
    background: transparent;
    border: 1px solid currentColor;
    
}

.wclrm-auth-btn .dashicons {
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height:1 ;
    order: 2 !important;
    
}

.wclrm-auth-text {
    line-height:1 ;
    order:1!important;
}


.wclrm-user-icon {
   display:flex    ;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 17px;
    height: 16px;
    border-radius: 50%;
    order: 2 !important;
   
}

.mm-toggle::before {
    content: "☰";
    font-size: 28px;
    line-height: 1;
    color: #fff;
    display: inline-block;
    transition: transform .3s ease, opacity .3s ease;
    transform: scaleY(0.7);  
    transform-origin: center;

}

.mm-toggle.is-open::before {
    font-size: 22px !important;
    content: "✕";
    transform: rotate(90deg);
}

.mm-panel {
    overflow: hidden;
}

.mm-menu {
    -webkit-overflow-scrolling: touch;
    margin-right: 0px;   
    padding-right: 0px;   
    flex: 1 1 auto;
    min-height: 0;
}

.mm-panel .mm-list > li {
    width: 100% !important;
}

.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;
}

.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;     
    display: block;
}

.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;     
    display: block;
}

.mm-panel .mm-list > li > a .mm-sub-toggle {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
}

.mm-panel .mm-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mm-panel .mm-list > li > a {
    text-align: left; 
}

/* 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;
}

/* Enlace base */
.mm-panel .mm-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mm-panel .mm-list > li > a .mm-text {
    flex: 1 1 auto;       
    display: block;
}

.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;
}

.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;
}

.wclrm-mobile-social {
    display: flex;
    justify-content: center;
    gap: 12px;
padding-bottom: 30px;}

.wclrm-social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wclrm-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.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 ;
}

.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 !important;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    margin-top: -15px;
    margin-right: -6px;
    padding: 8px !important;
    
}

.mm-panel {
    height: 100vh;
    max-height: 100vh;
    display: flex;              
    flex-direction: column;     
    overflow: hidden !important;
}

.mm-close {
    flex: 0 0 auto;
}
.mm-menu {
    
    flex: 1 1 auto;             
    overflow-y: auto;           
    overflow-x: hidden;
    min-height: 0;              
    -webkit-overflow-scrolling: touch;
}

body.mm-active {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.mm-panel:active::-webkit-scrollbar-thumb,
.mm-panel:focus-within::-webkit-scrollbar-thumb {
    opacity: 1;
    
}

.mm-panel li.menu-item-has-children > a {
    cursor: pointer;
}

.mm-panel .mm-sub-toggle,
.mm-panel .mm-sub-toggle svg {
    cursor: pointer !important;
}

.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;
}

.mm-panel {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: currentColor transparent; 
}

.mm-panel::-webkit-scrollbar {
    width: 6px;
}

.mm-panel::-webkit-scrollbar-track {

}

.mm-panel::-webkit-scrollbar-thumb {
   background-color: currentColor; 
    border-radius: 6px;
    opacity: 0.4;
}

.wclrm-form-error,
.wclrm-errors p{
    border: 1px solid red !important;
    padding: 10px !important;
    border-radius: 3px !important;
    font-size: 14px !important;
    background-color:#F7EEEE !important;
    color: #242323 !important;
    
}

.wclrm-lost-password-intro {
    margin-bottom: 20px;
}

.wclrm-lost-password-title {
    font-weight: 600;
    
    margin-bottom: 8px;
}

.wclrm-lost-password-text {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.wclrm-form-message,
.wclrm-reset-wrap .wclrm-success{
    border: 1px solid green !important;
    padding: 10px !important;
    border-radius: 3px !important;
    background-color: #F5F5FF !important;
    color: #242323 !important;
}


@media (max-width: 768px) {
 
    .woocommerce-MyAccount-navigation {
        width: 100%;
        
    }

    .woocommerce-MyAccount-navigation ul {
        padding: 0;
        
    }

    .woocommerce-MyAccount-navigation li {
        width: 100%;
        margin-bottom: 12px;
        margin-left: 0px !important;
        
    }

    .woocommerce-MyAccount-navigation li a {
        display: block;
        width: 100%;
        text-align: center;
    }

}

.wclrm-mobile-custom-block {
    padding: 10px 0px;
}

.wclrm-mobile-custom-block iframe,
.wclrm-mobile-custom-block video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
}

.wclrm-mobile-social a {
    color: inherit !important;
}

.wclrm-mobile-social svg {
    fill: var(--wclrm-social-color);
    transition: fill 0.2s ease;
}

.wclrm-mobile-social a:hover svg {
    fill: var(--wclrm-social-hover-color, var(--wclrm-social-color));
}

.password-input {
    position: relative !important;
    display: block;
}
.password-input .show-password-input,
.password-input .wclrm-password-toggle {
    position: absolute !important;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
}
#password_strength,
.woocommerce-password-hint {
    margin-top: 8px;
}

.mm-panel{
  background: var(--wclrm-mm-panel-bg) !important;
}


/* INPUT */
.mm-panel .dgwt-wcas-search-input {
    width: 100%;
    font-size: 16px; /* evita zoom en iOS */
    border-radius: 8px;
}

/* ICONO */
.mm-panel .dgwt-wcas-search-icon {
    left: 12px;
}

/* RESULTADOS */
.mm-panel .dgwt-wcas-suggestions-wrapp {
    position: fixed !important;
    top: var(--wclrm-mm-header-height, 60px);
    left: 0;
    right: 0;
    max-height: 65vh;
    z-index: 999999;
}

/* ITEM */
.mm-panel .dgwt-wcas-suggestion {
    padding: 10px 12px;
}

/* PRECIO */
.mm-panel .dgwt-wcas-price {
    font-size: 14px;
}

.mm-panel .dgwt-wcas-product-image {
    width: 48px;
    height: 48px;
}

.mm-panel .dgwt-wcas-title {
    font-size: 14px;
    line-height: 1.3;
}

.mm-panel .dgwt-wcas-stock {
    display: none; 
}

.wclrm-dynamic-safe {
    line-height: 1.5;
}

.mm-panel .mm-menu{
  padding-left: 30px !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
}

.mm-panel .mm-menu .mm-list{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Reset de LI */
.mm-panel .mm-menu .mm-list > li{
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.mm-panel .mm-menu .mm-list > li > a{
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.mm-panel .mm-menu .mm-list .sub-menu{
  margin: 0 !important;
  padding: 0 0 0 15px !important; 
  width: 100% !important;
  box-sizing: border-box !important;
}

.mm-panel .mm-menu .mm-list .sub-menu li > a{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mm-panel .mm-menu .mm-list,
.mm-panel .mm-menu .mm-list *{
  text-indent: 0 !important;
}

.mm-panel .mm-menu .mm-list{
  display: block !important;
}

/* ==============================
   HEADER: cerrar fijo a la derecha (con o sin logo)
============================== */

.mm-header{
  position: relative !important;
}

/* La X siempre en la esquina derecha */
.mm-header .mm-close{
  position: absolute !important;
  top: 30% !important;
  right: 12px !important;
  transform: translateY(-30%) !important;
  margin: 0 !important;
}

.mm-header{
  padding-right: 54px !important; 
}

.mm-header .mm-logo{
  min-height: 40px !important;   
  min-width: 1px !important;
}


/* ===============================
   WCLRM – quitar highlight / fondo al tocar
=============================== */

/* móvil (gris transparente típico) */
.mm-panel a,
.mm-panel button,
.mm-panel .mm-toggle,
.mm-panel .mm-close,
.mm-panel .mm-sub-toggle {
    -webkit-tap-highlight-color: transparent;
}

/* estados hover / focus / active */
.mm-panel a:hover,
.mm-panel a:focus,
.mm-panel a:active,
.mm-panel button:hover,
.mm-panel button:focus,
.mm-panel button:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* si el theme aplica fondos a LI */
.mm-panel .mm-list > li:hover,
.mm-panel .mm-list > li:focus,
.mm-panel .mm-list > li:active {
    background: transparent !important;
}

/* iconos SVG */
.mm-panel a:active svg,
.mm-panel a:focus svg {
    background: transparent !important;
    box-shadow: none !important;
}
