  .template-list {
    display: flex;
    flex-wrap: wrap;
    /*height: 200px;*/
    overflow-y: auto;
    margin: 10px 0 !important;
    box-shadow: 0px 0px 2px black;
    padding: 5px !important;
    list-style: none;
  }
  .template-list li {
    margin: 5px;
    position: relative;
    height: 90px;
  }
  .template-list label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 2px black;
    overflow: hidden;
  }

 .template-list label span{
    padding: 0px 6px;
  }

  .template-list img {
    height: 90px;
    width: 50px;
    /*object-fit: cover;*/
  }

  #list-plantilla-certificados img, #list-plantilla-dibujo img {
    height: 90px;
    width: auto;
    object-fit: cover;
  }
  
  .template-list input {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .woocommerce .quantity .qty{
    width:4em !important;
    text-align:center;
    min-height:43px !important;
  }