/* Imagen del producto con efecto zoom suave */
.img-prod-tabla {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.img-prod-tabla:hover {
  transform: scale(1.1);
}

#tblProdCarrVenBuscar td:first-child {
  max-width: 200px; /* O el ancho que quieras para la columna imagen+nombre */
  white-space: nowrap; /* Opcional para evitar salto de línea */
  overflow: hidden;
  text-overflow: ellipsis;
}

.producto-card {
  display: flex;
  align-items: center;
}

.imagen {
  flex-shrink: 0;
  max-width: 70px;
  max-height: 70px;
  overflow: hidden;
  margin-right: 10px;
}

.imagen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #ddd;
  display: block;
}

.producto-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

.codigo {
  font-size: 12px;
  font-weight: 700;
  color: #b33a3a; /* color guindo */
  line-height: 1.1;
}

.producto_nombre {
  font-size: 13px;
  color: #000000;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
  max-width: 220px;
}


.precio {
  font-size: 13px;
  font-weight: 700;
  color: #b33a3a; /* color guindo */
}

.stock-info {
  font-size: 12px;
  color: #444;
}

.stock-info .stock {
  font-size: 15px;
  font-weight: 900;
  color: #eb9a05;
  padding: 2px 6px;
  border-radius: 4px;
}

.stock-info .unidad {
  font-weight: 500;
  color: #7f8c8d;
  font-style: normal;
}

/* Tabla sin bordes verticales y estilo limpio */
#tblProdCarrVenBuscar thead {
  background-color: #8B1A1A;
  color: white;
  border-bottom: none;
}

#tblProdCarrVenBuscar td,
#tblProdCarrVenBuscar th {
  border-top: none;
  border-right: none !important;
  border-left: none !important;
  vertical-align: middle !important;
  font-size: 14px;
  padding: 10px 12px;
}

/* Hover de fila sutil */
#tblProdCarrVenBuscar tbody tr:hover {
  background-color: #fff4e6;
}

.input-custom {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #565657;
  background-color: #ffffff;
  border: 1px solid #dcdcdd;
  border-radius: 8px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.input-custom:focus {
  color: #565657;
  background-color: #fff;
  border-color: #dcdcdd;
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(50, 48, 73, 0.25);
}

/* Fondo para tablas personalizado */
.bg-marino {
  background: linear-gradient(90deg, #203A72, #355A9A); /* azul marino medio degradado */
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  user-select: none;
  border-bottom: 2px solid #2A4D8F;
}

.bg-marino th {
  padding: 10px 12px;
  border: none;
  font-size: 12px;
}
