.product-list{
  margin-right: 5px;
  display: inline-block;
}
.product-list:nth-child(5n+5){
  margin-right: 0
}
.erp-goods-item {
  float: left;
  width: 230px;
  background: #FFF;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.15);
}
.erp-goods-item.mg-rt {
  margin-right: 10px;
}
.erp-goods-item .erp-goods-img-box {
  float: left;
  width: 230px;
  height: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 100% 100%;
}
.erp-goods-item img {
  max-width: 230px;
  max-height: 230px;
}
.erp-goods-item-title {
  float: left;
  width: 100%;
  height: 55px;
  line-height: 22px;
  padding: 14px 20px;
  font-size: 16px;
  color: #262626;
  /* border-bottom: 1px solid #eee; */
  overflow: hidden;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.erp-goods-item-title .nowGoods{
  height: 18px;
  background: rgba(254,160,0,0.39);
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  margin-right: 2px;
  display: inline-block;
  border-radius: 2px;
  text-align: center;
  font-weight: 400;
  font-size: 13px;
  padding:0 5px;
  position: relative;
  top: -1px;
}
.erp-goods-item-info {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 20px;
  padding-top: 5px;
  overflow: hidden;
}
.erp-goods-item-info p {
  display: inline-block;
  line-height: 20px;
  max-height: 60px;
  font-size: 14px;
  color: #595959;
  overflow: hidden;
}
.erp-goods-item-info p.border {
  border-right: 1px solid #D9D9D9;
}
.erp-goods-item-info p.erp-formula, .erp-goods-item-info p.erp-sku {
  width: 50%;
}
.erp-goods-item-info p.erp-formula {
  padding-left: 23px;
}
.erp-goods-item-info h5 {
  line-height: 33px;
  /* margin: 18px 0 0 -6px; */
  font-size: 16px;
  color: #FF0000;
}
.linePrice {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 18px;
}
.erp-goods-item-info > div {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 33px;
  padding: 6px 0 7px;
  padding: 6px 0 7px;
}
.erp-goods-item-cart{
  display: flex;
  height:40px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #E8E8E8;
}
.erp-goods-item-cart-left{
  border-right: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
}
.erp-goods-item-cart-left img{
  width: 20px;
  cursor: pointer;
}
.cart-left-img1.disable{
  opacity: 0.3;
  cursor: auto;
  pointer-events:none;
}
.erp-goods-item-cart-left input{
  border: none;
  width: 34px;
  text-align: center;
  margin: 0 3px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 20px;
  color: rgba(0,0,0,0.75);
}
.erp-goods-item-cart-right{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 50%;
  position: relative;
}
.erp-goods-item-cart-right:hover span{
  color: #4063bf;
}
.erp-goods-item-cart-right button{
  border:none;
  outline:0;
  cursor:pointer;
}
.erp-goods-item-cart-right:hover button{
  color: #4063bf;
}

.erp-goods-item-cart-right:hover .cart-right-img2{
  display: inline-block!important;
}
.erp-goods-item-cart-right span{
  font-size: 12px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 17px;
  color: #888888;
  margin-right: 5px;
}
.erp-goods-item-cart-right img{
  width: 20px;
}
.cart-right-img2{
  display: none;
  position: absolute;
  right: 15px;
  
}
.cart-right-img2.erp-add-cart-animation1{
  animation: cartMove .5s linear;
  animation-fill-mode: forwards;
}
.erp-goods-item-cart-left input::-webkit-outer-spin-button,
.erp-goods-item-cart-left input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.erp-goods-item-cart-left input[type='number'] {
  -moz-appearance: textfield;
}
@keyframes cartMove {
  0% {
    top: -30px;
    opacity: 1;
  }
  25% {
    top: -120px;
    opacity: .8;
  }
  50% {
    top: -160px;
    opacity: .6;
  }
  75% {
    top: -190px;
    opacity: .4;
  }
  100% {
    top: -210px;
    opacity: 0;
  }
}