/* MOBATUBE SELECTOR PROFESIONAL SOLO MOVIL */

#mobaCatMovilBoton,
#mobaCatMovilVentana {
  display:none;
}

@media (max-width:900px) {

  #mobaCatMovilBoton {
    display:block;
    width:100%;
    padding:15px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    text-align:left;
    font-size:16px;
    font-weight:600;
    color:#222;
  }

  #mobaCatMovilVentana.abierta {
    display:flex;
    position:fixed;
    inset:0;
    z-index:2147483000;
    background:rgba(0,0,0,.55);
    align-items:flex-end;
    justify-content:center;
  }

  #mobaCatMovilVentana .mcm-caja {
    box-sizing:border-box;
    width:100%;
    max-width:620px;
    max-height:90dvh;
    background:#fff;
    border-radius:20px 20px 0 0;
    padding:18px 16px;
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .mcm-cabecera {
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:18px;
  }

  #mcmBuscar {
    width:100%;
    padding:13px;
    border:1px solid #ddd;
    border-radius:11px;
    font-size:16px;
  }

  #mcmLista {
    overflow-y:auto;
    min-height:80px;
    flex:1;
  }

  .mcm-fila {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:12px;
    border:0;
    border-bottom:1px solid #eee;
    background:#fff;
    color:#222;
    font-size:15px;
    text-align:left;
  }

  .mcm-hija {
    padding-left:30px;
  }

  .mcm-elegida {
    background:#fff0ef;
    color:#c52e2e;
  }

  #mcmConfirmar {
    width:100%;
    padding:15px;
    background:#ef3b3b;
    color:white;
    border:0;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
  }
}


/* OCULTAR SELECTOR ANTIGUO SOLO MOVIL */
@media (max-width:900px) {
  body:has(#mobaCatMovilBoton) #panel3 #uploadCategorySelect {
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
  }
}
/* FIN OCULTAR SELECTOR ANTIGUO SOLO MOVIL */

/* APPLE X Y CUADROS GRANDES 2026 */
@media (max-width:900px){
  @supports (-webkit-touch-callout: none) {
    #mobaCatMovilVentana #mcmCerrar{
      width:64px !important;
      height:64px !important;
      min-width:64px !important;
      min-height:64px !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      font-size:38px !important;
      line-height:1 !important;
      border-radius:16px !important;
      padding:0 !important;
    }

    #mobaCatMovilVentana .mcm-check,
    #mobaCatMovilVentana .mcm-fila > span:last-child{
      width:48px !important;
      min-width:48px !important;
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
      font-size:34px !important;
      line-height:1 !important;
      text-align:center !important;
    }

    #mobaCatMovilVentana .mcm-fila{
      grid-template-columns: 1fr 56px !important;
      align-items:center !important;
    }
  }
}
/* FIN APPLE X Y CUADROS GRANDES 2026 */


/* ANDROID X Y CASILLAS 25 POR CIENTO MAS GRANDES */
@media (max-width:900px) {
  @supports not (-webkit-touch-callout: none) {
    #mobaCatMovilVentana #mcmCerrar {
      width:50px !important;
      height:50px !important;
      min-width:50px !important;
      min-height:50px !important;
      font-size:30px !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      padding:0 !important;
    }

    #mobaCatMovilVentana .mcm-fila > span:last-child {
      width:40px !important;
      min-width:40px !important;
      font-size:28px !important;
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
    }
  }
}
/* FIN AJUSTE ANDROID */
