main .container {
    width: auto;
}

#tablaVentaMultiple {
    width: 100%;
    font-size: 12px;
    margin-bottom: 20px;
}

#tablaVentaMultiple [name^="cantidad"] {
    width: 45px;
    appearance: auto;
    height: 20px;
    padding: 0px;
    text-align: center;
}

#tablaVentaMultiple .inputsCantidad > div {
    display: inline-block;
    text-align: center;
}

#tablaVentaMultiple img {
    width: 60px;
}

#tablaVentaMultiple th[data-type] {
    cursor: pointer;
}

#tablaVentaMultiple .product-thumbnail {
    display: block;
}

#tablaVentaMultiple td, #tablaVentaMultiple th {
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

#tablaVentaMultiple .par {
    background-color: #f9f9f9;
}

#tablaVentaMultiple .impar {
    background-color: #ffffff;
}

#tablaVentaMultiple thead tr {
    background-color: #555555;
    color: white;
}

#addToCartCategory {
    margin-bottom: 20px;
}

/* Modal */
.modal-image {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-image.active {
  display: flex;
}

.modal-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.modal-image .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
/* Fin modal */

#categoriaCuadricula, #categoriaTabla {
    display: none;
    opacity: 0;
}

.productoCuadricula {
    float: left;
    text-align: center;
    width: 30%;
    margin-right: 3%;
    margin-bottom: 40px;
}

.productoCuadricula .product-thumbnail img {
    width: 100%;
    cursor: pointer;
}

.datosCuadricula {
    padding-top: 10px;
}

.datosCuadricula > div:first-child {
    font-size: 14px;
    text-align: left;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.datosCuadricula > div:last-child {
    padding: 0;
}

.datosCuadricula > div:last-child > button {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    font-size: 12px;
}

#categoriaCuadricula .modal-dialog {
    max-width: 1050px;
}

#categoriaCuadricula .modal-body > div {
    float:left;
}

#categoriaCuadricula .modal-body input[type="text"] {
    width: 45px;
}

#categoriaCuadricula .modal-body img {
    width: 200px;
    cursor: pointer;
}

#categoriaCuadricula .modal-header .close {
    margin-top: -25px;
}

#contenedorIntercambioVista {
    text-align: right;
}

#intercambioVista {
    cursor: pointer;
}