@import "~antd/lib/style/themes/default.less";

.heardbox {
  padding: 20px 0;
}
.title {
  font-size: 20px;
  color: #333;
  font-weight: bold;
}
.more {
  float: right;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}
.goodsHotBox {
  // position: relative;
  min-height: 330px;
  width: 100%;
}
.codeBox {
  font-size:12px;
}
.cell{
  float: right; 
  padding-right: 9px;
}
.goodsHotList {
  list-style-type: none;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.goodsHotItem {
  flex: 0 0 232px;
  height: 330px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}
.goodsHot {
  width: 230px;
  height: 330px;
  list-style-type: none;
  padding: 0;
  margin: 0;
  border: 1px solid #f0f0f0;
  position: relative;
  margin-bottom: 10px;
}
.imgBox {
  cursor: pointer;
  height: 220px;
}
.img {
  width: 100%;
  height: 220px;
}
.goodsHotInfobox {
  height: 100px;
  background: #f9f9f9;
  width: 100%;
  position: absolute;
  padding: 10px;
  bottom: 0;
  left: 0;
  z-index: 3;
}
.goodsHotTitlebox {
  clear: both;
  height: 28px;
  line-height: 14px;
}
.goodsTitle {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
.goodsHotPrice {
  font-size: 16px;
  color: #d81719;
}
.goodsHotCodeBox {
  margin-top: 0px;
  // text-align: center;
}
.goodsNumBox {
  float: left;
}
// .goodsNum{
// }
.goodsHot:hover {
  .goodsHotHoverBox {
    bottom: 74px;
  }
}
// 鼠标移入
.goodsHotHoverBox {
  position: absolute;
  bottom: 35px;
  left: 0;
  height: 40px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 0 10px;
  clear: both;
  transition: all 0.2s;
}
.goodsCollect {
  float: left;
  cursor: pointer;
  margin-top: -15px;
}
.collectIcon {
  color: #333;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  margin-top: -17px;
}
.iptBox {
  float: left;
  width: 80px;
  margin-left: 39px;
  margin-top: -17px;
  // div[class^="goodsBuyIpt"]{
  //   width: 80px;
  //   height: 24px;
  //   border-radius: 0; 
  //   background: rgba(255, 255, 255, 0.8);
  //   border: 1px solid #333;
  //   input{
  //     height: 22px;
  //     font-size: 12px;
  //     color: #333;
  //   }
  // }
}
.addCart {
  float: right;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  margin-top: -20px;
}
.cartIcon {
  color: #333;
  font-size: 16px;
}

// 促销
.goodsStatusBox {
  position: absolute;
  left: 0;
  top: 16px;
}
.goodsStatusNew {
  display: block;
  width: 50px;
  height: 24px;
  border-radius: 0 10px 10px 0;
  background: #59c152;
  text-align: center;
  line-height: 24px;
  color: #fff;
  font-size: 12px;
}
.goodsStatusSale {
  margin-top: 10px;
  display: block;
  width: 50px;
  height: 24px;
  border-radius: 0 10px 10px 0;
  background: #e14c46;
  text-align: center;
  line-height: 24px;
  color: #fff;
  font-size: 12px;
}
